fast-webfetch-mcp

fast-webfetch-mcp

A high-performance MCP server for web fetching in Claude Code using Firecrawl backend with automatic fallback.

Category
Visit Server

README

Fast WebFetch MCP Server for Claude Code

A high-performance MCP server for web fetching in Claude Code using Firecrawl backend with automatic fallback.

Features

Tool Description
fast_fetch Fetch URL, extract content, return markdown
fast_fetch_raw Return raw HTML without processing
fast_fetch_json Fetch and parse JSON endpoints
fast_fetch_multiple Fetch multiple URLs in parallel

How It Works

  1. Primary: Uses Firecrawl API for JS rendering and comment extraction
  2. Fallback: If Firecrawl unavailable, uses direct fetch + Mozilla Readability
  3. AI Summary: Optional summarization via local LLM API
URL -> Try Firecrawl -> Success? -> AI Summary (optional) -> Result
              |
              v (failed/unavailable)
       Direct Fetch + Readability -> AI Summary (optional) -> Result

fast_fetch Parameters

Parameter Type Default Description
url string required The URL to fetch
prompt string - AI summarization prompt
max_length number 100000 Maximum content length (chars)
include_links boolean true Include hyperlinks in output
no_summarize boolean false Skip AI summarization even with prompt

Quick Install

Using Claude CLI (Recommended)

# Clone the repo
git clone https://github.com/nikketryhard/fast-webfetch-mcp.git ~/fast-webfetch-mcp

# Install dependencies
cd ~/fast-webfetch-mcp && bun install

# Add MCP server with environment variables
claude mcp add fast-webfetch \
  -e FIRECRAWL_API_URL=http://localhost:3002 \
  -e FAST_WEBFETCH_API_URL=http://127.0.0.1:8045/v1 \
  -e FAST_WEBFETCH_MODEL=gemini-3-flash \
  -e FAST_WEBFETCH_API_KEY=your_api_key_here \
  -e FAST_WEBFETCH_USE_RUST=1 \
  -e FAST_WEBFETCH_RUST_BIN=/home/YOUR_USERNAME/fast-webfetch-mcp/rust/target/release/fast-webfetch-mcp-rs \
  -- bun run ~/fast-webfetch-mcp/src/index.ts

# Or minimal (uses defaults)
claude mcp add fast-webfetch -- bun run ~/fast-webfetch-mcp/src/index.ts

Manual Installation

# Clone the repo
git clone https://github.com/nikketryhard/fast-webfetch-mcp.git ~/fast-webfetch-mcp

# Install dependencies
cd ~/fast-webfetch-mcp && bun install

Then add to ~/.claude.json:

{
  "mcpServers": {
    "fast-webfetch": {
      "command": "bun",
      "args": ["run", "/home/YOUR_USERNAME/fast-webfetch-mcp/src/index.ts"],
      "env": {
        "FIRECRAWL_API_URL": "http://localhost:3002",
        "FAST_WEBFETCH_API_URL": "http://127.0.0.1:8045/v1",
        "FAST_WEBFETCH_MODEL": "gemini-3-flash",
        "FAST_WEBFETCH_API_KEY": "your_api_key_here",
        "FAST_WEBFETCH_USE_RUST": "1",
        "FAST_WEBFETCH_RUST_BIN": "/home/YOUR_USERNAME/fast-webfetch-mcp/rust/target/release/fast-webfetch-mcp-rs"
      }
    }
  }
}

Environment Variables

Variable Default Description
FIRECRAWL_API_URL http://localhost:3002 Firecrawl API endpoint
FAST_WEBFETCH_API_URL http://127.0.0.1:8045/v1 OpenAI-compatible API for summaries
FAST_WEBFETCH_MODEL gemini-3-flash Model name for summarization
FAST_WEBFETCH_API_KEY (empty) API key for summarization endpoint
FAST_WEBFETCH_USE_RUST 0 Enable Rust backend worker path
FAST_WEBFETCH_RUST_BIN (empty) Absolute path to Rust binary

Firecrawl Setup (Optional but Recommended)

For best results (JS rendering, comments extraction), run Firecrawl locally:

# Using Docker
docker run -p 3002:3002 mendableai/firecrawl

# Or use the official Firecrawl MCP
claude mcp add firecrawl-mcp -e FIRECRAWL_API_URL=http://localhost:3002 -- npx -y firecrawl-mcp

Without Firecrawl, the server falls back to direct fetch + Readability (no JS rendering).

Comparison with Native WebFetch

Feature Native WebFetch Fast WebFetch
Reddit/Twitter Blocked (403) Works
User agent Claude-User (blocked) Real browser UA
JS rendering No Yes (with Firecrawl)
Comments No Yes (with Firecrawl)
Content Haiku-summarized Full markdown
AI summary Haiku 3.5 Configurable model
Max length 100KB Configurable
Raw HTML No Yes
JSON fetch No Yes
Parallel fetch No Yes
Fallback None Direct fetch

Requirements

  • Bun runtime
  • Claude Code 2.0+
  • (Optional) Firecrawl for JS rendering
  • (Optional) OpenAI-compatible API for summarization

License

MIT

Contributing

PRs welcome! Please open an issue first to discuss changes.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured