中文内容合规检查 MCP Server
MCP serverSecurityChinese content compliance: ad-law banned terms + AI-labeling rules, citing exact legal provisions.
Use 中文内容合规检查 MCP Server in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add 中文内容合规检查 MCP Server and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use 中文内容合规检查 MCP Server
No other account needed.
Details
Available today. Use it from your connected AI after setup.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Install 中文内容合规检查 MCP Server
The server’s own address, for the clients that take one directly. Or connect ahel once and every client you use reads it from one address, with the account kept on ahel rather than in each client’s config.
Claude Code
claude mcp add --transport http --scope user mcp-server 'https://mcp.wanhetools.top/mcp'Run it once in your project, then open /mcp to approve any sign-in the server asks for.
Claude Desktop
https://mcp.wanhetools.top/mcpAdd a custom connector in Settings, paste this address, and approve the sign-in.
Cursor
cursor://anysphere.cursor-deeplink/mcp/install?name=mcp-server&config=eyJ1cmwiOiJodHRwczovL21jcC53YW5oZXRvb2xzLnRvcC9tY3AifQ==Open the link and Cursor adds the server at that address.
ChatGPT
https://mcp.wanhetools.top/mcpIn Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.
Codex
codex mcp add mcp-server --url 'https://mcp.wanhetools.top/mcp'Run it once, then sign in with codex mcp login mcp-server if the server asks for an account.
From the project's README
As published by Wh-bi/wanhe-compliance-mcp in README.md.
把中文内容合规检查能力接入 AI Agent —— Claude Desktop / Cursor / Cline 等可直接调用, 无需人工转述。
零外部依赖:有官方 mcp 库时用官方实现;没有则自动降级为内置 stdio JSON-RPC,
功能完全相同。pip install 都不需要就能跑。
它解决什么问题
写中文商业内容(电商详情页、短视频文案、公众号文章、AI 生成图文)时, 最容易踩的三个坑:
- 广告法违禁词 —— 「全网最」「100%」「国家级」「根治」「包过」「稳赚不赔」
- AI 生成内容标识 —— 《人工智能生成合成内容标识办法》要求显式标识 + 隐式元数据标识
- 组织流程缺失 —— 有没有做安全评估、算法备案、单独同意
本 Server 把这三类检查暴露为 3 个 MCP 工具,Agent 可以在你写作时直接调用并给出依据法条。
提供的工具
| 工具 | 作用 | 输入 |
|---|---|---|
check_content | 检查文本合规风险,返回逐条:类型 / 位置 / 命中文本 / 依据法条 / 修改建议 | text |
check_ai_label | 判断是否需按《AI 生成合成内容标识办法》加标识(显式 / 隐式) | text |
self_assessment | 17 项组织级合规自查问卷 → 覆盖率评分 + 待整改清单 | answers |
覆盖的法规依据
- 《中华人民共和国广告法》第 9 条(绝对化用语)、第 13 条(贬低同行)、 第 16 条(治愈率)、第 17 条(疾病治疗功能)、第 18 条(保健食品)、 第 24 条(教育效果承诺)、第 25 条(金融收益承诺)、第 28 条(虚假广告)
- 《人工智能生成合成内容标识办法》第 4、5 条 + 强制性国标 GB 45438-2025
- 《食品安全法》第 73 条 · 《反不正当竞争法》第 11 条
安装
方式一:Claude Desktop
编辑配置文件(Windows:%APPDATA%\Claude\claude_desktop_config.json;
macOS:~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"wanhe-compliance": {
"command": "python",
"args": ["/绝对路径/mcp_compliance_server.py"]
}
}
}
重启 Claude Desktop,在工具列表中即可看到 check_content / check_ai_label /
self_assessment。
方式二:Cursor / Cline / 其他 MCP 客户端
在对应的 MCP 配置里加入同样的 command + args 即可(均为 stdio 传输)。
方式三:直接命令行验证
python mcp_compliance_server.py --selftest
会输出引擎加载状态、工具清单,并用一段示例文本跑一次检查。
使用示例
装好后直接对 Agent 说:
帮我检查这条短视频文案要不要加 AI 标识: 本店橙子全网最甜,100%无添加,彻底根治失眠,国家级免检产品
Agent 会调用 check_content,返回类似:
{
"ok": true,
"verdict": "存在高风险问题",
"summary": "共 7 条(高风险 7 · 待确认 0 · 提示 0)",
"issues": [
{"type": "广告法·绝对化用语", "matched": "全网最",
"position": "第 5 字符起",
"basis": "《广告法》第9条第(三)项",
"suggestion": "删去范围性绝对表述"},
{"type": "广告法·医疗功效宣传·功效声明+疾病名同现",
"matched": "根治失眠", "position": "第 20 字符起",
"basis": "《广告法》第17条:除医疗、药品、医疗器械广告外,禁止涉及疾病治疗功能",
"suggestion": "非医疗类商品必须删去全部疾病治疗表述"}
]
}
设计原则(重要)
1. 宁可漏检,不可误报
合规工具误报一次就会失去信任。所以规则要求语境同现:
- 只有「功效声明 + 疾病名」同时出现才判定(如「适用于高血压」)
- 单独的疾病名不报(如「高血压患者请在医师指导下用药」是正当提示)
- 「康复器材」「康复中心」等合法商品与机构名不报
2. 不编造问题
未发现问题时明确返回「未发现上述规则覆盖的问题」,不会为了显得有用而虚报。
3. 可复现
同输入必同输出(规则引擎而非模型判断)。
免费版 vs 云端版
| 免费版(本 MCP Server) | 云端版 | |
|---|---|---|
| 规则库 | 高频规则子集,离线可用、无次数限制 | 全量规则库,云端持续更新 |
| 多法规交叉判定 | — | ✓ |
| 结果按位置去重 | — | ✓ |
| 17 项自查问卷 | ✓ | ✓ |
| 法规变化时 | 需重新拉取 | 无需操作 |
云端版与 API 说明:https://wanhetools.top/compliance-check
边界声明
本工具做规则匹配与法规条款引用,不构成法律意见。 具体合规判断请咨询专业法律人士。
许可
MIT
数据与隐私
- 免费版完全本地运行,内容不出本机
- 不收集任何使用数据
- 无网络请求(除你主动配置的云端版)
Advanced
- Delivery
- wanhe-compliance MCP server → your ahel connector (mcp.ahel.ai) → your AI.
- Item type
- mcp-server
- Key
io-github-wh-bi-wanhe-compliance- Source
- github.com/Wh-bi/wanhe-compliance-mcp
- Hosted endpoint
https://mcp.wanhetools.top/mcp
github.com/Wh-bi/wanhe-compliance-mcp
More in Security
MCP server
More in Securityechelongraph-mcp
MCP server · echelongraph
More in Securitynotfair
MCP server · nowork-studio
More in Securityfeedmyagent
MCP server · makash
More in Securityopenwork
MCP server · different-ai
More in Securitylazaretto
MCP server · jamesdfinance-dev
More in Security