Skip to content

Codebase Memory vs opsgate

Codebase Memory is an open-source MCP server for knowledge and memory. opsgate is an open-source MCP server for developer tools.

  • Codebase Memory is best for find callers of a function.
  • opsgate is best for ask an agent what is filling the disk or listening on a port without giving it a shell.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
opsgate is an open-source MCP server for developer tools.
Best for
Find callers of a function
Ask an agent what is filling the disk or listening on a port without giving it a shell
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI, self-hosted, Linux
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
Ask an agent what is filling the disk or listening on a port without giving it a shell; Diagnose nginx 502 errors from journal and container logs; Reload a service after a config change with a human approving the exact command

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

  • Typed tools, no shell

    25 named tools replace a free-form command string, so the agent only fills in typed arguments.

  • Argv-built commands

    Commands are assembled as argument arrays and single-quoted over SSH, so injected text stays one literal word.

  • Per-host modes

    Each tool is classed observe, mutate or shell and checked against the mode set for the host it targets.

  • Human approval prompts

    In operate mode, writes ask for approval and show the exact command before it runs.

  • Hash-chained audit log

    Approved calls and refusals are both recorded in a tamper-evident log.

  • Zero-config start

    Runs read-only on the local machine with no config file, defaulting to observe mode.

Codebase Memory vs opsgate: questions

Is Codebase Memory or opsgate cheaper?

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

What is the difference between Codebase Memory and opsgate?

Codebase Memory is an open-source MCP server for knowledge and memory. opsgate is an open-source MCP server for developer tools.