Source repository Graphify-Labs/graphify ↗ 125,997 stars · Python

The problem: context bloat and lost relationships

When you ask Claude Code to navigate a large codebase—say, a full-stack app with hundreds of files, database schemas, infrastructure configs, and docs—you face two problems:

This forces you to manually guide Claude through the codebase or regenerate context for each question—slowing down code generation and debugging.

How Graphify works: parsing to graph

You type /graphify in your AI coding assistant and it maps your project into a knowledge graph you query instead of grepping files. From the README:

Then you query it: graphify explain "APIRouter", graphify path "A" "B", or plain questions through your assistant.

Graphify in a Claude Code workflow

Graphify acts as a semantic context layer between you and Claude Code. Instead of pasting file paths and hoping Claude understands the connections, you:

  1. Index your codebase once with Graphify (pointing it at your project root).
  2. Ask Claude Code questions like: "Add a new user permission check to every authenticated endpoint" or "Refactor this database migration to handle the new schema without downtime."
  3. Claude queries the graph, understands the dependency tree and schema relationships, and generates code that's already aware of your architecture.

This is especially valuable for large or unfamiliar codebases. Instead of spending time manually extracting "where are all the database queries?" or "which functions touch the user table?", Claude already knows—because the graph made those relationships explicit.

See also: Claude Code skills for other context-aware extensions.

Real limitations and when to skip it

Skip it if your codebase is small enough that Claude Code navigates it comfortably with plain file reads and search.

Getting started

Install the CLI and register the skill
uv tool install graphifyy # or: pipx install graphifyy graphify install # registers the skill with your AI assistant

Then, inside Claude Code:

Build the graph
/graphify .

Open graphify-out/graph.html to explore, read GRAPH_REPORT.md for the highlights, and ask Claude questions that the graph can answer. Note the package name: graphifyy, with two y's. Graphify is Apache-2.0 licensed and works in Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot and other assistants.