Skip to content

Codebase Memory vs Contentrain

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

  • Codebase Memory is best for find callers of a function.
  • Contentrain is best for let an agent edit site copy without direct file access.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Contentrain is an open-source MCP server for developer tools.
Best for
Find callers of a function
Let an agent edit site copy without direct file access
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI, self-hosted, API
Runs
Locally
Locally or Remotely
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
Let an agent edit site copy without direct file access; Review AI-written content changes as git branches; Keep translations consistent across locales

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

  • Deterministic writes

    Applies content changes with validation and canonical serialisation instead of free-form file edits.

  • Git transaction flow

    Writes on feature branches from a dedicated contentrain branch, with auto-merge or review mode.

  • Schema and locale consistency

    Keeps models, locales and serialisation consistent across content.

  • Normalize scan

    Scans source code, with optional Vue, Astro and Svelte parsers, to extract content.

  • Local or hosted

    Runs on stdio against a checkout or through Studio's project-scoped remote endpoint.

  • Annotated tools

    Marks read-only, destructive and idempotent tools so clients can tell them apart.

Codebase Memory vs Contentrain: questions

Is Codebase Memory or Contentrain cheaper?

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

What is the difference between Codebase Memory and Contentrain?

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