Chinese Ad Copy Compliance Checker

v0.2.0
io.github.xmg221221/cn-compliance Checked 2 days ago Published 16 hours ago

Scan Chinese ad copy for PRC Advertising Law and platform banned words before publishing.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_chinese_content_compliance

Check Chinese marketing copy, product titles, captions or livestream scripts against PRC Advertising Law (广告法) and platform review rules BEFORE publishing. Flags absolute/ superlative claims (最好, 第一, 100%有效), medical claims on ordinary food, financial return promises, banned redirect phrases, and fake endorsements. Returns a verdict (blocked/risky/safe), a 0-100 score, each offending word with the legal reason and a suggested replacement, plus a rewritten draft. Use this whenever the user is about to publish Chinese content on Xiaohongshu, Douyin, WeChat Official Accounts, To…

ParameterTypeDescription
text *stringThe Chinese copy to check. Up to 20,000 characters.
platformstringTarget platform. 'all' checks every platform at once and reports the worst verdict. Defaults to xiaohongshu.

list_banned_words

List the banned/restricted Chinese words this checker knows about, grouped by rule, with the reason and a safe replacement for each. Useful when the user asks 'which words can I not use in Chinese ads' or wants to pre-screen their own vocabulary.

ParameterTypeDescription
rulestringOptional substring filter on the rule name, e.g. '广告法' or '医疗'. Omit to get every rule.