LeanKG is a local knowledge graph tool that indexes codebases to provide targeted, token-efficient context to AI coding assistants via an integration protocol.
How It Works
You hear about a smart local helper that makes your AI coding buddy understand your entire project instantly.
Run a simple command tailored to your favorite AI tool like Cursor or Claude to set it up on your computer.
Place it in your code folder so it can learn about your files and how they connect.
It quietly builds a map of your code's structure, functions, and links – all running safely on your machine.
Your AI tool now talks to this map for quick, precise answers instead of guessing.
Tell your AI 'What breaks if I change this?' or 'Where's that function?' and get spot-on results.
Your AI gives laser-focused insights, saving time and effort while keeping everything private and speedy.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.