
modelcontextprotocol/server-fetch
Web content fetching and processing for AI consumption
by modelcontextprotocolFree
Description
Fetch is a Model Context Protocol server that lets a language model retrieve a web page and read its contents. The fetch tool takes a URL and returns the page converted from HTML to Markdown, which is easier for a model to use. Responses are truncated to a default of 5,000 characters, and the start_index argument lets the model read a long page in chunks, moving on until it finds what it needs. The raw option returns the content without the Markdown conversion. Fetch is annotated as read-only, and its readOnlyHint says it reaches arbitrary hosts on the internet. The README includes a caution. By default the server refuses to fetch private, loopback, link-local and other non-public addresses, including cloud metadata endpoints such as 169.254.169.254, and it checks every redirect in the same way. The --allow-private-ips argument turns that guard off, and the guard does not protect against DNS rebinding between the check and the connection. The server can be installed with uv, which the README recommends and which needs no separate install, with pip, or run in Docker. Node.js is optional and gives a more robust HTML simplifier. The server requires the MCP Python SDK version 1.x, and the README gives configuration for Claude Desktop with uvx, Docker and pip. Source is in the modelcontextprotocol servers repository.…
Highlights
- Fetches a URL and returns its content as Markdown
- Reads long pages in chunks with start_index
- Refuses private and metadata addresses by default
- Installs with uv, pip or Docker
Ratings & Reviews
No ratings yet
Be the first to rate modelcontextprotocol/server-fetch.
People also visit

tavily-extract
Extract clean markdown or text content from specific URLs via the Tavily CLI
crawlbase/crawl-markdown
Extract clean, LLM-ready Markdown from any URL, stripped of ads and boilerplate

just-every/mcp-read-website-fast
Convert websites to clean Markdown with links preserved
modelcontextprotocol/server-fetch FAQ
What does the fetch tool return?
The page content as Markdown, truncated to 5,000 characters by default, with an option to return raw content.
How do I read a long page?
Use the start_index argument to start the content extraction at a later character, and continue in chunks.
Can it reach internal addresses?
Not by default. Private, loopback and link-local addresses are refused unless you pass --allow-private-ips, so review the caution in the README.
How do I install it?
The README recommends uv, which runs mcp-server-fetch with uvx without a separate install. pip and Docker are also described.
What does it need?
The MCP Python SDK version 1.x. Node.js is optional and improves the HTML simplifier.
What are the best modelcontextprotocol/server-fetch alternatives?
Popular alternatives to modelcontextprotocol/server-fetch include firecrawl-scrape, tavily-extract and scrape. See all modelcontextprotocol/server-fetch alternatives












