Skip to content
MCP Server Community By @BRAIMcodes

Postgres MCP Server

Allows Claude Desktop or any MCP client to read and write to Postgres databases locally and query tables.

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

Install guide →
Connected Apps: Claude Desktop Cursor

Installation Guide

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

Detailed Documentation

Allows Claude Desktop or any MCP client to read and write to Postgres databases locally and query tables.

Configuration

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