codegraph vs graphify

Local code knowledge graphs compared

codegraph and graphify both build queryable knowledge graphs to help developers and AI coding assistants understand project structure and relationships. codegraph focuses on keeping a local code index current, while graphify can also include documentation and other project files and generate reusable graph outputs.

codegraphgraphify
LanguageCPython
LicenseMITApache-2.0
Stars73.1k124k
Forks4.7k11.9k
Last analyzedOct 3, 2026Oct 3, 2026

Key differences

  • codegraph indexes code symbols, relationships, imports, and calls in local SQLite; graphify analyzes code with tree-sitter and can also extract information from documents, media, schemas, and configuration files.
  • codegraph watches files and incrementally syncs changes; graphify generates a graph for exploration, with no ongoing file-watching capability described.
  • codegraph offers an MCP server and CLI with commands for symbol search, caller and callee tracing, impact checks, and finding affected tests; graphify supports graph queries, shortest paths, concept explanations, and graph visualizations and reports.
  • codegraph is written in C and licensed under MIT; graphify is written in Python and licensed under Apache-2.0.
  • codegraph stores project data locally in SQLite with FTS5 search; graphify uses local code parsing, while semantic extraction for documents and media can require an assistant model or configured API backend.
  • Both integrate with AI coding assistants through MCP, while graphify also offers a skill and codegraph provides an installer for configuring supported agents.

Choose codegraph if you…

  • need a local index that incrementally stays current as project files change.
  • want CLI tools to trace callers, check change impact, or find affected tests.
  • prefer code-focused retrieval of source, call paths, and impact context through MCP or a CLI.
Read the codegraph analysis →

Choose graphify if you…

  • want one graph to connect code with documentation, media, schemas, or configuration files.
  • need graph visualizations, Markdown reports, or JSON graph output for reuse.
  • want tree-sitter-based local code extraction and can use a configured model or backend for semantic extraction of non-code files.
Read the graphify analysis →

Compare the numbers side by side, or add more projects

This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.