← Back to Tools
📊

Run SQL Query

Execute a read-only SQL query against a PostgreSQL database and return results

Data 🐘 PostgreSQL Output: array

Example Prompt

Show me the top 10 users by order count this month

Input Parameters

query string Required

SQL query to execute (read-only)

Install MCP Server

aivyx hub install mcp-servers/postgres

This tool is available after installing the PostgreSQL MCP server.

Tags

sqldatabasequeryanalytics