GitNexus gives an agent the deeper view of a codebase, but CodeGraph is the one most companies can actually install, and the one whose graph stays current without extra work.
Choose GitNexus if your project is personal, academic or open source and you want impact analysis, execution flows, renames and graph queries in one server.
Free for noncommercial use (PolyForm Noncommercial 1.0.0). Commercial use, managed SaaS and self-hosted enterprise deployments need a licence from Akon Labs; prices are not published.
Free and MIT-licensed. A hosted pull-request analysis platform is in waitlist beta at getcodegraph.com; prices are not published.
Best for
Individual developers, researchers and open-source maintainers on noncommercial projects who want the deepest structural view of a codebase for their agent.
Teams who want their coding agent to answer from an always-current local code graph under a licence their employer will accept.
Licence
PolyForm Noncommercial; commercial use needs a paid licence, price not published
MIT
MCP tools
19 tools, 10 resources and 2 prompts
1 tool by default; 7 more via CODEGRAPH_MCP_TOOLS
Write access
rename can apply edits; cypher runs arbitrary queries; read-only mode by env var
None; every tool reads
Keeping the graph current
Stale without --watch; auto-reindexing is enterprise-only
Watcher re-syncs about 2 seconds after a save; catches up on reconnect
Depth of analysis
Execution flows, clusters, API impact and statement-level data flow with --pdg
Call paths, blast radius, routes for 17 frameworks and affected tests
Languages
18 with registered providers
34 listed, 20 in the Rust kernel
Transport
stdio, or one shared HTTP server on port 3111
stdio, with a shared local background daemon
Data leaving the machine
Local indexing; optional remote embeddings and AI chat send code to your chosen provider
Anonymous usage telemetry on by default; daily update check
Main drawback
Licence keeps it out of most offices
Shallower analysis; large backlog of open pull requests
Both index a repository locally into a graph of symbols and calls, with no LLM, and serve it to coding agents over MCP. GitNexus exposes 19 tools, including previewed renames, raw Cypher queries and data-flow analysis, under a noncommercial licence. CodeGraph lists one read-only tool by default, re-syncs on every save and is MIT-licensed.
The two servers start from the same idea. Both parse a repository locally into a graph of symbols, calls and dependencies, without sending code to a model, so an agent can ask how something works or what a change would break and get an answer in one call rather than twenty rounds of grep. Where they part is how much they hand the agent and on what terms.
GitNexus goes deeper. Its 19 tools cover impact grouped by depth with a confidence score, detect_changes for mapping a diff to execution flows, rename with a preview step, API route tracing and, for indexes built with --pdg, statement-level data flow. CodeGraph lists a single tool, codegraph_explore, which returns source, call paths and a blast-radius summary together; seven narrower tools are hidden unless you enable them. Its maintainer argues one strong tool steers agents better than a menu, and on the README's own seven-repo benchmark, run on Claude Opus 4.8, it reported 88% fewer tool calls and 44% lower cost than an agent without it. Those figures are self-reported, and the same README says CodeGraph leaves about 80% more retrieved text in the context window over a long session.
The licence settles it for most readers. GitNexus is PolyForm Noncommercial, so a company needs a commercial licence even for a pilot, and the price is not published. CodeGraph is MIT. Freshness is the second practical gap: CodeGraph's watcher re-syncs about two seconds after a save, while GitNexus goes stale without --watch and keeps automatic re-indexing for its enterprise offering. Graphify, a similar tool reviewed under GitHub repos, sits between them, Apache-2.0 and broader in what it indexes, but stale after a git pull until updated.
Each has defaults to change. GitNexus writes hooks, skills and context files into your repository unless you pass --index-only, and exposes raw Cypher and applied renames unless GITNEXUS_MCP_READ_ONLY=1 is set. CodeGraph is read-only by design but sends anonymous usage telemetry unless you turn it off, and its backlog of about 400 open pull requests is large. For noncommercial work that needs the deepest structural view, GitNexus is the stronger tool; for everyone else, CodeGraph is the sensible default.
Which should you choose?
The jobs each one is best at, from our reviews.
Pick GitNexus if you are…
A maintainer of a large open-source TypeScript monorepo
See what a contributor's pull request really touches before merging
Check out the branch, run gitnexus analyze --index-only, then have the agent run detect_changes and impact on the diff to list affected flows by depth. Noncommercial open-source use is within the licence and indexing is local, so it costs nothing.
A PhD student studying a legacy COBOL and Java system
Map how a batch job flows through code nobody documented
Index once, browse clusters and processes in the Web UI through gitnexus serve, and use trace to follow the call path between two symbols. Academic research is covered by PolyForm Noncommercial.
An engineering manager at a 50-developer fintech
Decide whether to roll it out to the team
Even a pilot is commercial use, so it starts with a licence enquiry to Akon Labs. For the trial, set GITNEXUS_MCP_READ_ONLY=1 and GITNEXUS_MCP_ALLOWED_REPOS so agents cannot run raw Cypher or apply renames, and expect PR review to need the enterprise tier.
Pick CodeGraph if you are…
A backend developer on an 11,000-file TypeScript monorepo
Stop the agent grepping through dozens of files before it can explain a flow
Run npx @colbymchenry/codegraph once, then codegraph init in the repo, and set alwaysLoad so Claude Code sees codegraph_explore from the first prompt. On the README's VS Code benchmark that cut a question from 28 tool calls to 2; budget for the larger context footprint in long sessions.
A platform engineer at a 30-developer SaaS company
Run only the tests a change can affect in CI
Pipe git diff --name-only into codegraph affected --stdin --quiet and pass the result to the test runner. It follows imports to a depth of 5 by default, so tests reached through dependency injection or reflection can be missed; keep a nightly full run.
An engineering manager rolling an agent out across a team
Give every developer the same code context without a licence negotiation
MIT means no commercial deal, unlike GitNexus. Use codegraph install --yes in the dev-container image and set CODEGRAPH_TELEMETRY=0 there if usage statistics leaving company machines is a concern. The hosted PR product is waitlist-only, so there is no vendor contract to sign or price to compare.
GitNexus vs CodeGraph pricing
GitNexus
Free for noncommercial use (PolyForm Noncommercial 1.0.0). Commercial use, managed SaaS and self-hosted enterprise deployments need a licence from Akon Labs; prices are not published.
CodeGraph
Free and MIT-licensed. A hosted pull-request analysis platform is in waitlist beta at getcodegraph.com; prices are not published.
Pros and cons
GitNexus
Good
19 tools including impact, detect_changes, trace and previewed rename
Indexes locally with no LLM; embeddings optional
18 languages with registered providers
Read-only mode, repository allowlist and response token caps
analyze writes hooks, skills and context files unless --index-only
Raw Cypher and applied renames on by default
PR review, auto-reindexing and unified multi-repo graph held for enterprise
CodeGraph
Good
Graph re-syncs about two seconds after each save
MIT licence; no LLM, API key or network service for indexing
Read-only MCP surface with one tool by default
Careful self-reported benchmark, including where it costs more context
Not so good
Anonymous telemetry on by default
No rename, raw queries or data-flow analysis, unlike GitNexus
Answers leave more text in the context window over long sessions
About 400 open pull requests; documented ui command missing from releases
Before you commit
GitNexus vs CodeGraph: setup, integrations, data, cost and limits
Topic
GitNexus
CodeGraph
Setup
Node.js 22.18+ or 24.11+, then npx gitnexus analyze in the repository root and npx gitnexus setup, which detects Claude Code, Cursor, Codex, Antigravity, Factory Droid, OpenCode, CodeBuddy and Qoder; Windsurf needs manual config. The README advises npm install -g gitnexus for repeated use.
The shell or PowerShell installer bundles its own runtime, or npm i -g @colbymchenry/codegraph; codegraph install configures Claude Code, Cursor, Codex CLI, opencode, Hermes Agent, Gemini CLI, Antigravity, Kiro and GitHub Copilot, then codegraph init builds each project's graph. The README puts a fresh index of the 27,000-file Swift compiler repo at about 100 seconds.
Integrations
19 MCP tools (17 per repository, 2 for repository groups), 10 resources and 2 prompts. Most are read tools such as query, context, impact, trace, detect_changes and grep; rename can apply edits and cypher runs arbitrary graph queries. One shared HTTP server on port 3111 serves several agents.
One MCP tool by default (codegraph_explore) over stdio; node, search, callers, callees, impact, files and status re-enabled with CODEGRAPH_MCP_TOOLS. All are read-only. The same functions are CLI commands and a Node API (Node 22.5+ when embedded).
Data and privacy
Indexing is local and uses no LLM; remote embeddings, wiki generation and the Web UI's AI chat send code to providers you configure. read_file and grep read the working tree. On the Render deployment a single token guards every indexed repository.
Code, the graph and searches stay local in .codegraph/codegraph.db. Telemetry sends daily counts of commands, agents and indexed languages unless disabled, and the server checks GitHub for a new version once a day. No security advisories are published; npm packages and release bundles have carried provenance attestations since July 2026.
Cost at scale
Free for noncommercial use; commercial and enterprise licences are priced on enquiry. The documented Render deployment costs about $35 a month: $25 for the server, $7 for the web service and $2.50 for a 10 GB disk.
Free; the cost is machine time. The README reports the Linux kernel (70,000 files) indexing in under 12 minutes on a 2-core, 6 GB VPS, and a one-file edit re-syncing in about 4 seconds on the Swift repo. No hosted fees until the waitlisted platform prices itself.
Limits
Resolution varies by language construct, and the README tells users to check reported ambiguity and index freshness. Without --watch the index goes stale; auto-reindexing is enterprise-only. Large responses can be capped with maxTokens or GITNEXUS_MCP_DEFAULT_MAX_TOKENS.
Files over 1 MB and gitignored paths are skipped. Static analysis misses runtime dispatch and reflection: cross-file coverage is 73.8% for Liquid and 83.3% for Spring routes. WSL2 projects on /mnt drives have socket and locking problems, and only one writer per project is allowed.
Common questions
Is GitNexus better than CodeGraph?
GitNexus gives an agent the deeper view of a codebase, but CodeGraph is the one most companies can actually install, and the one whose graph stays current without extra work. We rate GitNexus 3.9 and CodeGraph 4.1 out of 5.
When should I choose GitNexus?
If your project is personal, academic or open source and you want impact analysis, execution flows, renames and graph queries in one server.
When should I choose CodeGraph?
If you work at a company, want a graph that updates itself as files change, and prefer a small read-only tool surface.
How much do GitNexus and CodeGraph cost?
GitNexus: Free for noncommercial use (PolyForm Noncommercial 1.0.0). Commercial use, managed SaaS and self-hosted enterprise deployments need a licence from Akon Labs; prices are not published. CodeGraph: Free and MIT-licensed. A hosted pull-request analysis platform is in waitlist beta at getcodegraph.com; prices are not published.