# Repowise MCP server

> Lets AI coding agents query a prebuilt index of a codebase's graph, git history, tests and decisions instead of grepping files.

- Repository: https://github.com/repowise-dev/repowise
- Page: https://hostedmcp.org/servers/repowise-dev/repowise
- Official: yes
- Transport: stdio, remote
- Stars: 8144
- License: AGPL-3.0
- Latest version: 0.61.0

## Install

### Claude Code

```sh
claude mcp add repowise -- uvx repowise
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "repowise": {
      "command": "uvx",
      "args": [
        "repowise"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "repowise": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "repowise"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"repowise","type":"stdio","command":"uvx","args":["repowise"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "repowise": {
      "command": "uvx",
      "args": [
        "repowise"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add repowise -- uvx repowise
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.repowise]
command = "uvx"
args = ["repowise"]
```

### Gemini CLI

```sh
gemini mcp add -s user repowise uvx -- repowise
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "repowise": {
      "command": "uvx",
      "args": [
        "repowise"
      ]
    }
  }
}
```

## FAQ

### Does Repowise require an API key to index a repository?

No. The initial index of graph, git history, health, dead code and docs runs without an API key, and a model is optional.

### Which coding agents can use Repowise via MCP?

It works with Claude Code, Codex, Cursor and any MCP-capable host.

### How many MCP tools does Repowise expose to an agent?

It exposes ten task-shaped MCP tools that can answer questions about several files at once.

### How much does Repowise reduce agent tool calls?

In a measured run on django/django, an agent with Repowise made 3.8 tool calls instead of 7.2 and opened 3.0 files instead of 7.2.

### How do I set up Repowise in a repository?

Either paste the setup prompt into your agent, or install the CLI and run init and serve manually.
