BeLikeNative Grammar Server
BeLikeNative MCP サーバー
Claude Desktop、ChatGPT、Cursor などの AI クライアントに、文法チェック、文章改善、翻訳、トーン調整ツールを提供する Model Context Protocol (MCP) サーバーです。
API キーは不要です。 文法およびスタイルチェックにはローカルのルールベースエンジンを使用します。翻訳およびトーン調整機能は、ホスト側の AI が処理するための構造化されたプロンプトを返します。
ツール
ツール | 説明 | 処理方法 |
| L1(母国語)を考慮した解説付きで文法、スペル、句読点をチェック | ローカルルールベース (50以上の正規表現ルール) |
| スタイル、冗長な表現、受動態、文の長さを分析 | ローカルルールベース + スタイルガイドライン |
| 自然で流暢な出力で言語間翻訳 | ホスト AI 用のプロンプトを返却 |
| 文章のトーン(フォーマル、カジュアル、プロフェッショナル、外交的など)を調整 | ホスト AI 用のプロンプトを返却 |
Related MCP server: ukr-vitalinguist-mcp
前提条件
Node.js 18以上
以上です。API キー、環境変数、外部サービスは一切不要です。
インストール
cd mcp-server
pnpm installスタンドアロンでの実行
pnpm startサーバーは stdio (stdin/stdout) を介して通信します。対話型ではなく、MCP クライアントによって起動されるように設計されています。
MCP クライアントの設定
Claude Desktop
Claude Desktop の設定ファイル(macOS の場合 ~/Library/Application Support/Claude/claude_desktop_config.json)に追加してください:
{
"mcpServers": {
"belikenative": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/src/index.mjs"]
}
}
}Claude Code
Claude Code の MCP 設定に追加してください:
{
"mcpServers": {
"belikenative": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/src/index.mjs"]
}
}
}Cursor
Cursor の MCP 設定(プロジェクト内の .cursor/mcp.json またはグローバルの ~/.cursor/mcp.json)に追加してください:
{
"mcpServers": {
"belikenative": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/src/index.mjs"]
}
}
}Windsurf / その他の MCP クライアント
stdio トランスポートをサポートするすべての MCP クライアントでこのサーバーを使用できます。node src/index.mjs を指定してください。環境変数は不要です。
ツールスキーマ
check_grammar
{
"text": "string (required, max 6000 chars)",
"language": "string (optional, default 'en') -- writer's native language for L1-tailored explanations"
}improve_writing
{
"text": "string (required, max 6000 chars)",
"style": "enum: academic | business | creative | technical | simple | concise (optional, default 'business')"
}translate
{
"text": "string (required, max 6000 chars)",
"source_language": "string (required) -- e.g. 'en', 'English', 'fr'",
"target_language": "string (required) -- e.g. 'es', 'Spanish', 'de'"
}adjust_tone
{
"text": "string (required, max 6000 chars)",
"tone": "enum: formal | casual | friendly | professional | persuasive | confident | empathetic | diplomatic (required)"
}アーキテクチャ
src/
index.mjs -- MCP server entry point (stdio transport, tool registration)
tools.mjs -- Tool definitions (JSON schemas) and handler functions
rules.mjs -- Local grammar rules engine (50+ regex patterns, style analyzer)トランスポート: stdio (MCP の標準)
文法/スタイル: ローカルルールベースエンジン (外部 API 呼び出しなし)
翻訳/トーン: ホスト AI クライアントが処理するための構造化されたプロンプトを返却
ログ: すべてのログは stderr に出力 (stdout は MCP プロトコル用に予約)
エラー処理: クラッシュしない設計 — すべてのエラーは構造化された MCP エラーレスポンスとして返却
仕組み
重要なポイント:MCP ツールは、すでに AI を内蔵している AI クライアント(Claude Desktop、Cursor など)によって呼び出されます。そのため、MCP サーバー自体が API 呼び出しを行う必要はありません。
check_grammar および improve_writing は、50以上の正規表現ベースのルールを使用して、文法エラー、スペルミス、スタイルの問題、受動態、文の長さの問題を検出します。結果は決定的かつ即座に得られます。
translate および adjust_tone は AI の知能を必要とするため、ホスト AI が直接処理するためのガイドラインを含む構造化されたプロンプトを返します。これは、二重に API を呼び出すよりも高速で安価、かつ信頼性が高い方法です。
コード品質
このサーバーは NASA の「Power of 10」ルールに従っています:
すべての関数は60行以内
関数ごとに最低2つのアサーション
すべてのループには固定の上限を設定
グローバルな可変状態なし (定数は凍結)
すべての戻り値をチェック
警告ゼロ
BeLikeNative 開発者ツール
このツールは、非ネイティブ英語話者向けの AI 駆動型ライティングツールエコシステム BeLikeNative の一部です。
ツール | タイプ | 説明 |
GitHub Action | 60のルールと L1 洞察を備えた PR 文法チェッカー | |
GitHub Action | 読みやすさ、構造、明瞭さに関する文章品質分析 | |
GitHub Action | 国際化が必要なハードコードされた文字列を検出 | |
GitHub Action | コミットメッセージの文法、形式、明瞭さチェッカー | |
Web ツール | 無料のウェブサイトパフォーマンス評価ツール |
BeLikeNative Chrome 拡張機能 — 100以上の言語、15のトーン、15のスタイルに対応した AI ライティングアシスタント。1万人以上のユーザー、評価 4.6★。
ライセンス
MIT
Available Tools
4 toolsadjust_toneA
Returns structured tone adjustment guidelines and a prompt for the host AI to process. The MCP server provides tone rules and transformation guidance -- the host AI performs the rewrite. Powered by BeLikeNative.
Inputs: text (required), tone (required).
check_grammarA
Check grammar, spelling, and punctuation using local rule-based analysis. Returns structured JSON with errors found, corrections, and L1-aware explanations. No API calls needed. Powered by BeLikeNative.
Inputs: text (required), language.
improve_writingB
Analyze text for writing quality using rule-based style checks. Returns structured suggestions covering wordiness, passive voice, sentence length, and style-specific guidelines. No API calls needed. Powered by BeLikeNative.
Inputs: text (required), style.
translateA
Returns a structured translation prompt for the host AI to process. The MCP server provides formatting and context -- the host AI performs the actual translation. Powered by BeLikeNative.
Inputs: text (required), source_language (required), target_language (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: grammar checking, style improvement, tone adjustment, and translation. No overlapping functionality, so an agent can easily select the correct tool.
All tools follow a consistent verb_noun pattern (adjust_tone, check_grammar, improve_writing, translate), with the last being a conventional single-verb name. No mixed styles or confusing variations.
With 4 tools, the set is well-scoped for a grammar/language server. Each tool addresses a core language task without unnecessary bloat or deficiency.
The tools cover essential language assistance: grammar/spelling, style improvement, tone adjustment, and translation. No obvious gaps for the stated domain of a grammar server.
Maintenance
Related MCP Connectors
Cutting AI slop is real productivity. Editorial and artifact linter for docs, web UI & slides.
33 tools: LLM chat, summaries, translation, embeddings, speech, images. From $0.002.
DraftCheck: flags AI-writing patterns in prose with fix hints. Deterministic linter, not a detector.
Translation QA: checks a translation against its source. It checks; it does not translate.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceOffline spell check and BYOK grammar checking for AI assistants. 100% offline spell check via nspell (zero tokens, zero API calls). BYOK grammar checking with your own Gemini, OpenAI, or Claude API key. Works with Claude Desktop, Cursor, ChatGPT, and any MCP-compatible tool. 8 languages supported.-
- AlicenseAqualityDmaintenanceProvides Ukrainian language grammar checking, surzhyk detection, authentic phrasing, and English-to-Ukrainian rendering through curated linguistic data.529 PyPIMIT
- AlicenseAqualityDmaintenanceProvides offline translation across 200+ languages using a local NLLB-200 model, with no data leaving your machine.2135 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables local structured extraction, classification, and summarization of text with automatic context management and caching, keeping data on your machine.MIT