Skip to content

Codebase Memory vs ZenBrain Memory

Codebase Memory is an open-source MCP server for knowledge and memory. ZenBrain Memory is an open-source MCP server for knowledge and memory.

  • Codebase Memory is best for find callers of a function.
  • ZenBrain Memory is best for give claude code a memory of project decisions across sessions.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
ZenBrain Memory is an open-source MCP server for knowledge and memory.
Best for
Find callers of a function
Give Claude Code a memory of project decisions across sessions
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI, self-hosted
Runs
Locally
Locally
GitHub stars
48.7K
Last commit
Nov 2026
License
MIT
Open source
Good for
Find callers of a function; Assess the impact of a diff; Link documentation to code
Give Claude Code a memory of project decisions across sessions; Keep personal preferences available in Cursor or Claude Desktop; Store step-by-step procedures an agent should reuse

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 ZenBrain Memory does

  • Layered memory

    Working, episodic, semantic, procedural and core layers behind one store.

  • Automatic routing

    Chooses the layer on store from wording, emotional weight and confidence.

  • Scored recall

    Returns results with a 0 to 1 score and the layer of origin.

  • Linked forgetting

    Deleting a memory also removes what consolidation linked to it.

  • Consolidation pass

    Turns weighted episodes into facts and clears decayed working slots.

  • Tool annotations

    Marks read-only, additive and destructive tools for client prompts.

Codebase Memory vs ZenBrain Memory: questions

Is Codebase Memory or ZenBrain Memory cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Codebase Memory and ZenBrain Memory?

Codebase Memory is an open-source MCP server for knowledge and memory. ZenBrain Memory is an open-source MCP server for knowledge and memory.