urltomarkdown-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@urltomarkdown-mcp convert https://example.com to markdown"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
urltomarkdown-mcp
An MCP server that converts URLs and raw HTML to clean Markdown. Built on top of urltomarkdown.
Give any MCP-compatible AI assistant the ability to read web pages — just point it at a URL and get structured Markdown back, ready for summarization, analysis, or ingestion into your workflow.
Tools
convert_url_to_markdown
Fetches a URL and converts the web page to clean Markdown.
Parameter | Type | Required | Default | Description |
| string (URL) | yes | - | URL to fetch and convert |
| boolean | no |
| Prepend page title as H1 |
| boolean | no |
| Strip hyperlinks |
| boolean | no |
| Use Readability for cleaner output |
convert_html_to_markdown
Converts raw HTML to clean Markdown (no network request needed).
Parameter | Type | Required | Default | Description |
| string | yes | - | Raw HTML to convert |
| string (URL) | no | - | Source URL for relative links and domain filters |
| boolean | no |
| Prepend page title as H1 |
| boolean | no |
| Strip hyperlinks |
| boolean | no |
| Use Readability for cleaner output |
Related MCP server: com.goaimoat/web-scrape
Use cases
Research — Have your AI assistant read and summarize articles, documentation, or blog posts
Data extraction — Pull structured content from web pages for analysis
Documentation ingestion — Convert API docs or reference pages into Markdown for context
Content migration — Bulk convert web content to Markdown format
RAG pipelines — Feed clean web content into retrieval-augmented generation systems
Installation
Using npx (no install needed)
{
"mcpServers": {
"urltomarkdown": {
"command": "npx",
"args": ["-y", "urltomarkdown-mcp"]
}
}
}Global install
npm install -g urltomarkdown-mcpThen add to your MCP config:
{
"mcpServers": {
"urltomarkdown": {
"command": "urltomarkdown-mcp"
}
}
}From source
git clone https://github.com/SapienEx-AI/urltomarkdown-mcp.git
cd urltomarkdown-mcp
npm install{
"mcpServers": {
"urltomarkdown": {
"command": "node",
"args": ["/path/to/urltomarkdown-mcp/src/index.js"]
}
}
}Where to put the config
Client | Config file |
Claude Desktop |
|
Claude Code |
|
Cursor |
|
Windsurf |
|
How it works
This server wraps the urltomarkdown library and exposes it over the Model Context Protocol via stdio transport. Under the hood it uses:
Turndown for HTML-to-Markdown conversion
Mozilla's Readability for content extraction and noise removal
JSDOM for DOM parsing
The Readability pass strips navigation, sidebars, ads, and other non-content elements before conversion, producing clean output suitable for LLM consumption.
Testing
npm testLicense
MIT
SapienEx — AI strategy and consulting
Available Tools
2 toolsconvert_html_to_markdownB
Convert raw HTML to clean Markdown
Inputs: html (required), url, inline_title, ignore_links, +1 more.
convert_url_to_markdownA
Fetch a URL and convert its web page content to clean Markdown
Inputs: url (required), inline_title, ignore_links, readability.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
Both tools convert content to Markdown but accept fundamentally different inputs: raw HTML vs. a URL. Their purposes are clearly distinct, with no overlap.
Both tool names follow the consistent 'convert_<source>_to_markdown' pattern, using snake_case and clear verb-noun structure.
With only two tools, the server is minimal but well-scoped for its domain of converting to Markdown. The count matches the simple purpose.
The server covers the two primary input types: raw HTML and URL. It is lacking file-based input, but for a specialized MCP server, this coverage is reasonable.
Related MCP Connectors
Turn any web page URL or HTML into clean Markdown or plain text for an LLM to read.
Web scraping for AI agents. Converts URLs to clean, LLM-ready Markdown with anti-bot bypass.
Clean Markdown and AI-readability scoring for any URL. Built for AI agents.
Converts any URL to clean, LLM-ready Markdown using real Chrome browsers
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConverts URLs into clean, LLM-ready markdown, respecting robots.txt and never bypassing anti-bot measures or paywalls.MIT
- AlicenseNot gradedqualityCmaintenanceEnables converting any URL or website into clean, LLM-ready Markdown, supporting single-page scraping and full-site crawling for AI agents.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI editors and agents to read public web pages as clean Markdown and convert URLs, HTML, or Markdown into PDF, Word, Markdown, HTML, or JSON documents.MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents and LLM pipelines to fetch and crawl web pages, extract readable content, and convert it into clean Markdown with preserved links while minimizing token usage.MIT