Turn any webpage into
AI-ready Markdown
Works with Claude Code, Cursor & any MCP client.
Save up to 90% on tokens.
No credit card required
Try it free — no signup required
Oh you've reached the daily limit.
Sign in to unblock more requestsSave AI Tokens
Clean Markdown = fewer tokens. No HTML bloat, scripts, or ads.
Smart Content
Requests raw source from GitHub/GitLab or native Markdown when available.
API & MCP Ready
Simple HTTP API. Works with any MCP client like Claude Code and Cursor.
Works with
Simple, transparent pricing
No credit card required to start
Pay per use, billed every 2 weeks
10 free requests/day to get started
Large usage? Get volume discounts
We offer discounted pricing for high-volume workloads. Perfect for production AI agents, large-scale RAG pipelines, and research teams.
Contact us for volume pricingInstall and Usage
curl https://api.mdfetch.ai/https://github.com/user/repo \
-H "Authorization: Bearer YOUR_TOKEN"
curl https://api.mdfetch.ai/https://github.com/user/repo \
-H "Authorization: Bearer YOUR_TOKEN"
See the full documentation for more details.
Frequently Asked Questions
What is MdFetch?
MdFetch converts web pages to clean, AI-ready Markdown via HTTP API or native MCP server. It uses content negotiation to fetch raw Markdown from GitHub, GitLab, and documentation sites when available, reducing token usage by up to 90%.
How much does MdFetch cost?
MdFetch charges $0.0005 per request with pay-as-you-go pricing. Credits never expire. A limited free tier is available for testing and development.
Does MdFetch work with Claude Code?
Yes, MdFetch provides a native MCP server that integrates directly with Claude Code, Cursor, Windsurf, and other MCP-compatible AI coding assistants. Installation takes less than a minute.
What is content negotiation in MdFetch?
Content negotiation automatically fetches source Markdown or raw code from platforms like GitHub and GitLab instead of rendered HTML. This provides cleaner data, reduces token usage, and improves LLM response quality.
What formats does MdFetch support?
MdFetch returns clean Markdown optimized for LLMs. It automatically handles content negotiation for GitHub, GitLab, and documentation sites, falling back to HTML-to-Markdown conversion for other sites.
Is MdFetch suitable for production use?
Yes, MdFetch is built for production with reliable infrastructure, rate limiting, and transparent usage pricing. It's designed for AI agents, RAG pipelines, and automated workflows.
More questions? Check the documentation or contact us.