LabscoMCP early access ↗
takada-atMCP SERVER

Read URL MCP

Fetch a web page and hand the model clean Markdown instead of raw HTML.

by takada-at ↗Page Fetching & Content ExtractionCommunity

LABSCO SUMMARY

One tool, and the content budget already thought about.

Passing raw HTML to a model wastes most of the context on markup; readability extraction plus Markdown conversion is the cheap fix, and this does exactly that and stops. The timeout and size cap are set in the server file, which is worth knowing if you plan to point it at long pages — a 1MB ceiling is generous for an article and tight for a document dump.

What it is

A Python MCP server that fetches an HTTP or HTTPS URL, extracts the main content with a readability algorithm, and converts it to Markdown.

What you get

  • readURLMarkdown(url) — one call from URL to clean Markdown
  • Main-content extraction, so navigation, sidebars and boilerplate do not reach the model
  • Guarded fetches: a 30-second timeout and a 1MB cap on content length
  • A declared user agent, so the sites you read can see what is asking

Requirements

Uv. Clone the repository — uv run installs the dependencies on first launch — then have the client run uv run --directory <directory> python read_url_mcp/mcp_server.py with PYTHONPATH set to the same directory.

Setup effort

Build from source — git clone https://github.com/takada-at/read_url_mcp