Skip to content

Brain Memory vs Codebase Memory

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

  • Brain Memory is best for keep project conventions across coding sessions.
  • Codebase Memory is best for find callers of a function.
What it is
Brain Memory is an open-source MCP server for knowledge and memory.
Codebase Memory is an open-source MCP server for knowledge and memory.
Best for
Keep project conventions across coding sessions
Find callers of a function
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, self-hosted, macOS, Linux, Windows
CLI, macOS, Linux, Windows, self-hosted
Runs
Remotely
Locally
GitHub stars
48.7K
Last commit
Nov 2026
License
MIT
Open source
Good for
Keep project conventions across coding sessions; Share one memory between Claude and Codex; Record decisions and look them up later
Find callers of a function; Assess the impact of a diff; Link documentation to code

What Brain Memory does

  • Markdown memories

    One file per memory with no database.

  • Model-free recall

    Ranked by keyword, decayed strength, links and project.

  • Decay and consolidation

    Unused memories fade and a sleep cycle prunes.

  • Memory types

    Eight types with their own decay rates.

  • Approval for external content

    Tool and web content waits for your approval.

  • Sync options

    Git, encrypted export, synced folder or Brain Cloud.

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.

Brain Memory vs Codebase Memory: questions

Is Brain Memory or Codebase Memory cheaper?

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

What is the difference between Brain Memory and Codebase Memory?

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