MCP Directory
Back

lean-ctx

by yvgude · Rust · ★ 2,983

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.

#agentic-coding#ai#ai-agents#ai-coding#claude-code#context-engineering#context-intelligence#context-layer#copilot#cursor#developer-tools#gemini-cli#lean-context#llm#mcp#mcp-server#reduce-token-costs#rust#token-optimization

Install

cargo install --git https://github.com/yvgude/lean-ctx.git

Auto-generated from the repo's primary language — check the repo's own README for its exact install instructions.

Claude Desktop config

A starting point for your claude_desktop_config.json (auto-generated — the repo's README may specify a published package name or required env vars):

{
  "mcpServers": {
    "lean-ctx": {
      "command": "npx",
      "args": [
        "-y",
        "github:yvgude/lean-ctx"
      ]
    }
  }
}

From the README

██╗ ███████╗ █████╗ ███╗ ██╗ ██████╗████████╗██╗ ██╗ ██║ ██╔════╝██╔══██╗████╗ ██║ ██╔════╝╚══██╔══╝╚██╗██╔╝ ██║ █████╗ ███████║██╔██╗ ██║ ██║ ██║ ╚███╔╝ ██║ ██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██║ ██╔██╗ ███████╗███████╗██║ ██║██║ ╚████║ ╚██████╗ ██║ ██╔╝ ██╗ ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ **LeanCTX — Lean Context Engineering for AI agents** LeanCTX — short for **Lean Context** — is the context engineering layer for AI agents. It runs as a single local binary between your agents and everything they t…
Read full README on GitHub →

Related ai & ml servers