BigQuery Analytics MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BIGQUERY_SOURCES | No | Optional JSON map of dataset labels used for the agent's guidance, for example {"beta":"my-data-project.analytics_123456789"}. | |
| BIGQUERY_LOCATION | Yes | BigQuery location for the configured data, for example US. | |
| BIGQUERY_TIMEOUT_MS | No | Timeout in milliseconds per CLI invocation. Defaults to 180 seconds per CLI invocation. | 180000 |
| BIGQUERY_BILLING_PROJECT | Yes | Google Cloud billing project that pays for BigQuery query jobs. | |
| BIGQUERY_MAX_BYTES_BILLED | No | Maximum bytes billed per query. Defaults to 10 GiB per query. | 10737418240 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Call bigquery_setup first for onboarding, configuration, or troubleshooting. Use fully qualified dataset names in bigquery_query.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| bigquery_setupA | Get live configuration, access and login instructions, and a first query. Works without Google Cloud CLI or Google authentication. |
| bigquery_queryA | Run one read-only GoogleSQL SELECT or WITH query in Cloud Shell, using the configured billing project and bytes cap. Use bigquery_setup to discover the configured sources. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
The two tools have clearly distinct roles: bigquery_setup handles configuration, access, and onboarding, while bigquery_query executes SQL. The setup description's mention of a first query is instructional, not an overlapping execution capability, so an agent can easily choose correctly.
Both tools use the same bigquery_ prefix and snake_case noun/action style. The naming pattern is predictable and consistent.
Two tools is thin for a BigQuery analytics server, even a minimal read-only one. Setup plus query covers the core flow, but the surface feels under-scoped compared with typical 3-15 tool servers.
The server covers the essential read-only analytics lifecycle: configure access, discover sources, and run SELECT/WITH queries. Minor gaps exist around schema introspection and dry-run/validation, though agents can work around these using INFORMATION_SCHEMA queries.