mcp-grammar-checker
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-US、de-DE、fr)をlanguageパラメータで指定できます。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceGrammar Fix AI - MCP server providing AI-powered tools and automation by MEOK AI Labs10MIT
- AlicenseAqualityAmaintenanceAn 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.2617Apache 2.0
- AlicenseNot gradedqualityAmaintenanceMCP server offering text analysis tools for writing improvement, including spellcheck, readability, keyword analysis, passive voice detection, and AI-generated content detection.10MIT
- FlicenseNot gradedqualityDmaintenanceA 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
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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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