BeLikeNative Grammar Server
The BeLikeNative Grammar Server is an MCP server that extends AI clients with text processing capabilities — no API key required.
check_grammar: Analyze text (up to 6,000 chars) for grammar, spelling, and punctuation errors using 50+ local regex rules, with L1-aware (native language-tailored) explanations — fully local, no API calls.improve_writing: Evaluate text for wordiness, passive voice, and sentence length, with support for six target styles: academic, business, creative, technical, simple, or concise — processed locally.translate: Generate a structured prompt for the host AI (e.g., Claude, Cursor) to translate text between any two languages.adjust_tone: Provide transformation guidelines for the host AI to rewrite text in a desired tone — formal, casual, friendly, professional, persuasive, confident, empathetic, or diplomatic.
Grammar and writing tools run entirely locally for speed and privacy, while translation and tone adjustment offload AI-intensive work to the host client via carefully crafted prompts.
BeLikeNative MCP Server
A Model Context Protocol (MCP) server that provides grammar checking, writing improvement, translation, and tone adjustment tools to AI clients like Claude Desktop, ChatGPT, Cursor, and others.
No API key required. Grammar and style checks use a local rule-based engine. Translation and tone adjustment return structured prompts for the host AI to process.
Tools
Tool | Description | Processing |
| Check grammar, spelling, and punctuation with L1-aware explanations | Local rule-based (50+ regex rules) |
| Analyze text for style, wordiness, passive voice, sentence length | Local rule-based + style guidelines |
| Translate text between languages with natural, fluent output | Returns prompt for host AI |
| Adjust text tone (formal, casual, professional, diplomatic, etc.) | Returns prompt for host AI |
Related MCP server: ukr-vitalinguist-mcp
Prerequisites
Node.js 18+
That's it. No API keys, no environment variables, no external services.
Installation
cd mcp-server
pnpm installRunning Standalone
pnpm startThe server communicates via stdio (stdin/stdout). It is designed to be launched by an MCP client, not run interactively.
MCP Client Configuration
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"belikenative": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/src/index.mjs"]
}
}
}Claude Code
Add to your Claude Code MCP settings:
{
"mcpServers": {
"belikenative": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/src/index.mjs"]
}
}
}Cursor
Add to your Cursor MCP config (.cursor/mcp.json in your project or ~/.cursor/mcp.json globally):
{
"mcpServers": {
"belikenative": {
"command": "node",
"args": ["/absolute/path/to/mcp-server/src/index.mjs"]
}
}
}Windsurf / Other MCP Clients
Any MCP client that supports stdio transport can use this server. Point it at node src/index.mjs. No environment variables needed.
Tool Schemas
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)"
}Architecture
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)Transport: stdio (standard for MCP)
Grammar/Style: Local rule-based engine (no external API calls)
Translate/Tone: Returns structured prompts for the host AI client to process
Logging: All logs go to stderr (stdout is reserved for MCP protocol)
Error handling: Never crashes -- all errors return structured MCP error responses
How It Works
The key insight: MCP tools are called by AI clients (Claude Desktop, Cursor, etc.) that already have AI built in. There is no need for the MCP server to make its own API calls.
check_grammar and improve_writing use 50+ regex-based rules to detect grammar errors, spelling mistakes, style issues, passive voice, and sentence length problems. Results are deterministic and instant.
translate and adjust_tone genuinely require AI intelligence, so they return structured prompts with guidelines that the host AI processes directly. This is faster, cheaper, and more reliable than a double API call.
Code Quality
This server follows NASA Power of 10 rules:
All functions under 60 lines
Minimum 2 assertions per function
All loops have fixed upper bounds
No global mutable state (constants are frozen)
Every return value is checked
Zero warnings
BeLikeNative Developer Tools
This tool is part of the BeLikeNative ecosystem — AI-powered writing tools for non-native English speakers.
Tool | Type | Description |
GitHub Action | PR grammar checker with 60 rules and L1-aware insights | |
GitHub Action | Writing quality analysis: readability, structure, clarity | |
GitHub Action | Find hardcoded strings that need internationalization | |
GitHub Action | Commit message grammar, format & clarity checker | |
Web Tool | Free website performance grader |
BeLikeNative Chrome Extension — AI writing assistant for 100+ languages, 15 tones, 15 styles. 10,000+ users, 4.6★ rating.
License
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
DraftCheck: flags AI-writing patterns in prose with fix hints. Deterministic linter, not a detector.
Agentic localization for documents and media, with quality checks and optional human review.
Sentiment, toxicity, entity extraction, PII, translation, summary, QA, fraud scoring, safety audit.
Toxicity, sentiment, NER, PII detection, and language identification tools
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.579 PyPIMIT
- AlicenseAqualityDmaintenanceProvides offline translation across 200+ languages using a local NLLB-200 model, with no data leaving your machine.295 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables local structured extraction, classification, and summarization of text with automatic context management and caching, keeping data on your machine.MIT