CussCheck
English profanity filter: find and censor swear words, incl. obfuscations. Word list, not AI.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"profanity-api": {
"url": "https://profanity-api.mike-tusa.workers.dev/mcp"
}
}
}Puntos de conexión remotos
https://profanity-api.mike-tusa.workers.dev/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"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
}Esquema de salida
{
"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"
]
}Comunidad
Evidencia