postgres for Claude Code
io.github.marcelo-ochoa/postgres
MCP server for interacting with PostgreSQL databases
client:Claude Code
transport:stdio
runtime:npm
Install postgres in Claude Code
run in your project directory
claude mcp add postgres -e POSTGRES_USER=<POSTGRES_USER> -e POSTGRES_PASSWORD=<POSTGRES_PASSWORD> -- npx -y @marcelo-ochoa/server-postgres
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs