Official PostgreSQL MCP (modelcontextprotocol)
Official DatabaseReference PostgreSQL MCP server from the official Model Context Protocol servers repository.
Manual configuration
Add this to your Claude Code settings.json (or .claude/settings.json in your project):
{
"mcpServers": {
"mcp-postgres-official": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/servers"
]
}
}
}