Repowise
Lets your AI coding agent ask an index of your codebase instead of re-reading files each time.
8.1k stars on GitHubby RepowiseLicense AGPL-3.0Updated 19 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add repowise -- uvx repowise mcp repo_path --transport stdio
Ready! Now test it
Restart the app and paste one of these requests in the chat:
What breaks if I change src/auth.py?
Use Repowise get_overview to summarize this repository.
What it is
Repowise indexes your code, git history, tests and decisions once, on your machine. Your coding agent then asks the index about callers, risk, tests, owners and the reasons behind the code. It also shows the same answers in a dashboard, including code health scores and dead code.
What it can do
get_overview: summarize a repository- Find what calls a function and what breaks if you change it
- Rank change risk and suggest which tests to run
- Give a 1 to 10 code health score per file
- Find dead code and plan refactoring
- Show decisions and ownership behind the code
repowise distill: trim test and install output
When to use
- βΊWhen you want your coding agent to understand a large codebase without opening many files.
- βΊWhen you are about to change a file and want to know what might break.
- βΊWhen you want a ranked list of what to fix first.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
code-healthHelps your agent score code health file by file, find the riskiest files and pick what to refactor next, using Repowise analysis.code-healthHelps your agent score code health file by file, find the riskiest files and pick what to refactor next, using Repowise analysis.change-reviewHelps your agent review a pull request or set of changes before merging, showing the risk, the files affected and what else should change.Frequently asked questions
Is it free and open source?
Yes. The README says it is free and open source under AGPL-3.0. A hosted version is also mentioned.
Do I need an API key?
No key is needed to index. Graph, risk, health, tests and dead code make no LLM calls. Written docs and answers need a model if you choose them.
Which agents work with it?
Claude Code, Codex, Cursor and any MCP host.
How many languages are supported?
The README says 28 languages.
Does my code leave my machine?
The README says it indexes on your machine.
How do I install it?
Run uv tool install repowise, then repowise init --yes --no-prose in your repo, and repowise serve for the dashboard.
If it does not work
- βΊRestart Claude Code or run /mcp after setup so the server appears.
- βΊrepowise serve needs Node 20 or newer, and the first run downloads the UI.
- βΊIf the agent does not see the index, run repowise init again in the repo folder.
5 new skills a week. 1 minute to read.