
OPEN_SOURCE ↗
YT · YOUTUBE// 4h agoOPENSOURCE RELEASE
LeanKG maps repos for coding agents
LeanKG is a local-first, Rust-based knowledge graph for codebases that indexes imports, call relationships, and dependencies with Tree-sitter, then exposes that structure through an MCP server for AI coding tools. It targets Cursor, Claude Code, OpenCode, Gemini CLI, Codex, and similar clients that otherwise burn context by repeatedly scanning files.
// ANALYSIS
LeanKG is aimed at a real pain point in agentic coding, but its strongest pitch is not just token savings; it is turning codebase navigation into structured graph queries.
- –Local indexing and MCP integration make it more practical for private repos than cloud-only code intelligence tools.
- –Tree-sitter-based parsing gives it a better foundation than naive text search for impact analysis, signatures, and dependency traversal.
- –The benchmark story needs nuance: the repo advertises up to 98% savings for impact analysis, while its own broader AB notes show mixed results and pending deduplication work.
- –The category is getting crowded fast, so LeanKG’s install hooks across Cursor, Claude Code, OpenCode, Gemini, and Codex may matter as much as the graph engine itself.
// TAGS
leankgmcpai-codingdevtoolopen-sourceself-hosted
DISCOVERED
4h ago
2026-04-23
PUBLISHED
4h ago
2026-04-23
RELEVANCE
9/ 10
AUTHOR
Github Awesome