Skip to main content
Glama

mcp-grammar-checker

A small MCP server that exposes LanguageTool's grammar and style checking as a tool, so an MCP client (Claude Code, Claude Desktop, or any other MCP-compatible host) can check text for issues directly.

Why

Built to give an AI coding assistant a real, tool-backed way to check grammar/style — rather than relying only on the model's own judgment — while learning MCP hands-on for a Solution Architect AI application.

Related MCP server: estonian-mcp

Process note

First built by hand (directly against the official mcp SDK, discovering its current API by inspecting the installed package rather than following a tutorial). Later rebuilt against Anthropic's official mcp-server-dev:build-mcp-server skill's guided process, which confirmed the deployment choice (local stdio — this is a single-user personal tool, not something meant for distribution) but changed the framework: it recommends FastMCP 3.x (the fastmcp package on PyPI, by jlowin) for Python servers, not the frozen FastMCP 1.0 bundled inside the mcp SDK. This repo now reflects that second, guided pass.

Tool

check_grammar(text: str, language: str = "de-DE") -> str

Checks the given text using the public LanguageTool API and returns a formatted list of issues found (message, suggested replacements, surrounding context), or a confirmation that no issues were found.

Setup

Requires Python 3.12+ and uv.

git clone <this-repo>
cd mcp-grammar-checker
uv sync

Running standalone

uv run python server.py

The server communicates over stdio and expects to be launched by an MCP client, not run interactively.

Using with Claude Code / Claude Desktop

Add to your MCP config (e.g. .claude/settings.json or the Claude Desktop config file):

{
  "mcpServers": {
    "grammar-checker": {
      "command": "uv",
      "args": ["run", "--directory", "/absolute/path/to/mcp-grammar-checker", "python", "server.py"]
    }
  }
}

Restart the client, and the check_grammar tool will be available.

Notes

  • Uses the public LanguageTool API (api.languagetool.org), which is rate-limited. For heavier use, LanguageTool can be self-hosted.

  • Supports any language LanguageTool supports (e.g. en-US, de-DE, fr) via the language parameter.

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    An MCP server that integrates EstNLTK to provide Estonian language tools (morphology, spell-check, synonyms, etc.) for AI agents, enabling correct Estonian text processing and generation.
    26
    17
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    MCP server offering text analysis tools for writing improvement, including spellcheck, readability, keyword analysis, passive voice detection, and AI-generated content detection.
    10
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    A professional MCP server for analyzing content against the official Microsoft Writing Style Guide, enabling style, grammar, terminology, and accessibility checks via AI tools like VS Code and GitHub Copilot.
    1

View all related MCP servers

Related MCP Connectors

  • MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.

  • MCP server for generating rough-draft project plans from natural-language prompts.

  • MCP server for AI dialogue using various LLM models via AceDataCloud

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/olga1988olga/mcp-grammar-checker'

If you have feedback or need assistance with the MCP directory API, please join our Discord server