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. Install with `uv install`, then have the client run `uv run --directory <directory> read_url_mcp/mcp_server` with `PYTHONPATH` set to the same directory.
