MCP Catalogs
Home

fetch

Official

by modelcontextprotocol·85,748·Score 76

An MCP server that fetches web content and converts HTML to markdown, allowing LLMs to read web pages.

web-scrapingai-llmproductivity
10,713
Forks
459
Open issues
this month
Last commit
2d ago
Indexed

Overview

The fetch MCP server provides a simple yet powerful tool for LLMs to retrieve and process web content. It converts HTML to markdown for easier consumption by language models, with options to control content length and starting position. The server includes security considerations, warning users about potential access to local/internal IP addresses. It supports various installation methods including uv, pip, and Docker, making it accessible across different environments.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:LLMs reading news articles and blogs
you:Content analysis of web pages
you:Retrieving information from public websites
you:Chunked reading of large web documents
you:Can the fetch server access local/internal IP addresses?
you:How can I customize the user-agent for fetch requests?

When to choose this

Choose this server when you need your AI system to access and process current web content, especially when you need to convert HTML to clean markdown for LLM consumption.

When NOT to choose this

Avoid this server if you need to access internal network resources (security risk) or if you require JavaScript execution as this server only handles static HTML content.

Tools this server exposes

1 tool extracted from the README
  • fetchurl: string, max_length?: integer, start_index?: integer, raw?: boolean

    Fetches a URL from the internet and extracts its contents as markdown

Comparable tools

browser-mcpweb-content-extractorurl-to-markdown

Installation

Installation

**Using uv (recommended)** No specific installation needed. Use uvx to run the server directly:

uvx mcp-server-fetch

**Using PIP** Install via pip:

pip install mcp-server-fetch

Then run as:

python -m mcp_server_fetch

Claude Desktop Configuration

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

FAQ

Can the fetch server access local/internal IP addresses?
Yes, the server can access local/internal IP addresses which may represent a security risk. Use caution to avoid exposing sensitive data.
How can I customize the user-agent for fetch requests?
Add --user-agent=YourUserAgent to the args list in your configuration to customize the user-agent string.

On Hacker News

Recent discussion from the developer community.

Compare fetch with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.

fetch — MCP Catalogs