Postgres MCP

Postgres MCP Pro is an open source Model Context Protocol (MCP) server for PostgreSQL that gives AI agents structured database access with index tuning, query…

  • AI
  • Databases
  • Tools & Utilities
Postgres MCP Pro is an open source Model Context Protocol (MCP) server for PostgreSQL that gives AI agents structured database access with index tuning, query explain plans, health checks, and safe SQL execution across the full development lifecycle.

Platform availability

Available on 1 of 10 platforms

  • Unraid
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

62/100 Good

Maintained
66last commit 97 days ago
Popular
713,450 GitHub stars
Easy to install
351 install platform, install notes, Docker image
Light to run
602 GB minimum RAM, runs on ARM
Security check
70no serious findings, 5 minor, CI, tests

Availability: platform listings confirmed today, links checked 47 days ago

GitHub stars
3,450
Open issues
98
Last commit
2026-08-16
Latest release
v0.3.0
License
MIT
Activity
stale

Checked 19 days ago - source: GitHub (crystaldba/postgres-mcp)

Resources & Compatibility

Minimum requirements: 2 GB RAM. ARM (e.g. Raspberry Pi) is supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Enter database and timezone Before starting postgres-mcp, make sure the database name and timezone (your local time area, like America/New_York) are set. These values are required to begin a Postgres connection, and missing them can stop the app from connecting. source
  • Add your Postgres user if needed If the setup asks for a username, enter the Postgres account that should be used. This optional value is included in the startup message, and the wrong account can cause access errors. source

Fetched 53 days ago - each note links to its source

Alternatives (12)

  • Apache Cassandra
  • CockroachDB - CockroachDB is a distributed SQL database for developers and operators of transactional applications that need horizontal scaling and resil…
  • CouchDB - CouchDB is a document-oriented NoSQL database with a RESTful HTTP/JSON interface for storing, querying, and synchronising JSON documents ac…
  • FerretDB - FerretDB is an open-source MongoDB compatibility proxy for self-hosted stacks.
  • Firebird - Firebird is a relational database offering many ANSI SQL-92 features that runs on Linux, Windows, and a variety of Unix platforms.
  • Microsoft SQL Server - SQL Server delivers on Microsoft’s Data Platform vision by helping your organization manage your data by enabling you to store data from st…
  • MindsDB - MindsDB is an AI data solution that enables humans, AI, agents, and applications to query data in natural language and SQL, and get highly…
  • MongoDB - MongoDB is an open-source, document-oriented NoSQL database that stores flexible, JSON-like documents, helping developers and self-hosters…
  • MySQL Community Edition - Free GPL database platform supporting SQL and NoSQL applications with InnoDB storage, replication, clustering, connectors, and cross-platfo…
  • SQLite - SQLite is a lightweight, embedded relational database engine that stores an entire database in a single file on your device.
  • SurrealDB - SurrealDB is a modern "all-in-one" database that stores and organises your app's information.
  • mariadb - MariaDB is a fast, open-source relational database server forked from MySQL by its original developers.

Checked 40 days ago - source: AlternativeTo

Common questions

What connection values must be set before starting postgres-mcp?

The database name and timezone are required before starting the connection, and missing them can prevent the app from connecting. A Postgres username may also be required, and the wrong account can cause access errors.

Does postgres-mcp support Server-Sent Events?

It supports both the Standard Input/Output transport and Server-Sent Events transport.

Can a Cursor update break an existing Postgres MCP setup?

One Cursor forum report says a Postgres MCP server that worked in Cursor 0.46 stopped working after updating to Cursor 0.47.8.

Answers sourced from forum.cursor.com, github.com, pub.dev

Community

Collected 53 days ago - public community threads