Skip to content

Codebase Memory vs diffctx

Codebase Memory is an open-source MCP server for knowledge and memory. diffctx is a free MCP server for developer tools.

  • Codebase Memory is best for find callers of a function.
  • diffctx is best for give an llm reviewer only the relevant code.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
diffctx is a free MCP server for developer tools.
Best for
Find callers of a function
Give an LLM reviewer only the relevant code
Kind
MCP server
MCP server
Pricing
Open source
Free
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI, Windows, macOS, Linux
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
Give an LLM reviewer only the relevant code; Find what a change reaches outside the diff; Pack context for a branch under a token budget

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

  • Diff-seeded selection

    Starts from changed lines and expands through the code graph.

  • Token budget

    A hard budget caps the selection; the default is automatic.

  • Impact mode

    Shows callers outside the diff, their tests and contracts.

  • Scoring modes

    ego, ppr, bm25, rrf and pit.

  • Many install paths

    pip, pipx, uvx, cargo, npm, Docker and Scoop.

  • Local and deterministic

    No index, no model calls, works offline.

Codebase Memory vs diffctx: questions

Is Codebase Memory or diffctx cheaper?

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

What is the difference between Codebase Memory and diffctx?

Codebase Memory is an open-source MCP server for knowledge and memory. diffctx is a free MCP server for developer tools.