MCPVault

get_pg_stat_statements_top_queries

MCP tool from MCP PostgreSQL Ops by call518

pgstatstatements

How to use it

get_pg_stat_statements_top_queries is exposed by the MCP PostgreSQL Ops MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_pg_stat_statements_top_queries tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install MCP PostgreSQL Ops

$uvx --python 3.12 mcp-postgresql-ops
FULL MCP POSTGRESQL OPS LISTING