Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Fetch Mcp

    A flexible HTTP fetching Model Context Protocol server. TypeScript-based implementation. Trusted by 600+ developers. Trusted by 600+ developers.

    630 stars
    TypeScript
    Updated Nov 2, 2025

    Table of Contents

    • Tools
    • Installation
    • As an MCP server
    • As a CLI
    • CLI Usage
    • Commands
    • Flags
    • Examples
    • Environment Variables
    • Features
    • Development
    • License

    Table of Contents

    • Tools
    • Installation
    • As an MCP server
    • As a CLI
    • CLI Usage
    • Commands
    • Flags
    • Examples
    • Environment Variables
    • Features
    • Development
    • License

    Documentation

    Fetch MCP Server

    fetch mcp logo

    npm version

    An MCP server for fetching web content in multiple formats — HTML, JSON, plain text, Markdown, readable article content, and YouTube transcripts.

    Tools

    All tools accept the following common parameters:

    ParameterTypeRequiredDescription
    urlstringYesURL to fetch
    headersobjectNoCustom headers to include in the request
    max_lengthnumberNoMaximum characters to return (default: 5000)
    start_indexnumberNoStart from this character index (default: 0)
    proxystringNoProxy URL (e.g. http://proxy:8080)
    • fetch_html — Fetch a website and return its raw HTML content.
    • fetch_markdown — Fetch a website and return its content converted to Markdown.
    • fetch_txt — Fetch a website and return plain text with HTML tags, scripts, and styles removed.
    • fetch_json — Fetch a URL and return the JSON response.
    • fetch_readable — Fetch a website and extract the main article content using Mozilla Readability, returned as Markdown. Strips navigation, ads, and boilerplate. Ideal for articles and blog posts.
    • fetch_youtube_transcript — Fetch a YouTube video's captions/transcript. Uses yt-dlp if available, otherwise extracts directly from the page. Accepts an additional lang parameter (default: "en") to select the caption language.

    Installation

    As an MCP server

    Add to your MCP client configuration:

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

    As a CLI

    bash
    npx mcp-fetch   [flags]

    Or install globally:

    bash
    npm install -g mcp-fetch-server
    mcp-fetch   [flags]

    CLI Usage

    code
    mcp-fetch   [flags]

    Commands

    CommandDescription
    htmlFetch a URL and return raw HTML
    markdownFetch a URL and return Markdown
    readableFetch a URL and return article content as Markdown (via Readability)
    txtFetch a URL and return plain text
    jsonFetch a URL and return JSON
    youtubeFetch a YouTube video transcript

    Flags

    FlagDescription
    --max-length Maximum characters to return
    --start-index Start from this character index
    --proxy Proxy URL
    --lang Language code for YouTube transcripts (default: en)
    --helpShow help message
    --versionShow version

    Examples

    bash
    # Fetch a page as markdown
    mcp-fetch markdown https://example.com
    
    # Extract article content without boilerplate
    mcp-fetch readable https://example.com/blog/post
    
    # Get a YouTube transcript in Spanish
    mcp-fetch youtube https://www.youtube.com/watch?v=dQw4w9WgXcQ --lang es
    
    # Fetch with a length limit
    mcp-fetch html https://example.com --max-length 10000
    
    # Fetch through a proxy
    mcp-fetch json https://api.example.com/data --proxy http://proxy:8080

    Environment Variables

    VariableDescription
    DEFAULT_LIMITDefault character limit for responses (default: 5000, set to 0 for no limit)
    MAX_RESPONSE_BYTESMaximum response body size in bytes (default: 10485760 / 10 MB)

    Example with a custom limit:

    json
    {
      "mcpServers": {
        "fetch": {
          "command": "npx",
          "args": ["mcp-fetch-server"],
          "env": {
            "DEFAULT_LIMIT": "50000"
          }
        }
      }
    }

    Features

    • Fetch web content as HTML, JSON, plain text, or Markdown
    • Extract article content with Mozilla Readability (strips ads, nav, boilerplate)
    • Extract YouTube video transcripts (via yt-dlp or direct extraction)
    • Proxy support for requests behind firewalls
    • Pagination with max_length and start_index
    • Custom request headers
    • SSRF protection (blocks private/localhost addresses and DNS rebinding)
    • Response size limits to prevent memory exhaustion

    Development

    bash
    bun install
    bun run dev     # start with watch mode
    bun test        # run tests
    bun run build   # build for production

    License

    This project is licensed under the MIT License.

    Similar MCP

    Based on tags & features

    • MC

      Mcp Server Kubernetes

      TypeScript·
      1.1k
    • MC

      Mcp Wave

      TypeScript00
    • GL

      Glm Mcp Server

      TypeScript·
      3
    • OP

      Openai Gpt Image Mcp

      TypeScript·
      75

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • MC

      Mcp Server Kubernetes

      TypeScript·
      1.1k
    • MC

      Mcp Wave

      TypeScript00
    • GL

      Glm Mcp Server

      TypeScript·
      3
    • OP

      Openai Gpt Image Mcp

      TypeScript·
      75

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k