lean-ctx
Reduce AI coding costs by 99% — MCP Server + Shell Hook for Cursor, Claude Code, Copilot, Windsurf, Gemini CLI & 24 tools. Single Rust binary, zero telemetry.
lean-ctx is an open-source MCP server designed to drastically reduce LLM token costs for AI coding tools like Claude Code, Cursor, and Copilot. It achieves this by transparently compressing CLI output and file context, offering up to 99% savings and making AI coding faster, cheaper, and more effective without changing workflows.
Features
Compatibility
Quick start
Use cases
Alternatives
Related searches
Comments
- CCorey ThompsonMay 1, 2026
MCP Server plus Shell Hook combination covers both interactive and automated workflows.
- JJordan LewisMay 1, 2026
99% AI coding cost reduction via context compression is a bold claim worth testing.
- PPhoenix HarrisApr 5, 2026
Context management at this level can make AI coding economically viable for large codebases.
- LLogan NguyenMar 19, 2026
Works with Cursor, Claude Code, and other MCP-compatible tools.