---
title: "codebase-memory-mcp alternatives 2026: code graph MCP servers"
canonical: "https://xerj.org/compare/codebase-memory-mcp-alternatives-2026"
updated: "2026-12-02"
---

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

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.

## Agent prompt

```text
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

- Another local code graph over MCP: **Codegraph**, **code-review-graph** or **Gortex**.
- A graph skill that also reads docs, schemas and PDFs: **graphify**.
- A zero-dependency C++ context CLI: **ripwire**.
- Symbol level edits and refactors through language servers: **Serena**.
- Semantic code search in Milvus or Zilliz Cloud: **Claude Context**.
- Ranked, cited passages over code, docs and logs together: **XERJ**.

## 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](https://xerj.org/compare/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](https://xerj.org/compare/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](https://xerj.org/compare/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](https://xerj.org/compare/best-mcp-server-local-code-search-2026).

## Read next

- [Codegraph alternatives 2026](https://xerj.org/compare/codegraph-alternatives-2026)
- [graphify vs code-review-graph vs Gortex](https://xerj.org/compare/graphify-vs-code-review-graph-vs-gortex)
- [Serena MCP alternatives 2026](https://xerj.org/compare/serena-mcp-alternatives-2026)
- [Best MCP server for local code search 2026](https://xerj.org/compare/best-mcp-server-local-code-search-2026)
- [Context7 alternatives 2026](https://xerj.org/compare/context7-alternatives-2026)

## 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

- [DeusData/codebase-memory-mcp](https://github.com/DeusData/codebase-memory-mcp): 49,505 stars, MIT, v0.12.1, 16 Oct 2026. README: native C backend, 17 MCP tools, no Docker or language runtime.
- [colbymchenry/codegraph](https://github.com/colbymchenry/codegraph): 79,417 stars, MIT, v1.6.7, 30 Nov 2026.
- [Graphify-Labs/graphify](https://github.com/Graphify-Labs/graphify): 156,162 stars, Apache-2.0, v0.9.125, 2 Dec 2026.
- [tirth8205/code-review-graph](https://github.com/tirth8205/code-review-graph): 33,022 stars, MIT, v2.4.0, 11 Nov 2026.
- [zzet/gortex](https://github.com/zzet/gortex): 2,763 stars, Apache-2.0, v0.64.12, 30 Nov 2026.
- [redhat-et/ripwire](https://github.com/redhat-et/ripwire): 2,591 stars, Apache-2.0, v0.7.0, 23 Nov 2026.
- [oraios/serena](https://github.com/oraios/serena): 31,904 stars, GPL-3.0-or-later, v2.1.0, 19 Oct 2026.
- [zilliztech/claude-context](https://github.com/zilliztech/claude-context): 12,752 stars, MIT, npm packages.
- [xerj-org/xerj](https://github.com/xerj-org/xerj): 23,337 stars, Apache-2.0, v1.0.0-rc.105 (23 Nov 2026).
