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.

★ 8,092stars on GitHubPythonAGPL-3.0Curated

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 at 171c559Up to date with upstreamRefreshes on every push

What is repowise?

repowise is a codebase intelligence tool for developers and coding agents. It indexes a repository's code, git history and architectural decisions once, on the user's machine, so agents such as Claude Code, Codex and Cursor can query that index through MCP instead of grepping and opening files. It is written mainly in Python, with TypeScript packages alongside. 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 #44 of 4,000+ indexed repos. The last commit to repowise was on Nov 9, 2026, and 250 people have contributed.

As of commit 91b5ce0, indexed Nov 9, 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.1 / 10 (Good)
Health rank#44 of 4,000+ indexed repos
Last commitNov 9, 2026
Contributors250
Bus factor1
Size7,125 files, 1,205,789 lines

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.
    uv tool install repowise
  4. 4Change into the repository you want to index.
    cd /path/to/your/repo

Releases on GitHub (latest v0.60.1, Nov 2, 2026)

Full install notes on GitHub

How to use repowise

  1. 1Index the repository with no API key, which builds the graph, git, health, dead code and docs.
    repowise init --yes --no-prose
  2. 2Start the dashboard and MCP server. The first run needs Node 20 or newer because it downloads the UI.
    repowise serve

Ask about repowise

Answers come from repowise's README and source, with the files they cite. Two free answers a day without an account.

Featured answer

repowise is a codebase intelligence tool for developers and AI coding agents that indexes a repository's code, git history, tests and architectural decisions once on the local machine. Coding agents then query that index through MCP instead of grepping and opening files, and the project is written mainly in Python with TypeScript packages for the API client and the UI. The repowise command in packages/cli/src/repowise/cli/main.py is the entry point for indexing, generating docs and checking health, and the engine in packages/core builds the index. Within that engine, ingestion/call_resolver.py turns resolved calls into call graph edges, analysis/health/engine.py scores each file, and analysis/dead_code/analyzer.py finds code that can be removed. The MCP server in packages/server, including tool_answer/answer.py, answers agent questions, while packages/api-client/src/index.ts holds the configuration for calling the server API. To start reading, begin with the CLI main.py and then packages/core, since the Service layer is the largest of the listed layers with 1812 of 7125 files.

Files per layer in repowise10 layers.

Basis: Inferred · knowledge graph· as of 1d922b7

Want this for your own codebase? Map your repo free

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

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 into one local index, with call graphs, change risk, file health scores and dead code reports.

How does repowise work?

repowise builds one index of a repository's code, git history, tests and decisions on your machine. Coding agents query that index through MCP instead of grepping and opening files, and developers read the same answers in a dashboard.

How do I install repowise?

repowise is installed with uv tool install repowise or pip install repowise. Run repowise init --yes --no-prose inside your repository to index it with no API key, then repowise serve to start the dashboard and MCP server. See the install steps

What language is repowise written in?

repowise is written mainly in Python. Its api-client and ui packages are written in TypeScript.

How is the repowise code organized?

repowise is a monorepo with its code under packages. packages/cli holds the repowise command, packages/core holds the indexing and analysis engine, and packages/server holds the MCP server.

When should I use repowise?

repowise is for developers and coding agents such as Claude Code, Codex and Cursor that need answers about a codebase. Use it to ask what calls a function, what a change may break, which files to fix first and why a decision was made.

What license does repowise use?

repowise is released under the AGPL-3.0 license.

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

Key features of repowise

  • Indexes code, git history, tests and decisions once on your machine so coding agents can ask the index instead of grepping and opening files.
  • Builds a call graph across 28 languages, with an architecture map and a generated wiki for every module and file.
  • Scores any commit or branch from 0 to 10 for change risk, listing likely breakage, missing companion files and tests to run.
  • Gives every file a 1 to 10 health score from 53 deterministic detectors, with a ranked fix-first queue and refactoring plans.
  • Mines decisions from ADRs, comments, commits, PRs and agent sessions, tying each one to the code it governs, and checks docs against the code.

How repowise-dev/repowise works

The repowise command, defined in packages/cli/src/repowise/cli/main.py, is the entry point for indexing a repository, generating its docs and checking its health. The engine in packages/core builds the index, and packages/core/src/repowise/core/ingestion/call_resolver.py resolves the calls that become edges in the call graph. packages/core/src/repowise/core/analysis/health/engine.py scores each file, and packages/core/src/repowise/core/analysis/dead_code/analyzer.py finds code that can be removed. packages/server/src/repowise/server/mcp_server/tool_answer/answer.py is part of the MCP server that answers agent questions. packages/api-client/src/index.ts keeps one configuration object for calling the server API, with a base URL and an optional token.

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