Skip to content

Fetch MCP Server: install, tools and limits

Better Design

Direct answer

The Fetch MCP Server is a reference server from the Model Context Protocol project that lets a coding agent fetch a web page by URL and get its content back as Markdown, or raw if asked. It runs over local stdio, needs no sign-in, and exposes one tool, fetch, plus a fetch prompt.

A hand-drawn terminal that connects a coding agent to Fetch MCP Server, with the server's name and tool count written beside it.

What Fetch MCP Server does

The Fetch MCP Server is a reference server from the Model Context Protocol project that lets a coding agent fetch a web page by URL and get its content back as Markdown, or raw if asked. Long pages are cut to a length limit, and the agent reads further with a start index.

The Model Context Protocol project maintains it. The latest release on PyPI is mcp-server-fetch 2026.11.11, published November 11, 2026. It is licensed under MIT.

How a coding agent uses Fetch MCP Server

The agent asks, Fetch MCP Server acts, and the result comes back into the session.

A hand-drawn three-step flow from the coding agent to Fetch MCP Server and back: Read the docs page for this component, Fetches the URL and converts it to Markdown, The page content as Markdown.
  1. The agent asks: Read the docs page for this component
  2. Fetch MCP Server acts: Fetches the URL and converts it to Markdown
  3. The result comes back: The page content as Markdown

Install Fetch MCP Server in VS Code

VS Code mcp.json (.vscode/mcp.json, or MCP: Open User Configuration)
{
  "servers": {
    "fetch": {
      "command": "uvx",
      "args": [
        "mcp-server-fetch"
      ]
    }
  }
}

Install Fetch MCP Server in Claude Desktop

Claude Desktop
{
  "mcpServers": {
    "fetch": {
      "command": "uvx",
      "args": [
        "mcp-server-fetch"
      ]
    }
  }
}

Install Fetch MCP Server in Docker

Docker
{
  "mcpServers": {
    "fetch": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "mcp/fetch"
      ]
    }
  }
}

Install Fetch MCP Server in a terminal (pip)

a terminal (pip)
pip install mcp-server-fetch
python -m mcp_server_fetch

The one tool Fetch MCP Server gives your agent

Fetch MCP Server's own documentation lists these, read on November 12, 2026.

  • fetch, with the parameters url (required), max_length (default 5000), start_index (default 0), raw (default false) and timeout_ms

Settings worth knowing in Fetch MCP Server

--ignore-robots-txt
What it changes

Stops the tool from obeying robots.txt (obeyed by default for model-initiated fetches).

Server

Fetch MCP Server

--allow-private-ips
What it changes

Lifts the default block on private, loopback and link-local addresses, so local dev servers can be fetched.

Server

Fetch MCP Server

--allowed-hosts
What it changes

Restricts fetches to listed hosts, for example docs.python.org or *.wikipedia.org.

Server

Fetch MCP Server

--user-agent
What it changes

Replaces the default ModelContextProtocol/1.0 user agent.

Server

Fetch MCP Server

--proxy-url / --timeout-ms / --no-readability-js
What it changes

Sets a proxy, a server-wide timeout (default 30000 ms), or forces the pure-Python extractor.

Server

Fetch MCP Server

Sign-in, limits and caveats for Fetch MCP Server

Sign-in: None. It needs no API key or account.

Limits and price: The Fetch server is free and open source under MIT, with no paid plan. It reads at most 5 MiB of a response body, and the tool returns 5,000 characters per call by default.

  • By default it refuses private, loopback and link-local addresses; with --allow-private-ips it can reach local and internal addresses, and it does not protect against DNS rebinding.
  • With Node.js on the PATH it runs npm install for Readability.js on first use, which contacts the npm registry; --no-readability-js prevents this.
  • On Windows the README suggests setting PYTHONIOENCODING=utf-8 to avoid timeouts.
  • It needs Python 3.10 or newer.

Use Fetch MCP Server for interface work

It lets an agent read a reference page, design doc or competitor page as Markdown while it builds a UI, but it does not render JavaScript or take screenshots.

Steal this workflow

Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.

Read the guide "Fetch MCP Server: install, tools and limits" at https://better-design.com/blog/fetch-mcp and help me apply it to my project.

The Fetch MCP Server is a reference server from the Model Context Protocol project that lets a coding agent fetch a web page by URL and get its content back as Markdown, or raw if asked. It runs over local stdio, needs no sign-in, and exposes one tool, fetch, plus a fetch prompt.

Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.

Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.

Questions

What does Fetch MCP Server do?

The Fetch MCP Server is a reference server from the Model Context Protocol project that lets a coding agent fetch a web page by URL and get its content back as Markdown, or raw if asked. Long pages are cut to a length limit, and the agent reads further with a start index.

Does Fetch MCP Server need an API key or sign-in?

None. It needs no API key or account.

Is Fetch MCP Server free?

The Fetch server is free and open source under MIT, with no paid plan. It reads at most 5 MiB of a response body, and the tool returns 5,000 characters per call by default.

Which coding agents can use Fetch MCP Server?

Its documentation shows a setup for VS Code. Any client that speaks MCP over local stdio can connect.

Where these Fetch MCP Server facts come from

Each fact on this page comes from Fetch MCP Server's own repository, documentation or package registry, read on November 12, 2026.

Add design rules next to it

Fetch MCP Server gives the agent its capabilities. It does not tell the agent what a good screen looks like. Better Design adds that part: a design system, interface principles and review rules that the agent calls while it builds.