Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Updated December 2026

The 10 best PostgreSQL MCP servers

The best PostgreSQL MCP servers in December 2026 are DBHub, MCP Toolbox for Databases, MCP Toolbox for Databases. DBHub is the most widely used; Nhost is the most actively updated; Run402 is a good pick if you need a hosted server that also works in ChatGPT.

Most used
DBHub
bytebase
Most active
Nhost
nhost
Works in ChatGPT
Run402
kychee-com
SponsoredGROUOutbound, LinkedIn content and leads for B2B teamsLearn more →
1

DBHub

bytebase
★ 4kLocalUpdated 10 days ago
94MaintenanceALicenceAQualityAHow we score

Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.

Best for: schema exploration in claude code or cursor; read-only database access for non-technical staff

★ 17kLocalUpdated 3 days ago
94MaintenanceALicenceAQualityAHow we score

MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.

Best for: query databases from an ai assistant; explore database schemas in an ide

★ 17kLocalUpdated 3 days ago
94MaintenanceALicenceAQualityAHow we score

Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.

Best for: query databases from an ai assistant; explore database schemas in an ide

4

Nhost

nhost
★ 9.4kLocalUpdated 2 days ago
94MaintenanceALicenceAQualityAHow we score

Nhost is an open source Firebase alternative whose CLI ships with an MCP server for AI coding assistants. It lets assistants read the GraphQL schema and work with Nhost projects. It is aimed at developers building apps on Nhost.

Best for: let an ai assistant query a nhost project; build a backend with graphql and postgresql

5

Run402

kychee-com
★ 26Local and remoteUpdated 4 days ago
93MaintenanceALicenceAQualityCHow we score

Run402 gives AI agents a full backend: Postgres, user auth, file storage, serverless functions, site hosting and image generation. It suits autonomous and coding agents that provision, deploy and pay for their own infrastructure, with no signup or console needed to start.

Best for: give an agent a hosted postgres database; deploy a static site and serverless functions

6

Neon

neondatabase
★ 667RemoteUpdated 3 days ago
92MaintenanceALicenceAQualityAHow we score

Neon MCP Server is an open-source remote MCP server that lets AI assistants manage Neon projects and Lakebase Postgres databases in natural language. It is for developers and non-developers who want to work with Neon without writing SQL or calling the Neon API directly.

Best for: create postgres databases and tables; run schema migrations using branches

7

mcp

butterbase-ai
★ 3kLocal and remoteUpdated 5 days ago
92MaintenanceALicenceAQualityAHow we score

Butterbase MCP server lets AI assistants manage a Butterbase backend through MCP tools. It covers schemas, auth, functions, storage, RAG and deploys. It is for developers building AI-driven apps who want agents to operate their backend.

Best for: manage postgres schemas and row-level security; deploy serverless functions from an ai assistant

★ 772RemoteUpdated 7 days ago
92MaintenanceALicenceAQualityAHow we score

Stash gives AI agents persistent memory that carries across sessions and tools. It is an open source, self-hosted MCP server for developers who want to run their own memory layer.

Best for: keeping context across ai coding sessions; sharing project rules between ai clients

9

pg-aiguide

timescale
★ 1.9kLocal and remoteUpdated 3 days ago
90MaintenanceALicenceAQualityAHow we score

pg-aiguide gives AI coding assistants versioned PostgreSQL manual search and curated Postgres best-practice skills. It is for developers who want agents to write better schemas and queries. It is available as an MCP server, Agent Skills, or a Claude Code plugin.

Best for: designing postgresql schemas; searching postgresql and timescaledb docs

10

CubiBase

cubibase
★ 0LocalUpdated 5 days ago
89MaintenanceALicenceAQualityCHow we score

CubiBase MCP server lets AI assistants operate CubiBase PostgreSQL backends, including projects, schema, rows, SQL, storage, functions and logs. It is built for AI agents and developers who run CubiBase projects end to end.

Best for: manage cubibase projects from an ai assistant; query and edit postgresql tables with sql and rows tools

See every one in PostgreSQL.

Questions

How did you rank these PostgreSQL MCP servers?

Only maintained, original projects are listed. They are ranked by GitHub stars, with recent activity shown next to each. The list updates daily. See how we list and rank.

Which PostgreSQL MCP servers work in ChatGPT?

ChatGPT needs a remote server with a URL. Run402, Neon, mcp, Stash — Shared AI Memory, pg-aiguide offer one.