Skip to main content
Glama
726,946 tools. Updated 2026-10-31 01:22

"postgre" matching MCP tools:

  • Run SQL statements in a forced read-only transaction that rejects writes and always rolls back, enabling safe SELECT, EXPLAIN, SHOW, and other read-only queries.
    MIT
  • Execute SQL statements on a PostgreSQL database with read-only safety by default and parameterized queries to prevent SQL injection. Returns up to 1000 rows per query.
    MIT
    Destructive
  • Execute a single read-only SQL query (SELECT, WITH, EXPLAIN) on PostgreSQL with write protection, row limits, and bind parameters for safe data retrieval.
    MIT
  • Cancel a running query or terminate a backend connection by PID. Use to stop problematic queries when pg_health shows active_queries or locks.
    MIT
    Destructive
  • Estimate table bloat from dead tuples and free space, returning live/dead counts, dead-tuple ratio, and vacuum timestamps to identify tables needing VACUUM.
    MIT
  • Returns the JSON execution plan for a SQL statement via EXPLAIN. Set analyze=True to execute read-only SQL and capture real row counts and timing.
    MIT

Matching MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that enables AI agents to securely interact with PostgreSQL databases with least-privilege scopes, PII masking, and human approval for writes.
    4
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Enables AI assistants to run SQL queries against PostgreSQL databases through the psql CLI, with support for multiple configured databases and enforced read-only guarantees.
    4
    1
    MIT

Matching MCP Connectors

  • Create an index on a PostgreSQL table to speed queries, with optional CONCURRENTLY builds that avoid locking, dry-run previews, and reversible undo.
    MIT
    Destructive
  • Search across all user schemas for columns matching a name pattern. Uses SQL LIKE wildcards for flexible, case-insensitive lookups to identify tables containing a given column.
    MIT
  • Recommends cost-justified PostgreSQL indexes by planning your SQL workload, generating candidate indexes, costing them via HypoPG hypothetical indexes, and returning only those that measurably reduce estimated query cost.
    MIT
  • Rank your slowest SQL queries by total or mean execution time to pinpoint optimization targets, using pg_stat_statements metrics like call count and cache hit ratio.
    MIT
  • Identify which PostgreSQL subsystem performs I/O and through which path. View cumulative per-backend-type I/O stats and in-flight asynchronous I/O to diagnose bottlenecks.
    MIT
  • Stop a running PostgreSQL query by backend PID to end long-running or blocking statements. Preview with dry-run; pid and query are logged for audit.
    MIT
    Destructive
  • Set or reset PostgreSQL configuration parameters via ALTER SYSTEM, with dry-run preview and captured prior state for undo.
    MIT
    Destructive
  • Identify PostgreSQL lock contention: see which sessions are blocked, who blocks them, lock types, contested relations, and queries. Use when queries hang to pinpoint the blocking transaction.
    MIT
  • Reclaim table storage and refresh planner statistics with VACUUM, FULL, or ANALYZE; preview changes via dry_run and record prior stats for audit.
    MIT
    Destructive
  • Lists configured PostgreSQL database environments, returning names and non-secret connection details to use as the env argument for other tools. Read-only.
    MIT
  • Generate the OAuth authorization URL users open to connect a WHOOP account; after approval, pass the returned code to whoop_connect.
    MIT
  • Retrieve tables and views in a schema with their type and estimated row count. Paginate results with limit and offset for large schemas.
    MIT
  • Describe a PostgreSQL table, view, or materialized view: get its kind, columns, keys, constraints, indexes, and partition info to understand structure and write correct SQL.
    MIT