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
    B
    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,487
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables semantic search across PostgreSQL, TimescaleDB, and PostGIS documentation to help AI coding assistants write better PostgreSQL code.
    201 npm
    1,835
    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.
    483 npm
    3,165
    Apache 2.0

Related Servers

  • A
    license
    A
    quality
    C
    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
    9 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
    2
    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 186 tools

Disambiguation3/5

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.

Naming Consistency4/5

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.

Tool Count1/5

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.

Completeness2/5

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.

Maintenance

ActivityActive
ResponsivenessWithin a week