---
title: "Fetch"
url: "https://agentconnectors.dev/tools/fetch"
updated: "2026-10-15"
source_url: "https://github.com/modelcontextprotocol/servers/blob/main/src/fetch/README.md"
---

# Fetch

Reference MCP server that retrieves a URL and converts the page to markdown so a model can read it in chunks. The README says private and link-local addresses are refused unless that guard is disabled.

- Category: [Reference servers](https://agentconnectors.dev/categories/reference)
- Collection: Reference server
- Status: active
- Publisher: Reference. Repository owner is modelcontextprotocol. This is a reference or example server. Archived status is a separate field on the listing. Source: https://github.com/modelcontextprotocol/servers
- Kind: mcp-server
- Listing: https://github.com/modelcontextprotocol/servers/tree/main/src/fetch
- Repository: https://github.com/modelcontextprotocol/servers
- Homepage: Not listed
- Package: mcp-server-fetch
- Successor: Not listed
- Source: https://github.com/modelcontextprotocol/servers/blob/main/src/fetch/README.md
- Page: https://agentconnectors.dev/tools/fetch
- JSON: https://agentconnectors.dev/api/tools/fetch.json
- Labels: none.

Paid placements are labelled Featured or Sponsored. An Enriched badge means we applied the owner-supplied description and links after a link check on those URLs. Ownership confirmation is optional. It does not mean functionality testing, a security audit, an endorsement, a ranking, or guaranteed traffic, leads, citations, or revenue.

## Connect it

from vendor docs, not tested by us

Configuration validation checks that these snippets parse and include every environment variable named in the Auth fact. It is not a connection test.

Source: https://github.com/modelcontextprotocol/servers/blob/main/src/fetch/README.md


### Claude Desktop (local)

```json
{
  "mcpServers": {
    "fetch": {
      "command": "uvx",
      "args": [
        "mcp-server-fetch"
      ]
    }
  }
}
```

### Claude Code (local)

```
claude mcp add fetch -- uvx mcp-server-fetch
```

### Cursor (local)

```json
{
  "mcpServers": {
    "fetch": {
      "command": "uvx",
      "args": [
        "mcp-server-fetch"
      ]
    }
  }
}
```

### VS Code (local)

```json
{
  "servers": {
    "fetch": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-fetch"
      ]
    }
  }
}
```

## Sourced facts

Each sourced fact is paraphrased from the source URL on that line. Unknown means that page did not state it. These facts are not a Featured, Sponsored, or Enriched label, and they are not a functionality test.

- Capabilities: One tool, fetch, converts a URL's HTML to markdown. Optional arguments are max_length (default 5000), start_index, and raw. Source: https://github.com/modelcontextprotocol/servers/blob/main/src/fetch/README.md
- Hosting: Local. The README shows uvx mcp-server-fetch and pip install mcp-server-fetch. A remote hosted endpoint: Unknown. Source: https://github.com/modelcontextprotocol/servers/blob/main/src/fetch/README.md
- Transport: Unknown. The README shows uvx and pip commands and does not name stdio, HTTP, or SSE. Source: https://github.com/modelcontextprotocol/servers/blob/main/src/fetch/README.md
- Auth: The configuration examples set no API key. An MCP login: Unknown. Source: https://github.com/modelcontextprotocol/servers/blob/main/src/fetch/README.md
- Setup and docs: https://github.com/modelcontextprotocol/servers/blob/main/src/fetch/README.md. Source: https://github.com/modelcontextprotocol/servers/blob/main/src/fetch/README.md
- Pricing source: Unknown. Source: https://github.com/modelcontextprotocol/servers/blob/main/src/fetch/README.md
- Limitations: By default the server refuses private, loopback, link-local, and cloud-metadata addresses, including 169.254.169.254. The --allow-private-ips argument turns that guard off. The README says the guard does not stop DNS rebinding. Source: https://github.com/modelcontextprotocol/servers/blob/main/src/fetch/README.md
- Limitations: Responses are truncated. start_index reads further chunks. max_length defaults to 5000. Source: https://github.com/modelcontextprotocol/servers/blob/main/src/fetch/README.md
- Limitations: Requires the MCP Python SDK 1.x (mcp>=1.29.0,<2). The README says the port to SDK 2 is in progress. Source: https://github.com/modelcontextprotocol/servers/blob/main/src/fetch/README.md

The description is paraphrased from the source link. A pricing figure appears only when the cited pricing source states it. This page does not add star counts or install counts.

## Link check

- https://github.com/modelcontextprotocol/servers/blob/main/src/fetch/README.md returned HTTP 200 on 15 October 2026. That is a successful link check.

A link check is not a functionality test, a security audit, or an endorsement.

Last checked 2026-10-15.

## Related in Reference servers

- [Filesystem](https://agentconnectors.dev/tools/filesystem)
- [Git](https://agentconnectors.dev/tools/git)
- [Memory](https://agentconnectors.dev/tools/memory)
- [Sequential Thinking](https://agentconnectors.dev/tools/sequential-thinking)
- [Time](https://agentconnectors.dev/tools/time)
- [Everything](https://agentconnectors.dev/tools/everything)
