Skip to content

Codebase Memory vs ThumbGate — PreToolUse Agent Firewall

Codebase Memory is an open-source MCP server for knowledge and memory. ThumbGate — PreToolUse Agent Firewall is an open-source MCP server for security.

  • Codebase Memory is best for find callers of a function.
  • ThumbGate — PreToolUse Agent Firewall is best for stop an agent repeating a mistake you have already corrected.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
ThumbGate — PreToolUse Agent Firewall is an open-source MCP server for security.
Best for
Find callers of a function
Stop an agent repeating a mistake you have already corrected
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
Stop an agent repeating a mistake you have already corrected; Block force pushes to protected branches; Review which lessons the agent has stored

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 ThumbGate — PreToolUse Agent Firewall does

  • Feedback capture

    Records thumbs up or down with the action and outcome.

  • Local lessons

    Keeps reviewable lessons that survive sessions without touching model weights.

  • Gate promotion

    Repeated negatives become gates; stale ones expire.

  • Allow, warn or deny

    Decides before the tool call proceeds, with strict mode for hard denies.

  • Dashboard

    A local dashboard opens with one command.

  • Setup Sprint

    A paid engagement for one configured gate.

Codebase Memory vs ThumbGate — PreToolUse Agent Firewall: questions

Is Codebase Memory or ThumbGate — PreToolUse Agent Firewall cheaper?

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

What is the difference between Codebase Memory and ThumbGate — PreToolUse Agent Firewall?

Codebase Memory is an open-source MCP server for knowledge and memory. ThumbGate — PreToolUse Agent Firewall is an open-source MCP server for security.