developer-toolsoauth2

BigQuery

Google serverless data warehouse.

Verdict

The BigQuery MCP lets your team query Google's cloud data warehouse directly from Switchy Spaces. @mention it to run SQL against petabyte-scale datasets, pull aggregates for reports, or validate hypotheses without leaving chat. Data analysts and engineers get the most value — they can prototype queries collaboratively, share results inline, and skip the context switch to the BigQuery console. You'll grant OAuth scopes for dataset read access; write operations depend on your project's IAM policies. Expect some latency on large scans.

Common use cases

  • Run ad-hoc SQL queries during standups
  • Pull revenue aggregates for weekly reports
  • Validate data pipeline outputs in chat
  • Prototype analytics queries collaboratively
  • Check table schemas without opening console

Integration

Vendor
BigQuery
Category
developer-tools
Auth
OAUTH2
Composio slug
bigquery

Tools

Per-tool listings haven't synced yet for BigQuery. The connection itself works - your Space can already @-mention it. Tool descriptions will fill in on the next Composio ingest.

Setup

Setup guide

  1. 11. Open your Switchy workspace settings and navigate to the Integrations page. 2. Find BigQuery in the developer tools category and click Connect. 3. You'll be redirected to Google's OAuth consent screen — sign in with an account that has BigQuery access in your GCP project. 4. Grant the requested scopes: bigquery.readonly at minimum, plus bigquery.jobs.create if you want to run queries (not just read metadata). 5. Select the GCP project you want Switchy to query against, then authorize. 6. Back in Switchy, open any Space and type '@BigQuery list datasets' to confirm the connection works. 7. If you see your datasets listed, you're ready — invoke queries by @mentioning BigQuery followed by SQL or a natural-language request.

What teammates see: by default, memories from BigQuery are scoped to the Space (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.

Works well with

Top models

Compatibility data appears once enough Spaces have used this MCP together with a given model.

How Switchy teams use it

Not enough Spaces yet to publish anonymised usage stats (we require ≥ 50 Spaces per week).

Starter prompts

Query Recent Events

@BigQuery select the most recent 100 rows from my_dataset.events_table ordered by timestamp descending
Open in a Space →

Aggregate Weekly Revenue

@BigQuery calculate total revenue by week from sales.transactions for the last quarter
Open in a Space →

Count Rows by Status

@BigQuery count rows in my_dataset.orders_table grouped by order_status
Open in a Space →

Example outputs

Illustrative - representative of the model's voice and quality, not literal recordings.

Prompt

@BigQuery show me the top 10 most active users in our analytics.events table from the last 7 days

Output

Based on the query against your analytics.events table, here are the top 10 users by event count over the past week: user_id 'a8f3c2' logged 1,247 events, 'b9d4e1' logged 1,103 events, 'c2f5a7' logged 891 events, and so on. The distribution shows heavy engagement from your core user segment, with the top user generating roughly 40% more activity than the median in this cohort. All timestamps are in UTC.

Notes

This example demonstrates read access to existing tables. You'll need OAuth scopes that grant BigQuery data viewer permissions on the target dataset. Query costs apply based on bytes scanned — preview your table schema first if working with large datasets to avoid unexpected billing.

Prompt

@BigQuery create a new table called user_cohorts in my marketing dataset with columns: cohort_id, signup_date, and total_revenue

Output

Table 'user_cohorts' created successfully in your marketing dataset. Schema confirmed: cohort_id (STRING), signup_date (DATE), total_revenue (FLOAT64). The table is empty and ready for INSERT operations. You can now load data via SQL, the BigQuery UI, or batch import jobs. Note that this table inherits your dataset's default expiration policy if one is set.

Notes

This write operation requires BigQuery Data Editor or Owner role on the target dataset. Table creation is immediate, but populating it with data from other sources may require additional steps. Be aware of dataset location constraints — tables must be in the same region as the dataset.

Prompt

@BigQuery analyze our sales.transactions table and tell me which product categories saw the biggest month-over-month growth in Q4

Output

After aggregating your sales.transactions data by product category and month, three categories stand out: 'Home & Garden' grew 34% from October to November, 'Electronics' grew 28% November to December (likely holiday driven), and 'Fitness' grew 22% across the full quarter. 'Apparel' remained flat. The analysis excluded returns and canceled orders. Total Q4 transaction volume was 18% higher than Q3.

Notes

This synthesis example combines SQL querying with AI interpretation. The MCP executes the aggregation logic, then the AI summarizes trends. Accuracy depends on clean data — null values, duplicate records, or inconsistent category labels will skew results. Always validate findings against your business intelligence tools for high-stakes decisions.

Use-case deep-dives

Weekly revenue dashboard refresh

When BigQuery MCP beats manual CSV exports for finance teams

A 6-person SaaS startup runs weekly revenue reviews. The finance lead used to export CSVs from BigQuery, paste them into Google Sheets, then share screenshots in Slack. With the BigQuery MCP, the team prompts Switchy to pull last week's MRR by cohort, compare it to the prior month, and draft the update—all in one thread. OAuth2 auth means no API keys to rotate. The MCP wins when your queries are repetitive (same tables, similar filters) and your team already trusts BigQuery as the source of truth. If your data model changes weekly or you need complex joins across 10+ tables, you'll spend more time debugging SQL in the chat than you save. For stable schemas and sub-50-row result sets, this cuts the weekly ritual from 20 minutes to 2.

Customer support ticket analysis

Using BigQuery MCP to surface support trends without a BI tool

A 12-person B2B support team logs tickets in Zendesk, which syncs to BigQuery nightly. The head of support wants to spot spikes in "billing" tags before the monthly all-hands. She asks Switchy to query the last 30 days of ticket metadata, group by tag, and flag any category up more than 20% week-over-week. The MCP runs the query, returns the table, and Switchy drafts the summary. This works when your support data lives in BigQuery and you need ad-hoc trend checks, not a standing dashboard. If you're running this analysis daily or need real-time alerting, build a proper BI view—the MCP's strength is answering one-off questions in natural language, not replacing scheduled reports. For monthly or weekly check-ins, it's faster than opening Looker.

Engineering incident post-mortem data pull

When BigQuery MCP speeds up post-incident log analysis

A 20-person engineering team stores application logs in BigQuery. After a production incident, the on-call engineer needs to pull error rates by service for the 2-hour window when alerts fired. Instead of writing SQL in the BigQuery console, copying results, and pasting into the post-mortem doc, she asks Switchy to query the logs table, filter by timestamp and error level, and summarize which services spiked. The MCP handles the query; Switchy formats the output. This scenario works when your logs are already in BigQuery and the post-mortem author isn't a SQL expert. If your team runs incident analysis in Datadog or Grafana, those tools are faster—they're built for time-series drill-down. The BigQuery MCP shines when you need to join log data with other tables (deployments, feature flags) that live in the same warehouse.

Frequently asked

What does the BigQuery MCP do in Switchy?

It lets your team query Google BigQuery datasets directly from Switchy's AI workspace. You can ask questions in natural language, and the MCP translates them into SQL, runs the query against your warehouse, and returns results inline. No need to switch to the BigQuery console or write SQL yourself.

Do I need a Google Cloud admin account to connect BigQuery?

You need a Google account with BigQuery access and the right IAM permissions on the datasets you want to query. You don't have to be a GCP org admin, but whoever connects it must have at least BigQuery Data Viewer or BigQuery User roles on the relevant projects. OAuth2 handles the handshake.

Can the BigQuery MCP write data or only read it?

That depends on the OAuth scopes Switchy requests and the permissions your Google account has. Most read-only use cases only need query access. If you want to create tables or insert rows, you'll need write permissions in BigQuery and the MCP must support those operations — check the tool list once it's populated.

Why use this instead of just querying BigQuery in the console?

The MCP brings your data into the same workspace where your team is already collaborating with AI. You skip context-switching, and non-technical teammates can ask questions without learning SQL. The tradeoff is you lose the console's full query editor and visualisation tools — use both for different workflows.

Does connecting BigQuery count against my Switchy plan limits?

MCP connections themselves don't count as seats. Query volume and data transfer happen on your Google Cloud bill, not Switchy's. If your plan has limits on AI requests or integrations, each query you run through the MCP will count toward those, but the connection is free.

Compare with

Compare with anything else →
Data last verified 8 hours ago.Sources aggregated hourly to weekly. See docs/architecture/model-directory.md.