Clean Paste AI — Text, Unicode & Markdown Cleaner
Detect & remove 450+ invisible Unicode chars, em-dashes, and Markdown via free Streamable HTTP MCP.
¿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": {
"clean-paste-ai": {
"url": "https://cleanpasteai.com/mcp"
}
}
}Puntos de conexión remotos
https://cleanpasteai.com/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (4)
🟢scan_text_residue(text, include_cjk_punctuation)
Inspect text for 450+ invisible/hidden Unicode characters (zero-width spaces, narrow no-break spaces U+202F, Unicode tag characters, bidi controls) and em-dash / smart-quote counts without modifying the text. Reports objective character residue only (not statistical sampling watermark detection).
Esquema de entrada
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The text to inspect (up to 200,000 characters)."
},
"include_cjk_punctuation": {
"type": "boolean",
"description": "Optional. When true, also counts CJK full-width quotation marks and dashes in punctuation stats. Defaults to false."
}
},
"required": [
"text"
],
"additionalProperties": false
}🟢clean_invisible_text(text, remove_invisible, normalize_punctuation, em_dash_style, normalize_whitespace, ...)
Remove 450+ invisible/hidden Unicode characters from pasted AI or web text while protecting composite Emoji (ZWJ/FE0F), RTL script marks, CJK punctuation, and code blocks. Optionally replaces em-dashes (—) and curly smart quotes in the same pass.
Esquema de entrada
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The text to clean (up to 200,000 characters)."
},
"remove_invisible": {
"type": "boolean",
"description": "Remove hidden Unicode characters. Defaults to true."
},
"normalize_punctuation": {
"type": "boolean",
"description": "Replace em-dashes, en-dashes, curly smart quotes, and ellipsis outside code blocks. Defaults to false."
},
"em_dash_style": {
"type": "string",
"enum": [
"spaced-hyphen",
"comma",
"space",
"hyphen"
],
"description": "How to replace em-dashes when normalize_punctuation is true: \"spaced-hyphen\" (\" - \", default), \"comma\" (\", \"), \"space\" (\" \"), or \"hyphen\" (\"-\")."
},
"normalize_whitespace": {
"type": "boolean",
"description": "Collapse redundant inline spaces while preserving code indentation. Defaults to true."
},
"normalize_unicode": {
"type": "boolean",
"description": "Normalize Unicode to NFC form. Defaults to true."
},
"preserve_paragraphs": {
"type": "boolean",
"description": "Keep blank lines between paragraphs. Defaults to true."
},
"normalize_cjk_punctuation": {
"type": "boolean",
"description": "When true, also normalize CJK punctuation marks. Defaults to false (protects CJK punctuation)."
}
},
"required": [
"text"
],
"additionalProperties": false
}🟢strip_markdown(markdown, preset, strip_invisible, strip_citations, normalize_punctuation, ...)
Clean Markdown via AST parsing while protecting code blocks and LaTeX math, stripping ChatGPT/Perplexity citation markers, and optionally removing invisible Unicode characters and em-dashes. Supports Plain text, Docs & Word (clean semantic HTML without gray shading), and Sheets & Excel (TSV tables) presets.
Esquema de entrada
{
"type": "object",
"properties": {
"markdown": {
"type": "string",
"description": "Markdown input text (up to 200,000 characters)."
},
"preset": {
"type": "string",
"enum": [
"plain",
"docs",
"sheets"
],
"description": "Output preset: \"plain\" (clean plain text, default), \"docs\" (also returns clean transparent-background HTML for Word/Google Docs), or \"sheets\" (TSV-formatted tables for Excel/Sheets)."
},
"strip_invisible": {
"type": "boolean",
"description": "Also remove invisible Unicode characters in the same pass. Defaults to true."
},
"strip_citations": {
"type": "boolean",
"description": "Strip AI chat citation markers (such as [1], citeturn0search1) outside code blocks. Defaults to true."
},
"normalize_punctuation": {
"type": "boolean",
"description": "Also replace em-dashes and smart quotes outside code blocks. Defaults to false."
},
"em_dash_style": {
"type": "string",
"enum": [
"spaced-hyphen",
"comma",
"space",
"hyphen"
],
"description": "Em-dash replacement style when normalize_punctuation is true. Defaults to \"spaced-hyphen\"."
},
"keep_link_url": {
"type": "boolean",
"description": "Keep URLs in parentheses like \"label (https://...)\". Defaults to false (keeps link text only)."
},
"bullet_char": {
"type": "string",
"description": "Bullet character for unordered lists (e.g. \"•\", \"-\", or \"\"). Defaults to \"•\"."
},
"include_html": {
"type": "boolean",
"description": "Include clean semantic HTML (for Word/Google Docs paste without gray shading). Automatically true when preset is \"docs\"."
}
},
"required": [
"markdown"
],
"additionalProperties": false
}🟢html_to_clean_markdown(html, strip_invisible, normalize_punctuation, em_dash_style)
Convert rich HTML copied from ChatGPT, Google Docs, Word, or web pages into clean, shading-free Markdown, optionally stripping invisible Unicode characters in the same pass.
Esquema de entrada
{
"type": "object",
"properties": {
"html": {
"type": "string",
"description": "Raw HTML string to convert (up to 200,000 characters)."
},
"strip_invisible": {
"type": "boolean",
"description": "Also remove invisible Unicode characters from the resulting Markdown. Defaults to true."
},
"normalize_punctuation": {
"type": "boolean",
"description": "Also replace em-dashes and smart quotes outside code blocks. Defaults to false."
},
"em_dash_style": {
"type": "string",
"enum": [
"spaced-hyphen",
"comma",
"space",
"hyphen"
],
"description": "Em-dash replacement style when normalize_punctuation is true. Defaults to \"spaced-hyphen\"."
}
},
"required": [
"html"
],
"additionalProperties": false
}Comunidad
Evidencia