talira

Compare

Postgres MCP ProPgHeropgEdge Postgres MCP ServerMCP Toolbox for Databases
What it isA Postgres MCP server with index tuning, explain plans, health checks, and safe SQL executionA performance dashboard for PostgresA PostgreSQL MCP server with a Natural Language Agent CLI and Web UIAn open source MCP server for databases
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.320.360.430.48
Stars————
Last commit————
LicenceMITMITPostgreSQLApache-2.0
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostableYesYesYesYes
Ways to run it————
SOC 2————
HIPAA————
SSO————
API—YesYes—
Plugins————
MCP serverYes—YesYes
CompanyCrystal DBA—pgEdgeGoogle
public company (NASDAQ:GOOGL)
Features
  • list_schemas, list_objects and get_object_details for schema context
  • execute_sql, read-only in restricted mode
  • explain_query, with hypothetical indexes through hypopg
  • get_top_queries from pg_stat_statements by total or mean execution time
  • analyze_workload_indexes and analyze_query_indexes (up to 10 queries): index recommendations from an Anytime database tuning advisor search
  • analyze_db_health: buffer cache hit rates, connections, constraints, duplicate, unused or invalid indexes, sequence limits and vacuum health
  • unrestricted (read/write) and restricted (read-only transactions, execution time limit) access modes
  • stdio and SSE transports
  • All 10 features
  • overview checks for slow and long-running queries, connections, cache hit rate and replication
  • unused, duplicate and invalid index detection
  • query stats from pg_stat_statements, with history over time
  • index suggestions from the slowest queries (pg_query)
  • table and index sizes, with history over time
  • live queries, with a button to kill one
  • last vacuum, last analyze and dead rows per table
  • EXPLAIN from the dashboard
  • All 12 features
  • queries run in read-only transactions by default, configurable per database
  • similarity_search: vector search over pgvector columns, chunks re-scored with BM25 and diversified with MMR within a token budget
  • query_database, get_schema_info, count_rows and execute_explain tools
  • generate_embedding with OpenAI, Voyage AI, Google Gemini or Ollama
  • search_knowledgebase over a pre-built documentation database (kb.db)
  • several database connections, selectable by the agent
  • stdio and HTTP/HTTPS transports, with user and API token authentication and TLS
  • Go chat client (CLI) and React web UI for natural-language questions
  • All 10 features
  • prebuilt tools per database (--prebuilt=postgres, toolsets like postgres/data): list_tables, execute_sql and more
  • custom tools in tools.yaml: sources, parameterised SQL tools, toolsets and prompts
  • Google Cloud sources: AlloyDB, BigQuery, Cloud SQL (PostgreSQL, MySQL, SQL Server), Spanner, Firestore, Knowledge Catalog
  • other sources: PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, MongoDB, Redis, Elasticsearch, CockroachDB, ClickHouse, Couchbase, Neo4j, Snowflake, Trino
  • semantic search and NL2SQL tools (such as alloydb-ai-nl)
  • connection pooling, IAM auth, Google Sign-In and generic OIDC auth services
  • OpenTelemetry metrics and tracing
  • stdio and HTTP MCP endpoints, per-toolset URLs
  • All 11 features
Limitations
  • No vector or hybrid search tools: its tools cover schemas, SQL, EXPLAIN plans, index tuning and health checks
    • Isn't for public-facing apps: it gives the LLM read access to the whole database schema and data, so use it only for trusted internal users
    • Doesn't support PostgreSQL 13 or older: it needs PostgreSQL 14 or later
    • Doesn't come as a managed service: it's open source and self-hosted; Google Cloud MCP Servers are Google's managed option