Scenario guide

Best Postgres MCP Servers in 2026

Postgres is the single most-connected database in the MCP and Agent Skill ecosystem, and the options range from the official reference server to full-featured forks with EXPLAIN analysis, connection pooling, and read-only enforcement.

When comparing, prioritize three things: a true read-only mode, schema introspection that goes beyond listing tables, and clear documentation of how the connection string is handled. The ranking below is ordered by adoption.

65results
CP
crystaldba/postgres-mcp
Database management

Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.

3.5K 39690
PP
pgedge/pgedge-postgres-mcp
Developer toolsOfficial

- About the pgEdge Postgres MCP Server - pgEdge Postgres MCP Server - Choosing the Right Solution - Best Practices - Querying the Server - Installing the MCP Server - Quick Start - Quickstart Demo...

245 2473
CM
call518/mcp-postgresql-ops
Developer tools

is a professional MCP server for PostgreSQL database operations, monitoring, and management. Supports PostgreSQL 12-18 with comprehensive database analysis, performance monitoring, and intelligent...

164 2886
MP
microsoft/postgres-mcp
Developer toolsOfficial

postgres-mcp lets you generate queries and run analytics, design database schemas, diagnose performance of the server and queries, securely manage connections, and import data.

79 385
AP
ahmedmustahid/postgres-mcp-server
Developer tools

A Model Context Protocol (MCP) server that provides both HTTP and Stdio transports for interacting with PostgreSQL databases.

31 1656
AM
antonorlov/mcp-postgres-server
Developer tools

MCP server for PostgreSQL. Works with VS Code, Cursor, Claude Code, Codex, and Windsurf.

25 1080
SM
syahiidkamil/mcp-postgres-full-access
Database management

Full access postgres mcp server

25 2056
JP
jamesjohnsdev/postgresql-mcp-server
Developer tools

A Model Context Protocol (MCP) server that provides PostgreSQL database management capabilities. This server assists with analyzing existing PostgreSQL setups, providing implementation guidance, and...

24 4563
MM
microsoft/mcp-server-and-postgresql-sample-retail
Database managementOfficial

A Model Context Protocol (MCP) server that provides comprehensive customer sales database access for Zava Retail DIY Business.

23 3273
GM
gldc/mcp-postgres
Database management

A PostgreSQL MCP server implementation with support using the Model Context Protocol (MCP) Python SDK.

15 1170
JP
javimaligno/postgres_mcp
Developer tools

The only postgress MCP server I have been able to connect to my docker postgres

12 586
MP
mukul975/postgres-mcp-server
Developer tools

🔄 PostgreSQL MCP Server – AI-Powered PostgreSQL Management & Monitoring. A powerful, AI-integrated PostgreSQL Model Context Protocol (MCP) server for automated database operations, monitoring,...

12 1071
View all matching entries · 65

FAQ

Which Postgres MCP server should I pick?

Start with the highest-starred option below that explicitly documents a read-only mode. If you need multiple databases or connection pooling, check the multi-database entries in the broader database category.

How do I keep the agent from running writes?

Two layers: create a Postgres role with SELECT-only grants, and choose a server with a read-only flag. Either layer alone is common; both together is the recommended setup for shared databases.

Can it explain slow queries?

Several servers expose EXPLAIN output as a tool. Combined with the agent's reasoning, that turns "why is this endpoint slow" into a concrete index suggestion — check each server's tool list on its detail page.

Related guides