Fetchmcp logo

Fetchmcp

Fetches web pages and documentation as clean Markdown, with JavaScript rendering, paging, SSRF protection, and typed failure statuses.

Install Fetchmcp

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "fetchmcp": {
      "command": "npx",
      "args": [
        "-y",
        "@labtoolsstudio/fetchmcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio fetchmcp -- npx -y @labtoolsstudio/fetchmcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 2 tools correctly ().

Overview

The fetchmcp MCP server retrieves web pages and documentation as clean Markdown through the `read_url` and `read_docs` tools. It starts with static fetching and Readability, then can use a lazily downloaded stealth Chromium browser for JavaScript-heavy pages, bot challenges, or failed responses. Optional FlareSolverr support handles tougher challenges when configured. Reach for it when standard fetching returns empty SPA shells, cluttered documentation, truncated content, or misleading error pages.

Use cases

  • Fetch JavaScript-heavy web pages as Markdown
  • Read API documentation without navigation clutter
  • Page through long web documents
  • Pass authentication headers to protected pages
  • Detect blocked or unsafe URLs with typed statuses

Key features

  • Static HTML-to-Markdown extraction
  • Lazy stealth Chromium rendering
  • Documentation-focused content cleanup
  • Paging and response length controls
  • Optional FlareSolverr support
  • Default SSRF protection

Tools2

What Fetchmcp lets your agent do. Expand a tool for its parameters.

Verified live~691 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/18 checks healthy over the last 84d

What it can do

From the 2 tools this server returned when we ran it.

Runs commands · 1Makes network requests · 2Read-only tools · 1
Network at startup3 connections
Files written at startupNone
Install scriptsprepare, postinstall
npm provenanceNot published
Package age86 days
Maintainers1

Observed 2026-11-05 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · @labtoolsstudio/fetchmcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads282Package downloads in the last 30 days.
Last commit3mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed2Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Fetchmcp works

What fetchmcp MCP server does

The fetchmcp MCP server exposes web retrieval over MCP for agents that need readable page content rather than raw browser output. It connects to HTTP and HTTPS URLs and converts pages into Markdown. The read_url tool is intended for general web pages, while read_docs applies additional cleanup for documentation by removing navigation sidebars, headers, and footers.

Responses can be limited with max_length or read in segments with start_index. read_url can also return raw HTML when requested. Both tools accept extra request headers, which supports cases such as authenticated pages requiring an authorization header or cookie.

How it works

The fetchmcp MCP server uses an escalating retrieval path. It first performs a normal request, extracts the useful article or page content with Readability, and converts that result to Markdown. This path does not require a browser download and handles static pages directly.

If the response looks like an empty single-page application shell, encounters selected bot protection, or returns status codes such as 403, 429, or 503, the server can switch to a stealth Chromium browser through Patchright. Browser installation is lazy: Chromium is downloaded the first time a page needs JavaScript unless configuration changes that behavior.

An optional FlareSolverr endpoint provides another step for challenges the browser cannot clear. The fetchmcp MCP server reports typed outcomes instead of presenting a CAPTCHA, error page, or incomplete shell as valid content. Possible statuses include blocked, blocked_ssrf, needs_js, http_error, timeout, network_error, unsupported_content, and empty.

Setup and configuration

Install it through an MCP client using npx:

config.json
{
  "mcpServers": {
    "fetchmcp": {
      "command": "npx",
      "args": ["-y", "@labtoolsstudio/fetchmcp"]
    }
  }
}

No browser is downloaded during the normal initial installation. Set FETCHMCP_PREINSTALL_BROWSER=1 to download Chromium during installation, or set FETCHMCP_SKIP_BROWSER_DOWNLOAD=1 to remain static-only. In static-only mode, JavaScript pages return needs_js.

FETCHMCP_TIMEOUT_MS controls the per-request timeout and defaults to 30,000 milliseconds. FETCHMCP_MAX_RETRIES controls retries for network failures and selected rate or service errors, defaulting to two. Set FETCHMCP_ALLOW_PRIVATE_IP=1 only when trusted private or localhost resources are needed. FETCHMCP_FLARESOLVERR_URL points to a self-hosted FlareSolverr service.

Tools and capabilities

  • read_url: fetches a page as Markdown, with options for rendering, raw HTML, headers, length limits, and paging.
  • read_docs: fetches documentation with navigation, header, and footer cleanup.
  • JavaScript rendering can be forced with render: true, disabled with render: false, or selected automatically when needed.
  • Private and metadata IP addresses are refused by default for SSRF protection.
  • Network retries use backoff and honor Retry-After when available.

The fetchmcp MCP server is suited to agents that need full-page retrieval beyond a fixed 5,000-character response limit, provided the target site permits access.

Limitations and notes

Pages protected by stronger bot defenses may remain inaccessible. FlareSolverr can be configured for some additional challenges, but the material does not promise access to every protected site. Disabling browser downloads prevents JavaScript rendering. Private-network access is intentionally blocked by default and should only be enabled for trusted environments.

The repository documents an MIT license. Development commands include TypeScript compilation, unit tests for block detection and SSRF behavior, and live end-to-end tests against real sites.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Fetchmcp

fetchmcp is an MCP server that connects AI agents to web pages and documentation URLs. Its main tools are `read_url`, which returns general pages as clean Markdown, and `read_docs`, which removes common documentation navigation, headers, and footers. It can render JavaScript pages and return typed failure statuses.

Install it by adding an MCP configuration that runs `npx -y @labtoolsstudio/fetchmcp`. The package can be used from Claude Desktop, Cursor, Cline, or VS Code. Chromium is downloaded only when a page first requires JavaScript rendering unless browser download settings are changed.

Yes, fetchmcp works with Cursor through its standard MCP configuration. Add a server entry with `command` set to `npx` and arguments `-y` and `@labtoolsstudio/fetchmcp`; the repository also provides a Cursor installation link.

It automatically switches from static fetching to stealth Chromium when a page appears to be an empty SPA shell or needs browser rendering. You can force rendering with `render: true`, disable it with `render: false`, or prevent Chromium downloads with `FETCHMCP_SKIP_BROWSER_DOWNLOAD=1`.

Use `max_length` to cap the returned characters and `start_index` to request a later portion of the page. The default maximum is unlimited, so agents can page through long results instead of receiving a fixed 5,000-character truncation.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFetchmcp AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/fetchmcp?style=directory)](https://allmcps.com/mcp/fetchmcp)
HTML Embed
<a href="https://allmcps.com/mcp/fetchmcp"><img src="https://allmcps.com/api/badge/fetchmcp?style=directory" alt="Fetchmcp on AllMCPs" /></a>