URL to Markdown (Article Extractor)
Turn any URL into clean Markdown or text for LLMs, RAG and agents. Strips nav, ads and footers.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
@kitedesk-erm/url-to-markdown-mcpclaude mcp add url-to-markdown-article-extractor -e 'ZYLA_API_KEY=<your zyla_api_key>' -- npx -y @kitedesk-erm/url-to-markdown-mcp@1.0.0
{
"mcpServers": {
"url-to-markdown-article-extractor": {
"command": "npx",
"args": [
"-y",
"@kitedesk-erm/url-to-markdown-mcp@1.0.0"
],
"env": {
"ZYLA_API_KEY": "<your zyla_api_key>"
}
}
}
}
Environment variables
ZYLA_API_KEYrequired secret Your Zyla API Hub key for the Article Extractor and URL to Markdown API (7-day free trial)
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
url-to-markdown-mcp
npm: @kitedesk-erm/url-to-markdown-mcp · Official MCP Registry: io.github.kitedesk-erm/url-to-markdown-mcp
An MCP server that turns any URL into clean Markdown or plain text for your AI assistant. It gives Claude, Cursor, Windsurf, Cline, VS Code Copilot and any other MCP client one tool, extract_url. The tool fetches a page and returns only the main content (no nav, ads, cookie banners, sidebars, footers or comments), plus the title, author, publish date, word count and reading time.
It's backed by the hosted Article Extractor and URL to Markdown API on Zyla API Hub. You'll need a Zyla API key, and you can get one with a 7-day free trial.
- Fast: p50 about 230 ms and p95 about 650 ms for extraction (20 real article URLs, measured 2026-10-22)
- LLM-ready Markdown with headings, lists, code blocks and absolute links;
max_charskeeps you inside a token budget - Read-only and SSRF-safe: localhost and private IPs are refused
- Small: one tool, stdio transport, and two runtime dependencies (
@modelcontextprotocol/sdkandzod)
Tool
extract_url
| Argument | Type | Default | Description | ||
|---|---|---|---|---|---|
url | string, required | Public http(s) URL (the scheme is optional) | |||
format | markdown \ | text \ | both | markdown | Output format |
max_chars | integer | no limit | Truncate the content to N characters | ||
links | boolean | true | Keep [text](url) links | ||
images | boolean | false | Include  images |
The tool returns a short metadata header followed by the content:
# How to Work Hard
Source: https://paulgraham.com/hwh.html
Words: 3313 (~14 min read) | truncated by max_chars
June 2021
It might not seem there's much to learn about how to work hard. Anyone who's been to school knows what it entails, ...
Errors come back as MCP tool errors (isError: true) with a readable message, so the model can recover. That covers a missing key, a private or localhost URL, a non-HTML target, an unreachable site, a Zyla quota or rate limit, and the API's 502 errors: upstream_blocked (the site returned 401/403/429/451 or a bot-challenge page) and empty_content (about 0 words, for example a page rendered client-side). Zyla only bills successful calls, so blocked or empty pages aren't charged.
Install
You need Node.js 18 or later. Every client runs the same command, npx -y @kitedesk-erm/url-to-markdown-mcp, with your key in ZYLA_API_KEY.
Claude Desktop
Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):
{
"mcpServers": {
"url-to-markdown": {
"command": "npx",
"args": ["-y", "@kitedesk-erm/url-to-markdown-mcp"],
"env": { "ZYLA_API_KEY": "your-zyla-api-key" }
}
}
}
Claude Code
claude mcp add url-to-markdown --env ZYLA_API_KEY=your-zyla-api-key -- npx -y @kitedesk-erm/url-to-markdown-mcp
Cursor
Use ~/.cursor/mcp.json for a global setup, or .cursor/mcp.json for a single project:
{
"mcpServers": {
"url-to-markdown": {
"command": "npx",
"args": ["-y", "@kitedesk-erm/url-to-markdown-mcp"],
"env": { "ZYLA_API_KEY": "your-zyla-api-key" }
}
}
}
VS Code (GitHub Copilot agent mode)
Add this to .vscode/mcp.json. VS Code prompts for the key and stores it securely:
{
"inputs": [
{ "type": "promptString", "id": "zyla-key", "description": "Zyla API key", "password": true }
],
"servers": {
"url-to-markdown": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@kitedesk-erm/url-to-markdown-mcp"],
"env": { "ZYLA_API_KEY": "${input:zyla-key}" }
}
}
}
Windsurf, Cline, Continue, Zed and other clients
Most clients take the same mcpServers block shown for Claude Desktop and Cursor (Windsurf uses ~/.codeium/windsurf/mcp_config.json; Cline uses its MCP Servers → Configure panel). The generic form is:
- command:
npx - args:
["-y", "@kitedesk-erm/url-to-markdown-mcp"] - env:
ZYLA_API_KEY=<your key> - transport: stdio
Smithery / Docker
The repo includes smithery.yaml and a Dockerfile. You can also run it in Docker: docker build -t url-to-markdown-mcp . && docker run -i --rm -e ZYLA_API_KEY url-to-markdown-mcp.
From source
If you're installing before the npm release, build from source:
git clone https://github.com/kitedesk-erm/url-to-markdown-mcp.git
cd url-to-markdown-mcp && npm install && npm run build
# then use "command": "node", "args": ["/absolute/path/to/url-to-markdown-mcp/dist/index.js"]
Example prompts
- "Read https://go.dev/blog/go1.22 and summarize what changed in loops."
- "Pull the text of these three articles and compare their arguments" (with
max_chars: 6000each). - "Save this page as a Markdown note with title and author front matter."
Limits
- No JavaScript rendering. Pages that build their content only in the browser (some SPAs) return little text.
- Paywalled or bot-protected sites return only what they serve publicly. Blocked or challenged requests return an
upstream_blockedtool error and aren't billed. - Your Zyla plan sets the quota and rate limit. Only successful (200) calls count against your plan.
Development
npm install
npm test # build, then the raw JSON-RPC handshake + tools/list, a tool call via a local mock Zyla gateway, and metadata checks
npm run test:live # same, but the mock gateway forwards to the live extraction backend
The tests use a fake key against a local mock, so no real key is needed or stored. The Zyla endpoint lives in one constant, src/config.ts. ZYLA_ENDPOINT overrides it, but only for testing.
Changing the GitHub handle or namespace: package.json → mcpName is the source of truth. Run npm run set-github-handle -- <handle> to rewrite package.json, server.json, README.md and smithery.yaml. npm test then checks that they all agree, which the MCP Registry also requires.
Related
- url-to-markdown-api: zero-dependency JS/TS and Python clients, plus RAG, agent and read-later examples
- Zyla listing: Article Extractor and URL to Markdown API
License
Frequently asked questions
What is URL to Markdown (Article Extractor)?
Turn any URL into clean Markdown or text for LLMs, RAG and agents. Strips nav, ads and footers.
How do I install URL to Markdown (Article Extractor)?
It runs on your machine. In Claude Code: claude mcp add url-to-markdown-article-extractor -e 'ZYLA_API_KEY=<your zyla_api_key>' -- npx -y @kitedesk-erm/url-to-markdown-mcp@1.0.0. For other clients, paste the JSON configuration from this page into their MCP settings.
Does URL to Markdown (Article Extractor) need an API key?
Yes. It expects ZYLA_API_KEY, which you set in its configuration.
Is URL to Markdown (Article Extractor) open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains URL to Markdown (Article Extractor)?
It is published by kitedesk-erm. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.