Skip to content

Codebase Memory vs Zn Gate

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

  • Codebase Memory is open source, while Zn Gate is freemium.
  • Codebase Memory is best for find callers of a function.
  • Zn Gate is best for keep api keys out of a coding agent's context.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Zn Gate is a freemium MCP server for security.
Best for
Find callers of a function
Keep API keys out of a coding agent's context
Kind
MCP server
MCP server
Pricing
Open source
Freemium, from $19 a month
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI, macOS, Linux, Windows
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 API keys out of a coding agent's context; Run a CI scan of agent config files for injection traps; See which secrets an agent can reach on a 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 Zn Gate does

  • Secret scrubbing

    Replaces secrets with placeholders the model sees instead.

  • Injection checks

    Checks tool output, files and pages before the agent acts.

  • Config scan

    Audits prompts, AGENTS.md and SKILL.md for traps and leaked secrets.

  • Six agent hooks

    Supports Claude Code, Codex CLI, Cursor, OpenCode, Antigravity and ZCode.

  • Local vault

    Moves .env values into an encrypted local vault.

  • Optional cloud

    Adds a classifier and team audit trail if enabled.

Codebase Memory vs Zn Gate: questions

Is Codebase Memory or Zn Gate cheaper?

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

What is the difference between Codebase Memory and Zn Gate?

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