The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Kadlint listing page.
Korean ad-compliance linter for cosmetics and health-food marketing copy — detects prohibited claims with the legal basis, severity, and safer alternatives.
Korean law tightly regulates what cosmetics and health-functional-food ads may claim. A face cream may not say it "treats acne" (that is a drug claim under the Cosmetics Act), a probiotic may not promise to "boost immunity" unless that exact functionality was approved, and "No.1" / "100% natural" claims require objective substantiation under the Fair Labeling and Advertising Act. Korea's Ministry of Food and Drug Safety (MFDS) keeps detecting thousands of unlawful online ads in these categories every year — in 2025 its routine sweeps again flagged large batches of cosmetics and health-food ads for drug-like or unsubstantiated claims, and violations can mean ad bans, sales suspensions, and fines.
kadlint lints Korean marketing copy against a curated dictionary of 299 rules (183 cosmetics, 51 health-food, 65 common) distilled from:
Every finding comes with the violation category, the legal basis citation, a severity (high / medium / low), an explanation, and safer alternative phrasings.
Requires Node.js >= 18.
.txt, .md, .html (tags stripped, offsets preserved), directories (recursive), - (stdin).0 clean, 1 findings at/above --min-severity, 2 usage error.살 균, 살·균, 살-균), a common evasion tactic; disable with --no-normalize.Options: domains (cosmetics | health_food | common), minSeverity, normalize (default true).
When one of a rule's exceptions phrases appears within 80 characters of a match (e.g. an approved functional claim used verbatim), the finding is downgraded to low with an explanatory note.
kadlint-mcp exposes a check_ad_copy { text, domain? } tool over stdio so LLM assistants can lint copy while drafting it.
Claude Desktop (claude_desktop_config.json):
If installed globally, "command": "kadlint-mcp" suffices:
Claude Code:
or in .mcp.json:
playground/index.html is a dependency-free static page (GitHub Pages friendly): paste copy, get highlighted matches and rule cards with the legal basis and alternatives.
Rules live in data/*.json:
data/_needs_review.json is a backlog of candidate rules that have not been verified yet; it is excluded from the npm package. Contributions welcome — see CONTRIBUTING.md (no coding required, every rule must cite its legal basis).
pip install kadlint), review of the 25 backlog rules in _needs_review.json, and a pipeline for tracking MFDS guideline revisions.MIT © 2026 Jungkyun Lim