
Html To Markdown Mcp
io.github.MukundaKatta由 GitHub 帳號 MukundaKatta 發布v0.1.0更新於 Oct 24, 2026
Convert HTML to Markdown or strip to plain text. For web-scraping agents.
概覽
一個本機 MCP 伺服器,把 HTML 轉換成乾淨的 Markdown 或純文字,讓助理以確定的方式把抓取的網頁變成可讀內容。
- 可以做什麼
- 將 HTML 轉換為 Markdown,統一標題、圍欄程式碼區塊與行內連結的寫法,預設移除指令碼與樣式。完全剝除 HTML,回傳空白正規化的純文字,在只需要文字時更快。
- 適用情境
- 適合網頁抓取或閱讀頁面的助理,需要穩定的 Markdown 或文字輸出,而不是讓模型在每輪對話中自行轉換 HTML(結果不一致)。它不是完整的內容擷取流程,正文辨識需另做一步。
- 執行需求
- 透過 stdio 在本機執行,使用 npx 從 npm 套件 @mukundakatta/html-to-markdown-mcp 安裝。未宣告驗證、環境變數或請求標頭。僅支援桌面用戶端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Html To Markdown Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@mukundakatta/html-to-markdown-mcp
MCP server for HTML → Markdown conversion. For web-scraping and read-the-page agents.
Tools
html_to_md(html, ...options)— Turndown-based conversion with sane defaults (ATX headings, fenced code, inline links). Strips scripts/styles by default.extract_text(html)— strip everything, return whitespace-normalized text. Faster thanhtml_to_mdwhen you only need text content.
Why this exists
Web-scraping agents constantly need clean Markdown from HTML. LLMs do this inline but inconsistently across turns (different heading styles, different list markers, sometimes leaving raw HTML tags in). A deterministic converter avoids the variance.
This is intentionally not a full content-extraction pipeline (no Readability-style "main content" detection — use that in a separate step if needed).
Install — Claude Desktop
Same shape for Cursor / Cline / Windsurf / Zed.
License
MIT OR Apache-2.0.
來源:packages/html-to-markdown-mcp/README.md,提交 6fad5bb
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分