1. Conduid
  2. Data
  3. zcaceres/fetch-mcp
MCP server · Data

zcaceres/fetch-mcp

A flexible HTTP fetching Model Context Protocol server.

Unclaimed MIT last commit 7 months ago data
74Good

Scored 7 days ago · breakdown

About zcaceres/fetch-mcp

zcaceres/fetch-mcp is an MCP server published by zcaceres in the Data category: a flexible HTTP fetching Model Context Protocol server.

The repository has 825 stars and 126 forks, with the last commit 7 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

Claude Code
claude mcp add fetch-mcp -- npx -y @wordbricks/fetch-mcp
npx
npx -y @wordbricks/fetch-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about zcaceres/fetch-mcp

Powered by Claude · Grounded in docs

I know everything about zcaceres/fetch-mcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

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:

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

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

README fetched from the repository yesterday. The original is authoritative.

Questions

About zcaceres/fetch-mcp

How do I install zcaceres/fetch-mcp?

Run claude mcp add fetch-mcp -- npx -y @wordbricks/fetch-mcp, then add the server to your MCP client's configuration.

Is zcaceres/fetch-mcp safe to use with an AI agent?

Its trust score is 74 out of 100 (good). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is zcaceres/fetch-mcp still maintained?

The last commit was 7 months ago and 7 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.