databaseOfficial
PostgreSQL MCP
90
Anthropic
Query and interact with PostgreSQL databases, inspect schemas, and run SQL directly from your AI editor.
79.1k40.3k/wk4.1K tokens(2%)Official3d ago
Network
databasepostgressqlqueries
Quick Setup
Paste in ~/.claude.json
json
{
"mcpServers": {
"postgres-mcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://localhost/mydb"
]
}
}
}