PG-MCP: Enhanced PostgreSQL Model Context Protocol Server

2025-03-30
PG-MCP: Enhanced PostgreSQL Model Context Protocol Server

PG-MCP is a Model Context Protocol (MCP) server for PostgreSQL databases, offering enhanced capabilities for AI agents. Building upon the reference Postgres MCP implementation, it adds multi-database support, rich metadata including PostGIS and pgvector extensions, query plan analysis tools, and robust connection management. Deployable via Docker or a virtual environment, developers can interact with PG-MCP using the provided Python client, even leveraging large language models like Claude for natural language to SQL conversion.

Development