STE Dictionary MCP Server

STE Dictionary MCP Server

Checks text against ASD-STE100 Simple Technical English, identifying non-approved words and suggesting STE replacements, and detects structural violations such as overlong sentences, passive voice, and noun clusters. Works entirely offline from a static dictionary snapshot with no network access at runtime.

Category
访问服务器

README

STE Dictionary MCP Server

An MCP server that checks text against ASD-STE100 Simple Technical English (STE): which words are approved, which aren't, and what STE word replaces each violation. Works entirely offline from a static dictionary snapshot in data/ — no network access at runtime. See docs/superpowers/specs/2026-08-21-ste-mcp-design.md for the full design.

Setup

pip install -r requirements.txt
python scripts/download_nltk_data.py
pytest

The check_structure tool needs two small NLTK data packages (the punkt_tab sentence/word tokenizer and the averaged_perceptron_tagger_eng POS tagger -- classic statistical models, not deep learning). Running python scripts/download_nltk_data.py once after installing dependencies downloads them and trims out the non-English tokenizer languages NLTK's downloader pulls by default, keeping the on-disk footprint to a few MB instead of ~58MB. It's safe to re-run. If you skip this step, check_structure raises a RuntimeError telling you to run it.

The server reads its dictionary snapshot from the STE_DATA_DIR environment variable, defaulting to ./data (relative to the working directory the server is launched from). The snapshot in data/ is committed to this repo, so no separate download step is needed.

Running standalone

python -m ste_mcp.server

Speaks MCP over stdio.

Installing into Claude Code

Register the server with the Claude Code CLI. Use an absolute path to your Python interpreter if python on your PATH doesn't have the mcp package installed.

Local scope (available only when Claude Code is run from this repo):

cd /absolute/path/to/ste-dictionary-mcp
claude mcp add --transport stdio --env STE_DATA_DIR=/absolute/path/to/ste-dictionary-mcp/data ste-dictionary -- python -m ste_mcp.server

User scope (available from any directory). Because user-scope servers don't run with this repo as their working directory, wrap the launch in a small script that cds into the repo first, e.g. ~/.claude/ste-launcher.sh:

#!/bin/sh
cd /absolute/path/to/ste-dictionary-mcp
exec python -m ste_mcp.server

Then register it:

chmod +x ~/.claude/ste-launcher.sh
claude mcp add --transport stdio --scope user --env STE_DATA_DIR=/absolute/path/to/ste-dictionary-mcp/data ste-dictionary -- ~/.claude/ste-launcher.sh

Verify with claude mcp list, or /mcp inside a session.

Claude Desktop configuration

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "ste-dictionary": {
      "command": "python",
      "args": ["-m", "ste_mcp.server"],
      "cwd": "/absolute/path/to/ste-dictionary-mcp",
      "env": {
        "STE_DATA_DIR": "/absolute/path/to/ste-dictionary-mcp/data"
      }
    }
  }
}

Tools

Tool Purpose
check_word(word) Is this word/phrase STE, and what replaces it?
check_text(text, include_unknown=True) Scan a document for non-STE, ambiguous, unknown, and technical words with positions.
check_structure(text) Scan a document for structural STE violations: overlong sentences, passive voice, non-imperative mood, noun clusters of 4+, overlong paragraphs, gerund-as-noun.
lookup_technical_term(term) Look up an approved technical term or abbreviation.
dictionary_info() Dictionary source, freshness, and coverage stats.

check_word/check_text are word-list-based, not a grammar checker: they check vocabulary, not sentence structure. check_structure adds lightweight structural checks (via a small statistical POS tagger, not a full grammar engine) for the ASD-STE100 rules a word list can't catch -- see its docstring in ste_mcp/structure.py for the exact rules and their heuristic limitations. It is diagnostic only (no rewrite suggestions); the agent using these tools is responsible for rewriting.

Some words have both an STE-approved sense and a non-STE sense (e.g. "long" as a plain adjective is STE, but "as long as"/"no longer" is not). For those, check_word returns status: "ambiguous" (instead of "non_ste") along with a note telling the caller to verify which sense applies in context, and check_text reports them in a separate ambiguous bucket/summary count rather than non_ste. status: "non_ste" is reserved for words where every matched sense is non-STE.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选