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 分

    請在儲存庫或註冊中心條目中宣告授權條款。