# lexilint [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/raunakkathuria/lexilint-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 306  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/lexilint-2

## Description
Offline spell checker + BYOK grammar for AI assistants. Works with Claude Desktop, ChatGPT, Cursor.

## Tools
Capabilities this server exposes over MCP:

- **spell_check** — Check text for spelling errors. 100% offline — no API key needed. Supports en-US and en-GB.
- **grammar_check** — Check text for grammar, style, and clarity issues. Free with Google Gemini (BYOK — get a free key at aistudio.google.com). OpenAI and Anthropic require LexiLint Premium.
- **check_text** — Run spell check and optionally grammar check. Spell check (en-US/en-GB) is free and offline. Grammar with Gemini is free (BYOK). Multi-language and OpenAI/Anthropic require LexiLint Premium.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "lexilint": {
    "command": "npx",
    "args": ["-y","lexilint-mcp"]
  }
}
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/lexilint-2/readme_

