This guide walks you through connecting Google BigQuery to Mastra AI using the Composio tool router. By the end, you'll have a working Google BigQuery agent that can run yesterday's sales summary query, find top 10 customers by revenue, analyze traffic data for last quarter, get failed transactions count this week through natural language commands.
This guide will help you understand how to give your Mastra AI agent real control over a Google BigQuery account through Composio's Google BigQuery MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.








