Skip to content

Fetch MCP Server

Fetch any web page and convert it to markdown Claude can read in chunks.

Reference serverby Model Context ProtocolRuns on your computerChecked November 18, 2026

Fetch is the reference MCP server from the Model Context Protocol project: it downloads one web page and returns it to Claude as markdown, 5,000 characters at a time by default, so long pages are read in chunks. It is free (MIT) and runs locally with uv or Docker, follows robots.txt for requests the model makes, and refuses private and local network addresses unless you allow them.

Who is Fetch MCP for?

  • Anyone who wants Claude to read specific web pages
  • Developers learning how MCP servers work
  • Researchers summarizing articles and documentation

What can you ask Fetch MCP to do?

Once it is connected, ask in plain words. Your AI tool decides when to use the server and asks before it changes anything important.

Prompt 1
Fetch https://modelcontextprotocol.io/introduction and explain it in plain English.
Prompt 2
Read this blog post and list every statistic it cites along with its source.
Prompt 3
Fetch this library's changelog and tell me what changed in the latest release.

How to add the Fetch MCP server to Claude

MCP is an open standard. The setup steps below cover this server in Claude Code, Claude app, Codex, Cursor, VS Code, Gemini CLI, Antigravity, OpenCode, Windsurf. Pick your tool:

New to MCP? Read what an MCP server is and how to add one.

Easiest: paste this into Claude Code
Connect the Fetch MCP server to Claude Code for me: run this command: claude mcp add --transport stdio fetch -- uvx mcp-server-fetch
If a value starts with YOUR_, ask me for it first. When it is connected, help me sign in if needed and show me one thing I can ask it to do.

Or do it yourself:

claude mcp add --transport stdio fetch -- uvx mcp-server-fetch

Unlock the setup steps

Free. Leave your email once to open the setup steps for all 152 servers, and get the best new connectors each month.

No spam. One click to unsubscribe. We use your email to send you this bonus, new guides and news about our courses.

Good to know

Also runs with Docker (docker run -i --rm mcp/fetch); on Windows, set PYTHONIOENCODING=utf-8 if it times out, and having Node.js installed gives it a more robust HTML simplifier.

How did we check Fetch MCP?

Sources read on November 8, 2026 and reread on November 18: the src/fetch folder of modelcontextprotocol/servers (MIT, last change November 18), the mcp-server-fetch PyPI release 2026.11.18, which now requires Python 3.11.5 or newer, and Claude Code's tools reference, for how the built-in WebFetch tool differs. We did not run the server for this page.

Source: github.com/modelcontextprotocol/servers/tree/main/src/fetch

What do people ask about Fetch MCP?

Do I need the Fetch MCP server if I use Claude Code?

Often not, because Claude Code has a built-in WebFetch tool. The difference is that WebFetch runs the page through a separate model call and hands Claude that result, while Fetch gives Claude the page's own markdown in chunks, which matters when you need exact wording, numbers or code.

Can it read pages on localhost or my company network?

Not by default: it refuses private, loopback and link-local addresses, including cloud metadata endpoints, and checks every redirect the same way. Add --allow-private-ips to lift that guard, ideally together with --allowed-hosts so it can reach only the hosts you name.

Why does it say a page is blocked by robots.txt?

Requests the model makes through the tool obey the site's robots.txt, while pages you request yourself through the fetch prompt do not. Add --ignore-robots-txt to the args to turn the check off.

How long does it wait for a slow page?

30 seconds by default. Each call can set timeout_ms from 100 to 600,000 milliseconds, and you can change the server's default in its args.

Fetch or Firecrawl: which should I use?

Fetch reads one public page at a time on your own computer, for free and with no account, and reads at most 5 MiB of each response. Firecrawl adds web search, site maps, multi-page crawls and JSON extraction as a hosted service that uses credits after its keyless tier. Fetch is a low-risk first server because nothing can be billed. Adding it, and servers like it, to Claude Code is covered in the Skills and MCP lesson of our Claude Code course, in early access; what MCP is gives the background.

We wrote these answers from the official pages of each product named, read on November 18, 2026.

Using servers like Fetch from Claude Code? Our Claude Code course, in early access, goes from your first command to a landing page, an AI video and a working agent.