Skip to content

Codebase Memory vs Keyfold

Codebase Memory is an open-source MCP server for knowledge and memory. Keyfold is a paid MCP server for security.

  • Codebase Memory is open source, while Keyfold is paid.
  • Codebase Memory is best for find callers of a function.
  • Keyfold is best for let cursor or claude code run a deploy command with production keys without pasting them into chat.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Keyfold is a paid MCP server for security.
Best for
Find callers of a function
Let Cursor or Claude Code run a deploy command with production keys without pasting them into chat
Kind
MCP server
MCP server
Pricing
Open source
Paid
Platforms
CLI, macOS, Linux, Windows, self-hosted
macOS, 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
Let Cursor or Claude Code run a deploy command with production keys without pasting them into chat; Generate a .env file for a project from a local vault after approving it; Import an existing .env file into a vault from inside an agent session

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 Keyfold does

  • No secret values returned

    The README says none of the seven tools hands a secret value back to the model.

  • Per-request approval

    Each request waits for a click in the Keyfold app, which shows the command or file involved.

  • Command injection of keys

    Runs an approved command with the needed keys injected into its environment.

  • Writes .env files

    Creates a .env file you approve rather than exposing the keys in chat.

  • Encrypted single-file vault

    Keys live in one file sealed with XChaCha20-Poly1305 under an Argon2id-derived key.

  • Project and environment layout

    Keys are organised by project and environment, with notes, tags and expiry dates.

Codebase Memory vs Keyfold: questions

Is Codebase Memory or Keyfold cheaper?

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

What is the difference between Codebase Memory and Keyfold?

Codebase Memory is an open-source MCP server for knowledge and memory. Keyfold is a paid MCP server for security. Codebase Memory is open source, while Keyfold is paid.