BigQuery MCP
v26.11.14BigQuery MCP server: list datasets and tables, read schemas, run SELECT queries with a byte limit.
Values you need
| Variable | What it is | |
|---|---|---|
GOOGLE_APPLICATION_CREDENTIALS | optional | Path to a service account key or authorized_user JSON file. Optional if you use gcloud Application Default Credentials or the OAuth variables. |
GOOGLE_OAUTH_CLIENT_ID | optional | OAuth client ID. Set together with the client secret and refresh token. |
GOOGLE_OAUTH_CLIENT_SECRET | optional secret | OAuth client secret. |
GOOGLE_OAUTH_REFRESH_TOKEN | optional secret | OAuth refresh token with the BigQuery scopes. |
BIGQUERY_MCP_PROJECT_ID | optional | Google Cloud project ID used when a request does not name one. |
BIGQUERY_MCP_MAX_BYTES_BILLED | optional | Largest number of bytes a query may scan (default 1000000000). |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add bigquery-mcp -- npx -y @renzo.johnson/bigquery-mcp@26.11.14Add to
claude_desktop_config.json{
"mcpServers": {
"bigquery-mcp": {
"args": [
"-y",
"@renzo.johnson/bigquery-mcp@26.11.14"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"bigquery-mcp": {
"args": [
"-y",
"@renzo.johnson/bigquery-mcp@26.11.14"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"bigquery-mcp": {
"args": [
"-y",
"@renzo.johnson/bigquery-mcp@26.11.14"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.bigquery-mcp]
command = "npx"
args = ["-y", "@renzo.johnson/bigquery-mcp@26.11.14"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: ping, bq_list_datasets, bq_list_tables, bq_get_table, bq_query.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json