Skip to content

Codebase Memory vs rag-rat

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

  • Codebase Memory is best for find callers of a function.
  • rag-rat is best for see what a change to a function will break.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
rag-rat is an open-source MCP server for knowledge and memory.
Best for
Find callers of a function
See what a change to a function will break
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI, vscode, 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
See what a change to a function will break; Find why a piece of code was written this way; Stop an agent re-implementing an existing helper

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 rag-rat does

  • Labelled code graph

    Every edge says how it was resolved.

  • Impact surface

    Shows callers, tests and notes around a symbol before a change.

  • Papertrail history

    Mirrors issue, PR and review rationale locally.

  • Source-anchored memory

    Notes attach to symbols and outlive refactors.

  • Clone warnings

    A hook flags near-duplicates of existing code.

  • Shared worktree index

    Parallel agents reuse one index and memory store.

Codebase Memory vs rag-rat: questions

Is Codebase Memory or rag-rat cheaper?

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

What is the difference between Codebase Memory and rag-rat?

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