PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y @yawlabs/postgres-mcp
MCP client config
{
"mcpServers": {
"postgresql-mcp-server": {
"command": "npx",
"args": [
"-y",
"@yawlabs/postgres-mcp"
]
}
}
}