lean-ctx

lean-ctx

LeanCTX is a context intelligence layer for AI agents that reduces token usage and improves efficiency.

MCPDevOpen source
Type
MCP
Transport
stdio
Open source
Yes
GitHub Stars
★ 2.9k
Source
mcp-github

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

Code review and optimizationAutomated testing and deploymentData processing and analysisMulti-agent collaboration

Setup

Requires: Rust 环境
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