Ad space · Your tool here
PluginStack
MCP Servers · by Model Context Protocol

Fetch MCP Server

Fetch MCP Server official site ↗

Last checked against the official docs:

What it does

One of the official MCP reference servers. It gives the agent a single fetch tool that downloads a web page and converts the HTML to markdown, and it can read long pages in chunks. By default it refuses private, loopback and other non-public addresses (checking every redirect) and follows robots.txt for requests the model makes. Version 2026.10.24 (25 Oct 2026) includes security fixes to those checks.

Who it's for

Anyone who wants their agent to read a docs page, changelog or article by URL without a full browser.

How to set it up

  1. Install uv (recommended); uvx then runs the server with no separate install. This is the one reference server that isn't a Node package: it's a Python package on PyPI (Python 3.10 or newer), so the Node 24 requirement of the other reference servers doesn't apply.

  2. Add to your MCP client config:

    json
    {
      "mcpServers": {
        "fetch": {
          "command": "uvx",
          "args": [
            "mcp-server-fetch"
          ]
        }
      }
    }
  3. Or install with pip and run it as a module:

    bash
    pip install mcp-server-fetch
    python -m mcp_server_fetch
  4. Already using it? Releases from 2026.10.19 need the MCP Python SDK 2.x (mcp>=2.3,<3), and 2026.10.24 is the security-fix release, so make sure you're on at least that. Calling a tool the server doesn't have now returns a JSON-RPC -32602 error instead of a tool-error result.

  5. On Windows, if the server times out, the README suggests setting PYTHONIOENCODING to utf-8 in the server's env block. The README also documents optional --ignore-robots-txt, --user-agent and --proxy-url arguments. The --allow-private-ips argument turns off the private-address guard, so only use it for a local or internal site you trust.

  6. Optional: install Node.js too; the server then uses a more robust HTML simplifier.

Check the official Fetch MCP Server docs for the latest steps.

Install Fetch MCP Server in your client

Runs on your computer. Needs: uv (Python package, runs with uvx). Sign-in or keys: None.

One-click install

These buttons open the app on your computer (it needs to be installed already). The app asks you to confirm before it adds the server: review the command or URL it shows and check it matches the snippet below before you approve.

Claude Code

Run in a terminal

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

Everything after -- is the server command. Run /mcp inside Claude Code to check it connected.

Claude Desktop

Settings → Developer → Edit Config (claude_desktop_config.json)

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

Fully quit and reopen Claude Desktop after saving.

Cursor

.cursor/mcp.json in a project, or ~/.cursor/mcp.json for all projects

json
{
  "mcpServers": {
    "fetch": {
      "command": "uvx",
      "args": [
        "mcp-server-fetch"
      ]
    }
  }
}
VS Code

.vscode/mcp.json (note the top-level "servers" key)

json
{
  "servers": {
    "fetch": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-fetch"
      ]
    }
  }
}
Codex

Run in a terminal, or edit ~/.codex/config.toml

CLI

bash
codex mcp add fetch -- uvx mcp-server-fetch

Or in ~/.codex/config.toml

toml
[mcp_servers.fetch]
command = "uvx"
args = ["mcp-server-fetch"]
  • This one is a Python package, so it needs uv installed rather than Node.js.
  • VS Code: the fetch README wraps its example in an extra "mcp" key. That is the older settings.json layout. In a .vscode/mcp.json file, VS Code's current docs put "servers" at the top level, as in the snippet here.
  • If the server shows as failed or disconnected, see fixing MCP error -32000.
  • Compare every server's runtime and sign-in needs in the MCP server requirements table.

Checked against the official docs. Snippets use placeholders; keep real keys out of files you commit. Windsurf is not listed because we have not verified its format.

Set it up / Fixes

Step-by-step guides for getting Fetch MCP Server running and fixing common errors.

Example prompts

prompt
Fetch https://nextjs.org/docs and summarize what's new on that page.
prompt
Read this changelog URL and list the breaking changes.
prompt
Fetch this article and give me the 5 key points.

Made Fetch MCP Server? Add the badge

If you like, show that Fetch MCP Server is listed and hand-checked here. It's optional: listings are free and we never ask for a link back.

Hand-checked on PluginStack
Get the Markdown or HTML

Markdown (for a GitHub README)

markdown
[![Hand-checked on PluginStack](https://www.pluginstackai.com/badge/hand-checked.svg)](https://www.pluginstackai.com/plugins/fetch-mcp/)

HTML (for a website)

html
<a href="https://www.pluginstackai.com/plugins/fetch-mcp/"><img src="https://www.pluginstackai.com/badge/hand-checked.svg" alt="Hand-checked on PluginStack" width="226" height="28"></a>

About the badge

Free: MCP Starter Checklist

After you set this tool up, use the one-page checklist so your next MCP server doesn't fail on first connect.

Markdown download + occasional PluginStack updates. No spam. Privacy policy.

See all MCP Servers on PluginStack