Clean Paste AI — Text, Unicode & Markdown Cleaner

Detect & remove 450+ invisible Unicode chars, em-dashes, and Markdown via free Streamable HTTP MCP.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
100%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,231token 数(工具定义)
~2.7 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.96%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 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
}

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具