Back to MCP marketplace
data-analytics
In Review
call518/MCP-PostgreSQL-Ops
Added by github
About
🐘 Give AI assistants full PostgreSQL DBA superpowers — 30+ tools for performance analysis, bloat detection, lock/deadlock monitoring, autovacuum & schema inspection. No extensions required. PG 12-18.
Tools
- get_lock_monitoring[Tool Purpose]: Monitor current locks and potential deadlocks in PostgreSQL [Exact Functionality]: - List all current locks held and waited for by sessions - Show blocked and blocking sessions, lock types, and wait status - Help diagnose l
- get_wal_status[Tool Purpose]: Monitor WAL (Write Ahead Log) status and statistics [Exact Functionality]: - Show current WAL location and LSN information - Display WAL file generation rate and size statistics - Monitor WAL archiving status and lag - Prov
- get_replication_status[Tool Purpose]: Monitor PostgreSQL replication status and statistics [Exact Functionality]: - Show current replication connections and their status - Display replication lag information for standbys - Monitor WAL sender and receiver proces
- get_server_info[Tool Purpose]: Check basic information and connection status of PostgreSQL server [Exact Functionality]: - Retrieve PostgreSQL server version information - Display connection settings (with password masking) - Verify server accessibility
- get_current_database_info[Tool Purpose]: Get information about the current database connection [Exact Functionality]: - Show the name of the currently connected database - Display database-specific information like encoding, locale, and size - Provide connection c
- get_database_list[Tool Purpose]: Retrieve list of all databases and their basic information on PostgreSQL server [Exact Functionality]: - Retrieve list of all databases on the server - Display owner, encoding, and size information for each database - Inclu
- get_table_list[Tool Purpose]: Retrieve list of all tables and their information from specified database (or current DB) [Exact Functionality]: - Retrieve list of all tables in specified database - Display schema, owner, and size information for each tab
- get_user_list[Tool Purpose]: Retrieve list of all user accounts and permission information on PostgreSQL server [Exact Functionality]: - Retrieve list of all database user accounts - Display permission information for each user (superuser, database cre
- get_table_schema_info[Tool Purpose]: Retrieve detailed schema information for specific table or all tables in a database [Exact Functionality]: - Retrieve detailed column information including data types, constraints, defaults - Display primary keys, foreign k
- get_database_schema_info[Tool Purpose]: Retrieve detailed information about database schemas (namespaces) and their contents [Exact Functionality]: - Show all schemas in a database with their owners and permissions - Display schema-level statistics including tabl
- get_table_relationships[Tool Purpose]: Analyze table relationships including foreign keys, dependencies, and inheritance [Exact Functionality]: - Show foreign key relationships (inbound and outbound) - Display view dependencies and table references - Analyze inh
- get_active_connections[Tool Purpose]: Retrieve all active connections and session information on current PostgreSQL server [Exact Functionality]: - Retrieve list of all currently active connected sessions - Display user, database, and client address for each co
- get_pg_stat_statements_top_queries[Tool Purpose]: Analyze top queries that consumed the most time using pg_stat_statements extension [Exact Functionality]: - Retrieve top query list based on total execution time - Display call count, average execution time, and cache hit r
- get_pg_stat_monitor_recent_queries[Tool Purpose]: Analyze recently executed queries and detailed monitoring information using pg_stat_monitor extension [Exact Functionality]: - Retrieve detailed performance information of recently executed queries - Display client IP and t
- get_database_size_info[Tool Purpose]: Analyze size information and storage usage status of all databases in PostgreSQL server [Exact Functionality]: - Retrieve disk usage for each database - Analyze overall server storage usage status - Provide database list so
- get_table_size_info[Tool Purpose]: Analyze size information and index usage of all tables in specified schema [Exact Functionality]: - Retrieve size information of all tables within schema - Analyze index size and total size per table - Provide table list so
- get_postgresql_config[Tool Purpose]: Retrieve and analyze PostgreSQL server configuration parameter values [Exact Functionality]: - Retrieve all PostgreSQL configuration parameters (when config_name is not specified) - Retrieve current value and description of
- get_index_usage_stats[Tool Purpose]: Analyze usage rate and performance statistics of all indexes in database [Exact Functionality]: - Analyze usage frequency and efficiency of all indexes - Identify unused indexes - Provide scan count and tuple return statist
- get_vacuum_analyze_stats[Tool Purpose]: Analyze VACUUM and ANALYZE execution history and statistics per table [Exact Functionality]: - Retrieve last VACUUM/ANALYZE execution time for each table - Provide Auto VACUUM/ANALYZE execution count statistics - Analyze ta
- get_table_bloat_analysis[Tool Purpose]: Analyze table bloat based on dead tuple statistics and size information [Exact Functionality]: - Calculate bloat ratio based on dead tuples vs total tuples - Estimate bloat size in bytes and human-readable format - Show las
Playground
Tested live
Checking your session…
Community reviews
Reports from signed-in users. These reviews describe individual experiences and are not security audits.
No published reviews yet. Share a specific setup result to help the next user evaluate this server.
Used this MCP server?
Sign in before writing so your review is never lost.