About HTML to Markdown
HTML to Markdown is an MCP server published by levz0r in the Developer Tools category: mCP server for converting HTML to Markdown using Turndown.js. Fetch web pages and convert them to clean, formatted Markdown. Conduid read 2 tools from its source: html_to_markdown and save_markdown. It is published to npm as html-to-markdown-mcp and starts with npx.
The repository has 27 stars and 4 forks, is licensed MIT, and its last commit was on 22 Nov 2026. The latest release is v1.0.3. It follows v1.0.2, and the 3 most recent releases go back to v1.0.1. It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include html, html-to-markdown, claude-plugin, browser, converter and markdown.
Install
claude mcp add html-to-markdown-mcp -- npx html-to-markdown-mcpnpx html-to-markdown-mcpgit clone https://github.com/levz0r/html-to-markdown-mcpTools (2)
html_to_markdownFetch HTML from a URL or convert provided HTML content to Markdown format. Automatically extracts and converts web pages to clean, readable Markdown. Use this whenever you need to fetch and extract information from a webpage.| Parameter | Type | Description |
|---|---|---|
| html | string | Raw HTML content to convert to Markdown. Use this if you already have HTML content. Either 'url' or 'html' must be provided. |
| includeMetadata | boolean | Include metadata header (source URL, title, and timestamp) in the output |
| maxLength | number | Maximum length of the returned markdown content in characters. If the content exceeds this length, it will be truncated with a message indicating the truncation. Use this for large pages to avoid token limits. Default: no limit. |
| saveToFile | string | Optional file path to save the full markdown content to. When specified, the full content is saved to the file and a summary is returned instead of the full content. Useful for very large pages. |
| url | string | URL to fetch HTML from. If provided, the HTML will be automatically fetched and converted. Either 'url' or 'html' must be provided. |
save_markdownSave markdown content to a file. Use this to persist converted HTML to a markdown file on disk.| Parameter | Type | Description |
|---|---|---|
| content * | string | The markdown content to save |
| filePath * | string | The file path where the markdown should be saved (can be relative or absolute) |
Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.4K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 1 source file and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdioindex.js:4
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 1 callindex.js:209
- Writes or deletes files
- No file writes or deletes
- Lockfile
- package-lock.json
Pattern matches on the source text of 1 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.4K words, fetched a month ago. The original in the repository is authoritative.
Read full README