Skip to content

Codebase Memory vs writ

Codebase Memory is an open-source MCP server for knowledge and memory. writ is a freemium MCP server for security.

  • Codebase Memory is open source, while writ is freemium.
  • Codebase Memory is best for find callers of a function.
  • writ is best for require approval before an agent issues a refund.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
writ is a freemium MCP server for security.
Best for
Find callers of a function
Require approval before an agent issues a refund
Kind
MCP server
MCP server
Pricing
Open source
Freemium
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI, API
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
Require approval before an agent issues a refund; Audit every agent decision in a SIEM stream; Try the gate in a 90-second sandbox

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

  • Write-site scanner

    Finds risky writes in Python, TypeScript and JavaScript.

  • Three outcomes

    ALLOW, DENY or STEP_UP per request.

  • Chained audit log

    HMAC-SHA256 chain that verify-chain can check.

  • Single-use leases

    Convert an allow into a gated execution lease.

  • Sponsor kill switch

    Revoke and reinstate a principal.

Codebase Memory vs writ: questions

Is Codebase Memory or writ cheaper?

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

What is the difference between Codebase Memory and writ?

Codebase Memory is an open-source MCP server for knowledge and memory. writ is a freemium MCP server for security. Codebase Memory is open source, while writ is freemium.