Website to Markdown 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., "@Website to Markdown MCP turn https://example.com into markdown for me"
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.
π Website to Markdown MCP
Turn any web page into clean, structured Markdown β purpose-built for AI agents, LLM context and RAG pipelines.
No API key. No account. No pay-per-event. Runs locally over stdio.
β¨ Why
LLMs read text, not DOM trees. This server fetches a page, strips the navigation, ads and boilerplate, and hands your agent semantic Markdown it can reason over immediately β a browser that speaks the model's language.
One command, no config β
uvx website-to-markdown-mcpand it is runningReal extraction β trafilatura for article text, BeautifulSoup fallback for everything else
Batch + concurrency β up to 5 pages in flight at once, one bad URL never kills the batch
Honest output β guarantees an H1 heading, never leaks raw HTML tags
Metadata too β title, description, author, Open Graph tags, canonical URL
Related MCP server: read-website-fast
π§° Tools
Tool | Description | Arguments |
| Fetch one page and return clean Markdown |
|
| Fetch several pages concurrently; returns |
|
| Extract title, description, author, OG tags, canonical |
|
π Install
# one-off, no installation (recommended)
uvx website-to-markdown-mcp
# or with pip
pip install website-to-markdown-mcp
# or from source
git clone https://github.com/MarekCziba/website-to-markdown-mcp
cd website-to-markdown-mcp
uv syncπ Connect your MCP client
Claude Desktop / Claude Code β claude mcp add:
claude mcp add website-to-markdown -- uvx website-to-markdown-mcpCursor, Windsurf, or any JSON-config client:
{
"mcpServers": {
"website-to-markdown": {
"command": "uvx",
"args": ["website-to-markdown-mcp"]
}
}
}opencode (opencode.json):
{
"mcp": {
"website-to-markdown": {
"type": "local",
"command": ["uvx", "website-to-markdown-mcp"],
"enabled": true
}
}
}π‘ Example session
You: Summarise https://example.com
Agent: [calls fetch_url]
# Example Domain
This domain is for use in documentation examples without needing
permission. ...
You: Pull the title and description from three pages at once
Agent: [calls fetch_urls with 3 URLs]ποΈ How it works
Your MCP client starts the server over stdio
httpxfetches the page (redirects followed, 30 s timeout, honest User-Agent)trafilaturaextracts the article body as MarkdownIf extraction is too thin, boilerplate tags are stripped and
markdownifytakes overThe document title is re-attached as an
# H1when the extractor dropped it
π§ͺ Development
uv sync # install runtime + dev dependencies
uv run pytest # runs against LIVE urls (example.com, docs.python.org, wikipedia.org)
uv run ruff check src tests
uv run ruff format src testsThe test suite asserts on actual output β expected phrases, no leaked HTML tags,
max_length enforcement, batch error isolation and URL validation β not on βit looks fineβ.
π License
MIT β see LICENSE.
Built by Marek Cziba Β· GitHub Β· LinkedIn Β· marekcziba@gmail.com
Available Tools
3 toolsextract_metadataB
Extract page metadata (title, description, author, Open Graph tags).
Args: url: Absolute http(s) URL of the page to inspect.
Inputs: url (required). Returns: object
fetch_urlB
Fetch a single web page and convert it to clean Markdown.
Args: url: Absolute http(s) URL of the page to convert. max_length: Maximum number of characters of Markdown to return.
Inputs: url (required), max_length. Returns: result
fetch_urlsA
Fetch several web pages concurrently and convert each to Markdown.
Args: urls: List of absolute http(s) URLs. max_length: Maximum number of characters of Markdown per page.
Inputs: urls (required), max_length. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 3 tools
fetch_url and fetch_urls share nearly identical purpose, differing only in single vs. batch input, but their descriptions make the distinction explicit. extract_metadata targets a clearly different output (page metadata) and stands apart cleanly.
All three names follow a consistent snake_case verb_noun pattern (fetch_url, fetch_urls, extract_metadata). The plural form for the batch variant is a sensible, predictable convention.
Three tools is on the lean side but well-matched to a narrow single-purpose server (web page to Markdown conversion). Each tool earns its place with no redundancy.
Covers the core surface: single fetch, concurrent batch fetch, and metadata extraction, with a sensible max_length control. Missing niceties like custom headers/auth or content-selector options, but no dead ends for the stated purpose.
Related MCP Connectors
Turn public web pages into clean Markdown for LLMs, RAG and AI agents
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.
Cloud scraping & crawling API for AI agents. Turn any URL into clean, LLM-ready markdown.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceFetch web pages into clean, RAG-ready Markdown with a verifiable provenance record β source URL, UTC fetch time, SHA-256 of the response body, redirect chain, and an extraction-fidelity metric. Writes WARC archives and honours robots.txt/ai.txt, so every document an agent reads can be re-verified and cited.11 PyPI2MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI agents and LLM pipelines to fetch and crawl websites locally, extract readable content, and convert pages into clean Markdown with preserved links while minimizing token usage.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents and developers to fetch webpages or crawl sites locally, extract readable content, and convert it into clean, link-preserving Markdown with caching, rate limiting, and robots.txt compliance for efficient downstream processing.-
- AlicenseNot gradedqualityAmaintenanceEnables AI agents and LLM pipelines to fetch and crawl webpages, strip extraneous content, and convert them into clean, link-preserving Markdown for fast, token-efficient scraping.MIT