repowise - open source codebase intelligence for AI coding agents (and humans too)
Built this because every time I used Claude Code on a large codebase, it would just read files one by one. No idea which files change together, who owns what, why things were built a certain way, or what code is straight up dead.
repowise indexes your codebase into five layers: dependency graph (tree-sitter), git history analytics (hotspots, ownership, co-changes), auto-generated docs with RAG search, architectural decision tracking, and code health scores with 12 biomarkers.
All of it exposed through 9 MCP tools so your AI agent can actually understand your codebase instead of grepping through it blind. Also works standalone with a local dashboard if you just want the analytics without the AI stuff.
Some numbers from our benchmark on Flask: 36% cheaper, 49% fewer tool calls, 89% fewer file reads. Same answer quality.
Multi-repo workspaces, auto-sync on every commit, works fully offline with Ollama. AGPL-3.0.
pip install repowise
GitHub: https://github.com/repowise-dev/repowise
Happy to answer any questions.