Open source repo
lean-ctx
LeanCTX is the Context Gateway for AI Systems. Select task‑relevant context, apply supported controls, connect local knowledge and inspect recorded evidence.
View on GitHubProject siteMore repos in the app
What it is
lean‑ctx is an open source MCP server or MCP tool, published on GitHub by yvgude and written mainly in Rust. Its maintainers file it under agentic‑coding, ai, ai‑agents, ai‑coding.
In its own words on GitHub: “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.”
Who it is for
People who use Claude, ChatGPT, Cursor or another assistant that speaks MCP and want it to reach a tool or data source it cannot reach on its own. You add the server to the assistant, and the assistant can call it while it works.
How to start
- Open the repo and read the README from the top, then the license file.
- It is written in Rust, so you can usually install it with cargo or download a release binary.
- Its project site, leanctx.com, has documentation and sometimes a hosted version you can try before you install anything.
- Then add it to your assistant’s MCP settings and restart the assistant so it picks the server up.
- Pin a release or a commit, so an update does not change how it behaves without you noticing.
Why it is on our list
- It has a permissive Apache‑2.0 license, so you can use it at work.
- It is actively maintained: the last change was today, as of December 2, 2026.
- It has its own site with documentation.
The facts
| License | Apache‑2.0 |
| What the license allows | You can use, change and ship it, including in paid products. Keep the notice and state your changes. It also grants a patent license. |
| Main language | Rust |
| Stars | 3,970 |
| Topics | agentic‑coding, ai, ai‑agents, ai‑coding, ai‑governance |
| Created | March 23, 2026 |
| Last checked | December 2, 2026 |
Before you use it
- Read the README and the license file in the repo.
- Look at recent issues to see how fast problems get fixed.
- Pin a version instead of always pulling the latest.
- Never paste API keys or customer data into a tool you have not checked.
- Run AI agents in a sandbox or a test project first.
Related repos
ECC
Skills, instincts, memory, security, and research‑first development for Claude Code, Codex, Opencode, Cursor and beyond.
Scrapling
The BEST Web Scraping framework that handles everything from a single request to a full‑scale crawl!
graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph.
Try it in your browser
Today's AI news, one card per swipe.
Free to start.