ConnectoryIndex of MCP servers — No. 060

Index / Data & Search / No. 043

DAT · Data & Search · Official server

PostgreSQL (reference, archived)

Read-only Postgres access with schema inspection. Archived reference server.

Transport
Local (stdio)
Status
Official · Model Context Protocol
Auth method
Database connection string
Scopes / permissions
Not documented
Last verified
Oct 15, 2026
Tools listed
02

§1What it does

The original reference PostgreSQL server provides read-only queries and table schema resources. It has been moved to the servers-archived repo and is no longer maintained, so consider DBHub or a vendor server for new projects.

§2Setup

Run with npx
{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/mydb"]
    }
  }
}

Snippets adapted from the official documentation. Check the official page for current options and auth requirements.

§3Prompts to try

  1. “How many users signed up last month?”
  2. “Describe the schema of the orders table.”

The Weekly Digest · Every Thursday

New MCP servers, weekly.

One short email: the newest servers, what changed in the ones you use, and one setup tip. No tracking pixels, no fluff.