Fetch is the smallest useful web server in the MCP reference set: one tool that takes a URL, retrieves it, converts the HTML to markdown and returns it. It handles the two things that actually matter in practice — stripping markup noise and paginating pages too long for a context window.
Bring your own
Gemini 3.8 Flash
Chat with 60+ AI models on the same workflow — switch to a different model mid-conversation and re-run the same prompt, or use Compare mode to put several side-by-side and balance quality vs. cost.
No token required
How models use it and what it is built for.
The fetch server retrieves a single URL and simplifies the result before the model ever sees it, converting HTML into markdown so a page costs a fraction of the tokens raw markup would. Long pages are handled with a start_index cursor and a max_length cap: the model reads a chunk, and if the response was truncated it calls again from where it stopped, which lets it work through a long article without blowing the context window. A raw flag returns unconverted content when you actually need the markup. By default the server honours the target site robots.txt for model-initiated requests and identifies itself with an MCP user agent; both behaviours are configurable, and the server distinguishes requests the model made on its own from ones a user explicitly asked for.
Typical tools an AI model can call. Exact names vary by version.
Taken from the official Fetch documentation — see Fetch MCP Server — official reference implementation for the full reference.
Client configuration
uvx (recommended)
uvx builds a temporary environment and runs the published package — nothing to install first.
{
"mcpServers": {
"fetch": {
"command": "uvx",
"args": ["mcp-server-fetch"]
}
}
}Ignore robots.txt (use deliberately)
Only for sites you own or have permission to crawl. The default is to honour robots.txt on model-initiated requests.
{
"mcpServers": {
"fetch": {
"command": "uvx",
"args": ["mcp-server-fetch", "--ignore-robots-txt"]
}
}
}Copy any of these into MCP Agent Studio after connecting.
Read this changelog URL and tell me what changed in the last two releases.
Fetch this RFC and summarise the sections that concern authentication.
Open this blog post and pull out every code block.
Read this long documentation page in chunks and list the configuration options.
This is not a single-model product: you get the same MCP connection with 60+ models (Claude, GPT, Gemini, DeepSeek, open-weight, and more), you can switch mid-conversation, and you can open Compare mode to run the same prompt against multiple models at once. The card above is a suggested starting point for this server — not the only choice.
Default pick for Fetch
Gemini 3.8 Flash
Fetching is a cheap, high-volume operation over long pages. Gemini Flash reads a full article for a fraction of the cost of a frontier model.
Listing tools proves the server is reachable, not that a model can work with it. Evals go further: they read every tool on the server, write a test suite from its real schemas, and run it — code decides pass/fail on the responses (schema conformance, error codes, pagination, result caps) while a scoring model grades plain-English tasks driven through the tools.
Get a pass/fail report per tool with the evidence behind each verdict — and replay the same suite after every schema change. Destructive tools are excluded from the run.
Run evalsOpen MCP Agent Studio with the connection pre-filled. Add your token, pick any of 60+ models, and start chatting — no install required.
Open Agent StudioCommon questions about connecting, scoping and using it safely.
It is an official reference server from the Model Context Protocol project, published on PyPI as mcp-server-fetch. It retrieves a single URL and converts it to markdown so a model can read the content without wading through HTML.
It truncates at max_length and tells the model where it stopped. The model then calls fetch again with a start_index at that offset, so it can page through a long document in sequence rather than failing on it.
Yes, by default, for requests the model initiates on its own. The --ignore-robots-txt flag disables that check. The server also treats a URL the user explicitly asked for differently from one the model chose itself.
No. It is a plain HTTP fetch with HTML-to-markdown conversion, so a client-rendered app returns an empty shell. Use a browser-driving server like Playwright, or a rendering service like Firecrawl, when the content only exists after JavaScript runs.
The content is untrusted by definition. A page can contain text crafted to read as an instruction to your agent. Keep fetch away from tools that can write or spend, and inspect the tool traffic in MCP Agent Studio before trusting it in an autonomous loop.
Firecrawl
Scrape, crawl and search the live web as structured markdown.
Playwright
Give AI models real browser control — navigate, click, fill forms and screenshot any page.
Exa
Give an agent live web search and clean page reads — no API key to get started.
Wikipedia
Ground AI answers in verifiable Wikipedia articles — no API key needed.