Web sludge eats your token budget
Navigation, cookie banners, footers, ads: most of a scraped page is boilerplate you pay to embed and pay again to prompt.
Use case · Scrapers & crawlers
LeanCTX turns scraped pages into model-ready context: ctx_url_read ingests HTML, PDF, RSS and YouTube transcripts, strips boilerplate, deduplicates across pages and extracts facts and quotes. Your crawler stays simple. The context layer makes its output 60–90% smaller before any model sees it.
Same engine. Different workflow. Always the right context.
Navigation, cookie banners, footers, ads: most of a scraped page is boilerplate you pay to embed and pay again to prompt.
The same article appears on five URLs. Without content-aware deduplication you store and process it five times.
A folder of scraped HTML is not a knowledge base. Your agent needs ranked retrieval, not 10,000 files.
Everything below ships in the open-source binary today. No roadmap items, no waitlists.
ctx_url_read handles HTML, PDF, RSS feeds and YouTube transcripts
pages collapse into attributable facts and verbatim quotes
content-hash dedup across pages, sessions and crawls
everything ingested becomes locally searchable and rankable
originals stay retrievable; compression is never a dead end
$ ctx_url_read("https://example.com/article", mode="facts")$ ctx_url_read("https://news.site/feed.xml")$ lean-ctx grep "quarterly revenue"$ ctx_retrieve(id)Every intake format and how it is normalized.
Learn moreFrom URL to cited answer, end to end.
Learn moreHow ingested content persists and ranks.
Learn morefacts, quotes, entropy and friends.
Learn moreNo. It sits after your scraper. Keep Playwright, Scrapy or curl; pipe the output through LeanCTX and your models receive deduplicated, compressed, searchable context instead of raw HTML.
HTML pages, PDFs, CSV, RSS/Atom feeds, plain text, email and YouTube transcripts. Each format has its own normalization strategy before compression.
Always. Every original is archived locally and retrievable via ctx_retrieve. Compression in LeanCTX is reversible by design.
Free for local use, forever. CI enforces it. One binary, ten minutes to the first measured gain.
Cookie preferences
We use analytics to understand how our site is used. You choose what's allowed — no tracking runs until you decide.
Essential
Site functionality, security, preferences
Analytics
Pageviews & usage patterns · PostHog EU (Frankfurt) · No cross-site tracking
Read our Privacy Policy for full details. You can change your preferences anytime.