fetch_html
Fetch a website and return the content as HTML
Fetch a URL and get it back in the shape you need — raw HTML, Markdown, plain text or parsed JSON — with your own request headers on the call.
LABSCO SUMMARY
One decision separates the four tools: how much of the page you are willing to pay for. fetch_txt drops the markup entirely, fetch_markdown keeps headings and links, fetch_html keeps all of it. Custom headers are the only other control — there is no rendering step and no selector parameter, so what comes back is what the URL returns.
A fetching server with 4 tools that differ in output format, each taking a url and optional headers.
Nothing to supply — no account, no key; only a URL the machine can reach. MIT licensed.
One command — npx -y @tokenizin/mcp-npx-fetch
USE CASES
Take the text when only the words matter, and the Markdown when the headings and links carry part of the meaning — both are a fraction of the raw page.
Take the JSON where an API answers with it, adding the headers the endpoint expects, and fall back to the raw HTML when the data is in the page rather than behind an API.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
fetch_htmlFetch a website and return the content as HTML
fetch_jsonFetch a JSON file from a URL
fetch_markdownFetch a website and return the content as Markdown
fetch_txtFetch a website, return the content as plain text (no HTML)
BEFORE YOU INSTALL
4 tools when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the 4 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-npx-fetch": {
"command": "npx",
"args": [
"-y",
"@tokenizin/mcp-npx-fetch"
]
}
}
}npx -y @tokenizin/mcp-npx-fetch