Skip to content

Alternatives to Pg Doctor

MCP servers that do a similar job to Pg Doctor, ranked by how closely they match what it does. Pg Doctor is an open-source MCP server for databases.

Top 13 alternatives

  1. Read-only PostgreSQL performance diagnostics for AI assistants via MCP

    Not checked yet
    • 8 tools
    • Remote
    • Open source
    • Databases
  2. pgmcp

    MCP server

    Read-only Postgres diagnostics over MCP for DBAs investigating slow queries and locks

    Runs locally
    • 9 tools
    • Open source
    • Databases
  3. Pg Checkup

    MCP server

    Read-only PostgreSQL health checks for AI assistants, with prioritized fixes and SQL

    Runs locally
    • Open source
    • Databases
  4. Read-only PostgreSQL access for AI agents, with SQL validation, timeouts and an audit

    Not checked yet
    • 10 tools
    • Remote
    • Open source
    • 3 GitHub stars
    • Databases
  5. Postgres AIops

    MCP server

    Governed PostgreSQL DBA operations with slow-query and lock analysis

    Runs locally
    • Open source
    • Databases
  6. Mcpg

    MCP server

    PostgreSQL MCP server with 279 tools for queries, tuning and ops, read-only by default

    Runs locally
    • Open source
    • 15 GitHub stars
    • Databases
  7. Offline PostgreSQL migration, query and EXPLAIN checks for AI coding agents

    Runs locally
    • 5 tools
    • Open source
    • Databases
  8. MCP server that lets AI assistants diagnose and tune PostgreSQL query and index

    Runs locally
    • 16 tools
    • Open source
    • 31 GitHub stars
    • Databases
  9. postgres-mcp

    MCP server

    MCP server giving AI assistants Postgres index tuning, EXPLAIN plans and health checks

    Not checked yet
    • 9 tools
    • Open source
    • 3.5K GitHub stars
    • Databases
  10. Query PostgreSQL, inspect schemas and read EXPLAIN plans, read-only by default

    Runs locally
    • 13 tools
    • Open source
    • Databases
  11. Postgres

    MCP server

    MCP server giving AI clients read-only SQL, schema and performance access to PostgreSQL

    Runs locally
    • 5 tools
    • Open source
    • Databases
  12. PGAuditor

    MCP server

    Hosted MCP server that lets Claude diagnose slow queries and index gaps in PostgreSQL

    Not checked yet
    • Remote
    • Paid
    • Databases
  13. pgops

    MCP server

    MCP server giving AI assistants guarded PostgreSQL access: queries, migrations, EXPLAIN

    Runs locally
    • 15 tools
    • Open source
    • Databases

Pg Doctor alternatives: questions

What are the best alternatives to Pg Doctor?

The closest alternatives to Pg Doctor are PostgreSQL Performance (read-only), pgmcp, Pg Checkup, PostgreSQL (hardened, read-only) and Postgres AIops.

Is there a free alternative to Pg Doctor?

Yes. PostgreSQL Performance (read-only), pgmcp, Pg Checkup have a free or open-source option.

Compare head to head