🔗 Official Repository
github.com/crystaldba/postgres-mcpAlways check the official repository for the latest setup instructions and license.
What is it?
All-in-one MCP server for Postgres development and operations, with tools for performance analysis, tuning, and health checks — is a Model Context Protocol (MCP) server enabling AI applications like Claude and Cursor to securely access databases capabilities through the open protocol.
Common Use Cases
- Connect Claude or Cursor directly to databases
- Automating repetitive tasks through AI agents
- Building smart workflows combining multiple tools in one pipeline
Quick Install (Claude Desktop)
{
"mcpServers": {
"postgres-mcp": {
"command": "npx",
"args": ["-y", "crystaldba/postgres-mcp"]
}
}
}Add to your Claude Desktop config file after installing requirements per the repo instructions.