Fetch URL MCP Server

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

Local serverstdio

What is the Fetch URL MCP Server?

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

What the server does

An MCP server that fetches web pages and converts them to clean, readable Markdown.

This server takes a URL, fetches the page, and strips away everything you don't need — navigation, sidebars, banners, scripts — leaving just the main content as Markdown. It's perfect for feeding into LLMs, giving them the distilled essence of a page without the noise. It also recognizes GitHub, GitLab, Bitbucket, and Gist URLs and rewrites them to fetch the raw content directly.

  • HTML to Markdown — — Turns any public web page into clean, readable Markdown with metadata like title, url, contentSize, and truncated
  • Smart URL handling — — Recognizes GitHub, GitLab, Bitbucket, and Gist page URLs and rewrites them to raw-content endpoints before fetching
  • Self-documenting — — Includes an internal://instructions resource and a get-help prompt so clients know how to use it
  • HTTP mode — — Optionally serves over Streamable HTTP with host/origin validation, bearer or OAuth auth, rate limiting, health checks, and TLS

Credentials and setup notes

  • Node.js >= 24 - Docker (optional) — only needed if you want to run the container image

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Fetch URL MCP Server

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

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Node.js >= 24 - Docker (optional) — only needed if you want to run the container image
VariableDescriptionRequired
OAUTH_ISSUER_URLEndpoint or connection string the server talks to.Yes
OAUTH_AUTHORIZATION_URLEndpoint or connection string the server talks to.Yes
OAUTH_TOKEN_URLCredential the server authenticates with.Yes
OAUTH_REVOCATION_URLEndpoint or connection string the server talks to.Yes
OAUTH_REGISTRATION_URLEndpoint or connection string the server talks to.Yes
OAUTH_INTROSPECTION_URLEndpoint or connection string the server talks to.Yes
OAUTH_CLIENT_IDConfiguration value read at startup.Optional
OAUTH_CLIENT_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • “Use Fetch URL to Tools.”
  • “Use Fetch URL to Resources.”
  • “Use Fetch URL to Prompts.”

Frequently asked questions

Intelligent web content fetcher MCP server that converts HTML to clean, AI-readable Markdown Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.