Clean Paste AI — Text, Unicode & Markdown Cleaner
Detect & remove 450+ invisible Unicode chars, em-dashes, and Markdown via free Streamable HTTP MCP.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"clean-paste-ai": {
"url": "https://cleanpasteai.com/mcp"
}
}
}遠端端點
https://cleanpasteai.com/mcpstreamable-http它能做什麼
工具清單
工具(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).
輸入結構描述
{
"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.
輸入結構描述
{
"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.
輸入結構描述
{
"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.
輸入結構描述
{
"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
}社群
證據