best of · updated September 2026

The 15 best Postgres MCP servers

The 15 Postgres MCP servers worth your time, out of 86 we track - actively maintained, with real adoption, ranked on monthly installs, GitHub stars, and commit recency. Checked nightly.

Everything here speaks Postgres: query it, inspect schemas, manage instances, or build on pgvector. The differences that matter are write access, connection pooling, and whether the server is read-only by default.

01 Dbx ★ 22,689 · commit 2026-09-30 Query databases from AI agents using connections configured in DBX. 37,968 installs/mo · 9 releases/90d · needs 2 env vars $ npx -y @dbx-app/mcp-server 02 Dbhub ★ 3,587 · commit 2026-09-28 DBHub is a minimal MCP server: token-efficient, zero-dependency, and just two tools by default with opt-in extras. 119,174 installs/mo · 10+ releases/90d · no env vars documented $ npx -y @bytebase/dbhub 03 Cloud Base ★ 1,128 · commit 2026-09-30 CloudBase MCP: DB, functions, storage, hosting via @cloudbase/cloudbase-mcp 114,590 installs/mo · 10+ releases/90d · no env vars documented $ npx -y @cloudbase/cloudbase-mcp 04 Run402 ★ 24 · commit 2026-09-29 x402 pay-per-call infra for agents: $0.03 image generation, Postgres, auth, storage, functions. 19,916 installs/mo · 10+ releases/90d · no env vars documented $ npx -y run402-mcp 05 PostgreSQL MCP Server (yawlabs) ★ 6 · commit 2026-09-30 One click adds this to your local Yaw MCP config so it's available in every Yaw Terminal session. 36,047 installs/mo · 23 tools documented · 10+ releases/90d · needs 5 env vars $ npx -y @yawlabs/postgres-mcp 06 Pg Aiguide ★ 1,852 · commit 2026-09-30 AI-optimized PostgreSQL expertise for coding assistants pg-aiguide helps AI coding tools write dramatically better PostgreSQL code. 653 installs/mo · 2 releases/90d · no env vars documented $ npx -y @tigerdata/pg-aiguide 07 Geo Lens ★ 262 · commit 2026-09-29 Read-only access to a self-hosted GeoLens spatial catalog: datasets, features, maps, sandboxed SQL. 1,349 installs/mo · 10+ releases/90d · no env vars documented $ uvx geolens-mcp 08 Dryrun ★ 35 · commit 2026-09-30 The PostgreSQL MCP server that doesn't need connection to the production. 4,032 installs/mo · 10+ releases/90d · no env vars documented $ npx -y @boringsql/dryrun 09 Orionbelt Semantic Layer ★ 98 · commit 2026-09-29 OrionBelt Semantic and Context Layer, Rule Engine, and Semantic Sidecar Define your metrics once in YAML. 1,609 installs/mo · 10+ releases/90d · needs 3 env vars $ uvx orionbelt-semantic-layer 10 Butterbase Ai MCP Server ★ 3,683 · commit 2026-09-29 AI-native, open-source backend-as-a-service. 123 installs/mo · needs 3 env vars $ npx -y @butterbase/mcp 11 Rebase ★ 10 · commit 2026-09-29 The Open-Source Backend-as-a-Service for Postgres - with the Admin Panel that comes with it. 5,962 installs/mo · 10+ releases/90d · needs 1 env var $ npx -y @rebasepro/mcp 12 Schemagate ★ 7 · commit 2026-09-26 Your text-to-SQL agent picks which tables to show the model before anyone checks what the caller is allowed to read. 6,527 installs/mo · 10+ releases/90d · needs 5 env vars $ uvx schemagate 13 Aiven MCP ★ 29 · commit 2026-09-29 A Model Context Protocol (MCP) server for the Aiven cloud data platform. 1,307 installs/mo · 40 tools documented · 10+ releases/90d · needs 2 env vars $ npx -y mcp-aiven 14 Your Memory ★ 270 · commit 2026-09-19 Persistent, self-improving memory for AI agents - built on the science of how humans remember. 810 installs/mo · no env vars documented $ uvx yourmemory 15 Gnosis MCP ★ 29 · commit 2026-09-25 9 documented tools with a focus on read & search; local stdio install. 1,428 installs/mo · 9 tools documented · 10+ releases/90d · no env vars documented $ uvx gnosis-mcp

How to choose between them

Dbx ranks #1 on the installs + stars + recency blend; Dbhub has the most raw installs (119,174 last month) if adoption is all you weigh. 5 of these 15 offer a remote endpoint (no local process to run); the rest are local stdio servers. 8 document no required env vars - paste the config and go; the others need env vars set first (each page lists exactly which). Where we've compared two of these head-to-head, the comparison is linked on each one's page.

Quick answers

Which Postgres MCP server is most installed?

Dbhub, with 119,174 installs in the last month (as of September 2026). By GitHub stars the leader is Dbx (22,689).

How many Postgres MCP servers exist?

We track 86 actively-maintained MCP servers built for Postgres, matched from the official registry and each project's own description. The 15 above lead on monthly installs, GitHub stars, and commit recency.

All 86 Postgres MCP servers

Ranked 16 onward, same order as above. Status checked last night.

How this list is ranked

Ranked from live registry + GitHub data: monthly installs (npm/PyPI), GitHub stars, and commit recency - recomputed nightly. No pay-to-rank, ever. The 15 above lead the full list of 86, all of which you can see on this page. Full recipe: how we verify.