COMPARISONS · CODE INTELLIGENCE

codebase-memory-mcp alternatives in 2026: code graph and code search MCP servers

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

What are the best codebase-memory-mcp alternatives in 2026? For another local code knowledge graph over MCP, Codegraph, code-review-graph or Gortex. For a graph skill that also reads docs and PDFs, graphify. For a small C++ context CLI, ripwire. For symbol level edits through language servers, Serena. For semantic search backed by a vector database, Claude Context. For ranked, cited passages over code and docs together, XERJ.

Key number: codebase-memory-mcp has 49,505 GitHub stars, is MIT licensed, and its latest release is v0.12.1, 16 Oct 2026. Codegraph has 79,417 stars and graphify has 156,162.

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

TL;DR codebase-memory-mcp is an MIT licensed MCP server written in C that indexes a repository into a code knowledge graph and gives coding agents 17 MCP tools for symbols, callers, dependencies and search. It needs no Docker or language runtime. Teams compare alternatives when they want a different graph engine, a skill instead of a server, symbol level editing, a vector database, or ranked passages from code and docs. Use the filter to keep only the tools that match.

TOOL · FILTER

Find the codebase-memory-mcp alternative that fits

I need

Sort by

ToolWhat it isBest forLatest releaseLicenceStars
codebase-memory-mcpNative C MCP server that indexes a repo into a code knowledge graph, with 17 MCP toolsA local graph with no Docker or language runtimev0.12.1, 16 Oct 2026MIT49,505
CodegraphPre-indexed local code knowledge graph for coding agents, with MCPA persistent graph that stays in sync as code changesv1.6.7, 30 Nov 2026MIT79,417
graphifySkill-based knowledge graph over a codebase, docs, schemas and PDFsA local graph skill for Claude Code, Cursor, Codex and Gemini CLIv0.9.125, 2 Dec 2026Apache-2.0156,162
code-review-graphLocal-first code intelligence graph with MCP and CLIReview and large-repo agents that read only what mattersv2.4.0, 11 Nov 2026MIT33,022
GortexLocal code intelligence engine with a graph, CLI, MCP and APIMulti-language, multi-repo graphsv0.64.12, 30 Nov 2026Apache-2.02,763
ripwireZero-dependency C++23 CLI and MCP server for agent contextFinding the right code without reading the whole repov0.7.0, 23 Nov 2026Apache-2.02,591
SerenaMCP toolkit for symbol level retrieval and editing, built on language serversSymbol level edits and refactorsv2.1.0, 19 Oct 2026GPL-3.0-or-later; SolidLSP library MIT31,904
Claude ContextSemantic code search MCP that stores code embeddings in Milvus or Zilliz CloudLarge codebases with a vector databasenpm packages, no GitHub releasesMIT12,752
XERJLocal search engine for agents: BM25, vector and hybrid search over code, docs and files, with cited answers over CLI and MCPRanked passages from code and docs togetherv1.0.0-rc.105, 23 Nov 2026Apache-2.023,337

Stars and licences from the public GitHub API on 2 Dec 2026; latest GitHub releases from the releases API the same day. Claude Context ships through npm, so its sort date is the last push. 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/codebase-memory-mcp-alternatives-2026.md. Ask me which languages and how many repos we have, whether the agent needs a symbol graph, symbol edits or ranked search over code and docs, and whether everything must stay on this machine, then tell me which codebase-memory-mcp alternative fits and how to connect it over MCP.

Pick one in ten seconds

Why people look for a codebase-memory-mcp alternative

codebase-memory-mcp turns a repository into a graph that an agent queries instead of reading whole files. Teams compare alternatives when they want a graph engine in another language, a skill rather than a server, edits through a language server, embeddings in a vector database, or search that covers docs and logs as well as code. For a graph-only view see Codegraph alternatives 2026.

codebase-memory-mcp vs Codegraph vs graphify

All three build a code knowledge graph for agents. Codegraph (MIT, 79,417 stars, v1.6.7, 30 Nov 2026) keeps a pre-indexed graph in sync as code changes. graphify (Apache-2.0, 156,162 stars, v0.9.125, 2 Dec 2026) is a skill that also reads docs, schemas and PDFs. codebase-memory-mcp (MIT, 49,505 stars) is a native C server with 17 MCP tools. Choose by how you install tools and which agents you use. See graphify vs code-review-graph vs Gortex.

When to choose Serena or Claude Context

Choose Serena when the agent should find and edit code at the symbol level through language servers; it is GPL-3.0-or-later. Choose Claude Context when you already run Milvus or Zilliz Cloud and want semantic code search over large codebases; it is MIT and ships through npm. More code search servers are in Serena MCP alternatives 2026.

XERJ: a new way for AI to search for data

A code graph answers "who calls this function". XERJ answers "where is this explained": it is a local search engine for agents, with a neurosymbolic model inside, that indexes code, docs, specs and logs and returns ranked passages with citations over CLI and MCP. It is Apache 2.0 and its latest GitHub release is v1.0.0-rc.105 (23 Nov 2026). Many setups run a graph server and XERJ side by side. See Best MCP server for local code search 2026.

Read next

FAQ

What is the best codebase-memory-mcp alternative in 2026?

It depends on the job. Codegraph, code-review-graph and Gortex are local code graphs over MCP. graphify is a graph skill that also reads docs. ripwire is a C++ context CLI. Serena edits code through language servers. Claude Context stores embeddings in Milvus. XERJ returns ranked, cited passages over code and docs.

Is codebase-memory-mcp open source?

Yes. DeusData/codebase-memory-mcp is MIT licensed, with 49,505 GitHub stars on 2 Dec 2026. Its latest release is v0.12.1, 16 Oct 2026.

Can I use a code graph MCP server and XERJ together?

Yes. A graph server answers structural questions such as callers and dependencies; XERJ answers questions whose answer sits in text, such as docs, specs, comments and logs. Both connect to the same agent over MCP.

Which alternatives run fully on my machine?

codebase-memory-mcp, Codegraph, graphify, code-review-graph, Gortex, ripwire, Serena and XERJ all run locally. Claude Context needs a Milvus or Zilliz Cloud vector database and an embedding provider.

How was this page checked?

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

Evidence