pgmcp
io.github.pascalallen/pgmcp
v1.1.0Updated Aug 20, 2026stdio · MCPBstdio · Docker
Read-only Postgres ops/DBA diagnostics: slow queries, EXPLAIN, locks, index and table health.
Install
Needs 1 secret. Replace 1 placeholder with your own values.
Run in your terminal. Replace 1 placeholder.
claude mcp add pgmcp -e 'PGMCP_DATABASE_URL=<your-pgmcp-database-url>' -- docker run -i --rm -e PGMCP_DATABASE_URL ghcr.io/pascalallen/pgmcp:1.1.0Configuration
1 setting, 1 required secret. Snippets use placeholders; keep real values out of shared config.
PGMCP_DATABASE_URLEnv var· required· secretPostgres connection string (read-only role recommended)
Links
Listed in the official MCP Registry since Aug 20, 2026. Mirrored daily; last checked Nov 26, 2026.