CussCheck
English profanity filter: find and censor swear words, incl. obfuscations. Word list, not AI.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"profanity-api": {
"url": "https://profanity-api.mike-tusa.workers.dev/mcp"
}
}
}원격 엔드포인트
https://profanity-api.mike-tusa.workers.dev/mcpstreamable-http할 수 있는 일
도구 목록
도구 (1)
🟢check_profanity(text, censor, allow, deny)
Detect English profanity in text (word list with leetspeak, look-alike letters, repeated letters, dotted/spaced letters and hidden characters handled) and return the matched terms, their positions (UTF-16 start/end in your text) and, unless censor is false, a censored copy of the same length. Common innocent words (Scunthorpe, cockpit, Shiite, cumin) are whitelisted; it does not understand context and is English only. Text up to 10240 UTF-8 bytes; it is not stored or logged. matches is capped at 50 here (match_count is the full total). Read-only. Same engine, keys and limits as POST /v1/check.
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The text to check, at most 10240 UTF-8 bytes.",
"maxLength": 10240
},
"censor": {
"type": "boolean",
"description": "Return a censored copy (default true)."
},
"allow": {
"type": "array",
"description": "Words never to flag, e.g. [\"hell\", \"damn\"]. Allow wins over deny.",
"maxItems": 50,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 40
}
},
"deny": {
"type": "array",
"description": "Extra words to flag on word boundaries, e.g. [\"jerk\"].",
"maxItems": 50,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 40
}
}
},
"required": [
"text"
],
"additionalProperties": false
}출력 스키마
{
"type": "object",
"properties": {
"has_profanity": {
"type": "boolean"
},
"match_count": {
"type": "integer",
"description": "Total number of matches in the text (not capped)."
},
"terms": {
"type": "array",
"items": {
"type": "string"
}
},
"matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"term": {
"type": "string"
},
"match": {
"type": "string"
},
"start": {
"type": "integer"
},
"end": {
"type": "integer"
},
"source": {
"type": "string"
},
"obfuscated": {
"type": "boolean"
}
},
"required": [
"term",
"start",
"end"
]
},
"maxItems": 50,
"description": "Matches in text order, at most 50 here (see match_count for the total). start/end are UTF-16 indices into your text."
},
"matches_returned": {
"type": "integer"
},
"truncated": {
"type": "boolean",
"description": "True when matches lists fewer than match_count (over 50 here, or the API's own cap)."
},
"censored": {
"type": "string",
"description": "Your text with each match replaced by asterisks (same length). Omitted when censor is false."
},
"text_bytes": {
"type": "integer"
},
"engine": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"has_profanity",
"match_count",
"terms",
"matches"
]
}커뮤니티
증거