Skip to main content
This page installs the open-source skill. Claude Code builds the graph from the project on your machine. To query a repository already indexed in Graphify, use Graphify for Claude Code.

How do I set up Graphify CLI in Claude Code?

Run uv tool install --python 3.12 graphifyy, then graphify install --platform claude, and enter /graphify . in Claude Code. Claude Code builds the graph in graphify-out/ on your machine and can query it from then on.

1. Install and register

The installer writes Claude instructions and PreToolUse hooks that suggest consulting the graph for codebase questions. It reports the files it writes. For a repository-local setup, run this from the project root:

2. Build the graph

Open the project in Claude Code. Select the Graphify skill and enter:
The assistant runs the workflow and writes graphify-out/. Code extraction runs locally. Semantic extraction can use your assistant’s model for documents and media.

3. Ask with context

Once the graph is built, ask Claude Code to answer from it and cite the source files:
Use Graphify to explain the authentication flow. Cite the source files and distinguish explicit relationships from inferred ones.
You can also query from a terminal:

Keep it current

If the skill is missing, refresh Claude Code and confirm the install is in the scope you intended. See troubleshooting. To call the same graph as tools, connect the local MCP server.