Skip to content

Codebase Memory vs Preloop

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

  • Codebase Memory is best for find callers of a function.
  • Preloop is best for require approval before an agent makes a large payment.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Preloop is an open-source MCP server for security.
Best for
Find callers of a function
Require approval before an agent makes a large payment
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Linux, Windows, self-hosted
self-hosted, Web, API, CLI
Runs
Locally
Remotely
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
Require approval before an agent makes a large payment; Cap spend per agent or flow; Watch a session timeline across a fleet

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

  • MCP firewall

    Rules allow, deny or require approval per tool call, including argument checks.

  • Model gateway

    Per-agent spend attribution with soft and hard budgets.

  • Human approvals

    Requests reach mobile, watch, Slack, Mattermost, email or webhook.

  • One-command onboarding

    agents discover rewrites existing agent configs after backing them up.

  • Audit trail

    Logs tool, inputs, rule, decision, approver and spend.

Codebase Memory vs Preloop: questions

Is Codebase Memory or Preloop cheaper?

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

What is the difference between Codebase Memory and Preloop?

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