Chinese NLP MCP
Chinese NLP toolkit for MCP: segmentation, pinyin, keywords, sensitive words.
Connector by leonmch-byte · GitHub account verified by the MCP Registry
Chalk Labs
Need help deploying Chinese NLP MCP?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/leonmch-byte-chinese-nlp-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 3 read · 0 write · 0 delete · 2 not yet classified
- Secrets
- None asked for
- Install scripts
- Not scanned yet
- Runs as
- Python package
Tools by what they do 5
Read from the source code; the running server may list different tools.
Read 3 · Look things up without changing anything.
convert_pinyindetect_sensitive_wordsextract_keywords
Not yet classified 2 · We could not tell from the name and description.
hello_worldsegment_chinese
Tools (5)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
convert_pinyin将中文文本转换为拼音字符串。 Args: text: 待转换的中文文本。 style: ``tone`` 带声调符号(zhōng);``tone2`` 数字声调(zho1ng); ``initials`` 声母(zh);``first_letter`` 首字母(z)。 separator: 词与词之间的拼接分隔符,默认空格。 Returns: 以 separator 拼接的拼音字符串。
detect_sensitive_words在文本中检测调用方自定义的敏感词。 ⚠️ 本工具**不含任何内置词库**,words 是唯一检测依据。 传空列表或 None 等同于不检测,直接返回 {"matches": [], "clean": true}。 重叠匹配策略:返回**全部**命中,不去重、不做最长/最短优先裁剪。 调用方是自己词库的负责人,最清楚"命中什么"才是关心的信号; 拿到全部命中后,可按 index 自行裁剪或聚合。 Args: text: 待检测文本。 words: 调用方自定义词库。 Returns: {"matches": [{"word": str, "index": int}, ...], "clean": bool}。 index 为词起始位置的字符索引(中文按 1 字计)。
extract_keywords用 TF-IDF 从中文文本中提取关键词,按权重降序返回。 Args: text: 待分析的文本,可中英混合。 topN: 返回关键词数量上限。超过可提取词数时返回全部词,不报错。 Returns: 形如 ``[{"word": "北京", "weight": 1.55}, ...]`` 的列表。 weight 为 TF-IDF 原始分,未归一化,可大于 1.0。
hello_world健康检查工具。返回固定文本,用于验证 MCP 连接与工具注册是否正常。
segment_chinese对中文文本分词,返回词列表。 Args: text: 待分词的中文文本。 mode: 分词模式。``default`` 标准分词;``search`` 搜索模式, 会额外切出词内部的 2/3 元组;``index`` 索引模式, 行为与 ``search`` 一致。 Returns: 分词结果列表。search / index 模式下 jieba 内部计算的位置信息不返回。
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Weekly downloads
- 65
- Last commit
- Oct 12, 2026 (18 days ago)
- Last release
- Oct 12, 2026 (18 days ago)
- Last package publish
- Oct 12, 2026 (18 days ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.leonmch-byte/chinese-nlp-mcp- Version
- 0.3.1
- Auth
- No auth
- Packages
- pypi chinese-nlp-mcp
- License
- MIT
- Repository
- github.com/leonmch-byte/chinese-nlp-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get Chinese NLP MCP running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
Chinese NLP MCP. Agent Mart. https://agentmart.dev/connectors/leonmch-byte-chinese-nlp-mcp (last updated 2026-10-24)