PostgreSQL

Helps you and your AI agents throughout the entire development process—from writing SQL to tuning performance safely.

crystaldba 3k
Claude CodeClaude DesktopGeneric
View source ↗

PostgreSQL MCP is a database tuning and analysis tool that provides real-time insights into PostgreSQL performance. It offers tools for analyzing query execution plans, identifying slow queries, monitoring database health metrics, and recommending index optimizations. The server implements features like hypothetical index testing, transaction health monitoring, and buffer cache analysis, making it valuable for database administrators and developers who need to optimize query performance, troubleshoot bottlenecks, or maintain healthy PostgreSQL databases. Built with Python 3.12 and packaged as a Docker container, it supports both PostgreSQL 15 and 16 with a focus on read-only safety through restricted access modes.

Source

Repository: https://github.com/crystaldba/postgres-mcp

Maintain PostgreSQL?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

PostgreSQL on getagentictools
[![PostgreSQL on getagentictools](https://getagentictools.com/badge/mcp/crystaldba-postgres-mcp.svg)](https://getagentictools.com/mcp/crystaldba-postgres-mcp?ref=badge)