# Fetch (Reference)

Fetch (Reference) is an MCP server for Claude Code that retrieves web pages by URL and returns their contents as Markdown. It lets an agent read a web page.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 92149 repo stars
- Author: modelcontextprotocol
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/modelcontextprotocol/servers/tree/HEAD/src/fetch
- Updated: 2026-10-25
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/fetch-reference

## What it does

The `fetch` tool retrieves a page from a URL and turns its HTML into Markdown. It can also return unconverted content or resume extraction from a chosen character position when a response is cut short. The server reads pages and can connect to arbitrary internet hosts.

The server requires MCP Python SDK `2.x` (`mcp>=2.3,<3`). Run it with `uvx`, or install the package using `pip install mcp-server-fetch` and launch it with `python -m mcp_server_fetch`. Node.js is optional; when installed, it enables a different HTML simplifier.

By default, requests to private and local IP addresses are refused, including redirect destinations. The `--allow-private-ips` flag disables this safeguard. DNS checks also cannot prevent an address from changing between the check and the connection.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- retrieve a web page from its URL
- convert page HTML into Markdown
- read a long page in sections
- get page contents without Markdown conversion

## Example prompts
- Read the page at this URL and summarize its contents.
- Fetch this page as Markdown, starting at the requested section.
- Retrieve this URL and return the content without converting it.

## Similar
- [fetch-and-send-data](https://affpapa.org/en/nevibecode/skills/fetch-and-send-data.md) — skill · 4100 installs
- [paper-fetch](https://affpapa.org/en/nevibecode/skills/paper-fetch.md) — skill · 3500 installs
- [fetch](https://affpapa.org/en/nevibecode/skills/fetch.md) — skill · 3100 installs
- [ncbi-sequence-fetch](https://affpapa.org/en/nevibecode/skills/ncbi-sequence-fetch.md) — skill · 2400 installs
- [alphafold-database-fetch-and-analyze](https://affpapa.org/en/nevibecode/skills/alphafold-database-fetch-and-analyze.md) — skill · 2400 installs
- [earth2studio-data-fetch](https://affpapa.org/en/nevibecode/skills/earth2studio-data-fetch.md) — skill · 1900 installs

From the same set: [modelcontextprotocol/servers](https://affpapa.org/en/nevibecode/by/modelcontextprotocol/servers.md) — 19 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
