← Open Source
zcaceres

fetch-mcp

A flexible HTTP fetching Model Context Protocol server.

AI EngineeringGive agent toolsTypeScript
Open on GitHub
Momentum
+-1stars in 24 hours-0.1%
825
Stars
126
Forks
+-4
This week
5
Contributors
Created 2024-12-18 · Updated 2026-10-16 · #19061 today
Top developers
zcacerespwilkinAlecDivito

zcaceres/fetch-mcp is ranked 19,061 with 825 stars.

Same-category comparison

zcaceres/fetch-mcp is ranked 19,061 among these 8 peers; tolimarchuk/goalbuddy is ranked 19,063.

Same-category comparison
NameRankMetrics
shadcnio/react-shadcn-components19,041
Stars:
869
Forks:
43
Description:
Production-ready React components following shadcn/ui principles. TypeScript-first, Tailwind-styled, Radix-powered. Beautiful defaults with complete customization freedom. The frontend UI toolkit for vibecoders who ship fast and own their code.
xdevplatform/xmcp19,044
Language:
Python
Stars:
862
Forks:
125
Description:
MCP server for the X API.
sangrokjung/claude-forge19,049
Language:
Shell
Stars:
856
Forks:
183
WJZ-P/gemini-skill19,057
Language:
JavaScript
Stars:
833
Forks:
123
Description:
gemini drawing MCP & skill through browser, can be used in openclaw or any agent that supports MCP.
tolimarchuk/goalbuddy19,063
Language:
JavaScript
Stars:
820
Forks:
66
Description:
A better /goal for Codex and Claude Code.
777genius/agent-notifications19,066
Language:
Go
Stars:
816
Forks:
112
Description:
🔔 Cross-platform smart notifications for Claude/Codex/OpenCode/Cursor/Gemini. Desktop alerts, sounds, click-to-focus, and webhooks. macOS, Linux, and Windows.
qy527145/acemcp19,072
Language:
Python
Stars:
803
Forks:
112
mainframecomputer/orchestra19,086
Language:
Python
Stars:
763
Forks:
71
Description:
Cognitive Architectures for Multi-Agent Teams.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguageTypeScript
CategoryAI Engineering
SubcategoryGive agent tools
KeywordsAgent-ready APIs, Data scraping, MCP
Stars825
Forks126
Contributors5
Created date2024-12-18
Updated date2026-10-16
Stars in 1 day-1
Stars in 7 days-4
Rank19,061
Previous rank18,903
Rank change-158
7-day stars rank18,767
Previous 7-day stars rank18,591
7-day stars rank change-176
Total stars rank13,004
Previous total stars rank12,972
Total stars rank change-32
CountryUSA
Frequently asked questions

How many stars and forks are recorded?

zcaceres/fetch-mcp has 825 stars and 126 forks.

What is the repository rank?

zcaceres/fetch-mcp is ranked 19,061.

What language and category are recorded?

zcaceres/fetch-mcp has 825 stars, uses TypeScript and belongs to AI Engineering.

Which repository is closest in rank?

zcaceres/fetch-mcp is compared with tolimarchuk/goalbuddy, ranked 19,063 with 820 stars.

README

Fetch MCP Server

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:

Parameter Type Required Description
url string Yes URL to fetch
headers object No Custom headers to include in the request
max_length number No Maximum characters to return (default: 5000)
start_index number No Start from this character index (default: 0)
proxy string No Proxy 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:

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

As a CLI

npx mcp-fetch   [flags]

Or install globally:

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

CLI Usage

mcp-fetch   [flags]

Commands

Command Description
html Fetch a URL and return raw HTML
markdown Fetch a URL and return Markdown
readable Fetch a URL and return article content as Markdown (via Readability)
txt Fetch a URL and return plain text
json Fetch a URL and return JSON
youtube Fetch a YouTube video transcript

Flags

Flag Description
--max-length Maximum characters to return
--start-index Start from this character index
--proxy Proxy URL
--lang Language code for YouTube transcripts (default: en)
--help Show help message
--version Show 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

Variable Description
DEFAULT_LIMIT Default character limit for responses (default: 5000, set to 0 for no limit)
MAX_RESPONSE_BYTES Maximum response body size in bytes (default: 10485760 / 10 MB)

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

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.

Nearby in the ranking
Similar items