Can Claude Code use PostgreSQL?

Updated October 27, 2026 · from live checks of 50,140 MCP servers · Methodology

Yes.Add it with claude mcp add --transport http. We found no official PostgreSQL server; the highest-rated live remote community server is Neon (trust grade A). Checked live on 2026-10-27.

Built a PostgreSQL MCP server? Get the Verified vendor label so Claude Code users can tell yours apart. Get Verified ($49/mo) → · How to get it discovered (free guide)

Remote PostgreSQL servers

ServerPublisherStatusSign-inToolsTrust
Neon
Yours? Claim it
Registry domainLive · sign-inOAuth sign-in—A
Pg Aiguide
Yours? Claim it
CommunityLiveNo auth2A
Run402
Yours? Claim it
Registry domainLiveNo auth2B
Prisma Postgres and Prisma Compute
Yours? Claim it
Registry domainLive · sign-inOAuth sign-in—B
Appwrite
Yours? Claim it
CommunityLive · sign-inOAuth sign-in—B
Backenly
Yours? Claim it
CommunityLive · sign-inOAuth sign-in—B
WoWSQL
Yours? Claim it
Registry domainLive · sign-inOAuth sign-in—B
Superagnt
Yours? Claim it
Registry domainLive · sign-inOAuth sign-in—B
nlqdb — analytical memory for AI agents
Yours? Claim it
Registry domainLive · sign-inOAuth sign-in—B
Sota
Yours? Claim it
Registry domainLiveNo auth14B
PostgreSQL MCP by InsightfulPipe
Yours? Claim it
Registry domainLive · sign-inOAuth sign-in—B
briq
Yours? Claim it
Registry domainLive · sign-inOAuth sign-in—B

Local PostgreSQL servers

ServerPublisherStatusSign-inToolsTrust
DBHub
Yours? Claim it
CommunityLocal installAPI key—B
Dbmcp
Yours? Claim it
Registry domainLocal installAPI key—B
Faucet
Yours? Claim it
CommunityLocal installNo auth—B
Postgres MCP
Yours? Claim it
CommunityLocal installNo auth—B
DBConvert Streams (Federated SQL)
Yours? Claim it
Registry domainLocal installNo auth—B
Read Only Local Postgres MCP Server
Yours? Claim it
Registry domainLocal installNo auth—B
dryrun
Yours? Claim it
CommunityLocal installNo auth—B
Memory Vault
Yours? Claim it
CommunityLocal installAPI key—B

How to add PostgreSQL to Claude Code

  1. Remote server: run claude mcp add --transport http <name> <url>.
  2. Local server: run claude mcp add <name> -- <command> with the install command from the server page.
  3. Run /mcp inside Claude Code to sign in.

Example for Neon (from the table above):

claude mcp add --transport http postgresql https://mcp.neon.tech/mcp

Menus change, so check Anthropic's Claude Code MCP docs. Every server page has a copy-paste config for Claude Code.

Is it safe to connect PostgreSQL to Claude Code?

Check the publisher and trust grade first. PostgreSQL doesn't run an official MCP server we can verify, so every server here comes from a third party and can see whatever your account can.

Can ChatGPT or Claude connect to PostgreSQL?

See https://canmyaiuse.pages.dev/can/chatgpt/postgresql/ and https://canmyaiuse.pages.dev/can/claude/postgresql/

Does PostgreSQL have an official MCP server?

Not that we can verify: it isn't in the official MCP Registry as of 2026-10-27, and we haven't found a server hosted by PostgreSQL itself. Full list: https://canmyaiuse.pages.dev/apps/postgresql/

Put your server here

Featured placement on PostgreSQL and other Databases & Data pages, where people check whether their AI can connect.

Feature your server — $149/moCategory Takeover — $399/mo

Featured placements are paid and labelled. They never change rank. How we rank · How to get discovered (free guide)

Built a PostgreSQL MCP server? No official one is listed yet. Get Verified — $49/mo for the “Verified vendor ✓” label.

All PostgreSQL servers: PostgreSQL MCP servers · ChatGPT · Claude · Best MCP servers for Claude Code

Try “Notion”, “Stripe”, “create invoice”, “browser”