LeanKG creates a local map of your codebase so AI coding tools get exact context instead of scanning everything, saving 98% on tokens.
How It Works
While using your favorite AI coding helper, you learn about LeanKG โ a smart map that helps AI understand your entire codebase instantly.
Run a simple command to download and set it up for your AI tool, like Cursor or Claude โ no hassle, works right away.
Tell LeanKG about your code folder, and it creates a private map just for your work.
Hit index, and LeanKG scans your code super fast, connecting functions, files, and dependencies into a visual web you can explore.
Your AI tool now pulls smart snippets from the map instead of guessing โ everything auto-connects.
Chat with AI about changes or fixes โ it knows exactly what's connected, saving tons of time and confusion.
Enjoy precise answers, 98% less wasted effort, and a beautiful graph view of your project โ your AI feels like a teammate now.
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.