MCPVault

pg_query

MCP tool from Pg MCP Server by stuzero

Execute read-only SQL queries using a connection ID

How to use it

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

FULL PG MCP SERVER LISTING