Servers › Web & Search › Fetch

● MaintainedWeb & Search

Fetch MCP Server

Official reference server that fetches web pages and converts them to Markdown for the model. Version 2026.11.27 (Nov 27, 2026, reference servers v2.6.0) is a security fix, so update to 2026.11.27 or later: robots.txt rules are now also matched against backslash and path-parameter spellings that some web servers (IIS, Java servlet containers) treat as the same path (GHSA-g7v6-hfx3-8rv6, completing GHSA-3rxj-6jhw-qfv7). Version 2026.11.18 (Nov 18, 2026, reference servers v2.5.0) connects only to the address its private-IP check approved, refuses --allowed-hosts wildcards on IP addresses, and now needs Python 3.11.5 or newer (uvx fetches a suitable Python for you). Since v2.5.0 every reference server can also serve Streamable HTTP on this computer with --transport streamable-http (127.0.0.1:3001 by default); stdio stays the default. Version 2026.11.11 (Nov 11, 2026, reference servers v2.4.0) is a security update: IPv6 site-local addresses (fec0::/10) are now treated as private (GHSA-3rxj-6jhw-qfv7), robots.txt rules are matched against the path the site will actually resolve so tricks like //private or /x/../private no longer slip past a Disallow (GHSA-f9hh-cmx9-2f23), and response bodies are size-capped while reading. Version 2026.11.4 (Nov 4, 2026) added an operator host allowlist (--allowed-hosts) and a configurable HTTP timeout. It checks HTTPS certificates with Python's certifi bundle. uvx keeps a cached copy, so run uvx --refresh mcp-server-fetch once to get the latest version (this also picks up a current certifi).

Install

uvx mcp-server-fetch

Example config (Cursor / Claude Desktop)

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

The same mcpServers block works in Cursor, Claude Desktop and Devin Desktop. VS Code (Copilot) uses a "type" field, Claude Code is easiest with claude mcp add, and Codex uses TOML: see the setup guide for your app. On Windows, wrap npx with cmd /c (fix).

At a glance

Repositorymodelcontextprotocol/servers/tree/main/src/fetch
GitHub stars92,372 (shared monorepo)
Last commit2026-11-27 (3 days ago)
Statusmaintained
Security advisoriesLatest advisory published 2026-11-27: GHSA-g7v6-hfx3-8rv6 (low), fixed in 2026.11.27. 6 published advisories found as of 2026-11-30. Details
Clients mentioned in READMEVS Code
AuthNone detected in README
Language / LicenseTypeScript / NOASSERTION

Security advisories

Latest: GHSA-g7v6-hfx3-8rv6, published 2026-11-27 low
Incomplete fix for GHSA-3rxj-6jhw-qfv7: robots.txt path normalisation in mcp-server-fetch still misses backslash and path-parameter spellings
Fixed in: 2026.11.27 or later. Update before using it.

6 published advisories found (newest 5 shown)
  • 2026-11-27: GHSA-g7v6-hfx3-8rv6 (low): Incomplete fix for GHSA-3rxj-6jhw-qfv7: robots.txt path normalisation in mcp-server-fetch still misses backslash and path-parameter spellings
  • 2026-11-11: GHSA-f9hh-cmx9-2f23 (low): mcp-server-fetch: robots.txt path-canonicalization bypass (e.g. //private fetched while Disallow: /private)
  • 2026-11-11: GHSA-3rxj-6jhw-qfv7 (low): mcp-server-fetch: IPv6 site-local fec0::/10 classified as public (SSRF guard classifier gap, CWE-918)
  • 2026-10-25: GHSA-v38p-wf49-hx2j (medium): fetch: private-address guard bypass via IDNA hostnames (check and connect resolve different names)
  • 2026-10-25: GHSA-66qx-2266-pmj6 (low): fetch server: SSRF guard treats the well-known NAT64 prefix 64:ff9b::/96 as public, so a metadata address is reachable on NAT64/DNS64 egress

Checked 2026-11-30 in the repo's GitHub security advisories and OSV.dev for mcp-server-fetch (PyPI). This server lives in a shared repository, so only advisories that mention it are counted. No advisory doesn't prove a server is safe. How to stay updated.

Common problems

Weekly MCP digest
New servers, breaking changes, and fresh fixes. One email a week.