Skip to content

Codebase Memory vs Substrate

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

  • Codebase Memory is open source, while Substrate is free trial.
  • Codebase Memory is best for find callers of a function.
  • Substrate is best for start an agent session already knowing a customer's status.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Substrate is an MCP server for knowledge and memory.
Best for
Find callers of a function
Start an agent session already knowing a customer's status
Kind
MCP server
MCP server
Pricing
Open source
Free trial, 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
Start an agent session already knowing a customer's status; Spot renewal risk buried in email; Correct a wrong fact once for every agent

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

  • Cited pages

    Every sentence links to dated, scored sources.

  • Editable facts

    Corrections become durable facts agents use.

  • Source connectors

    Gmail, Notion, WhatsApp and file uploads.

  • Branch sharing

    Share a page and its descendants with another user.

  • Multi-agent plugins

    Works across Claude, Codex, Gemini CLI and more.

Codebase Memory vs Substrate: questions

Is Codebase Memory or Substrate cheaper?

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

What is the difference between Codebase Memory and Substrate?

Codebase Memory is an open-source MCP server for knowledge and memory. Substrate is an MCP server for knowledge and memory. Codebase Memory is open source, while Substrate is free trial.