Skip to content
MCP Server Community By @modelcontextprotocol

PostgreSQL

Read-only database access with schema inspection.

New to MCP? Copy the config below, then follow the Claude Desktop / Cursor steps.

Install guide →
Connected Apps: PostgreSQL Claude Desktop

Installation Guide

Run command: npx -y @modelcontextprotocol/server-postgresql

Detailed Documentation

Read-only database access with schema inspection.

Configuration

{
  "mcpServers": {
    "postgresql": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-postgresql"
      ],
      "env": {}
    }
  }
}