Codebase Memory vs PostgreSQL MCP Server
Codebase Memory is an open-source MCP server for knowledge and memory. PostgreSQL MCP Server is an open-source MCP server for databases.
- Codebase Memory is best for find callers of a function.
- PostgreSQL MCP Server is best for describe a table and its indexes.
- What it is
- Codebase Memory is an open-source MCP server for knowledge and memory.PostgreSQL MCP Server is an open-source MCP server for databases.
- Best for
- Find callers of a functionDescribe a table and its indexes
- Kind
- MCP serverMCP server
- Pricing
- Open sourceOpen source
- Platforms
- CLI, macOS, Linux, Windows, self-hostedCLI
- 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 codeDescribe a table and its indexes; Find why a query is slow; Triage a hung app by locks
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 PostgreSQL MCP Server does
Read-only default
Writes require an explicit environment variable.
Schema introspection
Describes columns, keys, constraints and indexes.
Plans with timings
EXPLAIN with actual row counts and timing, plus index advice.
Performance diagnostics
Top queries, unused indexes and seq-scan tables.
Lock inspection
Shows blocked and blocking processes.
Extension checks
Reports whether extensions like pgvector are installed.
Codebase Memory vs PostgreSQL MCP Server: questions
Is Codebase Memory or PostgreSQL MCP Server cheaper?
Both are open source. Compare current plans on each official site.
What is the difference between Codebase Memory and PostgreSQL MCP Server?
Codebase Memory is an open-source MCP server for knowledge and memory. PostgreSQL MCP Server is an open-source MCP server for databases.
