Skip to main content
Glama
132,610 servers. Updated
Browse by product
20 Best PostgreSQL MCP Servers: compared and ranked, November 2026Ranked from 1,766 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

"Managing a PostgreSQL Database" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    Not graded
    quality
    C
    maintenance
    这是面向智能运维场景的 MCP 工具服务,让 Agent 能够按需检索日志内容并获取主机与应用的监控指标数据。它把实时的日志与指标证据接入 Plan-Execute-Replan 诊断流程,从而支撑自动故障排查与根因分析。
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables comprehensive PostgreSQL database monitoring, analysis, and management through natural language queries. Provides performance insights, bloat analysis, vacuum monitoring, and intelligent maintenance recommendations across PostgreSQL versions 12-17.
    37
    164
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables WorkBuddy enterprise backends to connect to a data collection platform over streamable HTTP, exposing 25 MCP tools for tasks, storage, agents, alarms, audit logs, users, settings, and generic REST API operations.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI clients to safely query PostgreSQL or SQLite databases read-only through AST-validated guardrails, schema introspection, and statistical table profiling. It returns results as Markdown tables, JSON audit reports, and database health checks.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to interact with PostgreSQL databases over HTTP/JSON-RPC, supporting SQL queries, schema introspection, table/index analysis, EXPLAIN query planning, role and privilege inspection, and database monitoring.
    MIT
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL database operations, monitoring, and management via natural language, covering performance analysis, bloat detection, lock/deadlock monitoring, autovacuum and schema inspection with read-only production-safe queries.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL database operations and monitoring through natural language, including performance analysis, bloat detection, lock/deadlock monitoring, autovacuum checks, and schema inspection across PostgreSQL 12–18 without extensions.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL database operations and monitoring through natural language, including performance analysis, bloat detection, lock and connection monitoring, autovacuum intelligence, and schema/relationship discovery. Works read-only across PostgreSQL 12-18 with no extensions required, with optional pg_stat_statements and pg_stat_monitor support for advanced query analytics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL database operations and monitoring through natural language, including performance analysis, bloat detection, lock and deadlock monitoring, autovacuum and schema inspection across PostgreSQL 12-18.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform read-only PostgreSQL database operations, monitoring, and management through natural language queries, including performance analysis, bloat detection, lock/deadlock monitoring, autovacuum inspection, and schema discovery across PostgreSQL 12–18.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL database operations, monitoring, and management through natural language, including performance analysis, bloat detection, lock/deadlock monitoring, autovacuum and schema inspection, with no extensions required.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL database operations, monitoring, and management through natural language, including performance analysis, bloat detection, lock/deadlock monitoring, autovacuum, and schema inspection. Supports PostgreSQL 12-18 with read-only production-safe tools and optional extension-enhanced query analytics.
    -
  • A
    license
    A
    quality
    C
    maintenance
    DBeast MCP is a robust, security-first Model Context Protocol server designed to empower AI coding assistants (like Claude Desktop) with deep PostgreSQL database insights. Instead of just running basic SQL queries, DBeast equips your AI agent with tools to inspect active locks, audit slow queries, analyze table schemas, and safely generate index recommendations in real-time. Built specifically for
    21
    9
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Full-featured MCP server that exposes 36 tools for interacting with PostgreSQL databases, covering schema introspection, query execution, data exploration, performance monitoring, security auditing, and maintenance.
    36
    5 npm
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables LLM agents to explore schemas, run guarded read-only queries, inspect execution plans and check database health across a fleet of PostgreSQL databases, selecting a connection by id while credentials stay on the server. Supports multiple databases in one session, exposing schema search, table descriptions, health checks and cross-database relationship lookups over stdio MCP.
    12
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to explore PostgreSQL schemas, run read-only SQL, inspect query plans and live database diagnostics, and optionally perform governed inserts, updates, and admin operations. Ships with layered access modes, schema allowlists, row caps, secret redaction, and human-approved destructive actions so changes stay safe by default.
    12
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    An MCP server for tracking and managing AI command usage history using a PostgreSQL database. It enables users to log, search, and view statistics for various AI-related commands and their execution contexts.
    5
    -
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants to explore a PostgreSQL database, run bounded read-only SQL, inspect query plans, test hypothetical indexes, find slow queries, and check database health with compact CSV output.
    10
    1
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Open-source DBA tool for AI agents: graded health checks and SQL on SQL Server, Oracle, PostgreSQL and MySQL, and backups proven by restore on SQL Server, PostgreSQL and Oracle. Runs on your machine; database logins come from its encrypted store and never reach the model.
    94
    258 PyPI
    2
    Apache 2.0
  • A
    license
    B
    quality
    D
    maintenance
    An open-source MCP server for PostgreSQL that provides database health analysis, index tuning, query plan optimization, and safe SQL execution, suitable for both development and production environments.
    9
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Enables database administrators and AI clients to inspect PostgreSQL and MS SQL Server instances, diagnose performance bottlenecks, analyze locks and slow queries, and safely preview, apply, or script row deletions with safeguards. It also maps 1C:Enterprise table names to configuration objects for more understandable analysis.
    14
    MIT
  • A
    license
    C
    quality
    C
    maintenance
    A Model Context Protocol server that provides secure database access to PostgreSQL through Kysely ORM, enabling natural language interaction with PostgreSQL databases. It offers 40+ MCP tools for querying, schema inspection, diagnostics, and Java backend monitoring.
    40
    7 npm
    1
    ISC
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables MCP clients to triage SOC alerts while enforcing a trust firewall across retrieval, memory, and privileged actions. It exposes tools for alerts, logs, memory, and alert actions, with defenses that refuse risky operations in the presence of attacker-controllable content.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to securely query and monitor IBM i systems and Db2 for i databases through YAML-defined SQL tools over the Model Context Protocol, supporting system information, performance monitoring, and database operations.
    2
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to interact with PostgreSQL databases through schema intelligence, query execution, and DBA tooling including index analysis and health monitoring. Features configurable access levels and audit logging for secure database operations.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to interact with DataDog's observability platform through a standardized interface. Supports monitoring infrastructure, managing events, analyzing logs and metrics, and automating operations like alerts and downtimes.
    1
    MIT
  • A
    license
    Not graded
    quality
    F
    maintenance
    Archived MCP server for PostgreSQL health monitoring; functionality merged into pg-dash.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to analyze and optimize PostgreSQL database performance by identifying missing indexes and suggesting query rewrites. It allows users to retrieve database projects and implement performance fixes directly through natural language in their code editor.
    10 npm
    2
    MIT
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to monitor and operate PostgreSQL databases through natural language queries, covering performance analysis, bloat detection, lock/deadlock monitoring, autovacuum and schema inspection, and maintenance recommendations with read-only, extension-optional workflows across PostgreSQL 12–18.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables read-only querying and analysis of Kibana logs through a logged-in sid Cookie, including keyword/time/index searches, traceId lookups, surrounding log context, and aggregations by service, level, or host. It also validates Kibana connection status and redacts sensitive fields such as cookies, tokens, and passwords.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform read-only PostgreSQL DBA analysis and monitoring through natural language, covering performance, bloat, locks/deadlocks, autovacuum, and schema inspection across PostgreSQL 12-18 without required extensions.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform read-only PostgreSQL DBA work across versions 12–18, including performance analysis, slow query identification, bloat detection, lock and deadlock monitoring, autovacuum and schema inspection, and replication/WAL checks via natural language. Works with regular user permissions on RDS/Aurora without requiring any extensions, while optionally leveraging pg_stat_statements and pg_stat_monitor for deeper query analytics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to monitor and administer PostgreSQL 12-18 through natural language, covering performance and slow-query analysis, table bloat detection, lock and connection monitoring, replication and WAL status, and VACUUM/autovacuum and schema inspection. It works read-only out of the box with automatic version detection and optional extension-enhanced query analytics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform read-only PostgreSQL DBA and monitoring tasks, including performance analysis, bloat detection, lock/deadlock monitoring, autovacuum and schema inspection across PostgreSQL 12–18. It supports natural-language queries against production-safe, RDS/Aurora-compatible connections, with optional query analytics via pg_stat_statements or pg_stat_monitor.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    A FastAPI-based server that enables executing SQL queries, managing database connections, and retrieving analytics reports through MCP-integrated endpoints. It allows users to interact with database schemas, performance metrics, and access logs using structured queries.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables natural-language monitoring and administration of PostgreSQL databases, covering performance analysis, bloat detection, lock and deadlock monitoring, autovacuum intelligence, and schema inspection. It works with PostgreSQL 12-18 and can run without extensions, with optional extensions for advanced query analytics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to inspect and monitor PostgreSQL 12-18 databases through natural language, covering performance analysis, slow-query identification, bloat and lock detection, autovacuum health, replication/WAL status, and schema exploration. All operations are read-only and work without requiring any extensions, though pg_stat_statements and pg_stat_monitor optionally enhance query analytics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform read-only PostgreSQL DBA operations and monitoring through natural language, including performance and slow-query analysis, bloat detection, lock/deadlock monitoring, autovacuum and schema inspection, and maintenance recommendations across PostgreSQL 12–18.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to inspect and monitor PostgreSQL databases with read-only DBA tools for performance analysis, bloat detection, locks/deadlocks, autovacuum, schema discovery, replication, and maintenance recommendations.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to inspect and monitor PostgreSQL databases using natural language, covering performance analysis, bloat detection, lock/deadlock monitoring, autovacuum, schema inspection, and maintenance recommendations across PostgreSQL 12–18 without requiring extensions.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to inspect and monitor PostgreSQL 12–18 databases through natural language, covering performance and slow-query analysis, table bloat detection, connection/lock and deadlock monitoring, autovacuum and VACUUM effectiveness, replication/WAL status, and schema and relationship discovery. All operations are read-only and production-safe, working with regular user permissions on RDS/Aurora, with optional pg_stat_statements and pg_stat_monitor extensions for deeper query analytics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to monitor and administer PostgreSQL 12-18 databases through natural language, covering performance and slow-query analysis, table bloat detection, connection and lock monitoring, autovacuum and maintenance recommendations, and schema discovery. All operations are read-only and work with regular user permissions, requiring no extensions unless optional query-analytics features are desired.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Universal database copilot for diagnostics, operations, and performance analysis via MCP and CLI.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL DBA operations and monitoring through natural language, including performance analysis, bloat detection, lock/deadlock monitoring, autovacuum and schema inspection across PostgreSQL 12–18.
    -
  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    On-server agent for managing PostgreSQL, Redis, Keycloak, and NGINX on Ubuntu infrastructure with real-time monitoring, automated maintenance, and distributed command execution.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Read-only MCP server for querying AI usage metrics (exact tokens, cost, latency, errors, productivity) from a local SQLite database, enabling charts and analysis in Claude Code and Cursor.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    A Linux server inspection MCP system that allows managing servers via web backend, performing SSH-based health checks, and querying server status through natural language.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides a Twitter-like timeline interface where AI agents can post thoughts and progress updates in real-time while working on tasks. It enables users to monitor agent activities through a web GUI and persistent database storage for debugging and session tracking.
    1
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform read-only PostgreSQL DBA operations through natural language, including performance and slow-query analysis, bloat and capacity detection, lock/deadlock and connection monitoring, autovacuum/VACUUM effectiveness checks, and schema and relationship discovery. It works across PostgreSQL 12-18 with automatic version detection and no required extensions, optionally enhancing query analytics via pg_stat_statements or pg_stat_monitor.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL operations and monitoring through natural language, including performance analysis, bloat detection, lock/deadlock monitoring, autovacuum inspection, schema discovery, and maintenance recommendations with production-safe read-only tools across PostgreSQL 12–18.
    -
  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    A production-ready Model Context Protocol server built with FastAPI, featuring JWT authentication, PostgreSQL database support, Redis caching, and comprehensive health monitoring for building secure async API applications.
    -