fetch_html
Fetch a website and return its unmodified contents as HTML
Fetch a URL in the shape you want it — raw HTML, Markdown, plain text, JSON, reader-mode article, or a YouTube transcript.
LABSCO SUMMARY
The six tools are really one decision made per call: how much of the page the model should see. fetch_readable on an article costs a fraction of fetch_html on the same URL, and fetch_json skips the parsing step altogether. Because headers and a proxy are parameters on every tool, the pages that need a session cookie or a particular egress route stay reachable.
A local server with six fetch tools that differ in what they hand back: HTML, Markdown, plain text, JSON, Readability-parsed article text, or captions from a YouTube page. Every one takes custom headers, a proxy, and start_index / max_length for paging.
Node.js on the machine, and nothing else — no account, no key. MIT licensed.
One command — npx mcp-fetch-server
USE CASES
Get the body text without the site furniture, in a form that quotes cleanly.
Read the API response directly rather than scraping a rendered page.
Page the document with an offset and a length cap instead of truncating it blindly.
Take the captions off the video page and work from those.
Look at the markup as delivered, headers and all, when the rendered text is not the question.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
fetch_htmlFetch a website and return its unmodified contents as HTML
fetch_jsonFetch a JSON file from a URL
fetch_markdownFetch a website and return its contents converted to Markdown
fetch_readableFetch a website and return its main content parsed by Mozilla Readability, converted to Markdown. Strips away navigation, ads, and boilerplate. Ideal for articles and blog posts.
fetch_txtFetch a website, convert the content to plain text (no HTML)
fetch_youtube_transcriptFetch a YouTube video page and extract its captions/transcript
BEFORE YOU INSTALL
6 tools when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the 6 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"mcp-fetch-server": {
"command": "npx",
"args": [
"mcp-fetch-server"
]
}
}
}npx mcp-fetch-server