Codebase Memory vs pgman
Codebase Memory is an open-source MCP server for knowledge and memory. pgman is an open-source MCP server for databases.
- Codebase Memory is best for find callers of a function.
- pgman is best for let an agent inspect a schema without write access.
- What it is
- Codebase Memory is an open-source MCP server for knowledge and memory.pgman is an open-source MCP server for databases.
- Best for
- Find callers of a functionLet an agent inspect a schema without write access
- Kind
- MCP serverMCP server
- Pricing
- Open sourceOpen source
- Platforms
- CLI, macOS, Linux, Windows, self-hostedmacOS, Linux, CLI
- Runs
- LocallyLocally
- 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 codeLet an agent inspect a schema without write access; Preview locks before a migration; Create a masked copy of production for debugging
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 pgman does
Read-only by default
Statements are classified before running; writes wait for commit.
Safe migrations
Dry-run with real locks, then apply one transaction at a time.
Masked production copies
Dumps mask personal data and keep foreign keys joining.
Environment overview
See dev, staging and production side by side.
Log to SQL
Turn application logs back into runnable SQL.
Codebase Memory vs pgman: questions
Is Codebase Memory or pgman cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Codebase Memory and pgman?
Codebase Memory is an open-source MCP server for knowledge and memory. pgman is an open-source MCP server for databases.
