language_tool_python
Checks grammar using LanguageTool.
Decision gist · record as of 2026-08-14
Yes, with a licensing caveat. The package is well-maintained, has low install friction, no known vulnerabilities, and provides a mature interface to a powerful grammar checker. However, its GPL-3.0-only license means you cannot use it in proprietary or closed-source projects without a separate commercial license. For open-source or internal tools, it is a solid choice.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Java >= 17 required for the default local LanguageTool server (6.8); Java >= 9 for older versions.
- Python >= 3.9.
- Low install friction with a pure-Python wheel.
License · maintenance · safety
GPL-3.0-only (copyleft) — Licensed under GPL-3.0-only (copyleft). Any software that links or distributes this package must also be released under GPL-3.0 or compatible terms; proprietary or closed-source projects cannot use it without a separate license agreement.
last release 2026-05-14 (92 days) · last repo commit 2026-08-01 · 529 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 347,561 downloads/mo, #7,348 on PyPI
Alternatives
Verify before relying
pip install language_tool_python
import language_tool_python
with language_tool_python.LanguageTool("en-US") as tool:
matches = tool.check("This are bad.")
print(tool.correct("This are bad."))- Performance characteristics when checking large documents or high-frequency API calls.
- Accuracy of grammar and spelling detection across different languages and domains.
- Latency and resource overhead of running a local Java server versus using the public API.
What it is and what it does
language_tool_python is a Python interface to LanguageTool, an open-source grammar, style, and spell checker. It lets you run grammar checks from Python code or the command line, with three deployment options: a local LanguageTool Java server (default version 6.8), the public LanguageTool API, or your own remote server. The wrapper handles server lifecycle, text checking, auto-correction, and fine-grained rule/category control.
The package depends on requests for HTTP calls, tqdm for progress feedback, packaging for version handling, psutil for system monitoring, and toml for configuration. It supports Python 3.9 through 3.14 and offers both programmatic and CLI interfaces, making it suitable for batch text processing, integration into larger NLP pipelines, or standalone grammar validation tools.
Use it for
- Batch-check documents or code comments for grammar and spelling errors in an automated pipeline.
- Build a CLI tool or web service that validates user-submitted text against grammar and style rules.
- Integrate grammar checking into a documentation generator or content management system.
- Detect and correct typos and grammatical issues in multilingual text with configurable language rules.
- Develop domain-specific spell-checkers by registering custom spellings and disabling irrelevant rules.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with a licensing caveat.
The package is well-maintained, has low install friction, no known vulnerabilities, and provides a mature interface to a powerful grammar checker. However, its GPL-3.0-only license means you cannot use it in proprietary or closed-source projects without a separate commercial license. For open-source or internal tools, it is a solid choice.
Install
language-tool-python on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance is active with a recent release (92 days ago) and steady repository activity. Runtime dependencies are lightweight and widely used (requests, tqdm, packaging, psutil, toml).
Java >= 17 required for the default local LanguageTool server (6.8); Java >= 9 for older versions. Python >= 3.9.
License in practice
Licensed under GPL-3.0-only (copyleft). Any software that links or distributes this package must also be released under GPL-3.0 or compatible terms; proprietary or closed-source projects cannot use it without a separate license agreement.
Quickstart
pip install language_tool_python
import language_tool_python
with language_tool_python.LanguageTool("en-US") as tool:
matches = tool.check("This are bad.")
print(tool.correct("This are bad."))
Verify before relying
- Performance characteristics when checking large documents or high-frequency API calls.
- Accuracy of grammar and spelling detection across different languages and domains.
- Latency and resource overhead of running a local Java server versus using the public API.
Package facts
| License | GPL-3.0-only copyleft |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesrequeststqdmpackagingpsutiltoml |
| Maintenance | Actively maintained 92 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 347,561 / month, #7,348 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: Linguistic |
Evidence: language_tool_python-3.4.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “grammar checker python”
- language_tool_pythonPython wrapper for LanguageTool that checks grammar, style, and…
- tree-sitter-cProvides a C language grammar for tree-sitter, enabling incremental…
- tree-sitter-kotlinProvides a Kotlin language grammar for tree-sitter, enabling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pyenchant · pyspellchecker · typos · pyspelling · sphinxcontrib-spelling · codespell · symspellpy · vale · mkdocs-spellcheck · Parsley