Skip to content
Claude Code

Postgres DBA MCP for Claude Code

io.github.a-lafon/postgres-dba-mcp

Bounded, read-only PostgreSQL access for AI assistants: nine DBA tools, compact CSV output

client:Claude Code transport:stdio runtime:oci

Install Postgres DBA MCP in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add postgres-dba-mcp -e DATABASE_URI=<DATABASE_URI> -- docker run -i --rm ghcr.io/a-lafon/postgres-dba-mcp:0.3.3

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Postgres DBA MCP in other clients