Lexilint

io.github.raunakkathuria由 GitHub 账号 raunakkathuria 发布v1.2.0更新于 Oct 24, 2026

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

概览

AI 生成的概览

Lexilint 是一个本地 MCP 服务器,让 AI 助手离线检查英语拼写,并可选地通过 Gemini、OpenAI 或 Anthropic 使用自带密钥进行语法检查。

可以做什么
离线检查 en-US 和 en-GB 拼写,无需 API 密钥或网络请求;另有六种语言需 Premium 授权。通过所选提供商(Gemini、OpenAI 或 Anthropic)使用自己的密钥进行语法、风格和清晰度检查。一次调用可同时运行拼写检查和可选语法检查,未指定提供商时跳过语法。语法检查每次最多 2,000 字符,超长文本会被截断并报告实际检查的字符数。
适用场景
适合希望助手在本地校对草稿、消息或文档,并愿意为语法和风格反馈提供自己的模型提供商密钥的场景。适用于 Claude Desktop、Cursor 等可运行本地 stdio 服务器的客户端。
运行要求
通过 npx 或全局 npm 安装在本机运行,需要 Node.js。需要支持本地 stdio 服务器的桌面 MCP 客户端;ChatGPT 聊天仅连接远程服务器,无法运行它。语法检查需要 GEMINI_API_KEY、OPENAI_API_KEY 或 ANTHROPIC_API_KEY 中的提供商密钥,或每次调用传入 api_key。Premium 语言、OpenAI 与 Anthropic 语法及自定义模型需要 Lexilint 许可证密钥。
安装前请注意
语法文本会直接发送给所选提供商(Google、OpenAI 或 Anthropic),文本会离开本机。提供商密钥属于机密,建议使用客户端本地环境配置而非在聊天中粘贴密钥,因为每次调用的 api_key 会进入对话上下文。Premium 功能需付费(按月或终身)并需要许可证密钥。拼写检查在本地进行,不发送任何内容。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Lexilint,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

LexiLint MCP

Spell and grammar checking for AI assistants via Model Context Protocol (MCP).

Works with Claude Desktop, Cursor, OpenAI Codex (CLI, IDE extension and ChatGPT desktop app), and other MCP clients that run local (stdio) servers. ChatGPT chat connects only to remote MCP servers, so it cannot run LexiLint MCP.

[npm version] [MCP Registry]

Features

  • Offline spell checking — en-US and en-GB are free, local, unlimited, and make no API calls.
  • BYOK grammar checking — use Gemini, OpenAI, or Anthropic with your own provider key.
  • Eight supported dictionaries — two free English variants plus six Premium languages: Spanish, French, German, Polish, Russian, and Turkish.
  • Combined checking — run spelling and optional grammar together with check_text.
  • Private provider transport — grammar text goes directly to the selected provider; LexiLint does not proxy it.

Install and configure

Claude Desktop and other JSON-configured clients

Configure one provider key as an environment variable. This keeps the key out of tool calls and conversation context.

json
{  "mcpServers": {    "lexilint": {      "command": "npx",      "args": ["-y", "lexilint-mcp"],      "env": {        "GEMINI_API_KEY": "your-gemini-api-key"      }    }  }}

Provider environment variables:

Provider argumentEnvironment variableAccess
geminiGEMINI_API_KEYFree for English grammar
openaiOPENAI_API_KEYLexiLint Premium
anthropicANTHROPIC_API_KEYLexiLint Premium

Common Claude Desktop config locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Restart the client after changing its MCP configuration.

Run directly

bash
npx -y lexilint-mcp

You can also install it globally with npm install -g lexilint-mcp.

Tools

spell_check — free and offline

Checks spelling without an API key or network request.

text
text      string   Text to spell-checklanguage  string   "en-US" or "en-GB" (default: "en-US")

grammar_check — BYOK grammar, style, and clarity

text
text        string   Text to grammar-checkprovider    string   "gemini" | "openai" | "anthropic"api_key     string   Optional per-call override for the provider environment variablemodel       string   Optional provider model ID (Premium when custom)license_key string   LexiLint licence key for Premium providers/languages/modelslanguage    string   Language code (default: "en-US")

With GEMINI_API_KEY configured, a client can call the tool without putting the provider key in its arguments:

json
{  "text": "This are a test.",  "provider": "gemini",  "language": "en-US"}

A non-empty per-call api_key remains supported as an explicit override and takes precedence over the selected provider environment variable:

json
{  "text": "This are a test.",  "provider": "gemini",  "api_key": "temporary-override-key",  "language": "en-US"}

Get a free Gemini key from Google AI Studio. Do not paste real keys into chat messages; prefer your MCP client's local environment configuration.

If the provider's reply is empty or cannot be read, the tool returns an error instead of reporting that no issues were found.

Grammar checks at most 2,000 characters per call. Longer text is cut at the last paragraph, sentence, or word that fits, and the result says how many characters were checked. Send the rest in separate calls.

check_text — combined spelling and optional grammar

Always runs the available spelling check. Add provider to request grammar; omit it to skip grammar without requiring a provider key.

text
text        string   Text to checklanguage    string   Language code (default: "en-US")provider    string   Optional; omit to skip grammarapi_key     string   Optional per-call override for the provider environment variablemodel       string   Optional provider model ID (Premium when custom)license_key string   LexiLint licence key for Premium providers/languages/models

Models and Premium access

Default models are gemini-3.8-flash, gpt-5.6-terra, and claude-sonnet-5. A custom model requires LexiLint Premium:

json
{  "text": "This are a test.",  "provider": "gemini",  "model": "gemini-3.7-flash",  "license_key": "your-lexilint-license-key"}
FeatureFreePremium ($2.99/mo or $29.99 lifetime)
Spell checken-US and en-GB, offlinePlus es, fr, de, pl, ru, tr
Gemini grammarEnglish, BYOKAll supported languages and custom models
OpenAI grammar—BYOK
Anthropic grammar—BYOK

Get Premium: https://igniteapp.net/lexilint#premium

Customers provide only their provider key and, for Premium features, their LexiLint licence key. The runtime already contains the public application configuration needed to validate a licence with Polar; customers do not configure a LexiLint signing secret or organisation ID.

Privacy and repository boundary

  • Spell checking is local and sends no text anywhere.
  • Grammar text goes directly to Google, OpenAI, or Anthropic according to the provider you select.
  • LexiLint does not receive provider keys or grammar text.
  • The public raunakkathuria/lexilint-mcp repository is a metadata-only registry mirror containing exactly LICENSE, README.md, glama.json, and server.json. Private source, builds, tests, source maps, and standalone prompt documentation are not published there.

Links

Licence

LexiLint MCP is proprietary software distributed under the terms in LICENSE. Installing the package does not open-source the private monorepo or grant redistribution rights.

来源:README.md,提交 18601c6

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v1.2.0最新Oct 3, 2026
  2. v1.1.0Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。