Token-minimized URL-to-clean-text reader for LLMs, with a token-savings receipt.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Turn any URL into token-minimized clean text for LLMs, with a token-savings receipt on every call. MCP server + library.
LLMs don't need your nav bar, your cookie banner, your <script> tags, or 200 KB of inlined SVG β but raw page HTML makes them pay for all of it. Lean Reader strips a page down to the article and tells you exactly how many tokens (and dollars) you just saved.
Add to your client's MCP config (Claude Desktop/Code, Cursor, β¦):
Then the lean_read(url, format?) tool returns clean text plus the receipt.
Measured, not marketed β the open benchmark ships the corpus, the tokenizer, and every raw output, and flags the cases where Lean Reader loses:
minimize post-pass (link/image/footnote/whitespace strip), not smarter extraction β run both through minimize and they're roughly par. Lean actually runs Readability as one of its two extractors (see Honest limits), so it doesn't lose to it.The receipt uses the o200k_base tokenizer (GPT-4o/4.1 class); the model and tokenizer are always shown, and counts are vs the raw page HTML so you can check the math.
partial instead of emitting empty text. Jina/Firecrawl render JS and will beat us there.o200k_base; Claude/Gemini tokenize differently.The extraction + token-minimization core (lib/) and the MCP server (src/) are MIT. Hosted service, sharing UI, and metering are separate.
MIT Β© 2026
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/lean-reader)<a href="https://allmcps.com/mcp/lean-reader"><img src="https://allmcps.com/api/badge/lean-reader?style=directory" alt="Lean Reader on AllMCPs" /></a>