Best PostgreSQL MCP servers

Let your AI assistant inspect schemas, write and run SQL, explain query plans and tune indexes on a PostgreSQL database. Prefer servers with a read-only mode for production data. We compared 30 PostgreSQL MCP servers — 27 updated in the last 90 days, 15 with one-click or remote install — ranked by relevance and GitHub stars.

Quick comparison

Top 12 by relevance. Status: maintained = commit in the last 90 days. Grade A–F blends maintenance, license, install config, official flag and stars.

ServerStarsStatusGradeUpdatedInstallAPI key
Neon MCP (official remote)NeonHostedMaintainedAyesterdayRemote URLLikely
Postgres MCP Procrystaldba★ 3.4kMaintainedA1 month agoOne-clickLikely
mcp-server-neonneondatabase★ 652MaintainedAtodayOne-clickLikely
Prisma MCP (official remote)PrismaHostedMaintainedAyesterdayRemote URLNot mentioned
dbxt8y2★ 27kMaintainedAtodayOne-clickLikely
mcp-toolboxgoogleapis★ 16.7kMaintainedAtodayOne-clickLikely
tabularisTabularisDB★ 5.2kMaintainedBtodayCommandLikely
prestprest★ 4.6kMaintainedBtodaySee READMENot mentioned
dbhubbytebase★ 3.7kMaintainedAyesterdayOne-clickNot mentioned
FlyEnvxpf0000★ 3.3kMaintainedBtodayCommandNot mentioned
carboncrbnos★ 2.7kMaintainedCtodayCommandLikely
GoNaviSyngnat★ 2.1kMaintainedBtodayCommandLikely

All 30 PostgreSQL MCP servers

Showing all 30 servers

PostgreSQL MCP server FAQ

What is the best PostgreSQL MCP server?

Based on GitHub stars and recent activity, Neon MCP (official remote) by Neon (★ —, updated yesterday) is the most popular actively maintained option on HookMCP, followed by Postgres MCP Pro and mcp-server-neon. The right choice depends on whether you need write access, a hosted (remote) endpoint, or a server that runs locally without an API key.

How do I install a PostgreSQL MCP server in Claude, Cursor or VS Code?

Open the server's page on HookMCP, choose your client tab (Claude Desktop, Cursor, VS Code or Claude Code) and copy the config — 15 of the 30 servers here have one-click install links for Cursor and VS Code. Restart your AI app and the new tools appear automatically.

Do PostgreSQL MCP servers need an API key?

21 of 30 servers here mention API keys or tokens in their README; 9 don't mention any. Check each listing's Details panel, and pass keys as environment variables rather than pasting them into chat.

Related integrations

Or browse by category: Developer Tools, Productivity & Comms, Databases.