mcpopen-sourceverified

Postgres MCP Server

Read-only SQL access with schema introspection

View repository ↗

Connect your agent to Postgres with safe, read-only queries by default. Ships with schema inspection, query plans and role-scoped access.

Install Postgres MCP Server

Paste into claude_desktop_config.json

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

After adding the server, fully restart your MCP client. Replace <placeholders> (tokens, paths) with your own values.

Facts

Stars
★ 9,200
Maintainer
Anthropic (official)
🛡 Security & capability audit for Postgres MCP Server →

Trust score, capability surface (filesystem, shell, network) and risk flags — reviewed in your browser.

Works with