Fetch MCP Server
Official reference MCP server for fetching web pages and converting HTML to markdown, with chunked reads so an agent can page through long content.
Overview
Fetch retrieves a URL and converts its HTML to markdown so a model can read web content without also having to parse raw HTML. It's one of the official Model Context Protocol reference servers.
How it works
- The single
fetchtool takes aurl, an optionalmax_length(default 5000 characters), astart_indexto resume reading further into a page, and arawflag to skip markdown conversion. - Because responses are truncated,
start_indexlets a model page through a long document across several calls until it finds what it needs. - The server respects
robots.txtfor model-initiated tool calls (not for user-initiated prompts), and both the user agent and this behavior are configurable via--user-agentand--ignore-robots-txt. - Its own README flags a real caution: this server can reach local/internal IP addresses, which is a security consideration when giving an agent open fetch access.
Examples
{
"mcpServers": {
"fetch": {
"command": "uvx",
"args": ["mcp-server-fetch"]
}
}
}
Installation
You need uv (recommended) or Python with pip.
- Add the server to your MCP client's config using the block in the
sidebar (
uvx mcp-server-fetch). - Restart your client so it picks up the new server.
- Optional: pass
--user-agentor--ignore-robots-txtif you need to change its default fetching behavior. - This server can reach local/internal IP addresses, only give it to agents and prompts you trust.
Related assets
Awesome MCP Servers
The largest community catalog of MCP servers: thousands of entries across dozens of categories (databases, browser automation, cloud, communication and more), tagged by language and scope.
Context7
Pulls updated, version-specific documentation and code examples straight from the source into your prompt, so agents stop citing outdated APIs or hallucinating ones that don't exist.
Playwright MCP
Microsoft's official MCP server for browser automation, driving Playwright through structured accessibility snapshots instead of screenshots, so any MCP client can browse, click and fill forms without a vision model.