How to connect Google BigQuery MCP with Cursor

How to integrate Google BigQuery MCP with Cursor Cursor is one of the leading AI-powered code editors. It is built to help developers write, understand, and refactor code faster with AI assistance built directly into the editor. And in this guide, I will explain the easiest and most secure way to connect your Google BigQuery account to Cursor via Composio Connect, so it can run yesterday's sales summary query, find top 10 customers by revenue, analyze traffic data for last quarter, and more without ever putting your account credentials at risk.

Google BigQuery logoGoogle BigQuery
Oauth2Google Service Account

Google BigQuery is a fully managed cloud data warehouse for fast SQL analytics on massive datasets. It's designed to help you analyze big data with ease, speed, and built-in machine learning.

63 Tools

How to integrate Google BigQuery MCP with Cursor

Cursor is one of the leading AI-powered code editors. It is built to help developers write, understand, and refactor code faster with AI assistance built directly into the editor.

And in this guide, I will explain the easiest and most secure way to connect your Google BigQuery account to Cursor via Composio Connect, so it can run yesterday's sales summary query, find top 10 customers by revenue, analyze traffic data for last quarter, and more without ever putting your account credentials at risk.

Also integrate Google BigQuery with

Why Composio?

  • 1,000+ SaaS toolkits out of the box. Skip the work of building and maintaining integrations, Composio gives you instant access to a vast catalog of pre-built connectors.
  • One MCP server for every app. Connect any of your applications on demand through a single endpoint, rather than juggling a separate server for each app.
  • Smart, context-aware tool loading. Unlike traditional MCP servers that dump every available tool into the LLM context window, Composio searches for and loads only the tools relevant to the task at hand. A remote CLI workbench lets LLMs compose these tools into workflows for complex automation.

Connect Google BigQuery to Cursor

Two ways to install — pick whichever you prefer.

1. Install with one click

Click the button below to add Composio to Cursor.

Install in Cursor

2. Or add manually

Add to your Cursor mcp.json

Open .cursor/mcp.json in your project root (or ~/.cursor/mcp.json for global config) and add the following configuration:

bash
{
  "servers": {
    "composio": {
      "type": "http",
      "url": "https://connect.composio.dev/mcp"
    }
  }
}

3. Authorize

Restart Cursor, then click "Connect" next to Composio in MCP Tools settings.

Cursor MCP Tools settings with Connect button next to Composio

A browser window will open to authorize.

Composio authorization browser window

Connect your Google BigQuery account

Back in Cursor, ask the agent to connect to Google BigQuery or give it any Google BigQuery-related task.

For example, ask it to:

  • "Run yesterday's sales summary query"
  • "Find top 10 customers by revenue"
  • "Analyze traffic data for last quarter"

It will prompt you to authenticate and authorize access to Google BigQuery.

That is it. Composio tools are now available in Cursor, and your Google BigQuery account is ready to use.

Conclusion

You have successfully connected Google BigQuery to Cursor using Composio Connect. Your agent can now use Google BigQuery securely without exposing credentials in prompts or local scripts.

TOOLS

Supported Tools

Every Google BigQuery action and event your agent gets out of the box.

Cancel BigQuery Job

Tool to cancel a running BigQuery job.

Create Capacity Commitment

Tool to create a new capacity commitment resource in BigQuery Reservation.

Create BigQuery Connection

Tool to create a new BigQuery connection to external data sources using the BigQuery Connection API.

Create Analytics Hub Data Exchange

Tool to create a new Analytics Hub data exchange for sharing BigQuery datasets.

Create Analytics Hub Listing

Tool to create a new listing in a BigQuery Analytics Hub data exchange.

Create BigQuery Dataset

Tool to create a new BigQuery dataset with explicit location, labels, and description using the BigQuery Datasets API.

Create Analytics Hub Listing

Tool to create a new listing in a data exchange using Analytics Hub API.

Create BigQuery Data Policy (v2beta1)

Tool to create a new data policy under a project with specified location using the v2beta1 BigQuery Data Policy API.

Create Analytics Hub Query Template

Tool to create a new query template in a BigQuery Analytics Hub Data Clean Room (DCR) data exchange.

Create BigQuery Reservation

Tool to create a new BigQuery reservation resource to guarantee compute capacity (slots) for query and pipeline jobs.

Create BigQuery Reservation Assignment

Tool to create a BigQuery reservation assignment that allows a project, folder, or organization to submit jobs using slots from a specified reservation.

Create BigQuery Routine

Tool to create a new user-defined routine (function or procedure) in a BigQuery dataset.

Create BigQuery Table

Tool to create a new, empty table in a BigQuery dataset.

Delete BigQuery Dataset

Tool to delete a BigQuery dataset specified by datasetId via the datasets.

Delete BigQuery Job Metadata

Tool to delete the metadata of a BigQuery job.

Delete BigQuery ML Model

Tool to delete a BigQuery ML model from a dataset.

Delete BigQuery Routine

Tool to delete a BigQuery routine by its ID.

Delete BigQuery Table

Tool to delete a BigQuery table from a dataset.

Get BigQuery ML Model

Tool to retrieve a specific BigQuery ML model resource by model ID.

Get BigQuery Connection IAM Policy

Tool to get the IAM access control policy for a BigQuery connection resource.

Get BigQuery Dataset Metadata

Tool to retrieve BigQuery dataset metadata including location via the datasets.

Get BigQuery Job

Tool to retrieve information about a specific BigQuery job.

Get BigQuery Query Results

Tool to get the results of a BigQuery query job via RPC.

Get BigQuery Routine

Tool to retrieve a BigQuery routine (user-defined function or stored procedure) by its ID.

Get BigQuery Routine IAM Policy

Tool to retrieve the IAM access control policy for a BigQuery routine resource.

Get BigQuery Service Account

Tool to get the service account for a project used for interactions with Google Cloud KMS.

Get BigQuery Table IAM Policy

Tool to retrieve the IAM access control policy for a BigQuery table resource.

Get BigQuery Table Schema

Tool to fetch a BigQuery table's schema and metadata without querying row data.

Insert Data into BigQuery Table

Tool to stream data into BigQuery one record at a time without running a load job.

Insert BigQuery Job

Tool to start a new asynchronous BigQuery job (query, load, extract, or copy).

Insert BigQuery Job with Upload

Tool to start a new BigQuery load job with file upload.

List Analytics Hub Listings

Tool to list all listings in a given Analytics Hub data exchange.

List BigQuery Connections

Tool to list BigQuery connections in a given project and location.

List BigQuery Capacity Commitments

Tool to list all capacity commitments for the admin project.

List Data Exchange Listings

Tool to list all listings in a given Analytics Hub data exchange using the v1beta1 API.

List BigQuery Datasets

Tool to list datasets in a specific BigQuery project, including dataset locations.

List BigQuery Jobs

Tool to list all jobs that you started in a BigQuery project.

List BigQuery Data Transfer Locations

Tool to list information about supported locations for BigQuery Data Transfer Service.

List Connections in Location

Tool to list BigQuery connections in a given project and location using the v1beta1 API.

List BigQuery Location Data Policies

Tool to list all data policies in a specified parent project and location using the v2beta1 API.

List BigQuery Models

Tool to list all BigQuery ML models in a specified dataset.

List Organization Data Exchanges

Tool to list all data exchanges from projects in a given organization and location using Analytics Hub API.

List BigQuery Projects

Tool to list BigQuery projects to which the user has been granted any project role.

List Analytics Hub Query Templates

Tool to list all query templates in a given Analytics Hub data exchange.

List BigQuery Reservation Assignments

Tool to list BigQuery reservation assignments.

List BigQuery Reservation Groups

Tool to list all BigQuery reservation groups for a project in a specified location.

List BigQuery Reservations

Tool to list all BigQuery reservations for a project in a specified location.

List BigQuery Routines

Tool to list all routines (user-defined functions and stored procedures) in a BigQuery dataset.

List BigQuery Row Access Policies

Tool to list all row access policies on a specified BigQuery table.

List BigQuery Table Data

Tool to list the content of a BigQuery table in rows via the REST API.

List BigQuery Tables

Tool to list tables in a BigQuery dataset via the REST API.

Patch BigQuery Dataset

Tool to update an existing BigQuery dataset using RFC5789 PATCH semantics.

Patch BigQuery ML Model

Tool to update specific fields in an existing BigQuery ML model using PATCH semantics.

Patch BigQuery Table

Tool to update specific fields in an existing BigQuery table using RFC5789 PATCH semantics.

Query

Query Tool runs a SQL query in BigQuery using the REST API.

Search All BigQuery Reservation Assignments

Tool to search all BigQuery reservation assignments for a specified resource in a particular region.

Set BigQuery Routine IAM Policy

Tool to set the IAM access control policy for a BigQuery routine resource.

Test BigQuery Routine IAM Permissions

Tool to test which IAM permissions the caller has on a BigQuery routine.

Undelete BigQuery Dataset

Tool to undelete a BigQuery dataset within the time travel window.

Update BigQuery Connection

Tool to update a specified BigQuery connection using the BigQuery Connection API.

Update BigQuery Dataset

Tool to update information in an existing BigQuery dataset using the PUT method.

Update BigQuery Routine

Tool to update an existing BigQuery routine (function or stored procedure).

Update BigQuery Table

Tool to update an existing BigQuery table.

FAQ

Frequently asked questions

With a standalone Google BigQuery MCP server, the agents and LLMs can only access a fixed set of Google BigQuery tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Google BigQuery and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Cursor fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Google BigQuery tools.

Yes, absolutely. You can configure which Google BigQuery scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Google BigQuery data and credentials are handled as safely as possible.

Start with Google BigQuery.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Google BigQuery tool your agent needs.Free to start.

Start building