repowiserepowise

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.

PythonAGPL-3.0

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 coding agents, used to see what a change affects before it is merged. It indexes a repository's code, git history, tests and decisions once, on your machine, and answers questions from that index. Its main language is Python, with TypeScript packages for the API client and UI. 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 265 ranked repos. The last commit to repowise was on Nov 23, 2026, and 291 people have contributed.

As of commit 8d7ccc0, indexed Nov 23, 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
repowise facts
TypeMCP server
LicenseAGPL-3.0
Code health8.2 / 10 (Good)
Health rank#60 of 265 ranked repos
Last commitNov 23, 2026
Contributors291
Bus factor1
Size7,723 files, 1,345,660 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

  1. 1Clone the repowise repository.
    git clone https://github.com/repowise-dev/repowise.git
  2. 2Move into the repowise folder.
    cd repowise
  3. 3Install repowise with uv (needs Python 3.11+ and Git).
    uv tool install repowise
  4. 4Change into the repository you want to index.
    cd /path/to/your/repo

Releases on GitHub (latest v0.62.0, Nov 22, 2026)

Full install notes on GitHub

How to use repowise

  1. 1Index the repository with no API key, creating the graph, git, health, dead code and docs.
    repowise init --yes --no-prose
  2. 2Start the local dashboard in your browser (needs Node 20+; the first run downloads the UI).
    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.

Docs
bash
claude mcp add --transport http repowise https://api.repowise.dev/mcp/repowise-dev/repowise
Claude Code, Claude, Cursor and VS Code sign you in on first use, free. Codex and Windsurf need an API key: sign in to create one.Sign in for a key

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?")

repowise-dev/repowise FAQ

What is repowise?

repowise is a codebase intelligence tool that indexes a repository's code and git history so developers and coding agents can ask what a change affects. It provides change risk scores, file health scores, dead code detection and architectural decisions.

How does repowise work?

repowise indexes a repository once on your machine, building a graph of its files, dependencies and git history. It then analyses that index to produce health scores, risk scores and dead code reports. Coding agents query the same index over MCP instead of searching files themselves.

How do I install repowise?

Install repowise with uv tool install repowise, which needs Python 3.11+ and Git. Then run repowise init --yes --no-prose inside your repository to build the index without an API key. Run repowise serve to open the local dashboard. See the install steps

What language is repowise written in?

repowise is written mainly in Python, with TypeScript packages for the API client and UI. Its index covers 29 languages for code analysis. The repository also includes shell scripts for CI checks.

How is the repowise code organized?

The packages directory holds most of the code, including packages/cli for the repowise command line, packages/core for indexing and analysis, and packages/server for the MCP server. The tests directory holds the test suite, and scripts holds standalone command line tools.

Who is repowise for?

repowise is for developers and coding agents such as Claude Code, Codex and Cursor that need to know what a change affects. It is used to check change risk, find which tests to run and see which callers a change may break before merging.

What license does repowise use?

repowise is licensed under AGPL-3.0, as stated in its repository metadata. The license applies to the whole project, including the CLI, core engine and server packages.

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

  • Scores any commit or branch from 0 to 10 for change risk, based on the repository's own recent commits and the callers it may affect.
  • Gives every file a 1 to 10 health score and names concrete refactoring plans such as Extract Method and Split File.
  • Reports dead code, grouped by confidence tier.
  • Builds a call graph and a generated wiki for every module and file, shown in a local dashboard.
  • Answers questions from AI agents over MCP, including which tests to run for a diff and which files usually change together.

How repowise-dev/repowise works

The repowise command line tool, whose entry point is packages/cli/src/repowise/cli/main.py, prepares a repository and keeps its index and documentation current through commands such as init and update. The packages/core package is the engine that indexes files, the dependency graph and git history, then runs analysis and documentation on them. Within it, packages/core/src/repowise/core/ingestion/call_resolver.py resolves calls for the call graph, and packages/core/src/repowise/core/analysis/health/engine.py computes the file health scores. packages/server/src/repowise/server/mcp_server/tool_answer/answer.py holds the code that produces answers for the MCP server, which agents call to query the index. Agents such as Claude Code reach the index through small hook programs such as packages/cli/src/repowise/cli/augment_hook.py, and packages/api-client/src/index.ts is a TypeScript client that stores a base URL and an optional token.

The codebase has 7,723 files and 101,896 symbols in 8 modules, led by Python, TypeScript and JavaScript. Code health is 8.1 out of 10, rated good.

Featured answer

Read the answer

repowise is a codebase intelligence tool for developers and coding agents, used to see what a change affects before it is merged. It indexes a repository's code, git history, tests and decisions once, on your machine, and answers questions from that index. The repowise command line tool, with entry point packages/cli/src/repowise/cli/main.py, prepares a repository and keeps the index and documentation current through commands such as init and update. The packages/core engine indexes files, the dependency graph and git history, then runs analysis such as the file health scores computed in packages/core/src/repowise/core/analysis/health/engine.py. The MCP server code in packages/server/src/repowise/server/mcp_server/tool_answer/answer.py produces the answers that agents query, and agents such as Claude Code reach the index through hooks like packages/cli/src/repowise/cli/augment_hook.py. To start reading, begin with the CLI entry point main.py and then packages/core, noting that the Service layer has 1953 files and the Application layer has 887.

Files per layer in repowise10 layers.

Basis: Inferred · knowledge graph· as of 8d7ccc0