Clean Markdown MCP server
io.github.damonwill78-a11y/clean-markdown·v1.1.3Any URL to clean, LLM-ready Markdown for RAG. Strips ads, nav, and boilerplate.
0 stars26 downloads/wk
Reviews
Write oneNobody has reviewed Clean Markdown yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Clean Markdown tools (1)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
scrape_urlFetch any web page and return its main content as clean, readable Markdown.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan13 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 63 days ago12/15
- Maintainer identityregistry namespace matches repository owner6/10
How Clean Markdown compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 85/100
- higher than 73% of 4,460 AI and agents servers
- Tools
- 1
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 26
- more than 12% of 1,538 AI and agents servers with a package
What its tools let an agent do: 1 read
Install Clean Markdown in Claude Code, Cursor or VS Code
Runs npx -y clean-markdown-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add clean-markdown -- npx -y clean-markdown-mcp
What the publisher says
From the Clean Markdown repository's README, as published. We do not edit it. Read it on GitHub
clean-markdown-mcp
An MCP server that turns any URL into clean, LLM-ready Markdown — no ads, no nav bars, no cookie banners, no scripts.
Built for RAG pipelines and AI agents, where junk in the input means junk in the output.
Give it: https://en.wikipedia.org/wiki/Markdown
Get back: # Markdown
Markdown is a lightweight markup language for creating
formatted text using a plain-text editor...Install
npm install -g clean-markdown-mcpUse it with Claude Desktop
Add this to your claudedesktopconfig.json:
- macOS: ~/Library/Application Support/Claude/claudedesktopconfig.json
- Windows: %APPDATA%\Claude\claudedesktopconfig.json
{
"mcpServers": {
"clean-markdown": {
"command": "npx",
"args": ["-y", "clean-markdown-mcp"]
}
}
}Restart Claude Desktop, then ask it to "scrape https://example.com to Markdown."
Works the same way in Cursor, Windsurf, or any other MCP client — point it at the clean-markdown-mcp command.
The tool it exposes
scrapeurl**
Returns the page title, source, word count, and the clean Markdown.
How the cleaning works
at every hop.
- Fetch — with a 20-second timeout, a 5 MB size cap, and redirects validated
the engine behind Firefox Reader View, to isolate the real article and discard navigation, sidebars, ads, and comment sections.
- Clean — runs Mozilla Readability,
GitHub-flavoured Markdown, preserving headings, lists, tables, and code blocks.
- Convert — Turndown renders it as
If a page isn't article-shaped, it falls back to a cleaned rather than failing, so you still get usable text.
JavaScript-heavy sites (optional)
Some sites build their content with JavaScript after loading. A plain fetch returns almost nothing for those. To handle them, install Playwright once:
npm install playwright && npx playwright install chromiumThen pass renderJs: true. The difference on such a page is dramatic:
Playwright is not a dependency of this package, so a normal install stays small and fast. Without it, renderJs returns a clear message telling you how to enable it.
Security
The scraper refuses private, loopback, and link-local addresses — including cloud metadata endpoints like 169.254.169.254 — and re-validates every redirect hop. This matters because an MCP server runs on your machine, with access to your local network.
Need to scrape at scale?
This package handles one page at a time, locally. For batch scraping, hosted JavaScript rendering, and a pay-per-page API with no infrastructure to run, the same engine is available as a hosted Actor:
https://apify.com/perforatedhummingbird/url-to-markdown**
Known limitations
- Some sites block automated traffic. That's a site policy, not a bug here.
- Non-UTF-8 pages may render with garbled characters.
- No robots.txt enforcement — you are responsible for how you use it.
Local development
npm install
npm run build
node dist/try.js https://example.com # quick test
node dist/try.js https://example.com --render # with JS renderingLicense
MIT
Nothing above is checked by us. What we check is on the safety report.
Clean Markdown: common questions
- Is Clean Markdown MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the Clean Markdown safety report
- How do I install Clean Markdown?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Clean Markdown need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Clean Markdown maintained?
- The last commit was 103 days ago (2026-07-24). The latest release is v1.1.3.
- What can I use instead of Clean Markdown?
- Servers from other publishers that do the same job: DataSinking MCP server, Basic Memory MCP server and IWE (iwe.md) MCP server.
- How does Clean Markdown compare with other AI and agents MCP servers?
- safety score 85/100 (higher than 73% of 4,460 AI and agents servers); tools 1 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Clean Markdown
Same job from other publishers: the closest match first, then the best rated.
- DataSinkingFull-text financial reports (US, China, Japan, Korea, Taiwan, UK) as clean Markdown for RAG agents.not reviewedEstablishedA
- Basic MemoryLocal-first knowledge management with bi-directional LLM sync via Markdown files.not reviewedWidely usedB
- IWE (iwe.md)Markdown knowledge base as agent memory. Runs against the notes directory it is started in.not reviewedEstablishedA
- Local RagEasy-to-setup local RAG server with minimal configurationnot reviewedEstablishedA
- Butterbase AIButterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.not reviewedEstablishedA