Lexilint logo

Lexilint

Offline spell checking with optional BYOK grammar checks for MCP-compatible AI assistants.

Install Lexilint

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "lexilint-2": {
      "command": "npx",
      "args": [
        "-y",
        "lexilint-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 3 tools correctly ().

Overview

The lexilint MCP server gives AI assistants local spelling checks and optional grammar analysis through MCP tools. Spell checking runs offline for English variants, while grammar requests go directly to a selected Gemini, OpenAI, or Anthropic provider using your key. Use it when an MCP client can run local stdio servers and you need spelling or grammar feedback without sending spelling text to a third-party service. Grammar checks are limited to 2,000 characters per call, and Premium access is required for some providers, languages, and custom models.

Use cases

  • Check English spelling locally in AI-assisted drafts
  • Request BYOK grammar feedback from Gemini
  • Combine spelling and grammar checks in one call
  • Review text in Claude Desktop or Cursor

Key features

  • Offline en-US and en-GB spell checking
  • BYOK grammar checks with Gemini, OpenAI, or Anthropic
  • Combined spelling and optional grammar analysis
  • Eight supported dictionary languages
  • Per-call provider key overrides
  • Local stdio MCP execution

Tools3

What Lexilint lets your agent do. Expand a tool for its parameters.

Verified live~658 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 47d

What it can do

From the 3 tools this server returned when we ran it.

Handles credentials · 1Read-only tools · 3
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age215 days
Maintainers1

Observed 2026-11-06 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · lexilint-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads306Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.

How Lexilint works

What lexilint MCP server does

The lexilint MCP server exposes spelling, grammar, and combined text-checking functions to MCP-compatible AI assistants. Its spelling engine supports free, local checks for en-US and en-GB without an API key or network request. Six additional languages—Spanish, French, German, Polish, Russian, and Turkish—are available as Premium dictionary options.

Grammar checking uses a bring-your-own-key model. You can select Gemini, OpenAI, or Anthropic and provide a key through the client environment or, when needed, as a per-call argument. Grammar text is sent directly to the provider selected for the request; LexiLint does not proxy the text or receive the provider key.

The lexilint MCP server is suited to drafting, editing, and review workflows where an assistant needs to identify misspellings or request provider-based grammar, style, and clarity feedback. It is not a fully offline grammar checker: grammar requests require a provider connection.

How it works

The package runs as a local stdio MCP process. A client starts it with npx -y lexilint-mcp, or you can install it globally with npm. The client then invokes one of three tools:

  • spell_check checks spelling and accepts text plus an en-US or en-GB language value.
  • grammar_check sends text to the selected grammar provider and accepts provider, language, optional model, and licensing parameters.
  • check_text always performs spelling analysis and performs grammar analysis only when a provider is supplied.

Grammar calls process no more than 2,000 characters. Longer input is truncated at a paragraph, sentence, or word boundary, and the response reports the amount checked. If a provider returns an empty or unreadable response, the tool reports an error rather than claiming that the text has no issues.

Setup and configuration

For Claude Desktop and other JSON-configured clients, add the package as an MCP server with npx and place a provider key in the env object. Supported variables are GEMINI_API_KEY, OPENAI_API_KEY, and ANTHROPIC_API_KEY. A configured environment key keeps the credential out of tool arguments and conversation context. A non-empty api_key argument can explicitly override the environment value for that call.

Restart the MCP client after changing its configuration. Claude Desktop commonly stores its configuration at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\\Claude\\claude_desktop_config.json on Windows.

Gemini grammar for English is available with a Gemini key. OpenAI grammar, Anthropic grammar, additional supported languages, and custom provider models require LexiLint Premium and, where applicable, a LexiLint licence key. Customers do not configure a LexiLint signing secret or organisation ID.

Tools and capabilities

spell_check provides free, offline spelling analysis. grammar_check handles provider-backed grammar, style, and clarity analysis. check_text combines the two and lets callers omit grammar entirely by leaving out provider.

The default provider models are gemini-3.8-flash, gpt-5.6-terra, and claude-sonnet-5. Selecting a custom model requires Premium. Premium pricing and licensing are handled through LexiLint’s stated purchase flow.

Limitations and notes

The public GitHub repository is a metadata-only registry mirror rather than the private source repository. It contains the listed metadata and documentation files, while private source, builds, tests, and source maps are not published there.

Spelling text stays local. Grammar text leaves the local process and goes to Google, OpenAI, or Anthropic according to the selected provider. ChatGPT chat requires remote MCP servers and therefore cannot run this local LexiLint process, although OpenAI Codex CLI, its IDE extension, and the ChatGPT desktop app are listed as supported local-server clients.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Lexilint

lexilint is an MCP server that connects AI assistants to local spell checking and provider-backed grammar analysis. Its main tools are spell_check for offline English spelling, grammar_check for Gemini, OpenAI, or Anthropic grammar checks, and check_text for combined spelling with optional grammar.

Install it by running `npx -y lexilint-mcp`, or install it globally with `npm install -g lexilint-mcp`. Add the command to an MCP client’s local stdio configuration, optionally set a provider key, and restart the client.

Yes, lexilint works with Cursor when Cursor is configured to run local stdio MCP servers. Add the package command to Cursor’s MCP configuration and provide a provider environment variable only if you want grammar checking.

Yes, spelling checks for en-US and en-GB run locally without an API key or network request. Grammar checks are different: their text is sent directly to the selected Gemini, OpenAI, or Anthropic provider.

Set `OPENAI_API_KEY` or `ANTHROPIC_API_KEY` in the MCP server environment and call `grammar_check` with the matching provider. These providers, along with some languages and custom models, require LexiLint Premium.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLexilint AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/lexilint-2?style=directory)](https://allmcps.com/mcp/lexilint-2)
HTML Embed
<a href="https://allmcps.com/mcp/lexilint-2"><img src="https://allmcps.com/api/badge/lexilint-2?style=directory" alt="Lexilint on AllMCPs" /></a>