Back to MCP Servers

Postgres

All-in-one MCP server for Postgres development and operations, with tools for performance analysis, tuning, and health checks

databasespostgresperformance

Installation

npx -y postgres-mcp

Configuration

{
  "mcpServers": {
    "postgres-mcp": {
      "command": "npx",
      "args": ["-y", "postgres-mcp"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub