lean-ctx

yvgude/lean-ctx
★ 656 stars Rust 🤖 AI/LLM Updated today
Reduce AI coding costs by 99% — MCP Server + Shell Hook for Cursor, Claude Code, Copilot, Windsurf, Gemini CLI & 24 tools. Single Rust binary, zero telemetry.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "lean-ctx": {
      "command": "cargo",
      "args": [
        "run",
        "--",
        "lean-ctx"
      ]
    }
  }
}

Topics

agentic-codingaiai-codingclaude-codecontext-engineeringcopilotcursordeveloper-toolsgemini-clillmmcpmcp-serverreduce-token-costsrusttoken-optimization