BigQuery MCP
v26.11.14BigQuery MCP server: list datasets and tables, read schemas, run SELECT queries with a byte limit.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ping
Checks server connectivity and auth status
bq_list_datasets
Lists datasets in a project.
| Parameter | Type | Description |
|---|---|---|
page_token | string | Pagination token |
project_id | string | Google Cloud project ID (default: bigqueryMcp.projectId) |
bq_list_tables
Lists tables and views in a dataset.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | Dataset ID |
page_token | string | Pagination token |
project_id | string | Google Cloud project ID (default: bigqueryMcp.projectId) |
bq_get_table
Gets a table's schema, row count, size and description.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | Dataset ID |
table_id * | string | Table ID |
project_id | string | Google Cloud project ID (default: bigqueryMcp.projectId) |
bq_query
Runs a SQL SELECT. Every query is first dry-run: it must be a single SELECT and stay under the byte limit (bigqueryMcp.maxBytesBilled, default 1 GB). With dry_run:true it only returns the estimate.
| Parameter | Type | Description |
|---|---|---|
sql * | string | GoogleSQL SELECT statement |
dry_run | boolean | Only estimate bytes processed (default false) |
location | string | Dataset location, e.g. US or EU |
max_rows | number | Max rows returned (default 100, max 1000) |
project_id | string | Google Cloud project ID (default: bigqueryMcp.projectId) |