Skip to content

Codebase Memory vs Selvedge

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

  • Codebase Memory is best for find callers of a function.
  • Selvedge is best for recover why an approach was rejected after the original chat is gone.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Selvedge is a free MCP server for knowledge and memory.
Best for
Find callers of a function
Recover why an approach was rejected after the original chat is gone
Kind
MCP server
MCP server
Pricing
Open source
Free
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
Recover why an approach was rejected after the original chat is gone; Hand decisions between sessions and coding tools; Warn reviewers about previously reverted approaches

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

  • Decision records

    Stores rationale, rejected approaches and what would change the decision.

  • Entity lookup

    Retrieves history by function, column, route or dependency.

  • Local SQLite store

    Keeps data in .selvedge/ with no hosted account.

  • MCP or CLI

    Works over stdio MCP or from a shell-capable agent.

  • Digest check

    Exports a Markdown digest and flags drift with a --check mode.

  • Review Action

    Optional GitHub Action surfaces recorded history in PR comments.

Codebase Memory vs Selvedge: questions

Is Codebase Memory or Selvedge cheaper?

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

What is the difference between Codebase Memory and Selvedge?

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