Skip to main content
Glama

mcp-grammar-checker

LanguageTool の文法・スタイルチェックをツールとして公開する小さな MCP サーバーです。MCP クライアント(Claude Code、Claude Desktop、その他 MCP 互換ホスト)からテキストの問題を直接チェックできます。

なぜ

AI コーディングアシスタントに、モデル自身の判断だけに頼るのではなく、実際のツールを介した文法・スタイルチェック機能を提供するために作成しました。また、Solution Architect AI アプリケーション向けに MCP を実践的に学ぶことも目的としています。

Related MCP server: estonian-mcp

プロセスノート

最初は手作業で(公式の mcp SDK を直接使い、チュートリアルに従うのではなく、インストール済みパッケージを調べて現在の API を発見しながら)構築しました。その後、Anthropic 公式の mcp-server-dev:build-mcp-server スキルのガイド付きプロセスに沿って再構築しました。このプロセスにより、デプロイ方法の選択(ローカル stdio — これは個人用の単一ユーザーツールであり、配布を意図したものではない)は確認できましたが、フレームワークは変更されました。Python サーバーには、mcp SDK に同梱されている凍結された FastMCP 1.0 ではなく、FastMCP 3.x(PyPI の fastmcp パッケージ、jlowin 作)を推奨しています。このリポジトリは、その2回目のガイド付きパスを反映しています。

ツール

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

指定されたテキストを公開 LanguageTool API でチェックし、見つかった問題の整形済みリスト(メッセージ、提案された置換、周囲のコンテキスト)を返します。問題が見つからなかった場合はその旨を返します。

セットアップ

Python 3.12 以上と uv が必要です。

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

単体での実行

uv run python server.py

サーバーは stdio で通信し、MCP クライアントから起動されることを想定しています。対話的に実行するものではありません。

Claude Code / Claude Desktop での使用

MCP 設定(例: .claude/settings.json または Claude Desktop の設定ファイル)に追加します:

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

クライアントを再起動すると、check_grammar ツールが利用可能になります。

注意事項

  • 公開 LanguageTool API(api.languagetool.org)を使用しており、レート制限があります。より頻繁に使用する場合は、LanguageTool をセルフホストできます。

  • LanguageTool がサポートする任意の言語(例: en-USde-DEfr)を language パラメータで指定できます。

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