lean-ctx

yvgude/lean-ctx

Context gateway and MCP server for AI coding tools and LLMs

PersonalAI & LLM toolingMCP serversDeveloper toolsWebCLIPermissive

At a glance

stars on GitHub
3.9k
contributors
60+
last commit
latest release, 20 hours ago
v3.12.0
license
Apache-2.0

About

LeanCTX is an open-source context gateway that controls, selects, and compresses information supplied to AI agents and coding tools. It reduces token usage through AST-based file views, compressed shell outputs, and local session memory while enforcing file access boundaries. It runs locally as a CLI, MCP server, shell hook, or request proxy.

From the repository: “LeanCTX is the Context Gateway for AI Systems. Select task-relevant context, apply supported controls, connect local knowledge and inspect recorded evidence. Open-source Engine: CLI, MCP, hooks and supported proxy paths.”

Latest release: v3.12.0, . Its files were downloaded 3,011 times.

All files (30)

macOS

To check the files: SBOM.cdx.json, SHA256SUMS.sig, release-manifest.json.sig, SHA256SUMS, SHA256SUMS.pem

These files come from the project's GitHub release. DigGitHub does not check them.

lean-ctx and its alternatives: GitHub stars, last commit, license and worth score
ProjectStarsLast commitLicenseWorth
lean-ctxThis project
3.9kApache-2.073
OmniRouteUnified AI gateway and proxy with auto-fallback and compression
83k (best)MIT90
Claude ContextCode search MCP for coding agents
13kMIT51
Codebase Memory MCPCode intelligence MCP server with a knowledge graph
48kMIT92 (best)
bernsteinDeterministic AI agent governance and orchestration framework
1.3kApache-2.075

▲ marks the most stars and the best worth score.

leanctx.com
Preview of lean-ctx
Preview of lean-ctx at leanctx.com

Topics