lean-ctx
LeanCTX is a context intelligence layer for AI agents that reduces token usage and improves efficiency.
- Type
- MCP
- Transport
- stdio
- Open source
- Yes
- GitHub Stars
- ★ 2.9k
- Source
- mcp-github
- Repository
- github.com/yvgude/lean-ctx
Overview
LeanCTX (Lean Context) is a context intelligence layer designed for AI agents. It runs as a local Rust binary and determines what AI reads, compresses data sent to the AI, remembers learned content, protects accessed data, and verifies saved data. With LeanCTX, you can reduce token usage by 60-90%. It supports 76 MCP tools and over 30 agents, requiring no configuration to use. Ideal for developers and teams needing efficient handling of context data.
Capabilities
- ▪Determine what AI reads
- ▪Compress data sent to AI
- ▪Remember learned content
- ▪Protect accessed data
- ▪Verify saved data
Use cases
Setup
cargo install lean-ctx
This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.
FAQ
Which AI agents does LeanCTX support?
Supports over 30 agents including Cursor, Claude Code, Copilot, Windsurf, Codex, Gemini, and more.
How do I install LeanCTX?
Install using cargo: cargo install lean-ctx.
Related skills
gemini-cli
Gemini CLI is an open-source AI agent that brings Gemini's powerful capabilities directly into the terminal.
private-gpt
Provides a complete API layer for local models, supporting RAG, skills, tools, and more.
planning-with-files
File-based persistent planning skill, ideal for AI coding agents and long-running tasks.
scientific-agent-skills
Transform any AI agent into a scientific assistant with 147 ready-to-use research skills.
susi_alexa_skill
A skill that enables question-and-answer interactions between Alexa and Susi AI.
claude-context
Provides code search capabilities for Claude Code, turning the entire codebase into context.