Skip to main content
MCP server CX Codex

Fetch (Reference) — Claude Code MCP server: what it does

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.

no license ★ 92,149 updated 2026-10-25

Open on GitHub

What Fetch (Reference) 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.

What it helps with

  • 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 for the agent

  • 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.

How to install Fetch (Reference)

Install

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

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Fetch (Reference)

How do I install Fetch (Reference) in Claude Code?

Run the server with uvx mcp-server-fetch. For a pip installation, run pip install mcp-server-fetch, then launch it with python -m mcp_server_fetch.

What does Fetch (Reference) do?

It retrieves a page by URL and extracts its contents as Markdown. It can also return unconverted content or start reading at a chosen position.

How does Fetch (Reference) handle private IP addresses?

It refuses private and local addresses by default, including destinations reached through redirects. The --allow-private-ips flag turns off this safeguard.

Similar MCP servers

MCP servers catalog →

From the same set19

The whole set →
Sequential Thinking (Reference) Sequential Thinking (Reference) is an MCP server for Claude Code that helps agents break down problems, revisit steps, and explore alternatives. It supports planning and analysis when a problem’s scope is unclear. CX Codex +1 ★ 92,149repo stars Sentry (Archived) The Sentry (Archived) MCP server connects Claude Code to Sentry.io to inspect error reports, explore stack traces, and debug active incidents. CX Codex +1 ★ 92,149repo stars Memory (Reference) Memory (Reference) is an MCP server for Claude Code that keeps information in a local knowledge graph across chats. The agent can look up entities and their links, then update the stored facts. CX Codex +1 ★ 92,149repo stars Git (Reference) Git (Reference) is an MCP server for Claude Code that lets an agent inspect and change Git repositories. It handles diffs, branches, history, staging, and commits. CX Codex +1 ★ 92,149repo stars AWS KB Retrieval (Archived) The AWS KB Retrieval (Archived) MCP server retrieves information from an AWS Knowledge Base through Bedrock Agent Runtime. It gives an AI agent access to AWS-hosted knowledge during a task. CX Codex +1 ★ 92,149repo stars SQLite (Archived) SQLite (Archived) is an archived MCP server for querying SQLite databases from Claude Code and other platforms. Built as a reference implementation, it is no longer maintained. CX Codex +1 ★ 92,149repo stars testing testing — a skill for Claude Code, Codex, Cursor and other platforms: writes tests for MCP servers, places them in the right directory, runs the correct commands. CX Codex +1 ★ 92,149repo stars security-advisory security-advisory guides privately reported vulnerabilities through triage cards, verification, and private fork fixes. Activates when handling repository security advisories. CX Codex +1 ★ 92,149repo stars

Project sponsors

Companies that keep this analytics open