F

Fetch (reference)

Fetches a web page and returns it as Markdown so the agent can read it.

🔎 Web search & scrapingGitHub stars for modelcontextprotocol/servers, shared by several tools92,022shared repoUpdated 2026-11-12Auth: noneGitHub ↗
Runner-up · best for web search & scraping

See the pick for the verdict.

Test results

Last passed 2026-10-19
Claude CodePassed2026-10-19 · install, connect, tools, agent taskTested with Claude Code 2.1.296 · mcp-server-fetch 2026.10.19 (pinned in the command we ran) · connect time not recorded
CursorPassed2026-10-19 · install, connect, tools, agent taskTested with Cursor CLI 2026.10.16-e3cb207 · mcp-server-fetch 2026.10.19 (pinned in the command we ran) · connect time not recorded
Claude DesktopPassed2026-10-14 · install, connect, tools, agent taskTested with Claude Desktop 2.37337.1 (Linux beta) · package version not recorded · connected in 1.4s
ChatGPT (Codex)Failed2026-10-20 · agent task failed (answer missing ['Example Domain']; no tool result containing ['Example Domain'])Tested with Codex CLI 0.162.0-alpha.17.2 · mcp-server-fetch 2026.10.19 · connect time not recorded

Server package tested: mcp-server-fetch 2026.10.19 (uv, Python 3.12.15; resolved 2026-10-20)

Direct and key dependencies as resolved: anyio 4.15.1 · httpx 0.28.1 · markdownify 1.2.3 · mcp 2.3.0 · Protego 0.7.0 · pydantic 2.14.1 · pydantic_core 2.50.1 · readabilipy 0.3.0 · requests 2.34.2 · sse-starlette 3.5.0 · starlette 1.9.0 · typing_extensions 4.16.0 · uvicorn 0.54.0

All 45 resolved dependencies
annotated-types==0.8.0
anyio==4.15.1
attrs==26.1.0
beautifulsoup4==4.15.0
certifi==2026.10.19
cffi==2.1.1
charset-normalizer==3.5.2
click==8.5.0
cryptography==50.0.2
h11==0.16.0
html5lib==1.1
httpcore==1.0.9
httpcore2==2.15.1
httpx==0.28.1
httpx2==2.15.1
idna==3.20
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
lxml==6.1.3
markdownify==1.2.3
mcp==2.3.0
mcp-types==2.3.0
opentelemetry-api==1.45.1
Protego==0.7.0
pycparser==3.11
pydantic==2.14.1
pydantic_core==2.50.1
PyJWT==2.15.1
python-multipart==0.0.32
readabilipy==0.3.0
referencing==0.37.0
regex==2026.9.29
requests==2.34.2
rpds-py==2026.9.1
six==1.17.0
socksio==1.0.0
soupsieve==3.0.3
sse-starlette==3.5.0
starlette==1.9.0
truststore==0.10.5
typing-inspection==0.4.4
typing_extensions==4.16.0
urllib3==2.8.0
uvicorn==0.54.0
webencodings==0.6.1

Captured with: uvx --from mcp-server-fetch@2026.10.19 python (importlib.metadata in the same uvx env; equivalent to uv pip freeze).

Full result per app: Does it work with Claude Code? · Does it work with Cursor? · Does it work with Claude Desktop? · Does it work with ChatGPT (Codex)?

Protocol: 1 tools + tool call OK · 2026-10-19 · connected in 1.4s
🧪 Test-box note: Box DNS resolves public hosts to 198.18.x (egress proxy), which the fetch server's private-IP guard refuses; --allow-private-ips is used on this box only. Published snippet omits it. Default (readability) mode failed on this box: node ExtractArticle.js exited 1 (see results/protocol/ref-fetch.default-mode.json); check uses raw=true. Oct 19 retest (2026.10.19): the default simplified mode returned the page text on this box (without the title), so Claude Code also called raw mode.
🔁 New release 2026.10.19 shipped Oct 19, 2026 (part of the servers v2.0.0 release). Retested on Oct 19, 2026 on 2026.10.19: passed again in Claude Code and Cursor (read https://example.com and returned "Example Domain"). ChatGPT (Codex) retested on Oct 20, 2026 on 2026.10.19: failed. Fetch now returns example.com as simplified text without the 'Example Domain' heading (on 2026.10.10 it returned the raw HTML), and Codex answered that the page has no main heading. Claude Code passed on Oct 19 only after calling fetch again with raw=true. The Claude Desktop result is still from 2026.10.10 (Oct 14).

Real test

Failed

One run from our records. When two runs share a date, we show a failure if there is one.

Client
ChatGPT (Codex) · Codex CLI 0.162.0-alpha.17.2
Date
Oct 20, 2026
The task we gave
Using only the ref-fetch MCP tools, read the web page https://example.com and reply with its main heading, exactly as written.
What it promised
details not recorded for this run
What happened

Tool calls:

ref-fetch:fetch

Tool result

{"content": [{"type": "text", "text": "Contents of https://example.com/:\nThis domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes."}], "structured_content": null}

Agent reply

The fetched page content doesn’t include a main heading, so I can’t provide one exactly as written.
Verdict
Failed

answer missing ['Example Domain']; no tool result containing ['Example Domain']

Install

claude mcp add fetch -- uvx mcp-server-fetch

Run in your terminal. This exact command is what our harness runs in Claude Code; see the results above.

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

Save as .cursor/mcp.json. This exact config is what our harness runs in Cursor; see the results above.

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

Add to claude_desktop_config.json and restart Claude Desktop. Tested on the Linux beta; see the results above.

[mcp_servers.fetch]
command = "uvx"
args = ["mcp-server-fetch"]

Add to ~/.codex/config.toml (shared by the ChatGPT (Codex) CLI and the ChatGPT desktop app; Codex runs inside the ChatGPT desktop app). Tested with the ChatGPT (Codex) CLI bundled in the ChatGPT desktop app; see the results above.

Not connecting? Troubleshooting: Claude Code · Cursor · Claude Desktop · ChatGPT (Codex)

Test history

DateCheckResultVersions tested
2026-10-20ChatGPT (Codex)Failed
agent task failed (answer missing ['Example Domain']; no tool result containing ['Example Domain'])
Codex CLI 0.162.0-alpha.17.2 · mcp-server-fetch 2026.10.19
2026-10-19Protocol (direct stdio)Protocol: 1 tools + tool call OKserver reported v2026.10.19
2026-10-19Claude CodePassed
install, connect, tools, agent task
Claude Code 2.1.296 · mcp-server-fetch 2026.10.19 (pinned in the command we ran)
2026-10-19CursorPassed
install, connect, tools, agent task
Cursor CLI 2026.10.16-e3cb207 · mcp-server-fetch 2026.10.19 (pinned in the command we ran)
2026-10-14Claude DesktopPassed
install, connect, tools, agent task
Claude Desktop 2.37337.1 (Linux beta) · package version not recorded
2026-10-14ChatGPT (Codex)Passed
install, connect, tools, agent task
Codex CLI 0.162.0-alpha.17.2 · package version not recorded
2026-10-13Protocol (direct stdio)Protocol: 1 tools + tool call OK2026.10.10
2026-10-13CursorPassed
install, connect, tools, agent task
Cursor CLI 2026.10.12-d47ca18 · package version not recorded
2026-10-13Claude CodePassed
install, connect, tools, agent task
Claude Code 2.1.296 · package version not recorded

Tested on ToolPassed badge

ToolPassed: passed Claude Code, Cursor, Claude Desktop

Maker of Fetch (reference)? It passed in Claude Code, Cursor, Claude Desktop on 2026-10-19. Add this free badge to your README; it links back to this listing. Free, no strings: the badge never changes a result.

[![Tested on ToolPassed](https://toolpassed.com/badge/mcp/ref-fetch.svg)](https://toolpassed.com/mcp/ref-fetch/)

Tools seen by our harness (1)

fetch
Featured