📦repowise-dev / repowise
← 返回首页
Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
⚖️ AGPL-3.0#ai#code-intelligence#dead-code#developer-tools#documentation🌐 repowise.dev📅 创建于 2026-03-23🔄 更新于 2026-10-29
🔗 GitHub Python

📄 仓库 README

在 GitHub 查看 ↗
来自 GitHub 仓库自述文件 · 版权归原作者所有

English | 简体中文

repowise: codebase intelligence for you and your coding agent

Stop paying your agent to re-read your codebase.

Repowise indexes your code, git history, tests and decisions once, on your machine.
Your coding agent asks the index instead of grepping and opening files, so it does about half the work.
You get the same answers in a dashboard: what calls this, what breaks, what to fix first, and why.

Set up in one line Open the live Repowise demo

Half the tool calls
your agent opens 3 files where it opened 7 · 31.6% less output
Up to 99% less noise
from test runs, installs and git output · every error line kept
88% of the right files
found in one call · next best tool: 61%
Know the code, know what breaks, fix what matters. The local dashboard maps a repository's architecture, shows every file that imports the one you are about to change, ranks what to fix first on a code health map, connects services across repositories, and answers questions with charts.

Graph, risk, health, tests and dead code make zero LLM calls · no API key to index · 28 languages · Claude Code, Codex, Cursor and any MCP host · free and open source

Explore Repowise's own code Repowise code health PyPI version License: AGPL 3.0

Quickstart · For your agent · What it does · Hosted · Benchmarks · Teams · Docs


Set it up in one line

Open Claude Code, Codex, Cursor or any MCP-capable agent in your repository and paste:

Read https://docs.repowise.dev/setup.md and set up Repowise in this repository.

The agent installs Repowise, indexes the repo with no API key, connects itself to the index, and asks you before anything costs money. To do it by hand:

uv tool install repowise          # or: pipx install repowise / pip install repowise
cd /path/to/your/repo
repowise init --yes --no-prose    # graph, git, health, dead code, docs. No key, no spend.
                                  # (add model-written docs any time with: repowise generate)
repowise serve                    # dashboard + MCP server (needs Node 20+; first run downloads the UI)

Restart Claude Code or run /mcp, then ask "What breaks if I change src/auth.py?" or "Use Repowise get_overview to summarize this repository." init wires Claude Code for this repo and points the global repowise MCP entry here. Full setup for every agent →


Your agent stops guessing

Without an index, an agent rediscovers your codebase on every task: grep, open a file, open three more, grep again. Repowise answers those questions ahead of time, so the agent asks once and gets on with the work.

In a measured run on django/django, an agent with Repowise made 3.8 tool calls instead of 7.2, opened 3.0 files instead of 7.2 and wrote 31.6% less, with answers just as good. That is the largest saving of the five context tools we tested. On a small local model the output cut reaches 47.9%. How it was measured →

  • Your agent gets ten task-shaped MCP tools. Ask about several files at once and get callers, risk, tests, owners and the reasons behind the code in one answer. The tool list ↓
  • Up to 99% less command noise. repowise distill trims test, install and git output before the agent reads it and keeps every error line. Distill →
  • Context before the agent asks. Optional hooks warn it off fragile files and stale paths, and Repowise keeps your CLAUDE.md and AGENTS.md current from the index.
  • See your own savings. repowise saved and the dashboard's Usage and savings page count the tokens your agent no longer has to read.

What it does

One index of your code, its history and its decisions, used three ways: to understand the code, to change it safely, and to keep improving it.

Architecture map: every file grouped into communities, with a band for each strong link between them

See how it fits together

A call graph across 28 languages, an architecture map you can explore, C4 views, and a generated wiki for every module and file.
The graph · Docs
A file selected on the architecture map with every file that imports it highlighted, and an inspector with its rank and neighbours

Know what breaks

Every caller of what you changed, the files that usually change with it but are missing from your diff, and the tests that reach it.
Change risk · Tests
Code health map: every folder as a disc coloured by health, with the lowest-scoring files and what needs attention in a side rail

Fix what matters

A 1 to 10 health score for every file, validated against real bug history, a ranked fix-first queue, refactoring plans and dead code.
Code health · Refactoring
Workspace system map: services across three repositories with their health and the HTTP and data contracts between them

Follow it across repos

Services and the HTTP, gRPC and event contracts between them, with a guard for breaking changes and the consumer files they affect.
Workspaces
Chat answer listing the riskiest files in the repository and why each is risky

Ask it anything

Cited answers and charts from the dashboard, or the same answers through MCP for your agent.
Dashboard · MCP tools
Generated wiki page for the repository with a summary, system map and page outline

Remember why

Decisions mined from ADRs, comments, commits, PRs and agent sessions, each tied to the code it governs, plus docs checked against the code.
Decisions · Doc drift
Every question it answers ### Understand the code | You ask | Repowise gives y

📈 近 7 天 Star 趋势

每日新增 Star(柱)与累计 Star(线)· 数据来自 GitHub

🏆 排名变化趋势

在各榜单中的排名历史(数字越小越靠前)

📋 历史上榜记录

每次快照的详细数据
日期 榜单 排名 周期新增 总 STAR