Any URL to clean, LLM-ready Markdown for RAG. Strips ads, nav, and boilerplate.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
Add this to your claude_desktop_config.json:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonRestart 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.
scrape_url
| Parameter | Type | Description |
|---|---|---|
url | string | The page to scrape. Must be http:// or https://. |
includeLinks | boolean | Keep hyperlinks in the Markdown. Default true. Set false for cleaner prose. |
renderJs | boolean | Load the page in a real browser first, for JavaScript-built sites. Default false. Requires Playwright β see below. |
Returns the page title, source, word count, and the clean Markdown.
If a page isn't article-shaped, it falls back to a cleaned <body> rather than
failing, so you still get usable text.
Some sites build their content with JavaScript after loading. A plain fetch returns almost nothing for those. To handle them, install Playwright once:
Then pass renderJs: true. The difference on such a page is dramatic:
| Mode | Result |
|---|---|
| Default | ~3 words β just navigation links |
renderJs: true | ~190 words β the full content |
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.
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.
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/perforated_hummingbird/url-to-markdown
robots.txt enforcement β you are responsible for how you use it.MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/clean-markdown)<a href="https://allmcps.com/mcp/clean-markdown"><img src="https://allmcps.com/api/badge/clean-markdown?style=directory" alt="Clean Markdown on AllMCPs" /></a>