Skip to content

Codebase Memory vs OpsecForge

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

  • Codebase Memory is best for find callers of a function.
  • OpsecForge is best for letting an agent read a .env file without exposing values.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
OpsecForge is an open-source MCP server for security.
Best for
Find callers of a function
Letting an agent read a .env file without exposing values
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI, self-hosted
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
Letting an agent read a .env file without exposing values; Checking staged changes for leaked keys before a commit; Testing a webhook signature without pasting the secret into chat

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

  • File redaction

    Returns a file with secrets masked and line-numbered findings.

  • Pre-commit scanning

    Scans files, directories or staged changes for secrets.

  • Webhook verification

    Checks a webhook signature using a secret read from an environment variable.

  • JWT inspection

    Inspects tokens with the secret taken by variable name.

  • Claude Code guard hook

    Blocks direct reads of .env and key files and points the model to redact_file.

  • Path restriction

    OPSECFORGE_MCP_ROOTS limits which directories the file tools may read.

Codebase Memory vs OpsecForge: questions

Is Codebase Memory or OpsecForge cheaper?

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

What is the difference between Codebase Memory and OpsecForge?

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