Skip to main content
ClaudeWave

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.

MCP Servers2.7k estrellas267 forksRustApache-2.0Actualizado today
Nota editorial

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.

ClaudeWave Trust Score
100/100
Verified
Passed
  • Open-source license (Apache-2.0)
  • Actively maintained (<30d)
  • Healthy fork ratio
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 6/11/2026
Install in Claude Code / Claude Desktop
Method: Manual · lean-ctx
Claude Code CLI
git clone https://github.com/yvgude/lean-ctx
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "lean-ctx": {
      "command": "lean-ctx"
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Install the binary first: cargo install lean-ctx (or build from https://github.com/yvgude/lean-ctx).
Casos de uso

Resumen de MCP Servers

README no disponible. Visita el repo en GitHub para la documentación completa.
agentic-codingaiai-agentsai-codingclaude-codecontext-engineeringcontext-intelligencecontext-layercopilotcursordeveloper-toolsgemini-clilean-contextllmmcpmcp-serverreduce-token-costsrusttoken-optimization

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 2.7k 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 1 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.

Featured on ClaudeWave: yvgude/lean-ctx
[![Featured on ClaudeWave](https://claudewave.com/api/badge/yvgude-lean-ctx)](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