Can Claude connect to PostgreSQL?
Updated October 18, 2026 · from live checks of 45,029 MCP servers · Methodology
Yes, through a community server.We found no official PostgreSQL server in the MCP Registry that Claude can connect to, but 30 live remote community servers work with Claude; the highest-rated is Pg Aiguide (trust grade A). Checked live on 2026-10-18.
Remote PostgreSQL servers (Claude-ready)
| Server | Publisher | Status | Sign-in | Tools | Trust |
|---|---|---|---|---|---|
| Pg Aiguide | Community | Live | No auth | 2 | A |
| Run402 | Verified domain | Live | No auth | 2 | B |
| Appwrite | Community | Live · sign-in | OAuth sign-in | — | B |
| WoWSQL | Verified domain | Live · sign-in | OAuth sign-in | — | B |
| nlqdb — analytical memory for AI agents | Verified domain | Live · sign-in | OAuth sign-in | — | B |
| Sota | Verified domain | Live | No auth | 14 | B |
| Superagnt | Verified domain | Live · sign-in | OAuth sign-in | — | B |
| Helipod | Verified domain | Live · sign-in | OAuth sign-in | — | B |
| briq | Verified domain | Live · sign-in | OAuth sign-in | — | B |
| Rabbitmq Elasticsearch Postgres Stack Generator Mongo | Verified domain | Live | No auth | 2 | B |
| Rabbitmq Postgres Mongodb Stack Generator | Verified domain | Live | No auth | 2 | B |
| Rabbitmq Elasticsearch Postgres Stack Generator Elasticsearch Elasticsearch | Verified domain | Live | No auth | 2 | B |
Local PostgreSQL servers (Claude Desktop / Claude Code)
| Server | Publisher | Status | Sign-in | Tools | Trust |
|---|---|---|---|---|---|
| DBHub | Community | Local install | API key | — | B |
| Dbmcp | Verified domain | Local install | API key | — | B |
| dryrun | Community | Local install | No auth | — | B |
| Faucet | Community | Local install | No auth | — | B |
| Postgres MCP | Community | Local install | No auth | — | B |
| DBConvert Streams (Federated SQL) | Verified domain | Local install | No auth | — | B |
| Read Only Local Postgres MCP Server | Verified domain | Local install | No auth | — | B |
| Memory Vault | Community | Local install | API key | — | B |
How to connect PostgreSQL to Claude
- In Claude, open Settings → Connectors → Add custom connector.
- Paste the remote server URL from the server page and sign in.
- For a local server, add it to Claude Desktop's config or run
claude mcp addin Claude Code.
Custom connectors work on Free (one connector), Pro, Max, Team and Enterprise. Remote connectors connect from Anthropic's cloud, so the server must be publicly reachable.
Is it safe to connect PostgreSQL to Claude?
Check the publisher and trust grade first. Official servers are published by PostgreSQL itself; community servers come from third parties and can see whatever your account can. Every server page shows its live status, sign-in type and tool list.
Can ChatGPT connect to PostgreSQL?
See https://canmyaiuse.pages.dev/can/chatgpt/postgresql/
Does PostgreSQL have an official MCP server?
Not in the official MCP Registry as of 2026-10-18. Full list: https://canmyaiuse.pages.dev/apps/postgresql/