Repolode
repowise-dev

repowise-dev/repowise

Codebase intelligence for developers and coding agents: call graph, git history, health scores, dead code and docs, served over MCP and a local dashboard.

Stars
7,851
Forks
911
Open issues
351
Last commit
7 hours ago

What is it?

Repowise indexes a repository's code, call graph, git history, tests, docs and design decisions on your own machine, then lets you or a coding agent query that index. Typical questions include what calls a function, what breaks if a file changes, which code is unused, and why a module was built a certain way.

The index feeds a set of MCP tools for Claude Code, Codex, Cursor, VS Code and other MCP hosts, along with a local web dashboard started by `repowise serve`. Code health scores each file from 1 to 10 using deterministic detectors, and change risk scores commits or branch ranges against the repository's own history. Dead code detection reports unreachable files and unused exports with confidence tiers.

The graph, risk, health, test and dead-code features make no LLM calls. Model-written documentation is an optional step. Repowise is written in Python, supports a wide range of languages through AST parsing, and is licensed under AGPL-3.0 with a commercial option.

Key features

  • 01Builds a call graph across 27 parsed languages with confidence-stamped call resolution.
  • 02Scores every file from 1 to 10 for defect risk, maintainability and performance.
  • 03Scores commits or branch ranges for change risk against recent repository history.
  • 04Detects dead code such as unreachable files and unused exports, with confidence tiers.
  • 05Exposes task-shaped MCP tools for Claude Code, Codex, Cursor and other MCP hosts.
  • 06Runs a local dashboard with architecture views, code health maps and generated docs.

Use cases

  • Giving a coding agent project context so it stops re-reading files to answer structural questions.
  • Checking what a pull request affects and which tests should run before merging.
  • Finding the riskiest and least-maintained files to prioritize refactoring.
  • Locating unused code before a cleanup or migration.
  • Keeping module documentation in sync with the code as it changes.

Quick start

  1. 1

    Install Repowise with uv

    uv tool install repowise
  2. 2

    Go to your repository

    cd /path/to/your/repo
  3. 3

    Index the repository without an API key

    repowise init --yes --no-prose
  4. 4

    Start the local dashboard and MCP server

    repowise serve

Things to know

  • Licensed under AGPL-3.0, a copyleft license that may restrict some commercial use without a commercial license.

Topics

FAQ

What is repowise?
Codebase intelligence for developers and coding agents: call graph, git history, health scores, dead code and docs, served over MCP and a local dashboard. Repowise indexes a repository's code, call graph, git history, tests, docs and design decisions on your own machine, then lets you or a coding agent query that index. Typical questions include what calls a function, what breaks if a file changes, which code is unused, and why a module was built a certain way.
Is repowise free to use? What license does it have?
repowise is open source under the AGPL-3.0 license. Check the license terms before using it in commercial products.
Is repowise still maintained?
Actively maintained. The last commit to repowise was on Oct 19, 2026.
What can I use repowise for?
Giving a coding agent project context so it stops re-reading files to answer structural questions. Checking what a pull request affects and which tests should run before merging. Finding the riskiest and least-maintained files to prioritize refactoring. Locating unused code before a cleanup or migration. Keeping module documentation in sync with the code as it changes.
How do I install repowise?
Install Repowise with uv: uv tool install repowise Go to your repository: cd /path/to/your/repo Index the repository without an API key: repowise init --yes --no-prose Start the local dashboard and MCP server: repowise serve
Where can I get repowise?
The source code and installation instructions are on GitHub: https://github.com/repowise-dev/repowise

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects