Fetch MCP Server

Developmentstdiov2026.1.26
Repository

Provides HTTP request capabilities through the Model Context Protocol. Enables AI agents to fetch web content, retrieve API responses, and download resources from URLs. Supports converting HTML to Markdown for easier consumption and can handle various content types including JSON, text, and binary data.

Connect

Add this configuration to .claude/mcp.json

{
  "mcpServers": {
    "fetch": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-fetch"
      ]
    }
  }
}

Tools (1)

fetch

Fetch a URL and return its content. HTML is converted to Markdown by default for readability.

{
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "raw": {
      "type": "boolean",
      "description": "Return raw content without HTML-to-Markdown conversion"
    },
    "url": {
      "type": "string",
      "description": "URL to fetch"
    },
    "max_length": {
      "type": "integer",
      "description": "Maximum number of characters to return (default 5000)"
    },
    "start_index": {
      "type": "integer",
      "description": "Start content from this character index for pagination"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server Information

Author
Anthropic (@modelcontextprotocol)
Repository
https://github.com/modelcontextprotocol/servers
License
Apache-2.0
Version
2026.1.26
Stars
86,200
Last Updated
January 27, 2026