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.34 npm12MIT

butterbaseofficial
AlicenseNot gradedqualityCmaintenanceAI-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,031Apache 2.0- AlicenseNot gradedqualityAmaintenanceUniversal database MCP server connecting to MySQL, PostgreSQL, SQLite, DuckDB and etc.6 npm3,695MIT

Prisma MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceManage Prisma Postgres databases with ease41 npm47,665Apache 2.0
pg-aiguideofficial
AlicenseNot gradedqualityAmaintenanceEnables semantic search across PostgreSQL, TimescaleDB, and PostGIS documentation to help AI coding assistants write better PostgreSQL code.37 npm1,873Apache 2.0- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to query databases using natural language, with automatic schema discovery and SQL compilation.1,493 npm3,213Apache 2.0
Related Servers
- AlicenseAqualityDmaintenanceA 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.1341 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.103MIT
- 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 191 tools
Many tools share similar purposes: multiple PG19 feature status probes (get_pgq_status, get_repack_status, get_aio_status, get_pg19_stats_status, etc.), several query analysis tools (explain_query, analyze_query_plan, why_is_this_slow, optimize_query), and numerous vector search variants. While descriptions are detailed, the sheer number of similarly named tools creates real ambiguity for an agent selecting the right one.
Names are consistently snake_case, but the convention is mixed: many tools use verb_noun (list_tables, run_select, generate_prisma_schema), while others are noun-first (vector_search, hybrid_search, full_text_search, mmr_search) or sentence-like (why_is_this_slow). Still readable, but not a predictable pattern.
191 tools is far beyond any reasonable scope for a single MCP server; even a production-grade PostgreSQL server should consolidate overlapping capabilities. This extreme count overwhelms agents and greatly increases misselection risk.
The surface covers an extensive range of PostgreSQL features: introspection, performance advisors, vector/RAG, extensions, PG19 features, graphs, time-series, and more. Minor gaps may exist (e.g., direct DDL for roles/databases), but overall coverage is very broad and leaves few dead ends.