Graphify — Codebase to Knowledge Graph

Graphify-Labs/graphify — turns code, docs, SQL schemas, configs, and PDFs into a queryable knowledge graph — no vector store needed. Key differentiator: exact graph relationships instead of embeddings. Weekly trending: +4,023 ⭐, 149,150 total.

How It Works

  1. Parsing — TypeScript, Python, Go, Rust, SQL, YAML, JSON, Markdown, PDF
  2. Entity extraction — functions, classes, tables, API endpoints, env vars
  3. Graph building — nodes = entities, edges = calls, imports, FKs, references
  4. MCP server — agents (Claude Code, Codex) query graph via tools

Advantages Over RAG

  • Precision — no embedding hallucinations
  • Relationships — “show all callers of this function” works perfectly
  • Updatability — incremental graph updates on code changes
  • No vector DB — simpler deploy, fewer resources

How to Start

  1. Install: npm install -g @graphify-labs/graphify
  2. In project: graphify init
  3. Build graph: graphify build
  4. Run MCP: graphify mcp
  5. Connect in Claude Code / Codex via MCP config
  6. Example Agent Queries

    • “Find all usages of users table”
    • “Show call chain from /payment API to DB”
    • “What env vars does auth service need?”
    • “Any dead code in billing module?”

    License: MIT | Language: TypeScript | ⭐ 149,150 (+4,023/week)