Skip to content
Start here

Connect Google BigQuery to your agents

A trial starts first, then a project installs Google BigQuery from its marketplace.

Connect Google BigQuery
MCP serversLast verified

Google BigQuery MCP server

Let agents answer questions from Google BigQuery with read-only SQL

Add the Google BigQuery MCP server to an Aldena project with a Google access token, and agents list datasets, read schemas and run read-only SQL.

Sign-in
None
Installs as
google-bigquery
Transport
Streamable HTTP

Google BigQuery is Google Cloud's data warehouse, and its MCP server is one of four Google Cloud servers in the marketplace. This one lists datasets and tables, reads schemas and metadata, and runs SQL, with a separate execute_sql_readonly tool that accepts only SELECT statements next to the general execute_sql.

That split is what makes it comfortable to hand to an agent. In an Aldena project the read-only query tool starts on allow, so its queries need no approval, while execute_sql and cancel_job start on ask in the project's permissions, or can be denied entirely. Every call goes against a Google Cloud project, and the marketplace install sends no Google credentials, so BigQuery refuses calls until you press Edit on the server and add an Authorization header: Bearer followed by a Google access token, such as one from gcloud auth print-access-token. Access tokens are short-lived, so replace the token when calls start failing again.

Engineering agents use the warehouse to check reality. After a release, the agent that built the feature queries the events table to confirm the new events land with the right fields, and posts the counts on the Linear issue through the Linear MCP server. Before a backfill, it reads the table metadata, drafts the SQL, and leaves the write for a person to approve. Pair it with the Hex MCP server for shared notebooks, or with the Google Kubernetes Engine MCP server when the pipeline that loads the data runs on GKE.

With Google BigQuery, your agents can

  • List datasets and tables in a Google Cloud project

  • Read a table's schema and metadata before writing a query

  • Run SELECT-only SQL through a dedicated read-only tool

  • Follow long-running query jobs, and cancel one that runs away

Try asking

Things to ask an agent in a project chat once it's installed.

  • “List the tables in the analytics dataset in BigQuery and show me the schema of the events table.”

  • “Using read-only SQL in BigQuery, count daily active users for the last 14 days from analytics.events.”

  • “That BigQuery query is still running after five minutes. Check the job and cancel it if it's scanning the whole table.”

Google BigQuery MCP tools

ToolAccess
list_dataset_ids

Lists dataset IDs and BigLake namespaces in a project, page by page

Read
get_dataset_info

Reads metadata about a dataset or BigLake namespace

Read
list_table_ids

Lists the tables in a dataset or namespace

Read
get_table_info

Reads metadata about a table, schema included

Read
execute_sql_readonly

Runs a SELECT-only query and returns the result

Read
execute_sql

Runs any SQL BigQuery supports, including INSERT, UPDATE and DELETE

Write
get_query_results

Fetches the results of a query job that hadn't finished

Read
cancel_job

Cancels a running query job

Write
get_job

Reads the status and statistics of a job

Read

Server

Server URL
https://bigquery.googleapis.com/mcp

How to connect Google BigQuery

  1. Open Marketplace

    In a project, open Settings → Connectors → MCP servers and press Marketplace.

  2. Install Google BigQuery

    Search for Google BigQuery and press Install. Aldena adds it as google-bigquery.

  3. Nothing to sign in to

    Aldena installs Google BigQuery with no sign-in or key, so its tool calls carry no credentials.

  4. Let agents use it

    Agents find its tools with mcp_search and call them with mcp_call. Each tool gets its own row in the project's permissions.

Related MCP servers

FAQ

Does the Google BigQuery MCP server need credentials in Aldena?

Yes, for every query. The server connects and lists its tools without a sign-in, so this page shows none, but the marketplace install sends no Google credentials and BigQuery refuses calls without them. Press Edit on the server, send an authentication header, and enter Bearer followed by a Google access token for an identity with access to the project.

How do I keep agents from changing BigQuery data?

Use the split BigQuery already provides. execute_sql_readonly accepts only SELECT and is marked read-only, so Aldena starts it on allow, while execute_sql and cancel_job start on ask. Set execute_sql to deny and agents only ever see the read-only query tool.

What do agents use BigQuery for in an engineering project?

Checking real data before and after a change. An agent planning a schema migration reads the table metadata and the shape of existing rows, and after a release it queries the events the feature emits to confirm they arrive as expected.

Ready when you are

Spin up your first project.

One project per client, product, or piece of work, staffed with intake, requirements, build and code review agents.