# Benzi

> Benzi is a free MCP server for developer tools. Compiler-built code map of calls, data flow and class hierarchy for coding agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI, vscode
- **Website:** https://varianttech.net
- **Repository:** https://github.com/oooscoos/benzi
- **MCP Registry name:** net.varianttech/benzi
- **Categories:** developer tools
- **Listing updated:** 2026-11-14

## About

Benzi parses a codebase with tree-sitter into a resolved, queryable index before any question is asked. The MCP package exposes that index as tools so an agent can ask who calls a function, where a parameter's value originates and under what condition code runs, rather than grepping files.

Every edge carries a trust label: resolved (hard compiler evidence), candidate (a bounded set of possible targets, such as dynamic dispatch), observed (confirmed by a run), external (into a library), unresolved or unindexed, each with a reason. The site says precision is preferred over recall and nothing is guessed silently.

Ten languages are indexed: Python, JavaScript, TypeScript, Java, C#, C++, C, Go, Rust and Ruby, plus HTML, CSS and DOM-JS. Python is deepest and is the only one with the runtime tracer. The runtime tracer, parse-gated edits and blast-radius checks belong to Benzi's own VS Code and terminal agent and are not available over MCP. The index is built locally, so code is not uploaded, and the agent uses your own model key. Benzi is free during beta; the 82.6% SWE-bench Verified claim comes from the vendor's site.

## Features

- **Call and caller tracing:** Walks proven call edges forward or in reverse to find a change's reach.
- **Value origin tracing:** Follows a parameter back through callers to the literal it comes from.
- **Condition outline:** Shows branches, loop exits and early returns interleaved with calls.
- **Labelled edge trust:** Each edge is tagged resolved, candidate, observed, external, unresolved or unindexed.
- **Ten languages:** Python, JavaScript, TypeScript, Java, C#, C++, C, Go, Rust and Ruby, plus HTML, CSS and DOM-JS.
- **Local indexing:** The compiler runs on your machine and your code is not uploaded.

## Good for

- Find all callers of a function before changing its signature
- Trace where a bad argument value originates
- Understand when a branch of a method executes
- Give an existing coding agent a compiler-backed map of a repository

## Install

### Claude Code (Terminal)

```sh
claude mcp add benzi -- uvx benzi-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "benzi": {
      "command": "uvx",
      "args": [
        "benzi-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "benzi": {
      "command": "uvx",
      "args": [
        "benzi-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "benzi": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "benzi-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "benzi": {
      "command": "uvx",
      "args": [
        "benzi-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "benzi": {
      "command": "uvx",
      "args": [
        "benzi-mcp"
      ]
    }
  }
}
```

## FAQ

### Is the whole Benzi agent available over MCP?

No. The runtime tracer and gated edits are part of the VS Code and headless agent, not MCP.

### Does my code leave my machine?

The site says the compiler and index run locally and the code is never uploaded.

### What does it cost?

Free to use during beta.

### How is the package installed?

From PyPI as benzi-mcp over stdio.

### Is Benzi free?

Yes. Benzi is free to use.

### How do I add Benzi to Claude Code?

Run this command in your terminal: claude mcp add benzi -- uvx benzi-mcp

### What are the best alternatives to Benzi?

The closest alternatives to Benzi are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/benzi
