PostgreSQL Performance (read-only) MCP Server: Tools, Setup for Claude Code, Cursor & More
Not the official PostgreSQL MCP server. This one is built by the community. PostgreSQL makes its own: MCP Toolbox for Databases →
Read-only PostgreSQL performance diagnostics: slow queries, EXPLAIN, index advice, locks, functions
Works in
12 should work
Tap an app to see how to set it up and any known problems.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Supports local MCP servers.
Client does not support this transport.
Client does not support this transport.
Install PostgreSQL Performance (read-only) MCP
Claude Code
- 1
Copy this prompt.
Add the PostgreSQL Performance (read-only) MCP server to Claude Code. Run this command: claude mcp add pg-perf -e PGPERF_DB_URL=<PGPERF_DB_URL> -e PGPERF_DB_USER=<PGPERF_DB_USER> -e PGPERF_DB_PASSWORD=<PGPERF_DB_PASSWORD> -e MCP_API_KEY=<MCP_API_KEY> -- docker run -i --rm -e PGPERF_DB_URL -e PGPERF_DB_USER -e PGPERF_DB_PASSWORD -e MCP_API_KEY ghcr.io/gouranshul/pg-perf-mcp Ask me for PGPERF_DB_URL, PGPERF_DB_USER, PGPERF_DB_PASSWORD, MCP_API_KEY and only put the values in that config, nowhere else. Then check that it loaded and tell me if I need to sign in or restart.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Docker.
Built from the package data we hold. Not yet tested by us.
Tools
We don't list PostgreSQL Performance (read-only) MCP's tools here yet. After you connect it, ask your assistant "What can you do with PostgreSQL Performance (read-only) MCP?" to see them.
Information
updated Nov 2, 2026
- Publisher
- Community
- Package
ghcr.io/gouranshul/pg-perf-mcp- Registry
- Docker
- Transport
- Streamable HTTP
- Version
- 0.1.0
- License
- MIT
- Last commit
- Oct 26, 2026
- Open issues
- 0
- Listed in
- Official MCP registry