Skip to content
MCP server

Fetch MCP Server

A flexible HTTP fetching Model Context Protocol server.

Fetch Mcp scores 53 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It declares 8 tools. Filed under Media. GitHub shows 835 stars. Package registries report about 7,681 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by zcaceresMITTypeScript835 stars
Trust score
53Fair
Trust score 53 of 100, Fair

Fair trust

53 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 53 comes from

0 + 20 + 9 + 10 + 4 + 10 = 53. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity9 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 9 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "zcaceres-fetch-mcp": {      "command": "npx",      "args": [        "-y",        "mcp-fetch-server"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools8Tool docs quality grade C

All capabilities
  • Fetch a website and return its raw HTML content.

  • Fetch a URL and return the JSON response.

  • Fetch a website and return its content converted to Markdown.

  • 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 a website and return plain text with HTML tags, scripts, and styles removed.

  • 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.

  • number

  • number

About

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)
  • 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:

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

As a CLI

npx mcp-fetch <command> <url> [flags]

Or install globally:

npm install -g mcp-fetch-server
mcp-fetch <command> <url> [flags]

CLI Usage

mcp-fetch <command> <url> [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 <N>Maximum characters to return
--start-index <N>Start from this character index
--proxy <URL>Proxy URL
--lang <code>Language code for YouTube transcripts (default: en)
--helpShow help message
--versionShow version

Examples

# 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)
HTTPS_PROXY / https_proxyProxy URL for https:// requests (also honored by the MCP server)
HTTP_PROXY / http_proxyProxy URL for http:// requests (fallback for https://)
ALL_PROXY / all_proxyFallback proxy URL for HTTP/HTTPS requests
NO_PROXY / no_proxyComma-separated hostnames/domains that bypass the proxy

Example with a custom limit:

{
  "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)
  • Operator proxy support via HTTP_PROXY / HTTPS_PROXY / ALL_PROXY / NO_PROXY (and --proxy in the CLI) on both Node.js and Bun
  • Pagination with max_length and start_index
  • Custom request headers
  • Hardened SSRF protection (blocks reserved IPv4/IPv6 ranges including IPv4-mapped IPv6 and multicast, pins DNS resolution to the socket to prevent DNS rebinding, validates every redirect hop before connecting, and restricts YouTube transcript fetching to YouTube domains)
  • Response size limits (enforced on both raw and decompressed streams) to prevent memory exhaustion

Development

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.

Frequently asked questions

What is Fetch MCP Server?

A flexible HTTP fetching Model Context Protocol server.

How do I install Fetch MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Fetch MCP Server runs locally from the npm package mcp-fetch-server with the command npx -y mcp-fetch-server.

Is Fetch MCP Server free and open source?

Yes. Fetch MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Fetch MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Fetch MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does Fetch MCP Server provide?

Fetch MCP Server provides 8 tools, including fetch_html, fetch_json, fetch_markdown, and fetch_readable. See the full tool list for descriptions and parameters.

How is Fetch MCP Server's trust score calculated?

Fetch MCP Server scores 53 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server