Run PostgreSQL queries, inspect metadata, and diagnose performance via natural language.
Copy the install command and let the AI configure it · recommended for beginners
No copy-paste install info for "mcp-pgSQL" yet — see the docs or source repo.
Connect to the local PostgreSQL instance, query the top 10 orders by sales amount in the last 7 days, and return them sorted by amount descending.
A ranked list of the top 10 orders by sales amount in the last 7 days.
Inspect the customers table's columns, primary key, indexes, and foreign keys, then summarize the schema in concise English.
A schema summary of the customers table with key constraints.
Analyze the most time-consuming SQL statements in the current database, identify likely bottlenecks, and suggest optimizations.
A slow-query analysis with actionable optimization recommendations.
Safely inspect and query PostgreSQL databases using natural language.
Connect AI assistants to PostgreSQL for secure querying, management, and analysis.
Connect to PostgreSQL via MCP for queries, schema inspection, and database changes.
Securely query and manage PostgreSQL databases for operations and automation.
Safely query and inspect PostgreSQL databases without enabling risky write operations by default.
Query PostgreSQL, inspect tables, and explore schemas through MCP clients.