Connect Bigquery to AI agents

Connect Bigquery to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

get_job

Get Job

Retrieve detailed information about a specific BigQuery job including its configuration, status, and execution statistics.

list_jobs

List Jobs

List BigQuery jobs in the project. Jobs include queries, loads, exports, and copy operations. Filter by state, time range, or parent job.

list_routines

List Routines

List user-defined functions (UDFs), stored procedures, and table-valued functions in a BigQuery dataset.

delete_routine

Delete Routine

Permanently delete a BigQuery routine (UDF, procedure, or TVF). This action is irreversible.

create_routine

Create Routine

Create a new BigQuery routine: user-defined function (UDF), stored procedure, or table-valued function. Routines can be written in SQL or JavaScript.

cancel_job

Cancel Job

Cancel a running BigQuery job. The cancellation is best-effort; the job may still complete before the cancellation takes effect.

delete_dataset

Delete Dataset

Delete a BigQuery dataset. By default, the dataset must be empty. Set **deleteContents** to true to also delete all tables and views within it.

copy_table

Copy Table

Copy a BigQuery table to another table, within the same dataset or across datasets and projects. Creates an asynchronous copy job.

list_datasets

List Datasets

List all datasets in the configured BigQuery project. Returns dataset IDs, friendly names, locations, and labels. Use the **filter** parameter to narrow results.

export_data

Export Table to Cloud Storage

Export a BigQuery table to Google Cloud Storage as CSV, JSON, or Avro. Creates an asynchronous extract job. Use wildcards in the destination URI for sharded exports of large tables (e.g., gs://bucket/file-*.csv).

update_table

Update Table

Update a BigQuery table's metadata including friendly name, description, schema (add new columns), expiration, and labels.

read_table_data

Read Table Data

Read rows directly from a BigQuery table without running a query job. Useful for quickly inspecting table contents. For complex filtering or aggregation, use **Execute SQL Query** instead.

update_dataset

Update Dataset

Update an existing BigQuery dataset's metadata, including its friendly name, description, labels, and default expiration settings.

execute_query

Execute SQL Query

Run a GoogleSQL (standard SQL) query against BigQuery. Supports SELECT, DML (INSERT, UPDATE, DELETE, MERGE), and DDL (CREATE, ALTER, DROP) statements. The query is submitted as a job, polled for completion, and results are returned. Parameterized queries are supported for safe value interpolation. You can optionally write results to a destination table.

get_table

Get Table

Retrieve detailed metadata for a BigQuery table, including its schema, row count, size, partitioning configuration, and clustering settings.

list_tables

List Tables

List all tables, views, and materialized views in a BigQuery dataset. Returns table IDs, types, creation times, and expiration info.

delete_table

Delete Table

Permanently delete a BigQuery table or view. This action is irreversible.

create_dataset

Create Dataset

Create a new BigQuery dataset. A dataset is a top-level container for tables, views, and routines. Once created, its location cannot be changed.

insert_rows

Insert Rows (Streaming)

Stream rows into a BigQuery table using the streaming insert API. Rows are available for querying almost immediately. Each row is a JSON object matching the table schema. Optionally provide an insertId per row for best-effort deduplication.

load_data

Load Data from Cloud Storage

Load data from Google Cloud Storage into a BigQuery table. Supports CSV, JSON (newline-delimited), Avro, Parquet, ORC, Datastore, and Firestore export formats. Creates an asynchronous load job and returns the job status.

get_routine

Get Routine

Retrieve detailed information about a specific BigQuery routine including its definition, arguments, return type, and language.

get_dataset

Get Dataset

Retrieve detailed information about a specific BigQuery dataset, including its schema, access controls, creation time, and configuration.

create_table

Create Table

Create a new BigQuery table, view, or materialized view. Supports defining schemas with nested/repeated fields, time or range partitioning, and clustering. To create a view, provide the **viewQuery** parameter; for a materialized view, provide **materializedViewQuery**.

update_model

Update Model

Update BigQuery ML model metadata such as friendly name, description, expiration time, and labels. To change model training or prediction behavior, run SQL with **execute_query** instead.

delete_model

Delete Model

Permanently delete a BigQuery ML model from a dataset. This deletes the model resource and cannot be undone.

get_model

Get Model

Retrieve detailed metadata for a BigQuery ML model, including model type, feature columns, label columns, training runs, labels, and expiration metadata.

list_models

List Models

List BigQuery ML models in a dataset. Model creation and training are performed with SQL using **execute_query** and CREATE MODEL; this tool lists the resulting model resources and metadata.

More integrations teams use with Bigquery

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Subscribe to real-time change events via Change Data Capture and Platform Events. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Bitbucket

Manage Git repositories, pull requests, and CI/CD pipelines on Bitbucket Cloud. Create, fork, and configure repositories within workspaces and projects. Create, review, approve, merge, and decline pull requests with inline code comments. Browse source code, list commits, and manage branches and tags. Track issues with the built-in issue tracker. Trigger, monitor, and manage Bitbucket Pipelines. List workspace members, configure repository default reviewers and branch restrictions, create and manage repository webhooks, and search code across repositories.

Heroku

Deploy, manage, and scale applications on Heroku's cloud platform. Create and configure apps, scale dynos, provision add-ons (databases, caching, etc.), manage configuration variables, build and release code, add custom domains and SSL certificates, manage collaborators and team permissions, configure pipelines for continuous delivery, set up log drains, and sync data with Salesforce via Heroku Connect. Subscribe to webhooks for real-time notifications on app changes, builds, releases, dyno lifecycle events, and more.

Technical notes for Bigquery

Execute SQL queries against BigQuery datasets, including DML and DDL statements. Create, update, list, and delete datasets and tables with support for partitioning, clustering, and nested fields. Load data from local files or Cloud Storage in formats like CSV, JSON, Avro, and Parquet, and stream data in real time. Export table data to Cloud Storage. Manage asynchronous jobs for queries, loads, exports, and copies. Query external data sources including Cloud Storage, Bigtable, Spanner, and Google Sheets via federated queries. Create and manage machine learning models using BigQuery ML with SQL. Define and manage scheduled queries and data transfer pipelines. Share datasets across organizations via Analytics Hub. Manage IAM permissions and data policies for column-level security. Create user-defined functions and stored procedures. Monitor BigQuery activity through audit log events routed to Pub/Sub.

Connect Bigquery to production AI agents

See how Metorial gives Bigquery access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Bigquery to AI agents with Metorial.

  1. Can Metorial connect Bigquery to AI agents?
    Yes. Metorial connects AI agents to Bigquery through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.