vibedonaldsvibedonalds.com
Fetch MCP Server screenshot

Fetch MCP Server

Reference MCP server in Python that fetches a URL and returns the page as markdown, readable in chunks.

What is Fetch MCP Server, in two sentences

Fetch MCP Server is a reference server in the modelcontextprotocol/servers GitHub repository that gives an LLM one tool, fetch, which retrieves a web page and returns its content as markdown. Its README says it is licensed under the MIT License and recommends running it through uvx, with no separate installation.

About Fetch MCP Server

The fetch tool takes a URL and returns the page as markdown, or the raw content when raw is set. Each response stops at max_length, 5000 characters by default, and the start_index argument says where to start, so a model can read a long page in chunks until it finds what it needs. The same job is offered as a fetch prompt, and a failed fetch comes back as a tool result marked isError that says what went wrong, so the model can decide what to do.

The README recommends uvx mcp-server-fetch; the server can also be installed with pip install mcp-server-fetch and run as python -m mcp_server_fetch, or run as the mcp/fetch Docker image. It gives entries for Claude.app and for VS Code, where they go in your User Settings (JSON) or a workspace's .vscode/mcp.json, and suggests the MCP inspector for debugging. Installing Node.js is optional; it makes the server use a different HTML simplifier.

By default the server refuses private, loopback, link-local and other non-public addresses, including cloud metadata endpoints such as 169.254.169.254, and checks every redirect hop the same way; the --allow-private-ips argument turns this off for a development server or an intranet page. It obeys a site's robots.txt for requests the model makes through the tool but not for requests a user starts through the prompt, and --ignore-robots-txt switches that check off.

The modelcontextprotocol/servers README lists Fetch among a small number of reference servers maintained by the MCP steering group to demonstrate MCP features and the official SDKs. The server is built on the MCP Python SDK and speaks both the 2026-07-28 and the 2025-11-25 versions of the protocol over stdio, with nothing to configure. Its README puts it under the MIT License; the repository README puts new contributions under the Apache License 2.0 and existing code under MIT.

Sources: github.com/modelcontextprotocol/servers/tree/main/src/fetch, /modelcontextprotocol/servers and /modelcontextprotocol/servers/tree/main/src/fetch, read 2026-10-27

Fetch MCP Server pros and cons

Pros

  • Its address and robots.txt checks are on by default: non-public addresses are refused and robots.txt is obeyed for the model's requests, and each check has a flag that turns it off.
  • It can work behind a proxy, set with --proxy-url or taken from HTTP_PROXY, HTTPS_PROXY and ALL_PROXY, and both http(s) and SOCKS5 proxies are supported.
  • The README's configuration entries need no API key or token.

Cons

  • The README warns that the server can access local and internal IP addresses and may represent a security risk, and its address guard does not protect against DNS rebinding.
  • The repository README presents its servers as educational examples, not production-ready solutions, and tells developers to evaluate their own security requirements.
  • Each response is truncated, at 5000 characters by default, so a long page takes several calls.
  • On Windows, the README says timeout issues may need the PYTHONIOENCODING environment variable set to utf-8.

Tagged

  • Supports Claude
  • CLI
  • MCP Support
  • Open Source

Fetch MCP Server alternatives

More from MCP Servers.

  1. 01
    GitHub MCP Server

    GitHub's official MCP server, hosted by GitHub or run locally, with toolsets for repos, issues, PRs, Actions.

    Free →
  2. 02
    Git MCP Server

    Reference MCP server in Python that lets an LLM read, diff, stage, commit and branch in a Git repository.

    Free →
  3. 03
    Filesystem MCP Server

    Reference MCP server in Node.js that lets AI clients read, write, edit and search files in folders you allow.

    Free →
  4. 04
    Scento Perfume API

    Free perfume knowledge connector for AI assistants: 1,400+ perfumes and 400+ raw materials over MCP or REST.

    →
  5. 05
    10ML Perfume Finder

    The 10ML Fragrance Index for AI assistants: perfume notes, accords, families, similar scents and expert guides.

    →
  6. 06
    CosVoice

    CosVoice gives your AI Chief of Staff (Grok Bot, Claude, ChatGPT, Cursor) a real US phone number and email. It calls, answers, and sends written summaries.

    →

Related reading

Reviews
No reviews yet — be the first to rate Fetch MCP Server.

Featured on Vibedonalds

Own Fetch MCP Server? Add this badge to your site to show you’re listed — and link back to your profile here.

Fetch MCP Server — Featured on Vibedonalds
<a href="https://vibedonalds.com/tools/mcp-fetch" target="_blank" rel="noopener nofollow">
  <img src="https://vibedonalds.com/badge/featured-on-vibedonalds.svg" alt="Fetch MCP Server — Featured on Vibedonalds" width="240" height="60" loading="lazy" />
</a>

Frequently asked questions

What is Fetch MCP Server?
Fetch MCP Server is a reference MCP server in Python that fetches a URL and returns the page as markdown, readable in chunks.
Is Fetch MCP Server free?
Fetch MCP Server is free to use. There is no paid tier as of the last index update.
What are the alternatives to Fetch MCP Server?
Similar tools in MCP Servers on vibedonalds: GitHub MCP Server, Git MCP Server, Filesystem MCP Server, Scento Perfume API.
What are the downsides of Fetch MCP Server?
The README warns that the server can access local and internal IP addresses and may represent a security risk, and its address guard does not protect against DNS rebinding. The repository README presents its servers as educational examples, not production-ready solutions, and tells developers to evaluate their own security requirements. Each response is truncated, at 5000 characters by default, so a long page takes several calls. On Windows, the README says timeout issues may need the PYTHONIOENCODING environment variable set to utf-8.
How do I install the Fetch MCP Server?
The README recommends uv: with it, uvx runs mcp-server-fetch directly and nothing needs installing first. Otherwise, pip install mcp-server-fetch and run python -m mcp_server_fetch, or use the mcp/fetch Docker image. Node.js is optional; with it installed, the server uses a different HTML simplifier.
How do I use it with Claude or VS Code?
For Claude.app, add an mcpServers entry to your Claude settings that runs uvx mcp-server-fetch, docker run -i --rm mcp/fetch or python -m mcp_server_fetch. In VS Code, put the entry in your User Settings (JSON), opened with Preferences: Open User Settings (JSON), or in a workspace's .vscode/mcp.json to share it with others.
What does the fetch tool return?
Markdown extracted from the page at the URL, or the raw content if raw is true. Output is cut at max_length, 5000 characters by default; start_index sets where the next read begins, so a model can work through a long page in chunks.
Can it fetch localhost or intranet pages?
Not by default. It refuses any host that resolves to an address that is not globally routable, such as loopback, private and link-local ranges, and the client receives an error naming the refused address. Adding --allow-private-ips to the args list lets it fetch a development server or an intranet page.
Is the Fetch MCP Server free?
Its README says mcp-server-fetch is licensed under the MIT License, so you are free to use, modify and distribute it. The repository README puts new contributions under the Apache License 2.0, with existing code under MIT.