Codebase Memory vs XERJ
Codebase Memory is an open-source MCP server for knowledge and memory. XERJ is an open-source MCP server for knowledge and memory.
- Codebase Memory has more GitHub stars (48,740 vs 19,160).
- Codebase Memory is best for find callers of a function.
- XERJ is best for search local code and docs from an agent.
- What it is
- Codebase Memory is an open-source MCP server for knowledge and memory.XERJ is an open-source MCP server for knowledge and memory.
- Best for
- Find callers of a functionSearch local code and docs from an agent
- Kind
- MCP serverMCP server
- Pricing
- Open sourceOpen source
- Platforms
- CLI, macOS, Linux, Windows, self-hostedCLI, Linux, macOS, self-hosted, API
- Runs
- LocallyLocally
- GitHub stars
- 48.7K19.2K
- Last commit
- Nov 2026Nov 2026
- License
- MITApache-2.0
- Open source
- Good for
- Find callers of a function; Assess the impact of a diff; Link documentation to codeSearch local code and docs from an agent; Give an agent persistent memory notes; Look up real API definitions
What Codebase Memory does
Code knowledge graph
Persistent graph of symbols, calls and dependencies.
Multiple search modes
Structural, full-text and local semantic search.
Documentation links
Indexes Markdown, reStructuredText, AsciiDoc and ADRs.
Infrastructure tracing
Connects Docker, Kubernetes, Terraform and CI to source.
Change impact
Maps a diff to affected symbols and related tests.
Native CLI
Query the same graph from the command line.
What XERJ does
Single binary
Search, vectors, facts and memory in one Rust program.
Evidence-backed answers
Answers come with the program and evidence used.
Runs locally
Works offline on a CPU, on a laptop or server.
Elasticsearch-compatible API
Exposes an API compatible with Elasticsearch.
Reference coding
Index open-source repos so agents consult real definitions.
MCP integration
Stdio MCP server connects to a running node.
Codebase Memory vs XERJ: questions
Is Codebase Memory or XERJ cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Codebase Memory and XERJ?
Codebase Memory is an open-source MCP server for knowledge and memory. XERJ is an open-source MCP server for knowledge and memory. Codebase Memory has more GitHub stars (48,740 vs 19,160).

