Hybrid Context Optimizer — Shell Hook + MCP Server. Reduces LLM token consumption by 89-99%. Single Rust binary, zero dependencies.
lean-ctx is a command-line tool that compresses outputs from shell commands and file reads to drastically reduce token consumption when interacting with AI coding assistants.
How It Works
You hear about a handy helper that shrinks the info sent to your AI coding buddy, saving you lots of money on usage fees.
Pick an easy way to add it, like a quick download from your software store or build tool.
Run a simple setup to make your usual terminal commands automatically shorter and smarter.
Tell your favorite AI editor to use this helper for reading files and running commands.
As you work, everyday tasks like checking files or project status send tiny bits of info instead of huge dumps, cutting costs by up to 99%.
Peek at colorful charts showing tokens saved, money spared, and top shortcuts working for you.
Your AI assistant works faster with less waste, and you see real dollar savings piling up over time.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.