{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "oooscoos-benzi--explain-repo-in-claude-code",
 "repo": "oooscoos/Benzi",
 "repo_url": "https://github.com/oooscoos/Benzi",
 "repo_slug": "oooscoos-benzi",
 "title": "Answer questions about a repo inside Claude Code",
 "page_title": "How to answer questions about a repo inside Claude Code with Benzi",
 "summary": "Give Claude Code a compiled map of your repo so it answers callers, hierarchy and definition questions from the index.",
 "who": "A developer who has just joined or inherited a codebase and uses Claude Code or Cursor daily, and needs accurate answers about who calls what.",
 "problem": "Grep and glob return text matches, so the agent guesses at which function, caller or subclass really matters.",
 "outcome": "The agent answers structural questions by querying the compiled index through Benzi tools such as get_callers, get_hierarchy and get_definition.",
 "steps": [
  "Run `pip install benzi`.",
  "Run `benzi-login --login you@example.com`, then type the one-time code emailed to you.",
  "Run `claude mcp add --scope user benzi -- benzi-mcp` to register the server with Claude Code.",
  "Open Claude Code in your repo folder and ask it who calls a function you name, for example which call sites reach a given function."
 ],
 "agent_prompt": "Using the Benzi MCP tools on the repo at <repo path>, list every call site that reaches the function <function name> and the resolved base classes of <class name>. Expected output: a list of caller locations and a hierarchy list. Verify that each listed location exists in the file it names.",
 "agents": [
  "claude-code",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The MCP server gives the map only, so answer quality depends on the agent you use, and the agent features such as the runtime tracer are not included.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "html",
 "requirements": [
  "Python 3.11 to 3.14 on Windows, macOS or Linux, for the pip install",
  "An email address for the one-time login code",
  "An API key from Anthropic or a non-Anthropic provider (DeepSeek, Groq, Kimi and others) for the Benzi agent, or an existing MCP-capable agent such as Claude Code or Cursor for the MCP server"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/oooscoos-benzi/explain-repo-in-claude-code/",
 "md": "https://dedupedai.com/use-cases/oooscoos-benzi/explain-repo-in-claude-code/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/oooscoos-benzi--explain-repo-in-claude-code.json",
 "api_version": "v1"
}
