Who it is forA developer new to a codebase who needs to locate the function behind a feature before making a change.
The problemSearching a large repository by keyword returns many noisy hits, and it is slow to confirm which function really does the work.
The outcomeA short set of cited excerpts showing the file, line range and function name for the answer to the question.
What you need first
- A local Git repository with the code you want to index
- Homebrew, or the install script from the Graphicle README, to install the program
- A terminal on macOS or Linux, or the Windows preview build for x86-64
- A coding agent that supports MCP, such as Claude Code, Codex or Cursor (optional, for agent use)
Steps
- Install Graphicle and run
graphicle setupin the repository, as in the quick start. - Run
graphicle ask "where is tax added to prices?"with your own question. - Read each excerpt's file name and line range, starting with the first.
- Open the cited file at those lines to confirm the code matches your question.
- Run
graphicle opento browse the graph and sources in your browser if you need more context.
Prompt for your agent
In the Graphicle-AI/graphicle repository, run `graphicle ask "<question>"` inside <repo-path>. Expected output: an evidence list of cited excerpts, each with a file path, line range and symbol name. Verify by opening the first cited file at the stated lines and checking that the code answers the question.
Caveat. With no model configured, `ask` shows only the evidence excerpts, so written answers need `graphicle config set model` with a model you choose.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Graphicle-AI/graphicle and "Find where a behavior lives by asking from the terminal"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer