mcpField
C
Chinese Sensitive Words Mcp

Chinese Sensitive Words Mcp

Local
github.com/CCCpanSocial Media107Updated 32w ago

About Chinese Sensitive Words Mcp

Chinese Sensitive Words MCP is an MCP server that detects sensitive and prohibited words in Chinese text for platforms such as Xiaohongshu, Douyin, Kuaishou and Bilibili. It assigns risk levels and suggests safer replacements. It suits content operators and copy reviewers checking posts before publication.

Key features

  1. 01Detects prohibited words across several content categories
  2. 02Classifies matches into high, medium, low and tip risk levels
  3. 03Suggests safer replacement wording
  4. 04Detects homophone variants, spaced characters, phone numbers and URLs

Use cases

  1. 01Check Xiaohongshu copy or product descriptions for prohibited words
  2. 02Look up replacement wording for flagged absolute claims
  3. 03Review live-stream scripts for compliance

MCP support

This project is an MCP server that exposes the check_sensitive_words and get_word_suggestions tools to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"chinese-sensitive-words": {
"command": "npx",
"args": [
"-y",
"chinese-sensitive-words-mcp"
]
}
}
}
Run commandnpx -y chinese-sensitive-words-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmchinese-sensitive-words-mcp

Tools

2

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
textstringYesChinese text to check for sensitive words. Supports marketing copy, product descriptions, social media posts, live-streaming scripts. Max 3000 chars.
nerbooleanNoEnable NER (Named Entity Recognition) filtering to reduce false positives on place names, person names, and organizations. Default: true. Set false for stricter detection.

Details

From the project README

Chinese Sensitive Words MCP Server

English | 中文

中文敏感词/违禁词检测 MCP Server,支持小红书、抖音、快手、B站等平台。

✨ 功能特点

  • 海量词库,日日更新 — 覆盖政治、色情、暴力、赌博、毒品、广告法极限词、医疗功效词等
  • 多平台支持 — 小红书、抖音、快手、B站专属词库
  • 风险等级分类 — 高危(封号)/ 中危(限流)/ 低危(建议修改)/ 提示
  • 替换建议 — 不只检测,还推荐安全替代词
  • 谐音变体检测 — 识别 "薇信→微信"、"℡→电话" 等变体
  • 跳字检测 — 识别 "加 微 信"、"最.好.的" 等干扰字符
  • 手机号/URL 检测 — 自动识别联系方式和外链
  • NER 智能过滤 — 减少地名、人名、机构名误报

🛠️ 提供的工具

Tool功能适用场景
check_sensitive_words检测文本中的敏感词/违禁词检查文案、产品描述、直播话术是否合规
get_word_suggestions获取敏感词的安全替换建议修改被标记的违禁词

📦 安装

Claude Desktop / Cursor / Windsurf

在配置文件中添加:

{
  "mcpServers": {
    "chinese-sensitive-words": {
      "command": "npx",
      "args": ["-y", "chinese-sensitive-words-mcp"]
    }
  }
}
Claude Code
claude mcp add chinese-sensitive-words -- npx -y chinese-sensitive-words-mcp
OpenClaw (龙虾)
npx mcporter config add chinese-sensitive-words-mcp --stdio "npx -y chinese-sensitive-words-mcp"

📖 使用示例

检测敏感词

用户对 AI 说:

"帮我检查这段小红书文案有没有违禁词:这是全网最好用的美白产品,效果立竿见影,加微信13812345678领优惠"

AI 调用 check_sensitive_words 返回:

⚠️ Detected 4 sensitive word(s):

Risk summary: 🔴 High=1 | 🟡 Medium=2 | 🔵 Low=1

🔴 HIGH RISK (may cause account ban)
- "13812345678" — Category: 手机号

🟡 MEDIUM RISK (may cause content throttling)
- "最好用" — Category: 广告法极限词 → Suggested replacements: 很好用, 超好用
- "美白" — Category: 医疗功效 → Suggested replacements: 提亮, 焕亮

🔵 LOW RISK (recommend modification)
- "加微信" — Category: 引流 → Suggested replacements: 私信咨询
获取替换建议

用户对 AI 说:

"最好用 这个词应该换成什么?"

AI 调用 get_word_suggestions(keyword="最好用") 返回:

"最好用" (极限词替换)
Suggested replacements: 很好用, 超好用, 非常好用, 特别好用

📖 实用案例

输入:

我们的产品是第一好,请留下你的薇信

API 返回:

{
  "code": "0",
  "msg": "检测成功",
  "data": {
    "wordCount": 2,
    "wordList": [
      {
        "keyword": "第一",
        "category": "sl-compare-add",
        "level": "低",
        "suggestion": ["领先", "优秀", "出色", "很棒"],
        "startIndex": 6,
        "endIndex": 7
      },
      {
        "keyword": "薇信",
        "category": "特殊符号引流",
        "level": "低",
        "suggestion": null,
        "startIndex": 15,
        "endIndex": 16
      }
    ],
    "stats": { "high": 0, "mid": 0, "low": 2, "tip": 0 },
    "hasSensitive": true,
    "hasHighRisk": false
  }
}

检测结果:

违禁词类别说明建议替换
第一极限比较词违反广告法,属于绝对化用语领先、优秀、出色、很棒
薇信特殊符号引流用谐音字规避"微信",平台仍能识别删除,改为"私信我"

修改建议:

我们的产品非常出色,私信我了解更多

📋 使用额度

类型额度说明
免费(无 TOKEN)100 次/天开箱即用,无需注册
注册用户(有 TOKEN)无限制配置 WORDSCHECK_ACCESS_TOKEN

🔧 配置

基础用法(免费,100次/天)
{
  "mcpServers": {
    "chinese-sensitive-words": {
      "command": "npx",
      "args": ["-y", "chinese-sensitive-words-mcp"]
    }
  }
}
注册用户(无限制)
{
  "mcpServers": {
    "chinese-sensitive-words": {
      "command": "npx",
      "args": ["-y", "chinese-sensitive-words-mcp"],
      "env": {
        "WORDSCHECK_ACCESS_TOKEN": "your_token_here"
      }
    }
  }
}
自定义服务地址
{
  "mcpServers": {
    "chinese-sensitive-words": {
      "command": "npx",
      "args": ["-y", "chinese-sensitive-words-mcp"],
      "env": {
        "WORDSCHECK_API_BASE": "https://your-server.com/api",
        "WORDSCHECK_ACCESS_TOKEN": "your_token_here"
      }
    }
  }
}

🌐 支持的平台词库

平台词库内容
通用政治、色情、暴力、赌博、毒品、违法
小红书广告法极限词、医疗功效、虚假宣传、焦虑营销、品牌词
抖音直播违禁词、引流词、夸大宣传
快手社区规范违禁词
B站社区规范、内容审核词

📊 风险等级说明

等级影响示例
🔴 高危可能导致封号/删帖政治敏感、色情、暴力、手机号
🟡 中危可能导致限流/降权广告法极限词、医疗功效、虚假宣传
🔵 低危建议修改引流词、促销词
💡 提示注意措辞焦虑营销、容貌身材相关

🤝 贡献

欢迎提交 Issue 和 Pull Request!详见 CONTRIBUTING.md。

📬 联系我们

💡 需要定制开发自己的 MCP Server?查看我们的 MCP 定制开发服务

📄 许可证

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.