AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Dev Tooling/
LeanKG
LeanKG logo

LeanKG

Active·★ 221·MIT·Updated 2026-10-22

LeanKG is a local-first knowledge graph that provides accurate codebase context to AI coding tools. It indexes code, builds dependency graphs, and exposes an MCP server for direct querying. No cloud services or external databases are required.

LeanKG sits in the Dev Tooling category, so it is usually better judged by workflow fit, deployment style, and team needs than by isolated features alone. Based on the available metadata, it leans most clearly toward Auto-init and setup for multiple AI tools. A representative use case is AI-assisted code impact analysis before changes. The listed license is MIT. GitHub stars are currently 221. Relevant tags include antigravity, claude-code.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool.

#antigravity#claude-code#concise-context#cursor#gemini#graph-database#kilo-code#kn
$ Install
$ cargo install leankg
↗ Visit site★ GitHub
01

Features

01Auto-init and setup for multiple AI tools
02Token-efficient queries (13-42 tokens vs 10,000+)
03Blast radius (impact analysis) and dependency graph
04MCP server integration with session hooks
05Multi-language support (Go, TypeScript, Python, Rust, Java, Kotlin, Android)
02

Why choose it

+Auto-init and setup for multiple AI tools
+Token-efficient queries (13-42 tokens vs 10,000+)
+AI-assisted code impact analysis before changes
+Supports 7 platforms or runtime environments.
03

Trade-offs

!The final decision should still be made through side-by-side comparison with similar tools.
04

Compatibility

Cursor
Cursor
Verified via docs
Claude Code
Claude Code
Verified via docs
OpenCode
OpenCode
Verified via docs
Kilo Code
Kilo Code
Verified via docs
Gemini CLI
Gemini CLI
Verified via docs
Google Antigravity
Google Antigravity
Verified via docs
05

Quick start

1
$ cargo install leankg
06

Use cases

↳AI-assisted code impact analysis before changes
↳Providing context to AI coding tools during development
↳Visualizing code dependencies and module relationships
07

Alternatives

⚡Top VS:
VSagentmako★54→VSvurb.ts★255→VSgograph★230→VSmarkplane★191→
agentmako logo
agentmako★ 54
Local-first MCP server that gives coding agents structured context packets, code/schema facts, and diagnostics - backed by a local SQLite store.
VSCompare→
vurb.ts logo
vurb.ts★ 255
Vurb.ts - The MVA framework for production MCP servers. Structured perception for AI agents. Zero hallucination. Zero data leaks.
VSCompare→
gograph logo
gograph★ 230
A fast, local-only CLI tool to generate repository structures and improve IDE context awareness for Go codebases.
VSCompare→
markplane logo
markplane★ 191
AI-native, markdown-first project management. Your repo is the project manager.
VSCompare→
pad logo
pad★ 195
Project Management for the agent era
VSCompare→
nvim-mcp logo
nvim-mcp★ 66
MCP server that connects AI agents to your running Neovim instance via msgpack-RPC — no plugins required.
VSCompare→
bgpt-mcp logo
bgpt-mcp★ 43
Search Paper Data from Any AI Tool
VSCompare→
agent-droid-bridge logo
agent-droid-bridge★ 22
Agent Droid Bridge gives AI agents programmatic control over Android devices and emulators via ADB, exposed as an MCP server.
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Compatibility05Quick start06Use cases07Alternatives
FreePeak /
LeanKG
↗

LeanKG: Stop Burning Tokens. Start Coding Lean.

221MIT
Last commit1d ago
StatusActive
CategoryDev Tooling
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.