Repowise: Pre-computed codebase context for Claude Code cuts token usage and task time in half

Repowise is an open-source tool that pre-computes codebase context for AI coding agents. Instead of letting Claude Code read the tree, trace imports, and browse files (burning tokens on archaeology every session), Repowise indexes your codebase once and exposes the result via eight MCP tools.
How it works
Repowise indexes your codebase into four layers:
- Dependency graph via AST parsing
- Git behavioral signals: hotspots, ownership, co-change pairs
- Auto-generated doc wiki with semantic search
- Architectural decision records (ADRs) linked to the code nodes they govern
Setup is straightforward:
pip install repowise
repowise init
Works with Claude Code, Cursor, or local setup. Incremental updates after each commit run in under 30 seconds. It also auto-generates your CLAUDE.md from live graph data on every commit — hotspot warnings, ownership map, co-change pairs, active decisions, dead code candidates. Custom notes stay untouched.
Benchmark: Add rate limiting to all API endpoints
On a real 3,000-file project:
- Claude Code alone: grep + read ~30 files, ~8 minutes, misses ownership and hidden coupling entirely
- With Repowise: 5 MCP calls, ~2 minutes, full picture
The five MCP calls:
get_overviewget_contexton the relevant modulesget_riskon the files being touchedget_whyto check for prior decisionssearch_codebasefor any existing implementation
Claude gets complete context before touching a single file. The co-change detection is particularly useful — it surfaces files that always change together in git but have no import link, which static analysis can't find and grep definitely can't.
Multi-repo and licensing
Multi-repo support is built in: index multiple repositories and query cross-repo hotspots, ownership, and dead code in one view. Repowise is AGPL-3.0, fully self-hostable, and nothing leaves your machine.
GitHub: https://github.com/repowise-dev/repowise
Dogfooding website: https://repowise.dev
📖 Read the full source: r/ClaudeAI
👀 See Also

codebase-md: Tool auto-generates CLAUDE.md with git hook maintenance
codebase-md v0.1.0 scans projects to generate CLAUDE.md files with architecture detection, dependency health checks, and git insights. It includes git hooks to keep documentation fresh and supports other AI coding tools with additional config files.

TasteBud Memory: Reversible Agent Memory via Hyperdimensional Computing
A 600-line Node.js tool uses hyperdimensional computing to build a reversible memory layer for AI agents, supporting lossless decode, drift detection, and unknown-project alerts.

TradesMCP: Open Source MCP Server for Contractor License Verification and Construction Data
TradesMCP is an open source Model Context Protocol server that provides Claude with access to real contractor license data, building permits, material pricing, and labor rates. The tool correctly verified an active California contractor license where ChatGPT returned incorrect information.

Temporal-MCP: Wall-Clock Awareness for LLMs with OAuth Support
Temporal-MCP is a minimal MCP server that provides wall-clock awareness to LLMs, addressing time-related failure modes like incorrect greetings and stale context. It offers two tools (temporal_tick and temporal_peek) returning elapsed time, day-rollover detection, and fresh-thread flags.