TextClean MCP

Free deterministic PDF, Markdown, citation, invisible-character, and formatting cleanup for agents.

Should I use this

Quality & Safety

B
Description quality
80%
Schema completeness
80%
Naming quality
80%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~167Tokens (tool definitions)
~1.5 KBTypical response size
Minimal attention impact (0.13% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "textclean": {
      "url": "https://textclean.org/mcp/free"
    }
  }
}

Remote endpoints

https://textclean.org/mcp/freestreamable-http

What it can do

Tool inventory

Tools (1)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
⚪clean_text(text, destination, preset, stripMarkdown, removeCitations, ...)

Clean copied text while preserving headings, paragraphs, lists, quotations, emphasis, and intentional spacing. Supports PDF repair and destination-specific rendering.

Input Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 20000
    },
    "destination": {
      "type": "string",
      "enum": [
        "preserve",
        "email",
        "message",
        "blog",
        "document",
        "plain"
      ]
    },
    "preset": {
      "type": "string",
      "enum": [
        "default",
        "pdf",
        "ai",
        "html",
        "list"
      ]
    },
    "stripMarkdown": {
      "type": "boolean"
    },
    "removeCitations": {
      "type": "boolean"
    },
    "replaceLongDashes": {
      "type": "string",
      "enum": [
        "preserve",
        "hyphen",
        "comma",
        "colon",
        "space"
      ]
    }
  },
  "required": [
    "text"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded1 tools