# CussCheck > English profanity filter: finds swear words in text (including obfuscations like f.u.c.k, sh1t and fuuuck), returns their positions and a censored copy. Word-list filter (obscenity englishDataset), not AI moderation; it does not understand context. Public JSON API plus a remote MCP server for AI agents. Submitted text is checked in memory and never stored or logged. ## For AI agents - [MCP server](https://profanity-api.mike-tusa.workers.dev/mcp): remote MCP over Streamable HTTP (POST only, stateless, JSON responses). Protocol versions: 2026-07-28, 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05. Tools: `check_profanity` (text, censor, allow, deny). Read-only. Client config (most MCP clients accept this; some use a different format, for example VS Code uses a `servers` key): `{"mcpServers":{"cusscheck":{"type":"http","url":"https://profanity-api.mike-tusa.workers.dev/mcp"}}}` - [OpenAPI 3.1 spec](https://profanity-api.mike-tusa.workers.dev/openapi.json): machine-readable description of the JSON API - [Docs](https://profanity-api.mike-tusa.workers.dev/docs): human-readable API docs ## JSON API - `POST https://profanity-api.mike-tusa.workers.dev/v1/check` with JSON `{"text": "...", "censor": true, "allow": [], "deny": []}`: text at most 10240 UTF-8 bytes, body at most 16384 bytes; allow/deny up to 50 words of at most 40 characters. - Result: has_profanity, match_count, terms, matches (term, match, start, end as UTF-16 indices, source, obfuscated; at most 500, truncated flag), censored, text_bytes, engine, version. - `POST https://profanity-api.mike-tusa.workers.dev/v1/keys` with `{}`: free API key (1000/day, 60/min), shown once. `GET https://profanity-api.mike-tusa.workers.dev/v1/usage` with the key: today's usage. - Errors: { "error": { "code", "message" } } with 400 (invalid_json, missing_text, invalid_censor, invalid_allow, invalid_deny), 401 (invalid_api_key, missing_api_key), 403 (cross_origin_forbidden), 404 (not_found), 405 (method_not_allowed), 413 (body_too_large, text_too_large), 415 (unsupported_media_type), 429 (rate_limited, ip_daily_quota, key_quota_exceeded, issuer_quota_exceeded, daily_cap_reached, key_issue_limit; with Retry-After), 500 (internal_error), 503 (not_configured, unavailable). ## Limits and keys - Anonymous: 10 checks/min and 200/day per IP. Free API key (`X-Api-Key: pf_...` or `Authorization: Bearer pf_...`): 60/min and 1000/day. The MCP endpoint uses the same keys and counters: each `check_profanity` call is one check (max 50 matches listed per call; match_count is the full total); non-call messages don't count as checks but are capped at about 120/min per IP (HTTP 429 + Retry-After). Max MCP body 65536 bytes. - CussCheck Pro: $5/month (Polar checkout: https://buy.polar.sh/polar_cl_qRzzZfRabrea5OIqft4MGIAJfO1L7MRZg1VFO4dxmNz). 5000 checks/day per license, 60/min, own capacity separate from the free pool. Send the license key (`CCPR-...`) as X-Api-Key, or as Authorization: Bearer on /mcp. Same engine and per-request limits as free. ## Optional - [Privacy](https://profanity-api.mike-tusa.workers.dev/privacy): submitted text is never stored or logged. A salted, daily-rotating hash of the visitor network is kept for up to 9 days to count unique visitors per day; no IP address is stored. - Contact: digitalpromohub.support@gmail.com