Fetch URL MCP Server logo

Fetch URL MCP Server

Fetches public web pages and converts their HTML into clean Markdown for AI workflows.

Install Fetch URL MCP Server

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": {
    "fetch-url-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@j0hanz/fetch-url-mcp"
      ]
    }
  }
}

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

Claude Code command
claude mcp add --transport stdio fetch-url-mcp-server -- npx -y @j0hanz/fetch-url-mcp

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

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @j0hanz/fetch-url-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Fetch URL MCP Server MCP server retrieves public web pages and converts their HTML into readable Markdown. Its `fetch-url` tool is read-only, does not execute JavaScript, and recognizes repository URLs from GitHub, GitLab, Bitbucket, and Gist for raw-content fetching. Use it when an agent needs page content without navigation, scripts, banners, or other surrounding markup. Large or slow requests can run as background MCP tasks with status polling.

Use cases

  • Fetch documentation pages as Markdown
  • Read public repository files
  • Extract article content for an agent
  • Process large pages asynchronously

Key features

  • HTML-to-Markdown conversion
  • Read-only URL fetching
  • Raw URL handling for major code hosts
  • Background MCP tasks
  • Optional Streamable HTTP mode
  • Built-in usage instructions

Tools1

What Fetch URL MCP Server lets your agent do. Expand a tool for its parameters.

Self-reported~77 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.

16/16 checks healthy over the last 84d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · @j0hanz/fetch-url-mcp (npm)

Adoption & maintenance

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

npm downloads739Package downloads in the last 30 days.
Last commit7mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed1Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Fetch URL MCP Server works

What Fetch URL MCP Server MCP server does

Fetch URL MCP Server MCP server exposes a read-only way for an MCP client to retrieve public web pages as Markdown. It removes common page elements such as navigation, sidebars, banners, and scripts, leaving the main content for an agent to process. The response includes metadata such as the page title, source URL, content size, and whether the output was truncated.

The server also handles common code-hosting page formats. URLs from GitHub, GitLab, Bitbucket, and Gist are recognized and rewritten to raw-content endpoints before retrieval. This makes the server suitable for reading documentation, articles, repository files, and other publicly accessible content without adding a separate repository-specific tool.

How it works

The primary fetch-url tool accepts a URL and returns converted Markdown. It is read-only and does not run JavaScript, so pages whose meaningful content is rendered only in a browser may not produce the same content as a fully rendered page.

For large or slow pages, the request can run as an asynchronous MCP task rather than holding the call open. Task state can be inspected through tasks/get and tasks/list. These operations expose summaries including status, status message, creation and update times, time-to-live, and polling interval. Numeric progress is delivered separately through MCP progress notifications. In HTTP mode, tasks are associated with the authenticated caller and can be resumed after reconnecting as the same subject.

Setup and configuration

Fetch URL MCP Server MCP server requires Node.js 24 or newer. Docker is optional and is only needed for container-based operation. The default transport is stdio; a typical client configuration runs npx -y @j0hanz/fetch-url-mcp@latest.

Passing --http switches the server to Streamable HTTP. The HTTP mode supports host and origin validation, bearer or OAuth authentication, rate limiting, health checks, TLS, and session support. These options are relevant when exposing the server as a network endpoint rather than running it locally for one client.

It also provides install links for several of those clients. An internal://instructions resource and a get-help prompt provide usage guidance to connected clients.

Tools and capabilities

  • Fetch a public URL and convert its HTML to Markdown with fetch-url.
  • Rewrite supported GitHub, GitLab, Bitbucket, and Gist page URLs to raw content.
  • Run slow or large fetches as background MCP tasks.
  • Inspect task summaries with tasks/get and tasks/list.
  • Read built-in instructions and request help through the included MCP resource and prompt.

Limitations and notes

Fetch URL MCP Server MCP server does not execute JavaScript, so it is not a browser automation or fully rendered-page solution. Its documented fetching behavior is for public web content. HTTP deployments require attention to authentication, TLS, host and origin validation, and rate limiting when the endpoint is made available over a network.

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 Fetch URL MCP Server

Fetch URL MCP Server is an MCP server that connects AI clients to public web pages and returns their content as clean Markdown. Its main tools are `fetch-url` for read-only retrieval, plus `tasks/get` and `tasks/list` for checking asynchronous fetches that are still running or were submitted in background task mode.

Install it by adding a stdio MCP entry that runs `npx -y @j0hanz/fetch-url-mcp@latest`. The README provides configuration examples for clients including Claude Desktop, Cursor, Windsurf, VS Code, Claude Code, and LM Studio.

Yes, Fetch URL MCP Server works with Cursor through a standard stdio configuration. Add the server to `~/.cursor/mcp.json` with `npx` as the command and `-y @j0hanz/fetch-url-mcp@latest` as its arguments.

No, it does not execute JavaScript. It fetches the page and converts available HTML into Markdown, so content that appears only after client-side rendering may not be returned.

Run the fetch as a background MCP task when the page is large or slow. Use `tasks/get` or `tasks/list` to inspect task summaries, while numeric progress is delivered through MCP progress notifications.

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 PreviewFetch URL MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/fetch-url-mcp-server?style=directory)](https://allmcps.com/mcp/fetch-url-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/fetch-url-mcp-server"><img src="https://allmcps.com/api/badge/fetch-url-mcp-server?style=directory" alt="Fetch URL MCP Server on AllMCPs" /></a>