execute_query
Execute native SQL queries with parameter support
How to use it
execute_query is exposed by the Metabase MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the execute_query tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Metabase MCP
uvx metabase-mcpOther tools in Metabase MCP (10)
Create new questions/cards with SQL queries
Create new collections for organization
Create new MongoDB questions/cards with native query support
Run saved Metabase questions/cards
Execute native MongoDB queries with automatic JSON conversion for aggregation pipelines
Retrieve field/column information for a table
List all saved questions/cards
Browse all collections
List all configured databases in Metabase
Get all tables in a specific database with metadata