LeanKG
★ 221
vs
gograph
★ 230
LeanKG vs gograph
LeanKG: 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.; gograph: gograph builds a compact graph of packages, symbols, calls, routes, config reads, tests, and code-quality signals, enabling AI agents to navigate Go repositories with fewer raw file reads. It is optimized for terminal-based LLMs to save context tokens.
01
TL;DR
LeanKGDev Tooling · ★ 221
AI-assisted code impact analysis before changes
gographDev Tooling · ★ 230
AI coding assistant quickly navigates and understands Go codebase
02
Side-by-Side Comparison
Field
Category
Dev Tooling
Dev Tooling
Stars
★ 221
★ 230
License
MIT
MIT
Install Command
cargo install leankg
go install github.com/ozgurcd/gograph/cmd/gograph@latest
Updated
1d ago
1w ago
Open Source
Yes
Yes
Tags
antigravity, claude-code, concise-context
agentic-coding, ai-agent, ai-coding-assistant
03
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)
01Local only: no network calls, no external API
02Go focused: maps Go project structures using standard AST
03Token-saving context bundle: combines node, source, callers, callees, and tests in one response
04Hotspot ranking: ranks functions by incoming call count
05Code quality analysis: cyclomatic complexity, god-object detection, package coupling
04
Use Cases
↳AI-assisted code impact analysis before changes
↳Providing context to AI coding tools during development
↳Visualizing code dependencies and module relationships
↳AI coding assistant quickly navigates and understands Go codebase
↳Analyze impact of code changes and find shortest call chains
↳Enforce architecture boundaries and detect dead code
FAQ
FAQ
What is the difference between LeanKG and gograph?
Both LeanKG and gograph are in the Dev Tooling category. LeanKG has 221 stars, while gograph has 230 stars.
Which is better, LeanKG or gograph?
The best choice depends on your use case. Choose LeanKG if AI-assisted code impact analysis before changes, and gograph if AI coding assistant quickly navigates and understands Go codebase.
Is LeanKG free or open source?
Yes, LeanKG is open source on GitHub (MIT).
Is gograph free or open source?
Yes, gograph is open source on GitHub (MIT).
Cloud Infrastructure
AdDeploy on DigitalOcean
Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.
→