Skip to content

Codebase Memory vs Spend Brake

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

  • Codebase Memory is best for find callers of a function.
  • Spend Brake is best for replace a tavily or exa mcp entry with a capped one.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Spend Brake is an open-source MCP server for developer tools.
Best for
Find callers of a function
Replace a Tavily or Exa MCP entry with a capped one
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
Replace a Tavily or Exa MCP entry with a capped one; Stop a looping agent from burning API budget; Check how much budget is left on a key

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 Spend Brake does

  • Virtual key caps

    Every call is checked against dollar limits on the key before it is sent.

  • Search providers

    Offers Tavily, Exa, Brave and SerpApi search through one server.

  • Maps commands

    Includes Google Maps geocoding and place search.

  • STOP signals

    Cap, kill-switch and loop stops tell the model not to retry.

  • Cost in every result

    Each result carries its cost and the remaining budget.

  • Separate admin server

    An --admin mode manages keys, caps and policy with an admin token.

Codebase Memory vs Spend Brake: questions

Is Codebase Memory or Spend Brake cheaper?

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

What is the difference between Codebase Memory and Spend Brake?

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