subnetmarco/pgmcp
An MCP server that connects AI assistants to PostgreSQL databases, allowing natural language queries with automatic SQL generation.

Velocity · 7d
+2.0
★ / day
Trend
→steady
star history
PGMCP implements the Model Context Protocol to expose any PostgreSQL database to AI assistants. It takes natural language queries and converts them to SQL using OpenAI’s language models, streaming results back to the AI client. The server provides a client CLI for testing and works with any MCP-compatible client including Cursor and Claude Desktop.