Skip to content

Codebase Memory vs MCP

Codebase Memory is an open-source MCP server for knowledge and memory. MCP is a freemium MCP server for ai models and llm tooling.

  • Codebase Memory is open source, while MCP is freemium.
  • Codebase Memory is open source; MCP is not.
  • Codebase Memory is best for find callers of a function.
  • MCP is best for audit a claude.md before committing it.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
MCP is a freemium MCP server for ai models and llm tooling.
Best for
Find callers of a function
Audit a CLAUDE.md before committing it
Kind
MCP server
MCP server
Pricing
Open source
Freemium
Platforms
CLI, macOS, Linux, Windows, self-hosted
API, CLI, Web
Runs
Locally
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
Audit a CLAUDE.md before committing it; Generate AGENTS.md and Cursor rules for a new repo; Tighten a rough prompt from inside an agent

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

  • Free artifact linting

    Checks agent context files without an API key.

  • Artifact generation

    Creates context files from a project brief using a pk_ key.

  • Prompt enhancer

    Improves a rough prompt after a few questions.

  • Artifact type list

    Lists the supported file types.

  • Size budgets

    Generated files stay inside size limits.

Codebase Memory vs MCP: questions

Is Codebase Memory or MCP cheaper?

Codebase Memory is the cheaper option: it is open source.

What is the difference between Codebase Memory and MCP?

Codebase Memory is an open-source MCP server for knowledge and memory. MCP is a freemium MCP server for ai models and llm tooling. Codebase Memory is open source, while MCP is freemium. Codebase Memory is open source; MCP is not.