Skip to content

Codebase Memory vs Memory Hive

Codebase Memory is an open-source MCP server for knowledge and memory. Memory Hive is a freemium MCP server for knowledge and memory.

  • Codebase Memory is open source, while Memory Hive is freemium.
  • Codebase Memory is best for find callers of a function.
  • Memory Hive is best for keep project background once and reuse it across claude, cursor and codex.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Memory Hive is a freemium MCP server for knowledge and memory.
Best for
Find callers of a function
Keep project background once and reuse it across Claude, Cursor and Codex
Kind
MCP server
MCP server
Pricing
Open source
Freemium
Platforms
CLI, macOS, Linux, Windows, self-hosted
macOS, iOS, CLI
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
Keep project background once and reuse it across Claude, Cursor and Codex; Let an agent suggest facts to remember while you review them; Search past notes offline on your own machine

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

  • Propose, then approve

    Agents submit candidates and only you can confirm them into memory.

  • Local SQLite store

    Memory lives in one file on your disk, by default under ~/.memory-hive.

  • Shared across AIs

    Any MCP client can read the same memory, so switching assistants keeps context.

  • Human CLI

    apiary-memory-cli lists, approves and searches pending candidates.

  • Semantic search in the app

    The macOS app adds a local vector model with keyword fusion, while the pip package is keyword-only.

  • Collaboration board

    Several AIs can hand off work with tasks waiting for your decision pinned on top.

Codebase Memory vs Memory Hive: questions

Is Codebase Memory or Memory Hive cheaper?

Codebase Memory is the cheaper option: it is open source.

What is the difference between Codebase Memory and Memory Hive?

Codebase Memory is an open-source MCP server for knowledge and memory. Memory Hive is a freemium MCP server for knowledge and memory. Codebase Memory is open source, while Memory Hive is freemium.