
Clean Markdown
io.github.damonwill78-a11y由 GitHub 帳號 damonwill78-a11y 發布v1.1.3更新於 Oct 27, 2026
Any URL to clean, LLM-ready Markdown for RAG. Strips ads, nav, and boilerplate.
發布方自己的服務:Clean
概覽
本機 MCP 伺服器,抓取網頁並回傳去除廣告、導覽與樣板內容的乾淨 Markdown,方便 LLM 使用。
- 可以做什麼
- 依 URL 抓取單一網頁,回傳頁面標題、來源、字數與清理後的 Markdown
- 可選擇保留或移除超連結,並可選用真實瀏覽器渲染由 JavaScript 產生的頁面
- 清理使用 Mozilla Readability,再轉為 GitHub 風格 Markdown,保留標題、清單、表格與程式碼區塊
- 頁面不是文章結構時改為回傳清理後的正文,而不是直接失敗
- 適用情境
- 適合在把網頁內容送入 RAG 流程或代理上下文時使用,希望取得可讀的正文,而不是充滿導覽、廣告與 Cookie 提示的原始 HTML。它在本機一次處理一個頁面。
- 執行需求
- 以本機 npm 套件 clean-markdown-mcp 執行,可透過 npx 或全域安裝,需要 Node.js。未宣告任何帳號、API 金鑰或環境變數。選用的 JavaScript 渲染需另外安裝 Playwright 及其 Chromium 瀏覽器。需要網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Clean Markdown,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
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.
Install
Use it with Claude Desktop
Add this to your claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
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
scrape_url
Returns the page title, source, word count, and the clean Markdown.
How the cleaning works
- Fetch — with a 20-second timeout, a 5 MB size cap, and redirects validated at every hop.
- Clean — runs Mozilla Readability, the engine behind Firefox Reader View, to isolate the real article and discard navigation, sidebars, ads, and comment sections.
- Convert — Turndown renders it as GitHub-flavoured Markdown, preserving headings, lists, tables, and code blocks.
If a page isn't article-shaped, it falls back to a cleaned <body> 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:
Then 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/perforated_hummingbird/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.txtenforcement — you are responsible for how you use it.
Local development
License
MIT
來源:README.md,提交 b67f394
工具
0版本歷史
1- v1.1.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Clean 整合
Clean
tools.clean官方發布者
Clean 是一個唯讀的實用工具 MCP 伺服器,為助理提供確定性的 cron、日期、金融、文字、編碼、顏色與轉換工具。

Clean Yield Data Tools
由 GitHub 帳號 cleanyield-data 發布
以 Apify 為基礎的 MCP 伺服器,為助理提供五個擷取工具:公司資料補齊、FMCSA 貨運業者、應用程式評論、ATS 職缺與拉美標案。

DataClean
由 GitHub 帳號 ArceeDev 發布
DataClean 以確定性規則對 CSV/Excel 表格進行剖析、清理、正規化與驗證,遇到歧義值只標記而不猜測。
Tendmark Buildings: Organize my building’s Clean Buildings compliance
com.forevenza.services
向 Tendmark Buildings 提交華盛頓州 Clean Buildings 合規範圍與參考費用請求,並追蹤報價與訂單。

Clean
由 GitHub 帳號 cleanmcp 發布
Clean 是託管型 MCP 伺服器,讓助理依你的理想客戶輪廓研究 B2B 潛在客戶、讀取結果並草擬外聯序列。