Skip to content

Codebase Memory vs Port 402 Memory

Codebase Memory is an open-source MCP server for knowledge and memory. Port 402 Memory is a paid MCP server for knowledge and memory.

  • Codebase Memory is open source, while Port 402 Memory is paid.
  • Codebase Memory is best for find callers of a function.
  • Port 402 Memory is best for give an agent memory that persists between sessions.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Port 402 Memory is a paid MCP server for knowledge and memory.
Best for
Find callers of a function
Give an agent memory that persists between sessions
Kind
MCP server
MCP server
Pricing
Open source
Paid
Platforms
CLI, macOS, Linux, Windows, self-hosted
API, CLI
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
Give an agent memory that persists between sessions; Let webhooks or other agents leave messages for a sleeping agent; Have an agent schedule its own follow-up

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 Port 402 Memory does

  • Wallet-keyed memory

    Store, read, list, delete and export JSON values under keys tied to the paying wallet.

  • Public inbox URL

    A secret URL anyone can post to for free; you read it later.

  • Reminders

    Schedule a message from 10 seconds to 366 days out, optionally also POSTed to a webhook.

  • Signed export

    Export memory as a document with sha256 and Ed25519 integrity.

  • Spending cap

    A per-call cap defaults to $0.01.

Codebase Memory vs Port 402 Memory: questions

Is Codebase Memory or Port 402 Memory cheaper?

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

What is the difference between Codebase Memory and Port 402 Memory?

Codebase Memory is an open-source MCP server for knowledge and memory. Port 402 Memory is a paid MCP server for knowledge and memory. Codebase Memory is open source, while Port 402 Memory is paid.