Codebase Memory vs Offense
Codebase Memory is an open-source MCP server for knowledge and memory. Offense is a freemium MCP server for security.
- Codebase Memory is open source, while Offense is freemium.
- Codebase Memory is best for find callers of a function.
- Offense is best for add free dependency audits to pull requests.
- What it is
- Codebase Memory is an open-source MCP server for knowledge and memory.Offense is a freemium MCP server for security.
- Best for
- Find callers of a functionAdd free dependency audits to pull requests
- Kind
- MCP serverMCP server
- Pricing
- Open sourceFreemium
- Platforms
- CLI, macOS, Linux, Windows, self-hostedCLI, Web, API, self-hosted
- Runs
- LocallyRemotely
- 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 codeAdd free dependency audits to pull requests; Give a coding agent evidence to fix vulnerable packages; Test a web app for cross-customer data access
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 Offense does
Dependency advisory audits
Checks npm and pnpm dependencies and returns advisory evidence for remediation.
Pull request starter
An installer prepares a GitHub workflow you review and merge yourself.
Disposable sandboxes
Hosted tests run in an isolated computer that is destroyed after the report is saved.
Cross-tenant testing
Uses separate accounts to look for one customer reaching another's data.
Retests in fresh sandboxes
After a fix, the same task is run again from a clean environment.
CLI, MCP and HTTP
Evidence is returned through the interface your agent already uses.
Codebase Memory vs Offense: questions
Is Codebase Memory or Offense cheaper?
Codebase Memory is the cheaper option: it is open source.
What is the difference between Codebase Memory and Offense?
Codebase Memory is an open-source MCP server for knowledge and memory. Offense is a freemium MCP server for security. Codebase Memory is open source, while Offense is freemium.

