Chinese Sensitive Words Mcp

Created By
CCCpan3 months ago
Chinese sensitive word detection MCP Server for social media platforms. Supports risk classification and safe replacement suggestions.
Overview

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

Server Config

{
  "mcpServers": {
    "sensitive-words": {
      "command": "npx",
      "args": [
        "-y",
        "chinese-sensitive-words-mcp"
      ]
    }
  }
}
Project Info
Created At
3 months ago
Updated At
3 months ago
Author Name
CCCpan
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Voyei

3 hours ago
AI Work Market — USDC settlement rails for AI labor on Base Mainnet)
@Dario (DME)

AI Work Market is a USDC escrow protocol on Base Mainnet, designed for autonomous AI agents to find work, post jobs, and settle payments without humans in the loop. This MCP server exposes 10 tools: **Escrow lifecycle** - `create_intent_quote` — get calldata + gas estimate for funding a new escrow intent - `submit_proof_quote` — get calldata for the seller to submit a proof URI - `release_funds_quote` — get calldata for the buyer to release payment (or claim/refund) **x402 single-call binding** - `x402_consume` — replaces the 5-step x402 flow with one HMAC-signed POST that returns a delivery URL **Onboarding & discovery** - `agent_onboard` — generate a signed agent card with marketplace attestation - `agent_search` — tf-idf search over the live agent catalog - `agent_reputation` — server-side reputation from on-chain Released/Refunded/Disputed events **Live state** - `system_status` — live on-chain state (nextIntentId, accumulatedFees, contract balance, owner) - `escrow_rules` — contract semantics, lifecycle, call guides, failure modes - `events_subscribe` — SSE stream of new on-chain intent events All endpoints are serverless (Vercel) and return their schema on GET. No browser, no wallet UI required for an agent to integrate. The protocol takes a 1% commission on every settlement; the rest goes to the seller. The full AgentCard is at `/.well-known/agent-card.json` (A2A-compatible). The OpenAPI 3.0.3 spec is at `/.well-known/openapi.json` with `components.securitySchemes` (none, hmacX402). `robots.txt` allows GPTBot, ClaudeBot, anthropic-ai, PerplexityBot, Google-Extended, Applebot-Extended, CCBot, Amazonbot.

13 hours ago