Control what your AI can see. LeanCTX (Lean Context) is the context intelligence layer for AI agents — one local Rust binary that decides what they read, remembers what they learn, guards what they touch, and proves what they save. 60–90% fewer tokens as the receipt. 76 MCP tools, 30+ agents, local-first.
LeanCTX is a Rust-based MCP server that sits between AI coding agents and a codebase to compress, cache, and govern the tokens flowing into the model's context window. It exposes over 30 tools covering file reads in a "map mode" that strips noise to roughly 13 tokens per cached re-read (compared to around 2,000 for a raw read), shell output compression that shrinks a typical `git status` from about 800 tokens to 120, cross-session memory that persists context between chats, and a real-time `lean-ctx gain` dashboard showing token and dollar savings live. The binary installs via a single `lean-ctx setup` command and connects to Claude Code as well as Cursor, Copilot, Windsurf, and Gemini CLI with no additional configuration. Developers paying Claude API costs directly, or teams running long agentic coding sessions where repeated file reads and verbose shell output erode the usable context window, are the primary audience. The project claims 60 to 90 percent fewer tokens consumed overall, backed by reproducible benchmark reports generated from VHS tapes included in the repository.
- ✓Open-source license (Apache-2.0)
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
git clone https://github.com/yvgude/lean-ctx{
"mcpServers": {
"lean-ctx": {
"command": "lean-ctx"
}
}
}Resumen de MCP Servers
Lo que la gente pregunta sobre lean-ctx
¿Qué es yvgude/lean-ctx?
+
yvgude/lean-ctx es mcp servers para el ecosistema de Claude AI. Control what your AI can see. LeanCTX (Lean Context) is the context intelligence layer for AI agents — one local Rust binary that decides what they read, remembers what they learn, guards what they touch, and proves what they save. 60–90% fewer tokens as the receipt. 76 MCP tools, 30+ agents, local-first. Tiene 3.4k estrellas en GitHub y se actualizó por última vez today.
¿Cómo se instala lean-ctx?
+
Puedes instalar lean-ctx clonando el repositorio (https://github.com/yvgude/lean-ctx) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar yvgude/lean-ctx?
+
Nuestro agente de seguridad ha analizado yvgude/lean-ctx y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene yvgude/lean-ctx?
+
yvgude/lean-ctx es mantenido por yvgude. La última actividad registrada en GitHub es de today, con 60 issues abiertos.
¿Hay alternativas a lean-ctx?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega lean-ctx en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/yvgude-lean-ctx)<a href="https://claudewave.com/repo/yvgude-lean-ctx"><img src="https://claudewave.com/api/badge/yvgude-lean-ctx" alt="Featured on ClaudeWave: yvgude/lean-ctx" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!