On this page

Put Coworker to work on your stack.

Connect Salesforce, Slack, and Jira, and have your first agent live in days.

Book a demo

BigQuery MCP Server: Tools, Setup and Limits

Coworker AI explains Google's BigQuery MCP server: its tools, how to connect Claude and ChatGPT, how to keep it read-only, and the open-source option.

Dhruv Kapadia9 min read

The BigQuery MCP server is Google's fully managed, remote MCP server that lets Claude, ChatGPT, Antigravity and custom AI agents list your BigQuery datasets and tables and run SQL queries, with Google Cloud IAM deciding what each user can see and do. It has nine tools, and only one of them, `execute_sql`, can change data, which you can block with an IAM deny policy if you want AI tools to stay read-only.

Google also offers an open-source, self-hosted option, MCP Toolbox for Databases, with a prebuilt BigQuery configuration. This guide covers both, how to connect them, how permissions and costs work, and where a BigQuery-only server stops. I work at Coworker, whose BigQuery connector uses Google's remote MCP server under the hood, so I explain how that fits at the end. Everything below comes from Google Cloud documentation read on November 9, 2026.

What does the BigQuery MCP server do?

Google's remote BigQuery MCP server has one global endpoint, `https://bigquery.googleapis.com/mcp`, and nine tools (BigQuery MCP reference):

ToolWhat it doesCan it change data?
`list_dataset_ids`Lists datasets and BigLake namespaces in a projectNo
`get_dataset_info`Gets metadata about a dataset or BigLake namespaceNo
`list_table_ids`Lists tables in a dataset or namespaceNo
`get_table_info`Gets metadata about a tableNo
`execute_sql_readonly`Runs a query restricted to `SELECT`; `INSERT`, `UPDATE`, `DELETE` and stored procedures are rejectedNo
`execute_sql`Runs any query BigQuery supports, including `INSERT`, `UPDATE`, `DELETE` and `CREATE`Yes
`get_query_results`Gets the results of a query jobNo
`get_job`Gets information about a jobNo
`cancel_job`Cancels a running jobNo

Google's own tool description tells models to prefer `execute_sql_readonly` over `execute_sql` where possible. The read-only tool's description also steers models to run forecasting, anomaly detection and classification inside BigQuery with its AI functions, such as `AI.FORECAST` and `AI.DETECT_ANOMALIES`, rather than exporting raw rows.

Google released its fully managed remote MCP servers for Google services, BigQuery included, in December 2025. A January 2026 Google Cloud post, written while the BigQuery server was in preview, walks through examples with its Agent Development Kit and Gemini CLI and notes that Claude Code, Cursor and other MCP clients can connect too (Google Cloud blog).

Evaluating enterprise AI for your team? See Coworker on your own tools in a 20-minute demo.

Book a demo

How do you set up the BigQuery MCP server in Claude and ChatGPT?

Google's setup guide covers Antigravity, ChatGPT, Claude and custom applications (Use the BigQuery MCP server). The outline:

  1. Enable the BigQuery API in your Google Cloud project. Google says the BigQuery remote MCP server is enabled when you enable the BigQuery API, which is on by default for new projects. Enabling an API needs the `serviceusage.services.enable` permission, which Owner and Service Usage Admin include.
  2. Grant roles to users. To call the server, a user needs MCP Tool User (`roles/mcp.toolUser`). To run queries they also need BigQuery Job User (`roles/bigquery.jobUser`), and to read data, BigQuery Data Viewer (`roles/bigquery.dataViewer`).
  3. Set up authentication. Google Cloud MCP servers use OAuth 2.0 with IAM, and all Google Cloud identities are supported. People can sign in with their own Google identity, and Google recommends a separate identity for agents so their access can be controlled and monitored.
  4. Add the server to your AI tool using the endpoint above, then try a prompt such as "List the datasets in project PROJECT_ID."

Because access runs through IAM, the AI tool can only see and do what that person's roles allow. For more on the client side, see my guides to Claude Code MCP servers and ChatGPT MCP.

Coworker

Put Coworker to work on your actual stack

Connect Salesforce, Slack, and Jira, and have your first agent live in days.

Book a demo

How do you keep the BigQuery MCP server read-only?

Google is direct about it: "The only MCP tool that isn't read-only is `execute_sql`." You have two ways to keep AI tools from changing data, and you can use both:

  • Block the tool. Create an IAM deny policy that restricts read-write MCP tool use, so users can still call `execute_sql_readonly` and the metadata tools but not `execute_sql` (Google Cloud docs).
  • Limit the roles. Users with BigQuery Data Viewer can read tables but not modify them. Writes need broader roles, so do not grant data-editing roles to people who only need to ask questions.

Do this before connecting AI tools to production datasets. Prompting a model to "only run SELECT" is not a control; IAM is.

What security and governance controls apply?

Google Cloud MCP servers come with IAM-based authorization, centralized audit logging, and optional prompt and response screening with Model Armor (Google Cloud docs). For data exfiltration risk more broadly, VPC Service Controls let you define perimeters around services such as BigQuery (VPC Service Controls). Teams with sensitive data should review both before rollout. My posts on MCP security and enterprise MCP cover the general risks.

What are the BigQuery MCP server's limits and costs?

No separate quotas. Google says the BigQuery MCP server has no quotas of its own and no limit on the number of calls, but each tool is subject to the quotas of the BigQuery API method it calls; both SQL tools use `jobs.query`.

Queries cost the same as any query. An AI-written query is a normal BigQuery job and is billed like one. On on-demand pricing, a careless `SELECT *` over a large table costs the same whether a person or an agent wrote it. Google's cost guidance recommends limiting bytes billed per query and other controls (BigQuery cost best practices); apply them to the projects you connect.

Query limits. By default the SQL tools stop queries after three minutes and return at most 3,000 rows, neither can query Google Drive external tables, and `execute_sql_readonly` does not support Graph Query Language (Google Cloud docs).

Model behavior still matters. The model decides which tool to call and what SQL to write. Clear table descriptions and well-named columns help it write correct, cheap queries.

What is MCP Toolbox for Databases?

MCP Toolbox for Databases is Google's open-source MCP server for databases, including BigQuery, which you run yourself (GitHub). Its prebuilt BigQuery configuration needs a project ID, can forward the client's OAuth token, and has a `BIGQUERY_READONLY` setting that enforces read-only mode across all tools (MCP Toolbox docs). Google's guide shows connecting it to IDEs and AI tools (Google Cloud docs).

Remote BigQuery MCP serverMCP Toolbox for Databases
HostingFully managed by GoogleYou run it
Endpoint`bigquery.googleapis.com/mcp`Your server
Read-onlyIAM deny policy on `execute_sql`, plus roles`BIGQUERY_READONLY` setting, plus roles
Other databasesBigQuery onlyMany databases in one server
Best forMost teams that want a managed connectionTeams that need self-hosting or one server for several databases

Where does a BigQuery-only MCP server stop?

  • Only warehouse data. "Which enterprise accounts had a usage drop and an open escalation this month?" needs BigQuery for usage, the CRM for account tier and the support tool for escalations.
  • One connection per tool and person. Each AI client is configured separately, and teams add servers for other systems on top. See best MCP servers for databases, Snowflake MCP and Databricks MCP for other data platforms.
  • The model still writes the SQL. Without a semantic layer, the model has to work out metric definitions from table and column names. Google's data agents and Conversational Analytics API add authored context for that (Google Cloud docs).

How does Coworker connect to BigQuery?

Coworker's BigQuery connector uses Google's remote BigQuery MCP server under the hood. Depending on setup, Coworker queries BigQuery as a Google service account that an admin connects, with the admin choosing who in the company can use it, or as each person's own Google account. The dataset, table and SQL tools are available in Coworker chat and agents.

What Coworker adds is the rest of the company. Agents can combine BigQuery results with your CRM, Slack, Jira and docs, from Coworker's 50+ connectors and its OM2 organizational memory, in the same task, and run that work on a schedule. A weekly account review that pulls usage from BigQuery and pipeline from Salesforce is one task instead of two tools and a spreadsheet.

Where it is the wrong choice: if all you need is ad hoc SQL from Claude or Cursor, connect Google's server directly. And because Coworker uses the same Google server, the controls in this guide still apply: give the service account, or each person, only the datasets and read roles they need, and deny `execute_sql` for that identity if you want BigQuery kept read-only. To see Coworker on your own BigQuery data, book a demo.

Frequently asked questions

Does BigQuery have an official MCP server?

Yes. Google offers a fully managed remote BigQuery MCP server at `https://bigquery.googleapis.com/mcp`, plus the open-source MCP Toolbox for Databases, which you can self-host with a prebuilt BigQuery configuration.

What tools does the BigQuery MCP server have?

Nine: `list_dataset_ids`, `get_dataset_info`, `list_table_ids`, `get_table_info`, `execute_sql_readonly` (SELECT only), `execute_sql` (any query, including INSERT, UPDATE, DELETE and CREATE), and three job tools, `get_query_results`, `get_job` and `cancel_job`.

Can the BigQuery MCP server modify data?

Only through `execute_sql`, which can run any query BigQuery supports. Google says it is the only tool that isn't read-only. You can block it with an IAM deny policy, and users without data-editing roles cannot modify tables anyway.

Which IAM roles does the BigQuery MCP server need?

Users need MCP Tool User (`roles/mcp.toolUser`) to call the server, BigQuery Job User (`roles/bigquery.jobUser`) to run queries and BigQuery Data Viewer (`roles/bigquery.dataViewer`) to read data. The server is enabled with the BigQuery API, which needs the `serviceusage.services.enable` permission (in Owner and Service Usage Admin).

Does the BigQuery MCP server cost extra?

Google says the server has no quotas of its own. Queries it runs are normal BigQuery jobs, billed and governed by quotas like any other query, so set cost controls on the projects you connect.

Can I connect Claude or ChatGPT to BigQuery?

Yes. Google's setup guide covers Claude, ChatGPT, Antigravity and custom applications. Enable the server, grant users the right IAM roles, set up OAuth, and add the endpoint to your AI tool.

How is Coworker's BigQuery connector different?

It uses Google's remote BigQuery MCP server, through an admin-connected service account or each person's own Google sign-in depending on setup, then adds context from your other tools so agents can combine BigQuery data with CRM, Slack and docs and run that work on a schedule.

Ready to get started?

Put Coworker to work inside your actual stack

Connect Salesforce, Slack, Jira, or whatever you use, and have your first agent live in days.