Skip to content

Codebase Memory vs Locus

Codebase Memory is an open-source MCP server for knowledge and memory. Locus is a freemium MCP server for finance and payments.

  • Codebase Memory is open source, while Locus is freemium.
  • Codebase Memory is best for find callers of a function.
  • Locus is best for resell metered api access inside an ai product with your own markup.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Locus is a freemium MCP server for finance and payments.
Best for
Find callers of a function
Resell metered API access inside an AI product with your own markup
Kind
MCP server
MCP server
Pricing
Open source
Freemium, from $20 a month
Platforms
CLI, macOS, Linux, Windows, self-hosted
API, Web, 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
Resell metered API access inside an AI product with your own markup; Give each team or agent a budget and see who spent what; Offer research or sales-data lookups billed per question or per lead

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

  • Per-user billing

    Charges each customer's balance at base cost plus a markup you set.

  • Spend limits per agent

    Allowed tools, a maximum per call and a run budget are checked before the provider is called.

  • Three key types

    Secret, publishable and per-agent keys each reach only what they need.

  • Bring your own APIs

    Adds an HTTP service with a credential and price so it bills through the same ledger.

  • Signed webhooks

    Balance, top-up, burn and refund events are signed and retried up to 7 times.

  • Sandbox

    Test keys make no provider calls and no charges.

Codebase Memory vs Locus: questions

Is Codebase Memory or Locus cheaper?

Codebase Memory is the cheaper option: it is open source.

What is the difference between Codebase Memory and Locus?

Codebase Memory is an open-source MCP server for knowledge and memory. Locus is a freemium MCP server for finance and payments. Codebase Memory is open source, while Locus is freemium.