Html To Markdown MCP Server

MCP server for converting HTML to Markdown using Turndown.js

Local serverstdio

What is the Html To Markdown MCP Server?

MCP server for converting HTML to Markdown using Turndown.js

What you get

An MCP (Model Context Protocol) server that converts HTML content to Markdown format using Turndown.js.

  • 🌐 Fetch and convert web pages - Automatically fetch HTML from any URL
  • 🔄 Convert HTML to clean, formatted Markdown
  • 📝 Preserves formatting (headers, links, code blocks, lists, tables)
  • 🗑️ Automatically removes unwanted elements (scripts, styles, etc.)
  • 📊 Auto-extracts page titles and metadata
  • ⚡ Fast conversion using Turndown.js

Recorded tools

  • html_to_markdown — Fetch HTML from a URL or convert provided HTML content to Markdown format. This tool is automatically used by Claude whenever HTML needs to be fetched and converted.
  • save_markdown — Save markdown content to a file on disk. Use this to persist converted HTML or any markdown content.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
html_to_markdown

How to install the Html To Markdown MCP Server

{
  "mcpServers": {
    "html-to-markdown": {
      "command": "npx",
      "args": [
        "html-to-markdown-mcp"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use Html To Markdown MCP to html to markdown.”
  • “Use Html To Markdown MCP to save markdown.”
  • “Use Html To Markdown MCP to Testing.”

Frequently asked questions

MCP server for converting HTML to Markdown using Turndown.js Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.