# Fetch URL MCP Server [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/j0hanz/fetch-url-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 739  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/fetch-url-mcp-server

## Description
Intelligent web content fetcher MCP server that converts HTML to clean, AI-readable Markdown

## Tools
Capabilities this server exposes over MCP:

- **fetch-url** — Takes a URL and returns Markdown. Read-only, with no JavaScript execution. Supports running as a background MCP task for large or slow pages. In task mode, `tasks/get` and `tasks/list` expose task summaries including `status`, `statusMessage`, `createdAt`, `lastUpdatedAt`, `ttl`, and `pollInterval`…

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "fetch-url-mcp-server": {
    "command": "npx",
    "args": ["-y","@j0hanz/fetch-url-mcp"]
  }
}
```

## Documentation

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

_Full upstream README: https://allmcps.com/mcp/fetch-url-mcp-server/readme_

