by subnetmarco · MCP Server · ★ 529
Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h
PGMCP - PostgreSQL Model Context Protocol Server PGMCP connects AI assistants to any PostgreSQL database through natural language queries. Ask questions in plain English and get structured SQL results with automatic streaming and robust error handling. Works with: Cursor, Claude Desktop, VS Code extensions, and any MCP-compatible client Quick Start PGMCP connects to your existing PostgreSQL database and makes it accessible to AI assistants through natural language queries. Prerequisites PostgreSQL database (existing database with your schema) OpenAI API key (optional, for AI-powered SQL generation) Basic Usage bash Set up environment variables export DATABASEURL="postgres://user:password@localhost:5432/your-existing-db" export OPENAIAPIKEY="your-api-key" # Optional Run server (using pre-compiled binary) ./pgmcp-server Test with client in another terminal ./pgmcp-client -ask "What tables do I have?" -format table ./pgmcp-client -ask "Who is the customer that has placed the most orders?" -format
| Stars | 529 |
| Forks | 61 |
| Language | Go |
| Category | MCP Server |
| Quality Score | 39.2/100 |
| Open Issues | 2 |
| Last Updated | 2026-05-26 |
| Created | 2025-09-16 |
| Platforms | go, mcp |
| Est. Tokens | ~7k |
These tools work well together with pgmcp for enhanced workflows:
Looking for a pgmcp alternative? If you're comparing pgmcp with other mcp server tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.
🐘 Give AI assistants full PostgreSQL DBA superpowers — 30+ tools for performance analysis, bloat detection, l
The open context engine for AI agents support 15+ data sources. Built on Rust and Apache DataFusion.
MCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better Post
A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents. Say goodbye to Vector RAG and
🌋 Build AI agents that seamlessly combine LLM reasoning with real-world actions via MCP tools — in just a few
Turn topics, links, and files into AI-generated research notebooks — summarize, explore, and ask anything.
Explore other popular mcp server tools:
pgmcp is An MCP server to query any Postgres database in natural language.. It is categorized as a MCP Server with 529 GitHub stars.
pgmcp is primarily written in Go. It covers topics such as agent, agentic-ai, ai.
You can find installation instructions and usage details in the pgmcp GitHub repository at github.com/subnetmarco/pgmcp. The project has 529 stars and 61 forks, indicating an active community.
The top alternatives to pgmcp on Agent Skills Hub include MCP-PostgreSQL-Ops, wren-engine, pg-aiguide. Each offers a different approach to the same problem space — compare them side-by-side by stars, quality score, and community activity.