Skip to content

Codebase Memory vs Portunus

Codebase Memory is an open-source MCP server for knowledge and memory. Portunus is an open-source MCP server for security.

  • Codebase Memory is best for find callers of a function.
  • Portunus is best for let a coding agent deploy without seeing the deploy token.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Portunus is an open-source MCP server for security.
Best for
Find callers of a function
Let a coding agent deploy without seeing the deploy token
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI, macOS, self-hosted
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
Let a coding agent deploy without seeing the deploy token; Call an API from an agent while keeping the key out of transcripts; Audit which agent requested which secret

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

  • Boundary-only injection

    Values are injected into env vars, files, argv or temp files, never returned to the agent.

  • Resolve by metadata

    Find a secret by org, project and environment, with fail-closed ambiguity handling.

  • Bring your own vault

    Works with GCP Secret Manager, a local encrypted vault and Chrome logins today.

  • Approval gate

    Time-boxed approvals and opt-in per-agent access scoped by org, project, env and repo.

  • Tamper-evident audit log

    Hash-chained record of every allowed or denied request.

  • Agent installer

    One command wires the MCP server into Claude Code and Codex CLI.

Codebase Memory vs Portunus: questions

Is Codebase Memory or Portunus cheaper?

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

What is the difference between Codebase Memory and Portunus?

Codebase Memory is an open-source MCP server for knowledge and memory. Portunus is an open-source MCP server for security.