Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”‘ Needs an API keyProgramming

Benzi

Lets your AI agent query a compiled map of your code: callers, data flow, references and class hierarchy.

175 stars on GitHubby Variant TechLicense NOASSERTIONUpdated 23 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add benzi -- uvx benzi-mcp

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Who calls parse_config and what would break if I change its signature?
Trace where the bad value in total comes from.

What it is

Benzi parses your whole codebase with tree-sitter into a resolved, queryable map of symbols, calls, data flow and class hierarchy. Used as an MCP server, it serves that map as tools to the agent you already use. It supports Python, JavaScript, TypeScript, Java, C#, C++, C, Go, Rust and Ruby.

What it can do

  • get_callers: every call site that reaches a function
  • call_tree and trace_path: call chains between functions
  • backflow and forwardflow: where a value came from or goes
  • profile: full view of one symbol
  • get_definition, search_symbols, get_hierarchy
  • skim_source: outline of a function body
  • external_calls: which libraries a scope uses

When to use

  • β€ΊWhen you want the agent to know who calls a function before it changes it
  • β€ΊWhen you trace where a wrong value came from without opening every caller
  • β€ΊWhen you explore an unfamiliar codebase through symbols and class hierarchy

What you need

Python 3.11 to 3.14 and pip install benzi, then a login with benzi-login using your email. Benzi is free during beta.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free?

The readme says it is completely free to use during beta.

How do I add it?

Run pip install benzi, benzi-login, then claude mcp add --scope user benzi -- benzi-mcp.

What is the difference from the Benzi agent?

The agent adds a runtime tracer, gated edits and rollback. The MCP server serves only the map to your own agent.

Which languages are covered?

Ten, with Python the deepest and the only one with the runtime tracer.

Do I need a model key?

Not for the MCP server, since your own agent does the model calls.

Can I pin it to one repo?

Yes. Add the repo path after benzi-mcp in the command.

If it does not work

  • β€ΊRun benzi-login --login with your email and type in the one-time code if tools fail to load.
  • β€ΊStart your agent in the repo folder, or pass the repo path to benzi-mcp.
  • β€ΊCheck that Python is 3.11 to 3.14.

5 new skills a week. 1 minute to read.