Skip to content

Codebase Memory vs Ctxfile

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

  • Codebase Memory is best for find callers of a function.
  • Ctxfile is best for stop re-explaining a project when switching from cursor to claude code.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Ctxfile is an open-source MCP server for developer tools.
Best for
Find callers of a function
Stop re-explaining a project when switching from Cursor to Claude Code
Kind
MCP server
MCP server
Pricing
Open source
Open source, from $6 a month
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
Stop re-explaining a project when switching from Cursor to Claude Code; Commit the project's context to the repo for teammates and CI agents; Hand a thread from one model to another

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

  • One context object

    Plan, key files, git state and session summaries assembled into a single payload.

  • Secret redaction

    Cloud keys, tokens and credential files are redacted or never read.

  • Cross-agent threads

    Save in one agent and continue in another with handoff packages.

  • Auto-checkpoint skill

    ctxfile init teaches agents when to save, announcing every save.

  • Cloud export

    Repo-safe context file with redaction profiles for CI and hosted agents.

  • Provenance tags

    Entries show whether a parser or an agent supplied them.

Codebase Memory vs Ctxfile: questions

Is Codebase Memory or Ctxfile cheaper?

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

What is the difference between Codebase Memory and Ctxfile?

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