Fetch MCP Server

Web content fetching and scraping capabilities with robots.txt handling for extracting data from websites. Convert HTML into Markdown (or raw text).

Web Scraping FetchScrapingWeb

Configuration

MCP Settings Configuration

{
  "fetch": {
    "stdio": {
      "command": "python3",
      "args": [
        "-m", "mcp_server_fetch",
        "--ignore-robots-txt"
      ]
    }
  }
}

Available Tools & Methods

fetch(url, max_length, start_index, raw)
Fetches a URL from the internet and extracts its contents as markdown.
Parameters: url (string, required): URL to fetch, max_length (integer, optional): Maximum number of characters to return (default: 5000), start_index (integer, optional): Start content from this character index (default: 0), raw (boolean, optional): Get raw content without markdown conversion (default: false)

Installation Guide

# Installation Install the official MCP fetch server: ```bash pip install mcp-server-fetch ```