COMPARISONS · CODE KNOWLEDGE GRAPHS

Codegraph alternatives in 2026: code knowledge graphs for AI agents

AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-12-01 · UPDATED · 2026-12-01
SHORT ANSWER · UPDATED 2026-12-01

What are the best Codegraph alternatives in 2026? For a skill that graphs a repo plus docs, graphify. For a local-first MCP and CLI map used in reviews, code-review-graph. For a Go engine with CLI, MCP and API, Gortex. For a single static binary MCP graph, codebase-memory-mcp. For a C++ CLI that picks context for an agent, ripwire. For ranked passages over the same files, XERJ.

Key number: Codegraph has 79,311 GitHub stars, is MIT licensed, and its latest release is v1.6.7, 30 Nov 2026. graphify has 155,614 stars and codebase-memory-mcp has 49,413 stars.

Stars and licences from the public GitHub API on 1 Dec 2026; latest releases from the GitHub releases API the same day. Features from each project's GitHub description and README.

TL;DR Codegraph is a pre-indexed local code knowledge graph for coding agents. It is MIT licensed and exposes the graph over MCP. Teams compare alternatives when they want a skill-based graph, a review-oriented map, a single static binary, or ranked file search rather than a symbol graph. Pick graphify for a repo-plus-docs skill, code-review-graph for a local MCP map used in reviews, Gortex for a Go CLI/MCP/API engine, codebase-memory-mcp for one static binary, ripwire for a C++ context CLI, and XERJ for hybrid search over the same code.

TOOL · FILTER

Find the Codegraph alternative that fits

I need

Sort by

ToolWhat it isBest forLatest releaseLicenceStars
CodegraphPre-indexed local code knowledge graph for coding agents, with MCPA persistent graph of a repo that stays in sync as code changesv1.6.7, 30 Nov 2026MIT79,311
graphifySkill-based knowledge graph over a codebase, docs, schemas and PDFsA local graph skill for Claude Code, Cursor, Codex and Gemini CLIv0.9.124, 30 Nov 2026Apache-2.0155,614
code-review-graphLocal-first code intelligence graph with MCP and CLIA persistent map so review and large-repo agents read only what mattersv2.4.0, 11 Nov 2026MIT33,002
GortexLocal code-intelligence engine with a graph, CLI, MCP and APIMulti-language, multi-repo graphs that agents query instead of whole filesv0.64.12, 30 Nov 2026Apache-2.02,704
codebase-memory-mcpSingle static binary MCP server that indexes a repo into a code graphA zero-dependency local graph with fast queries over many languagesv0.12.1, 16 Oct 2026MIT49,413
ripwireZero-dependency C++23 CLI and MCP server for agent contextFind the right code for an agent without reading the whole repov0.7.0, 23 Nov 2026Apache-2.02,585
XERJLocal search over code and files with ranked passages and citations over MCPHybrid search of a repo when you want passages, not only a symbol graphv1.0.0-rc.105, 23 Nov 2026Apache-2.023,083

Stars and licences from the public GitHub API on 1 Dec 2026; latest GitHub releases from the releases API the same day. Tick boxes to keep only the tools that do all of them; sort by stars, newest release or name.
PASTE THIS TO YOUR AI AGENT. IT DOES THE REST Read https://xerj.org/compare/codegraph-alternatives-2026.md. Ask me which languages we use, whether the agent needs an MCP server, whether we want a symbol graph or ranked file search, and how the graph should stay current, then tell me which Codegraph alternative fits and how to install it.

Pick one in ten seconds

Why people look for a Codegraph alternative

Codegraph builds a local knowledge graph of a repository and keeps it current so coding agents can ask for precise context instead of reading whole files. It is written in TypeScript, MIT licensed, and ships over MCP. The latest release is v1.6.7, 30 Nov 2026. Teams compare alternatives when they want a graph skill that also covers docs, a review-oriented map, a static binary, or hybrid search. For a four-way view of graphify, code-review-graph, Gortex and ripwire, see graphify vs code-review-graph vs Gortex.

Codegraph vs graphify vs Gortex

Codegraph is a pre-indexed, auto-syncing graph with an MCP server (79,311 stars, MIT, v1.6.7, 30 Nov 2026). graphify is a local skill that turns a codebase, docs, SQL schemas, configs and PDFs into a queryable graph using deterministic AST parsing (155,614 stars, Apache 2.0, v0.9.124, 30 Nov 2026). Gortex is a Go code-intelligence engine with a graph, CLI, MCP and API (2,704 stars, Apache 2.0, v0.64.12, 30 Nov 2026). Choose Codegraph when you want a dedicated, frequently released MCP graph; choose graphify when the skill should cover docs and schemas as well as code; choose Gortex when you want a Go binary with CLI, MCP and API together.

When to choose code-review-graph, codebase-memory-mcp or ripwire

Choose code-review-graph when the job is a persistent local map for reviews and large-repo workflows (MIT, v2.4.0, 11 Nov 2026, 33,002 stars). Choose codebase-memory-mcp when you want a single static C binary MCP server with no runtime to install (MIT, v0.12.1, 16 Oct 2026, 49,413 stars). Choose ripwire when you want a zero-dependency C++23 CLI and MCP server that selects context for an agent (Apache 2.0, v0.7.0, 23 Nov 2026, 2,585 stars).

XERJ: a new way for AI to search for data

XERJ is not a symbol knowledge graph. It is a local search engine for code and files: agents call it over MCP and get ranked passages with citations. The latest release is v1.0.0-rc.105 (23 Nov 2026). xerj mcp --http serves Streamable HTTP at http://127.0.0.1:9330/mcp, read-only unless you pass --allow-writes. A non-loopback bind needs XERJ_MCP_TOKEN. The flag is --http. Use a graph tool when the agent must walk callers and structure; use XERJ when it must search the text of the repo.

Looking for a codebase-memory-mcp alternative? codebase-memory-mcp alternatives 2026 compares it with Codegraph, graphify, code-review-graph, Gortex, Serena, Claude Context and XERJ, with a filter.

Read next

FAQ

What is the best Codegraph alternative in 2026?

graphify fits a local skill over code and docs. code-review-graph fits a local MCP map for reviews. Gortex fits a Go CLI, MCP and API. codebase-memory-mcp fits a single static binary. ripwire fits a C++ context CLI. XERJ fits ranked passage search over the same repo.

Is Codegraph open source?

Yes. colbymchenry/codegraph is MIT licensed, with 79,311 GitHub stars on 1 Dec 2026, and its latest release is v1.6.7, 30 Nov 2026.

How does Codegraph differ from grep or ripgrep?

Grep and ripgrep search text. Codegraph and the graph tools on this page index structure (symbols, relationships) so an agent can ask for related context without scanning every file. XERJ sits in between: it is search, with ranking and citations, not a symbol graph.

Does XERJ replace Codegraph?

No. They solve adjacent jobs. Codegraph answers structural questions about a codebase. XERJ searches the text of code and other files. Some teams run a graph MCP next to XERJ.

How was this page checked?

Stars and licences came from the public GitHub API on 1 Dec 2026. Latest releases came from the GitHub releases API the same day. Features were read from each repository's description and README.

Evidence