Use case · Scrapers & crawlers

Scrape raw.Feed lean.

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.

What it costs you today.

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.

Duplicates multiply silently

The same article appears on five URLs. Without content-aware deduplication you store and process it five times.

Raw dumps are unsearchable

A folder of scraped HTML is not a knowledge base. Your agent needs ranked retrieval, not 10,000 files.

The capabilities that do the work.

Everything below ships in the open-source binary today. No roadmap items, no waitlists.

Your toolsLeanCTXModel

Universal intake

ctx_url_read handles HTML, PDF, RSS feeds and YouTube transcripts

Facts & quotes modes

pages collapse into attributable facts and verbatim quotes

Deduplication

content-hash dedup across pages, sessions and crawls

BM25 + graph search

everything ingested becomes locally searchable and rankable

Local archive

originals stay retrievable; compression is never a dead end

From zero to first gain.

terminal
# ingest a page as attributable facts$ ctx_url_read("https://example.com/article", mode="facts")
# ingest a feed; items arrive dated and deduplicated$ ctx_url_read("https://news.site/feed.xml")
# search everything you ingested$ lean-ctx grep "quarterly revenue"
# retrieve a full original when needed$ ctx_retrieve(id)

Questions teams ask before adopting.

Take back control of your context.

Free for local use, forever. CI enforces it. One binary, ten minutes to the first measured gain.

Support this project