Fetch (reference)
Fetches a web page and returns it as Markdown so the agent can read it.
See the pick for the verdict.
Test results
Last passed 2026-10-19Server 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.1Captured 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)?
Real test
FailedOne 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:fetchTool 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-fetchRun 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
| Date | Check | Result | Versions tested |
|---|---|---|---|
| 2026-10-20 | ChatGPT (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-19 | Protocol (direct stdio) | Protocol: 1 tools + tool call OK | server reported v2026.10.19 |
| 2026-10-19 | Claude Code | Passed install, connect, tools, agent task | Claude Code 2.1.296 · mcp-server-fetch 2026.10.19 (pinned in the command we ran) |
| 2026-10-19 | Cursor | Passed 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-14 | Claude Desktop | Passed install, connect, tools, agent task | Claude Desktop 2.37337.1 (Linux beta) · package version not recorded |
| 2026-10-14 | ChatGPT (Codex) | Passed install, connect, tools, agent task | Codex CLI 0.162.0-alpha.17.2 · package version not recorded |
| 2026-10-13 | Protocol (direct stdio) | Protocol: 1 tools + tool call OK | 2026.10.10 |
| 2026-10-13 | Cursor | Passed install, connect, tools, agent task | Cursor CLI 2026.10.12-d47ca18 · package version not recorded |
| 2026-10-13 | Claude Code | Passed install, connect, tools, agent task | Claude Code 2.1.296 · package version not recorded |
Tested on ToolPassed badge
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.
[](https://toolpassed.com/mcp/ref-fetch/)Tools seen by our harness (1)
fetch