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

✍️ OpenClawRadar📅 Published: May 7, 2026🔗 Source
Repowise: Pre-computed codebase context for Claude Code cuts token usage and task time in half
Ad

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.

Ad

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:

  1. get_overview
  2. get_context on the relevant modules
  3. get_risk on the files being touched
  4. get_why to check for prior decisions
  5. search_codebase for 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

Ad

👀 See Also

Claude's 171 Internal Emotion Vectors Influence Output: Toolkit Based on Anthropic Research
Tools

Claude's 171 Internal Emotion Vectors Influence Output: Toolkit Based on Anthropic Research

Anthropic's research paper reveals Claude has 171 internal activation patterns that function like emotion vectors, causally driving its behavior before it writes. A developer created a toolkit with 7 practical prompting principles and system prompts based on these findings.

OpenClawRadar
E2a: Open-Source Email Gateway for AI Agents with SPF/DKIM Verification and Webhook/WebSocket Delivery
Tools

E2a: Open-Source Email Gateway for AI Agents with SPF/DKIM Verification and Webhook/WebSocket Delivery

E2a is an authenticated email gateway for AI agents that verifies SPF/DKIM on inbound mail, delivers via webhook or WebSocket, and supports outbound email with human-in-the-loop approval.

OpenClawRadar
Legal MCP Server for Claude Provides Access to 4M+ US Court Opinions
Tools

Legal MCP Server for Claude Provides Access to 4M+ US Court Opinions

A free, open-source MCP server built with Claude Code gives Claude AI access to 4M+ real US court opinions, providing 18 tools for case law search, citation tracing, Bluebook parsing, Clio practice management, and PACER federal filings without hallucinations.

OpenClawRadar
Octopoda MCP Server Adds Persistent Memory, Loop Detection, and Audit Trails to Claude Code
Tools

Octopoda MCP Server Adds Persistent Memory, Loop Detection, and Audit Trails to Claude Code

A developer built Octopoda, an MCP server that integrates with Claude Code to provide persistent memory, loop detection, audit trails, and shared knowledge spaces for AI agents. The system uses PostgreSQL with pgvector for semantic search, FastAPI, and a React dashboard.

OpenClawRadar