AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
Home/
Dev Tooling/
LeanKG
LeanKG logo

LeanKG

Active·★ 193·MIT·Updated 2026-05-25
★ Trending★ Data Processing★ Dev Tooling

LeanKG: Stop Burning Tokens. Start Coding Lean.

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.

#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

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
03

Quick start

1
$ cargo install leankg
04

Use cases

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

Alternatives

fastmcp logo
fastmcp★ 25.4k
🚀 The fast, Pythonic way to build MCP servers and clients.
vs →
MCP-Chinese-Getting-Started-Guide logo
MCP-Chinese-Getting-Started-Guide★ 3.5k
Model Context Protocol(MCP) 编程极速入门
vs →
context-mode logo
context-mode★ 16.0k
Context window optimization for AI coding agents. Sandboxes tool output, 98% reduction. 12 platforms
vs →
Auto-claude-code-research-in-sleep logo
Auto-claude-code-research-in-sleep★ 11.0k
ARIS ⚔️ (Auto-Research-In-Sleep) — Claude Code skills for autonomous ML research: cross-model review loops, idea discovery, and experiment automation via Codex MCP
vs →
agents-best-practices logo
agents-best-practices★ 1.1k
Provider-neutral Agent Skill for Codex, Claude Code, and agentic harness design.
vs →
open-agreements logo
open-agreements★ 34
Fill standard legal agreement templates and produce signable DOCX files.
vs →
onetool-mcp logo
onetool-mcp★ 19
🧿 One MCP for developers - no tool tax, no context rot. 100+ tools including Brave, Google, Context7, Excalidraw, AWS, Version Checker, Excel, File Ops, Database, Playwright, Chrome DevTools and many more.
vs →
design-extract logo
design-extract★ 3.0k
Extract any website's complete design system with one command. DTCG tokens, semantic+primitive+composite, MCP server for Claude Code/Cursor/Windsurf, multi-platform emitters (iOS SwiftUI, Android Compose, Flutter, WordPress), Tailwind v4, Figma variables, shadcn/ui, CSS health audit, WCAG remediation, Chrome extension. MIT, Playwright, Node 20+.
vs →
See all alternatives →

Related searches

LeanKG AlternativesBest Dev Tooling Tools 2026Open Source Dev ToolingLeanKG TutorialLeanKG Vs Competitorsantigravityclaude-codeconcise-context

Comments

Log in to leave a comment
  • A
    Aspen JohnsonMay 26, 2026

    Good for teams managing large codebases where token costs are significant.

  • M
    Morgan MartinezMay 21, 2026

    Works well for well-structured codebases where the knowledge graph is accurate.

  • Taylor Kim
    Taylor KimApr 24, 2026

    Knowledge graph approach to reducing token usage in AI coding workflows.

  • O
    Oakley KimApr 4, 2026

    Lean KG trades some recall completeness for substantial token savings.

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 193
Last commit5d ago
StatusActive
LicenseMIT
CategoryDev Tooling
Trend (30d)
+7.7↑ 0.8%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.