codegraph vs gitnexus

Local code knowledge graphs for AI-assisted exploration

codegraph and gitnexus index code into knowledge graphs that help developers and AI agents explore relationships, trace calls, and assess changes. codegraph emphasizes a locally maintained SQLite index and MCP or CLI access, while gitnexus also offers browser-based exploration and repository grouping.

codegraphgitnexus
LanguageCTypeScript
LicenseMIT—
Stars73.1k175
Forks4.7k16
Last analyzedOct 3, 2026Oct 22, 2026

Key differences

  • codegraph stores its index locally in SQLite and watches files for incremental updates; gitnexus offers local CLI indexing and a browser UI, with browser capacity limited by available memory unless using backend mode.
  • codegraph lists C as its project language and has an MIT license; gitnexus lists TypeScript and reports `NOASSERTION` metadata, while its README displays a PolyForm Noncommercial license badge.
  • codegraph supports MCP and CLI queries for source, call paths, impact, and affected tests; gitnexus adds visual graph exploration, repository chat, and generated agent skills and context files.
  • gitnexus supports repository groups for cross-repository contract and impact analysis; codegraph describes indexing and querying a project’s code structure.
  • The provided project facts list 73.1k stars and 4.7k forks for codegraph, compared with 173 stars and 16 forks for gitnexus.

Choose codegraph if you…

  • want a local SQLite graph that stays current through file watching and incremental sync.
  • need CLI commands for tracing callers and callees, checking impact, or finding affected tests.
  • prefer an MIT-licensed project and are prepared to initialize each project you want indexed.
Read the codegraph analysis →

Choose gitnexus if you…

  • want a browser UI for visual graph exploration and repository chat.
  • need repository grouping to inspect cross-repository contracts and impact.
  • want generated agent skills and context files, and can verify the licensing terms for your use.
Read the gitnexus 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.