Skip to main content
Glama
devopam

MCPg - Production-grade PostgreSQL MCP Server

Related Servers

Alternatives to MCPg - Production-grade PostgreSQL MCP Server

  • A
    license
    Not graded
    quality
    C
    maintenance
    AI-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,031
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables semantic search across PostgreSQL, TimescaleDB, and PostGIS documentation to help AI coding assistants write better PostgreSQL code.
    37 npm
    1,873
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to query databases using natural language, with automatic schema discovery and SQL compilation.
    1,493 npm
    3,213
    Apache 2.0

Related Servers

  • A
    license
    A
    quality
    D
    maintenance
    A 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.
    13
    41 npm
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    An 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.
    9
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A 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
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server for PostgreSQL databases that enables AI agents to connect, query, and explore multiple databases with schema discovery and extension context.
    540
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    A 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.
    10
    3
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A production-ready MCP server for PostgreSQL — built for Claude Desktop, Claude Code, and any MCP-compatible AI agent.
    Apache 2.0

TDQS

B3.3/5.0

Scored across 191 tools

Disambiguation2/5

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.

Naming Consistency3/5

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.

Tool Count1/5

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.

Completeness4/5

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.

Maintenance

ActivityActive
ResponsivenessResponsive