lean-ctx is a gateway that sits between AI coding assistants and the context they receive. It selects the parts of a project that are relevant to the current task, connects local knowledge sources, and records evidence of what was sent so it can be inspected later. It is aimed at developers who use AI agents and want more control over what those systems see.
The engine is released under the Apache-2.0 license, and its source code is public on GitHub. It works as a command-line tool, an MCP server, a set of hooks and a few supported proxy paths. Because the code is open source, there is no price to pay for the engine itself.
Alternatives to lean-ctx
Products that do a similar job in MCP: Other.
Decision Anchor MCP
External record of AI agent accountability boundaries
omniget
Local MCP server and downloader for video, music and torrents
HexStrike AI
MCP server letting AI agents run 150+ security testing tools
Countersignatory MCP
MCP server for buying approvals and verifications from human reviewers
api-anything
Generates agent-callable API wrappers for websites that lack a public API
pinky
MCP server that lets AI agents control a phone with a person in the loop
Everloot
MCP server with World of Warcraft: Forever lore, drops, vendors and quests
Imagio Relay MCP
Remote server giving AI agents research, trust, safety and pricing services