PostgreSQL performance analysis and optimization MCP server
PostgreSQL performance analysis and optimization MCP server
A Model Context Protocol (MCP) server for PostgreSQL database performance analysis and optimization.
PostgreSQL Analyzer MCP is a powerful tool that leverages AI to help database administrators and developers optimize their PostgreSQL databases. It provides comprehensive analysis of database structure, query performance, index usage, and configuration settings, along with actionable recommendations for improvement.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| analyze_database_structure | Analyze database schema and provide optimization recommendations |
| get_slow_queries | Identify slow-running queries in the database |
| analyze_query | Analyze a SQL query and provide optimization recommendations |
| recommend_indexes | Recommend indexes for a given SQL query |
| suggest_query_rewrite | Suggest optimized rewrites for a SQL query |
| database_health_dashboard | Generate a comprehensive health dashboard for the database |
| query_optimization_wizard | Interactive wizard to optimize a SQL query step by step |
| analyze_index_usage | Analyze index usage patterns and identify unused or inefficient indexes |
| execute_read_only_query | Execute a read-only SQL query and return the results |
| show_postgresql_settings | Show PostgreSQL configuration settings with optional filtering |
| health_check | Check if the server is running and responsive |
| Variable | Description | Required |
|---|---|---|
| AWS_ACCESS_KEY_ID | Credential the server authenticates with. | Yes |
| AWS_SECRET_ACCESS_KEY | Credential the server authenticates with. | Yes |
| AWS_DEFAULT_REGION | Configuration value read at startup. | Optional |
Inspect PostgreSQL schemas and run read-only queries with the archived MCP reference server. Review its maintenance status before choosing it.
Connect the Notion MCP server to search workspace content and work with pages and databases through Notion’s hosted OAuth service.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.