HTML to Markdown
● Activeio.github.xberg-io/html-to-markdown
Convert HTML to clean Markdown with a fast Rust engine, over a local stdio MCP server.
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"html-to-markdown": {
"command": "npx",
"args": [
"-y",
"@xberg-io/html-to-markdown-cli@3.23.5",
"mcp"
]
}
}
}claude mcp add html-to-markdown -- npx -y @xberg-io/html-to-markdown-cli@3.23.5 mcpcodex mcp add html-to-markdown -- npx -y @xberg-io/html-to-markdown-cli@3.23.5 mcpcode --add-mcp '{"name":"html-to-markdown","type":"stdio","command":"npx","args":["-y","@xberg-io/html-to-markdown-cli@3.23.5","mcp"]}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
Is it safe? Is it maintained?
Serverdex check: Nov 29, 2026Looks healthy: HTML to Markdown is maintained, open source.
- Maintained
- Active
- Last commit 6 days ago (Nov 23, 2026), 1 open issues.
- Official registry
- Active
- Published as io.github.xberg-io/html-to-markdown in the official MCP registry, version 3.23.5.
- Source
- Open source, MIT
- Public repository under the MIT licence, 889 stars, 76 forks.
- Runs
- On your machine
- A local npm package started by your client; it can reach whatever your user account can.
- Credentials
- None declared
- The registry entry declares no required environment variables.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.
Report Card
How the grade works →Grade A · Production-ready
Maintenance & production-readiness — 94/100 from the six repository signals below. A comparable rollup, not a code audit.
- Recent commits+30/30
Last commit 6 days ago.
- Open licence+15/15
MIT on GitHub.
- Documentation+15/15
The repository ships a README.
- Adoption+14/20
889 GitHub stars.
- Registry status+12/12
Active in the official MCP registry.
- Product surface+8/8
Has a homepage or a published package/endpoint.
Own this server? Add the grade badge — it links back here
<a href="https://serverdex.io/server/io-github-xberg-io-html-to-markdown?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-xberg-io-html-to-markdown/report-badge.svg" alt="HTML to Markdown — Serverdex Report Card A" height="22"></a>Compare every server's grade on best-maintained MCP servers.
On GitHub
read Nov 23, 2026HTMLhocrhtmlhtml-convertermarkdownmarkdown-converterragtext-extractiontext-processingxberg
From the README
html-to-markdown Turn messy, real-world HTML into clean Markdown — from the language you already work in. What and Why? Feed html-to-markdown the HTML you actually have — unclosed tags, CDATA, custom elements, broken entities, nested tables, mixed encodings — and get back clean CommonMark (or Djot) without losing content. One convert() call does it, and it returns the same result whether you run it from Python, TypeScript, Go, Ruby, Java, or 11 more languages. You get more than the text: pull page metadata (Open Graph, Twitter, JSON-LD) and structured tables in the same pass, or hook into the conversion to reshape the output. It is fast enough for whole-corpus jobs, and the messy-input handling is automatic — you never choose a parsing strategy or tune anything to get correct output. Features ⭐ Star this repo to show your support — it helps others discover html-to-markdown. Quick Start convert() is the single entry point — it returns a structured result with content, warnings, and optional metadata. Language Packages Rust The Rust crate needs Rust 1.99 or newer. See Rust README for full documentation. Python See Python README for full documentation. Node.js See Node.js README for full documentation. Go See Go README for full documentation. Java Available on Maven Central as io.xberg:html-to-markdown.…
Read the full README on GitHub →Alternatives to HTML to Markdown
All HTML to Markdown alternatives →Best Search & Web servers →Compare side by side →The most-starred Search & Web servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| Browser Use | 122,243 | Nov 2026 | Working |
| Scrapling MCP Server | 106,837 | Nov 2026 | Local / not checked |
| Chrome DevTools MCP | 59,203 | Nov 2026 | Local / not checked |
| com.puter MCP Server | 44,240 | Nov 2026 | Needs sign-in |
| Playwright MCP | 40,102 | Nov 2026 | Local / not checked |
HTML to Markdown: questions people ask
- Is HTML to Markdown a remote or a local MCP server?
- According to its entry in the official MCP registry, HTML to Markdown ships as a local package (npm) that your client starts on your machine.
- Is HTML to Markdown safe to use?
- Looks healthy: HTML to Markdown is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: None declared. Serverdex check of Nov 29, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is HTML to Markdown still maintained?
- Active: the repository's last commit 6 days ago. Last push Nov 23, 2026, 889 GitHub stars, MIT licence. Read from GitHub on Nov 23, 2026.
- How do I add HTML to Markdown to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More from xberg-io
All 6 servers by xberg-io →- XbergExtract text, tables, metadata, and images from documents via local CLI.Documents & Knowledge★ 9.6k
- Tree-Sitter Language PackParse source code, extract structure and symbols, and chunk files for LLMs across 300+ languages.Developer Tools★ 488
- liter-llmUniversal LLM API client MCP server: chat, embeddings and tools across 170+ providers.AI & Agents★ 267
- CrawlbergScrape, crawl, and map websites to Markdown or JSON via local CLI.Search & Web★ 197
More Search & Web servers
Browse all Search & Web →designmark
Production-ready
Search and fetch Japanese landing-page design systems (DESIGN.md) from designmark.jp.
Magpie Search
Production-ready
Federated local-first search across transcripts, files, KG, vectors and the web for AI agents.
PrismSearch
Production-ready
Multi-engine web, image and WeChat search with page/PDF fetching over local MCP stdio.
EveryInfra
Production-ready
Structured data from 106 platforms (RedNote, Douyin, TikTok, Amazon), web search, CAPTCHA solving.
DOMStrip
Production-ready
Turn any web page or raw HTML into compact, clean Markdown for AI agents.
FrankenSurf
Production-ready
Read any web page and search the web: 28 tools, cheapest first, every page checked.
Add the badge to your site
Show visitors that HTML to Markdown is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-xberg-io-html-to-markdown?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="HTML to Markdown — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-xberg-io-html-to-markdown?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-xberg-io-html-to-markdown) [](https://serverdex.io/install/vscode/io-github-xberg-io-html-to-markdown) [](https://serverdex.io/install/claude-code/io-github-xberg-io-html-to-markdown)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/io-github-xberg-io-html-to-markdown"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-xberg-io-html-to-markdown"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-xberg-io-html-to-markdown"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).