Skip to content

Citadel vs Codebase Memory

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

  • Citadel is best for give a desktop assistant private long-term memory.
  • Codebase Memory is best for find callers of a function.
What it is
Citadel is an open-source MCP server for knowledge and memory.
Codebase Memory is an open-source MCP server for knowledge and memory.
Best for
Give a desktop assistant private long-term memory
Find callers of a function
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Windows, Linux, self-hosted
CLI, macOS, Linux, Windows, self-hosted
Runs
Locally
Locally
GitHub stars
48.7K
Last commit
Nov 2026
License
MIT
Open source
Good for
Give a desktop assistant private long-term memory; Erase a memory with a verifiable receipt; Link and summarise what an agent knows about a topic
Find callers of a function; Assess the impact of a diff; Link documentation to code

What Citadel does

  • Encrypted memory

    Memory is AES-256 encrypted at rest and each atom is sealed and authenticated.

  • Hybrid recall

    Combines vector, keyword, recency and importance scores.

  • Memory graph

    Typed edges link atoms and can be expanded during recall.

  • Cryptographic forgetting

    Destroys keys to erase an atom or region.

  • Integrity checks

    mem_verify reports whether atoms are authentic, tampered or erased.

  • Local-first

    No API keys; data stays on your 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.

Citadel vs Codebase Memory: questions

Is Citadel or Codebase Memory cheaper?

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

What is the difference between Citadel and Codebase Memory?

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