Skip to content

Codebase Memory vs Foremerge

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

  • Codebase Memory is best for find callers of a function.
  • Foremerge is best for run claude code and codex in separate worktrees without collisions.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Foremerge is an open-source MCP server for developer tools.
Best for
Find callers of a function
Run Claude Code and Codex in separate worktrees without collisions
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI, macOS, Linux, Windows
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
Run Claude Code and Codex in separate worktrees without collisions; Catch a replace-versus-extend plan clash early; Record decisions and verification for agent changes

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

  • Intent publishing

    Agents declare scopes like symbols before editing.

  • Deterministic conflict detection

    Explainable findings without a model in the loop.

  • Shared local store

    A SQLite database inside .git visible to every agent.

  • Advisory only

    No file locks and no blocking.

  • Verification-gated lifecycle

    ChangeSets move forward only after checks pass.

  • Cross-provider

    Works with Claude Code, Codex and Cursor.

Codebase Memory vs Foremerge: questions

Is Codebase Memory or Foremerge cheaper?

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

What is the difference between Codebase Memory and Foremerge?

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