A Python wrapper for the fetch-clean-markdown-mcp MCP server — fetches URLs and returns clean, LLM-optimized Markdown
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"fetch-clean-markdown-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# fetch-clean-markdown-mcp An MCP (Model Context Protocol) server that fetches URLs and returns clean, LLM-optimized Markdown. ## Features - **Clean extraction** — Strips HTML, scripts, and boilerplate from any public URL - **Security hardened** — SSRF protection, redirect validation, prompt injection sanitization, payload size limits - **Edge deployed** — Runs on Cloudflare Workers for global low-latency access - **Locally runnable** — Can also run via stdio for local MCP client integration ## Usage ### Configuration for Cline / MCP clients Add to your `cline_mcp_settings.json`: ```json { "mcpServers": { "fetch-clean-markdown-mcp": { "command": "node", "args": ["dist/local.js"], "env": {} } } } ``` Or use the npm package globally: ```json { "mcpServers": { "fetch-clean-markdown-mcp": { "command": "npx", "args": ["fetch-clean-markdown-mcp"], "env": {} } } } ``` ### Remote (Cloudflare Worker) ``` https://fetch-clean-markdown-mcp.yourbuttstinks69420.workers.dev ``` ## Tool ### `fetch_clean_markdown` **CRITICAL**: Use this tool to extract clean, readable text/markdown from any public URL. **Input:** - `url` (string, required) — The public web URL to fetch **Returns:** - Clean Markdown text with HTML stripped, injection sanitization applied, and size-limited to 512 KB ## Local Development ```bash # Install dependencies npm install # Build npm run build # Run locally npm start # Run with hot-reload npm run start:dev ``` ## Deploy to Cloudflare ```bash npx wrangler login npm run deploy ``` ## License MIT
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.