MCP server
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.
This is Repowise's own repository, indexed by Repowise. Every view in the sidebar is live, and it is what you get for your code. Index your repo free
github.com/repowise-dev/repowiseIndexed Refreshes on every push
What is repowise?
repowise is a command-line tool and MCP server for engineers and AI coding agents that work in a code repository. It indexes the code, git history, tests and architectural decisions once on your machine, then answers questions about them, such as what calls a function or what breaks if a file changes. Its main language is Python, and the web dashboard is written in TypeScript. To install it, run git clone https://github.com/repowise-dev/repowise.git and follow the steps below. Its code health is 8.1 out of 10 (Good), ranked #67 of 279 ranked repos. The last commit to repowise was on Nov 28, 2026, and 312 people have contributed.
As of commit 77f83d3, indexed Nov 28, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.
For agentsrepowise.md
Repo facts: type, license, health, rank, contributors
| Type | MCP server |
|---|---|
| License | AGPL-3.0 |
| Code health | 8.1 / 10 (Good) |
| Health rank | #67 of 279 ranked repos |
| Last commit | Nov 28, 2026 |
| Contributors | 312 |
| Bus factor | 1 |
| Size | 7,858 files, 1,399,394 lines |
Ask about repowise
Answers come from repowise's README and source, with the files they cite. Two free answers a day without an account.
Install repowise
Commands copied from the README
- 1Clone the repowise repository.
git clone https://github.com/repowise-dev/repowise.git - 2Move into the repowise folder.
cd repowise - 3Install repowise with uv. This needs Python 3.11+ and Git.
uv tool install repowise - 4Change into the repository you want to index.
cd /path/to/your/repo
Releases on GitHub (latest v0.62.0, Nov 22, 2026)
How to use repowise
- 1Index the repository with no API key. This builds the graph, git history, health, dead code and docs.
repowise init --yes --no-prose - 2Start the local dashboard. It needs Node 20+ and downloads the UI on the first run.
repowise serve
Use repowise-dev/repowise in your agent
Point Claude Code, Cursor, Codex or VS Code at this repository. Your agent gets the index this page is built from: cited answers, callers, history and health for any file.
Run it in a terminal from your project folder, then restart Claude Code there, type /mcp and sign in with Repowise. No key to paste.
Docsclaude mcp add --transport http repowise https://api.repowise.dev/mcp/repowise-dev/repowise
This repo is public, so anyone with a free Repowise account can connect.
Try asking
- get_risk(["packages/core/src/repowise/core/analysis/health/dataflow/slice.py"])
- get_answer("how is repowise put together?")
- get_why("why is repowise structured this way?")
Code health
Hotspots average 6.8, the place fixes pay off most.
8.1 to 8.1 over the last 12 indexes
On the leaderboards:#15 of 76 Python repos
Explore repowise
- DocumentationModule-by-module documentation, 6,145 pages.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
repowise-dev/repowise FAQ
What is repowise?
repowise is a command-line tool and MCP server that indexes a code repository, its git history and its architectural decisions, then answers questions about them. Engineers use it from a terminal or a local web dashboard, and coding agents can call its tools.
How does repowise work?
repowise indexes your code, git history, tests and decisions once on your machine. An agent then asks the index instead of grepping and opening files, and the same answers appear in a dashboard. Graph, risk, health and dead code analysis make no LLM calls.
How do I install repowise?
repowise is installed with uv tool install repowise, which needs Python 3.11+ and Git. After that, run repowise init --yes --no-prose in your repository and then repowise serve to open the dashboard. See the install steps
What language is repowise written in?
repowise is written mainly in Python, with its web dashboard code in TypeScript. The Python packages include packages/cli and packages/core.
How is the repowise code organized?
The code is split into packages. packages/cli holds the repowise command, packages/core builds the indexed graph, health scores and wiki pages, and packages/server provides a REST API for the UI and MCP tools for agents.
Who is repowise for?
repowise is for engineers working in a code repository and for coding agents such as Claude Code. It answers questions like what calls a function or what breaks if a file changes, before code is merged.
What license does repowise use?
repowise uses the AGPL-3.0 license.
About this page
Now see it on your own codebase
Everything on this page, and every view in the sidebar, is built from a repository's source and git history. Point Repowise at yours and get the same map: module docs, the dependency graph, per-file health, hotspots and owners, and an index your coding agent can query over MCP.
Free for 2 public repos, with a page like this one. No card. See how Repowise works
Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub
Key features of repowise
- A call graph across 29 languages, with an architecture map, C4 views and a generated wiki for every module and file.
- Change risk scores from 0 to 10 for any commit or branch, with the tests to run and companion files a diff may have missed.
- A 1 to 10 health score for every file, produced by 59 deterministic detectors, with a ranked fix-first queue and refactoring plans.
- Dead code detection, with results grouped by confidence tier.
All 6 featuresFewer features
- Decisions mined from ADRs, comments, commits, pull requests and agent sessions, each tied to the code it governs.
- A PR bot that checks each pull request against the index for breaking callers, coverage on changed lines and security issues.
How repowise-dev/repowise works
The command-line entry point in packages/cli/src/repowise/cli/main.py provides the repowise command, which indexes a repository and keeps its docs current. The packages/core directory turns the repository into an indexed graph, health scores and wiki pages, and every command that builds or queries an index runs through it. The packages/server directory holds a FastAPI process started by repowise serve and repowise mcp, which gives the web UI a REST API and gives AI agents MCP tools that read the indexes core builds. Claude Code calls the hook commands in packages/cli/src/repowise/cli/augment_hook.py and rewrite_hook.py on each tool event. The file packages/api-client/src/index.ts exposes configureApiClient, which stores a base URL and an optional token for calls to the server.
The codebase has 7,858 files and 106,678 symbols in 8 modules, led by Python, TypeScript and JavaScript. Code health is 8.1 out of 10, rated good.