3D MCP Cursor Visualization
Fetch MCP Logo - AI-Powered Development Tool for Cursor IDE

Fetch MCP

Model Context Protocol Integration

Overview

A Model Context Protocol server that provides web content fetching capabilities, enabling LLMs to retrieve and process content from web pages. Converts HTML to markdown for easier consumption and supports chunked reading with customizable start positions.

Fetch Features

  • Web content fetching and extraction
  • HTML to Markdown conversion
  • Chunked content reading
  • Customizable content length
  • Raw content mode
  • Robots.txt compliance options
  • Configurable user agent

Fetch Setup & Configuration

Requirements

  • UV package manager (recommended)
  • Or Python with pip
  • Node.js (optional, for enhanced HTML simplification)
  • Claude Desktop

Installation Instructions

# Using UV (Recommended)
uvx mcp-server-fetch

# Using PIP
pip install mcp-server-fetch
python -m mcp_server_fetch

Configuration

# UV Configuration
{
  "mcpServers": {
    "fetch": {
      "command": "uvx",
      "args": [
        "mcp-server-fetch",
        "--ignore-robots-txt",  # Optional
        "--user-agent=YourUserAgent"  # Optional
      ]
    }
  }
}

# PIP Configuration
{
  "mcpServers": {
    "fetch": {
      "command": "python",
      "args": ["-m", "mcp_server_fetch"]
    }
  }
}

Fetch Available Tools

  • fetch

Fetch Required Inputs

url

Type
string
Description
URL to fetch
Required
Yes

max_length

Type
integer
Description
Maximum number of characters to return
Required
No

start_index

Type
integer
Description
Start content from this character index
Required
No

raw

Type
boolean
Description
Get raw content without markdown conversion
Required
No

Fetch Use Cases

  • Web content extraction
  • Article reading and processing
  • Documentation retrieval
  • Web scraping
  • Content analysis
  • Research assistance
  • Information gathering

Frequently Asked Questions

A Model Context Protocol server that provides web content fetching capabilities, enabling LLMs to retrieve and process content from web pages. Converts HTML to markdown for easier consumption and supports chunked reading with customizable start positions.
UV package manager (recommended), Or Python with pip, Node.js (optional, for enhanced HTML simplification), Claude DesktopView detailed requirements
Follow the installation instructions in the setup section above.View installation guide

Fetch MCP provides the following tools:

  • fetch