Best of · Postgres · MCP Server

Best Postgres MCP Servers for Claude Code (Nov 2026)

DBHub is the best Postgres MCP server for Claude Code - 3.9k GitHub stars. Strong alternatives: Self-Hosted Supabase MCP Server and MCP Database Utils.

45 Postgres MCP servers for developers, ranked by GitHub stars. Every pick works with Claude Code, Cursor, Codex and any MCP client, and links to install commands and trust signals.

Ranked by Skillselion · adoption from the skills.sh registry & GitHub · data refreshed November 17, 2026.

Ranked shortlist

The top 30 MCP servers for postgres

#MCP ServerStars
1
DBHubbytebase · bytebase/dbhubTop pick

Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB

3.9k
2
Self-Hosted Supabase MCP ServercollectionHenkDz · HenkDz/selfhosted-supabase-mcp

An MCP server for interacting with self-hosted Supabase instances, providing database access and operations for PostgreSQL-backed applications.

138
3
MCP Database Utilscollectiondonghao1393 · donghao1393/mcp-dbutils

An MCP service that safely connects AI to databases (SQLite, MySQL, PostgreSQL) with read-only access, SSL support, and controlled write permissions.

89
4

Local-first AI memory layer with hybrid search. Postgres + pgvector. Self-hosted, MIT.

67
5
Postgrescollectionwaystation-ai · waystation-ai/mcp

Connect to your PostgreSQL database to query data and schemas.

66
6
Mcpprisma · prisma/mcp

MCP server for managing Prisma Postgres.

49
7

MCP Server for Metabase - 111 tools for SQL generation, dashboards & PostgreSQL

47
8
Databasecollectionhaymon-ai · haymon-ai/dbmcp

Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite

33
9

Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite

33
10
PostgreSQL performance Tuner MCP Servercollectionisdaniel · isdaniel/pgtuner_mcp

provides AI-powered PostgreSQL performance tuning capabilities.

31
11

An MCP server providing PostgreSQL database management capabilities, including analysis, setup guidance, and optimization recommendations.

24
12
Engram Servercollectionjamjet-labs · jamjet-labs/jamjet

Durable memory for AI agents: fact extraction, hybrid retrieval, temporal graph. SQLite/Postgres.

24
13

Infrastructure analysis for AWS (15 tools) — DynamoDB, Lambda, SQS, SNS, S3, PostgreSQL, MongoDB.

22
14
MCP Database ServercollectionSouhar-dya · Souhar-dya/mcp-db-server

MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.

19
15
PostgreSQL MCP Servercollectiongldc · gldc/mcp-postgres

PostgreSQL MCP server with OAuth authentication and multi-tenant support.

15
16
Mcpgdevopam · devopam/MCPg

A production-grade PostgreSQL Model Context Protocol (MCP) server.

14
17

Persistent AI memory system with multi-storage backend (PostgreSQL, Redis, Qdrant) for context retention across sessions.

14
18

PostgreSQL MCP wrapper with.env credential mapping, tool selection, and safe read-only defaults.

5
19

MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), 19 tools.

5
20

Persistent semantic memory for SQL databases. Postgres, MySQL, MSSQL, SQLite.

4
21
Virtual Filesystemcollectionlu-zhengda · lu-zhengda/mcp-virtual-fs

PostgreSQL-backed virtual filesystem for agents: session isolation, shared stores, POSIX ops, RLS.

3
22
Postgrescollectionmarcelo-ochoa · marcelo-ochoa/servers

MCP server for interacting with PostgreSQL databases

2
23

MCP server for read-only PostgreSQL database queries in Claude Desktop

2
24

A MCP server provides SQL database access with support for PostgreSQL, MySQL, and SQLite.

1
25

Connect AI tools to your PostgreSQL with permissions, encryption, and audit trails.

0
26
Mcp Postgres Nl Querycollectioninfoinlet-marketplace · infoinlet-marketplace/marketplace

RLS/tenant-aware Postgres for AI agents — schema, read-only SQL, NL→SQL with safety rails.

0
27
Postgres Connectorio.github.martymarkenson

MCP server for querying PostgreSQL databases

0
28
Postgres Mcpio.github.YawLabs

PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants

0
29
PostgreSQL MCP Servercollectionitunified-io · itunified-io/mcp-postgres

PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management

0
30

Scout your PostgreSQL databases with AI - safety features, monitoring, and data quality

0
Editorial verdict

Is Postgres well covered on Skillselion?

Postgres has one of the cleanest, most genuinely-dedicated match sets of any vendor tested - almost none of the rows are noise, ranging from dedicated drivers (waystation-ai, marcelo-ochoa) to specialty tools (PostgreSQL performance tuner, RLS-aware NL-to-SQL wrappers). DBHub leads on stars but is multi-dialect (also MySQL, SQL Server, SQLite, MariaDB); the page's lede should be honest that the single highest-starred pick isn't Postgres-exclusive, then let the dedicated Postgres-only servers carry the rest of the ranking.

Skillselion is an independent directory, not affiliated with Postgres.

The rundown

Why these MCP servers rank for postgres

1. DBHub

DBHub ranks #1 of the 45 MCP servers for Postgres by adoption, with 3.9k GitHub stars. It minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB.

2. Self-Hosted Supabase MCP Server

Self-Hosted Supabase MCP Server ranks #2 of the 45 MCP servers for Postgres by adoption, with 138 GitHub stars. It an MCP server for interacting with self-hosted Supabase instances, providing database access and operations for PostgreSQL-backed applications.

3. MCP Database Utils

MCP Database Utils ranks #3 of the 45 MCP servers for Postgres by adoption, with 89 GitHub stars. It an MCP service that safely connects AI to databases (SQLite, MySQL, PostgreSQL) with read-only access, SSL support, and controlled write permissions.

4. Memory Vault

Memory Vault ranks #4 of the 45 MCP servers for Postgres by adoption, with 67 GitHub stars. It local-first AI memory layer with hybrid search. Postgres + pgvector. Self-hosted, MIT.

5. Postgres

Postgres ranks #5 of the 45 MCP servers for Postgres by adoption, with 66 GitHub stars. It connect to your PostgreSQL database to query data and schemas.

FAQ

Common questions

How are these Postgres MCP servers ranked?

By GitHub stars across the 45 Postgres MCP servers that name Postgres in their own name or description - none of these report installs yet. Data from GitHub.

How do I add a Postgres MCP server to Claude Code?

Open the server's listing from the table above and copy its install command or JSON config. In Claude Code, register it with `claude mcp add <name> -- <command>` (or paste the config into your MCP settings). The same servers work in Cursor, Codex and any MCP-compatible agent.

What counts as a Postgres MCP server on this list?

A tool counts here if its own name or description names Postgres directly - not merely an author handle or an unrelated mention - and it is registered as an MCP-type listing in the Skillselion catalog. That bar currently matches 45 servers.

Is Skillselion affiliated with Postgres?

No. Skillselion is an independent directory, not affiliated with Postgres. Rankings come from public GitHub adoption signals, not sponsorship or partnership.

Keep exploring

More Postgres tools

Browse all MCP servers in the catalog, or see every best-of shortlist.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.