repowise-dev / repowise Architecture and code health
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 codebase intelligence tool for developers and AI coding agents. It indexes your code, git history, tests and decisions once on your machine, then answers questions such as what calls a function, what a change breaks and which files need attention first. Python is its main language, and TypeScript is also used. To install it, run git clone https://github.com/repowise-dev/repowise.git and follow the steps below. Its code health is 8.2 out of 10 (Good), ranked #60 of 272 ranked repos. The last commit to repowise was on Nov 25, 2026, and 291 people have contributed.
As of commit 453da29, indexed Nov 25, 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
| License | AGPL-3.0 |
|---|---|
| Code health | 8.2 / 10 (Good) |
| Health rank | #60 of 272 ranked repos |
| Last commit | Nov 25, 2026 |
| Contributors | 291 |
| Bus factor | 1 |
| Size | 7,754 files, 1,353,979 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.
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. No API key is needed for this step.
repowise init --yes --no-prose - 2Start the local dashboard in your browser.
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, then type /mcp in Claude Code 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.9, the place fixes pay off most.
8.1 to 8.1 over the last 11 indexes
On the leaderboards:#12 of 75 Python repos
Explore repowise
- DocumentationModule-by-module documentation, 6,061 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 codebase intelligence tool for developers and AI coding agents. It indexes code, git history, tests and decisions on your machine and answers questions about what calls a function and what a change breaks.
How does repowise work?
repowise indexes a repository once and builds a call graph, health scores and git analytics from that index. Coding agents query the index through MCP tools, and the same answers appear in a local browser dashboard.
How do I install repowise?
Run uv tool install repowise, then cd into your repository and run repowise init --yes --no-prose to index it. Run repowise serve to open the local dashboard. See the install steps
What language is repowise written in?
repowise is written mainly in Python. The repository also contains TypeScript files for its web interface.
How is the repowise code organized?
Most of the code lives under packages, which includes packages/cli for the command line interface, packages/core for ingestion and analysis, and packages/server for the MCP server. Tests are kept in a separate tests directory.
When should I use repowise?
Use repowise when you want an index of your codebase that answers what calls a function, what a change breaks and which files to fix first. It is also meant for AI coding agents that would otherwise re-read files on every task.
What license does repowise use?
repowise is licensed under AGPL-3.0. The license id is AGPL-3.0 as recorded for the repository.
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
- Builds a call graph across 29 languages, with an architecture map, C4 views and a generated wiki for every module and file.
- Scores any commit or branch from 0 to 10 for change risk, measured against the repository's own recent commits.
- Gives every file a 1 to 10 health score from 53 deterministic detectors and names refactoring plans such as Extract Method and Split File.
- Finds dead code and sorts it into confidence tiers, so you can see what can be removed.
All 6 featuresFewer features
- Lists the tests that reach a changed file, and the files that usually change with it but are missing from a diff.
- Connects agents such as Claude Code, Codex and Cursor to the index through MCP tools, and mines decisions from ADRs, comments, commits and pull requests.
How repowise-dev/repowise works
The packages directory holds most of the repository's files and is its largest module. packages/core/src/repowise/core/ingestion/call_resolver.py resolves calls between functions to build the call graph that other features read from. packages/core/src/repowise/core/analysis/health/engine.py computes the 1 to 10 health scores for files, and packages/core/src/repowise/core/analysis/dead_code/analyzer.py finds code that can be removed. packages/cli/src/repowise/cli/ holds the command line interface, and update_cmd/command.py is one of its command handlers. packages/server/src/repowise/server/mcp_server/tool_answer/answer.py is part of the MCP server, which lets agents such as Claude Code query the same index through tools. The graph, risk, health, test and dead code analysis make no LLM calls, according to the README.
The codebase has 7,754 files and 102,552 symbols in 8 modules, led by Python, TypeScript and JavaScript. Code health is 8.1 out of 10, rated good.