MCPg - Production-grade PostgreSQL MCP Server
Related Servers
Alternatives to MCPg - Production-grade PostgreSQL MCP Server
- AlicenseNot gradedqualityAmaintenanceEnables secure, AI-driven PostgreSQL database administration, observability, and querying with support for extensions like PostGIS and pgvector, connection pooling, and advanced tool filtering.145 npm12MIT

butterbaseofficial
AlicenseNot gradedqualityBmaintenanceAI-native open-source backend-as-a-service. Manage Postgres with RLS, auth, file storage, serverless TypeScript functions, durable objects, realtime, KV, AI gateway, and RAG via MCP, either HTTP at /mcp on a self-hosted instance or stdio with npx @butterbase/mcp.3,487Apache 2.0- AlicenseNot gradedqualityAmaintenanceUniversal database MCP server connecting to MySQL, PostgreSQL, SQLite, DuckDB and etc.5 npm3,493MIT

Prisma MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceManage Prisma Postgres databases with ease41 npm47,604Apache 2.0
pg-aiguideofficial
AlicenseNot gradedqualityBmaintenanceEnables semantic search across PostgreSQL, TimescaleDB, and PostGIS documentation to help AI coding assistants write better PostgreSQL code.201 npm1,835Apache 2.0- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to query databases using natural language, with automatic schema discovery and SQL compilation.483 npm3,165Apache 2.0
Related Servers
- AlicenseAqualityCmaintenanceA Model Context Protocol (MCP) server for PostgreSQL that provides safe, structured access to your database for AI assistants, enabling health checks, index tuning, lock analysis, and more.139 npmMIT
- AlicenseBqualityDmaintenanceAn open source Model Context Protocol server for PostgreSQL that provides database health analysis, index tuning, query plan exploration, and safe SQL execution for AI agents throughout the development process.9MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides AI assistants with secure, read-only access to PostgreSQL databases while offering comprehensive tools for schema exploration, query validation, and performance optimization.MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server for PostgreSQL databases that enables AI agents to connect, query, and explore multiple databases with schema discovery and extension context.540MIT
- AlicenseAqualityAmaintenanceA drop-in Model Context Protocol (MCP) server that lets an AI agent query PostgreSQL — read-only, enforced at the database level, with real SQL validation, timeouts, cost limits, OAuth 2.1, and an audit trail.102MIT
- AlicenseNot gradedqualityDmaintenanceA production-ready MCP server for PostgreSQL — built for Claude Desktop, Claude Code, and any MCP-compatible AI agent.Apache 2.0
TDQS
Scored across 186 tools
Most tools have clearly distinct purposes and detailed descriptions, but there are several overlapping clusters that could cause misselection: graph tools (list_graphs/describe_graph vs list_property_graphs/describe_property_graph), query analysis tools (explain_query vs analyze_query_plan vs why_is_this_slow vs optimize_query), and multiple search variants (vector_search, hybrid_search, hybrid_bm25_vector_search, pg_search_run). The descriptions help disambiguate, but the sheer number of similar-sounding tools creates real ambiguity.
The vast majority of tools follow a consistent snake_case verb_noun pattern (list_*, get_*, generate_*, recommend_*, analyze_*, read_*, run_*). Minor deviations exist, such as why_is_this_slow (question-style rather than verb_noun) and some verb alternation between get/check/verify for status tools, but there is no chaotic mixing of conventions.
186 tools is an extreme count for any MCP server, even one covering PostgreSQL broadly. The surface is far beyond what an agent can reliably navigate, and many tools are hyper-specialized to optional extensions or niche PG19 features. This is a clear case of severe over-scoping rather than a coherent, curated toolset.
The toolset covers an enormous range of read-only introspection, advisory, and search functionality, but it has significant gaps for a 'production-grade PostgreSQL' server: run_write, prepare_migration, and validate_migration_schema are referenced in descriptions but not exposed as tools, and there is no general path to apply generated DDL or run migrations. Agents needing write or migration execution will fail without workarounds.