crystaldba/postgres-mcp

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

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 28 minutes ago
Added to GitGenius on September 20th, 2026
Created on March 24th, 2025
Open Issues & Pull Requests: 91 (+0)
GitHub issues: Enabled
Number of forks: 380
Total Stargazers: 3,327 (+0)
Total Subscribers: 12 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 50
New in 7 days: 2
Closed in 7 days: 0
Avg open age: 220 days
Stale 30+ days: 43
Stale 90+ days: 28

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (1)
  • enhancement (1)

Detailed Description

Postgres MCP Pro is a Model Context Protocol server that provides configurable read and write access to PostgreSQL databases along with performance analysis capabilities for developers and AI agents.

The tool addresses the challenge of integrating database management into AI-assisted development workflows. It goes beyond simple database connections by offering index tuning using industrial-strength algorithms to explore thousands of possible indexes, EXPLAIN plan analysis for query optimization, database health monitoring across multiple dimensions including index health and replication lag, and schema-aware SQL generation. The server implements safety controls through configurable access restrictions and safe SQL parsing, making it suitable for both development and production environments. It supports both standard input/output and server-sent events transports for flexibility across different deployment scenarios.

Developers should consider this tool if they work with PostgreSQL and want AI agents to assist with database optimization and maintenance tasks. It suits projects where performance tuning and schema understanding are important, particularly when using AI assistants like Cursor for development. The tool is designed to support the entire development lifecycle from initial coding through production maintenance, distinguishing it from basic database connection wrappers.

The project maintains active development with regular updates to its core functionality. The codebase demonstrates attention to practical deployment concerns through support for multiple transport mechanisms and careful consideration of security implications in production environments. Documentation includes detailed technical notes and frequently asked questions addressing implementation details.