by stuzero · MCP Server · ★ 535
Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h
PostgreSQL Model Context Protocol (PG-MCP) Server A Model Context Protocol (MCP) server for PostgreSQL databases with enhanced capabilities for AI agents. More info on the pg-mcp project here: https://stuzero.github.io/pg-mcp/ Overview PG-MCP is a server implementation of the Model Context Protocol for PostgreSQL databases. It provides a comprehensive API for AI agents to discover, connect to, query, and understand PostgreSQL databases through MCP's resource-oriented architecture. This implementation builds upon and extends the reference Postgres MCP implementation with several key enhancements: Full Server Implementation: Built as a complete server with SSE transport for production use Multi-database Support: Connect to multiple PostgreSQL databases simultaneously Rich Catalog Information: Extracts and exposes table/column descriptions from the database catalog Extension Context: Provides detailed YAML-based knowledge about PostgreSQL extensions like PostGIS and pgvector Query Explanation: Includes a dedicated tool for analyzing query execution plans Robust Connection Management: Proper lifecycle for database connections with secure connection ID handling Features Connection...
| Stars | 535 |
| Forks | 36 |
| Language | Python |
| Category | MCP Server |
| License | MIT |
| Quality Score | 27.45/100 |
| Open Issues | 9 |
| Last Updated | 2025-09-10 |
| Created | 2025-03-25 |
| Platforms | mcp, python |
| Est. Tokens | ~8k |
These tools work well together with pg-mcp-server for enhanced workflows:
Explore other popular mcp server tools:
pg-mcp-server is an open-source mcp server by stuzero with 535 GitHub stars.
pg-mcp-server is primarily written in Python.
You can find installation instructions and usage details in the pg-mcp-server GitHub repository at github.com/stuzero/pg-mcp-server. The project has 535 stars and 36 forks, indicating an active community.
pg-mcp-server is released under the MIT license, making it free to use and modify according to the license terms.