Skip to main content
MCP server CX Codex

HTML to Markdown — Claude Code MCP server: setup guide

HTML to Markdown — Clean Conversion, Scripts Stripped is a Claude Code MCP server that converts raw HTML to Markdown and removes scripts, styles, and trackers.

no license 4,235 installs updated 2026-04-13

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http html-to-markdown https://html-to-markdown--axel-belfort.run.tools
Open on GitHub

What HTML to Markdown — Clean Conversion, Scripts Stripped does

The server exposes text_convert_html_to_markdown to turn markup into clean Markdown text. Its JSON output supplies the converted markdown, along with wordCount, inputLength, and output character metrics. Structural components like headings, tables, hyperlinks, lists, and images stay intact, while inline styles, scripts, and tracking artifacts get discarded.

The tool handles raw markup only. Fetching a live web address requires a separate utility, web_scrape_to_markdown. Running this endpoint does not require an API token, relying instead on x402 micropayments at $0.001 per call on Base L2.

What it helps with

  • strip trackers and CSS from HTML email bodies before LLM ingestion
  • convert legacy HTML pages into Markdown during documentation migrations
  • turn raw HTML tables and link lists into compact Markdown blocks

Example prompts for the agent

  • Run text_convert_html_to_markdown on this exported email markup
  • Convert this HTML block into clean Markdown without inline script tags
  • Parse the table from this HTML snippet and output clean Markdown

How to install HTML to Markdown — Clean Conversion, Scripts Stripped

Platform CLI: remote server

claude mcp add --transport http html-to-markdown https://html-to-markdown--axel-belfort.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about HTML to Markdown — Clean Conversion, Scripts Stripped

How to install HTML to Markdown in Claude Code?

Run claude mcp add --transport http html-to-markdown https://html-to-markdown--axel-belfort.run.tools in your console.

What does HTML to Markdown do?

It converts HTML input into clean Markdown, discarding trackers, styles, and scripts while preserving elements like tables, links, and headings.

Does this tool scrape live URLs?

No, it converts provided raw markup. Live web addresses require using web_scrape_to_markdown instead.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open