Html To Markdown MCP Server

MCP server for converting HTML to Markdown using Turndown.js

Local serverstdio

What is the Html To Markdown MCP MCP server?

Html To Markdown MCP MCP server exists for a simple reason — assistants are far more useful when they can act on Html To Markdown MCP directly instead of describing what you should do. 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

What the assistant can call

Once Html To Markdown MCP is connected, these are the calls the assistant has available:

  • 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
  • save_markdown — Save markdown content to a file on disk. Use this to persist converted HTML or any markdown content
  • Testing — The Testing tool exposed by this server

Setting it up

html-to-markdown-mcp on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Choosing this one

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Html To Markdown MCP's toolset — html_to_markdown, save_markdown, Testing — is a fair guide to whether it matches your workflow. It is maintained by levz0r; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the html to markdown mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
html_to_markdownFetch 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_markdownSave markdown content to a file on disk. Use this to persist converted HTML or any markdown content.
TestingThe Testing tool exposed by this server.

How to install the Html To Markdown MCP MCP server

**Or if installed globally:**
```json
{
  "mcpServers": {
    "html-to-markdown": {
      "command": "html-to-markdown-mcp"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

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

It connects Html To Markdown MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (html_to_markdown, save_markdown, Testing) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Html To Markdown MCP directly.