BigQuery MCP

v26.11.14
com.renzojohnson/bigquery-mcp Checked 2 hours ago Published 18 days ago

BigQuery MCP server: list datasets and tables, read schemas, run SELECT queries with a byte limit.

Values you need

VariableWhat it is
GOOGLE_APPLICATION_CREDENTIALSoptional 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_IDoptional OAuth client ID. Set together with the client secret and refresh token.
GOOGLE_OAUTH_CLIENT_SECREToptional secret OAuth client secret.
GOOGLE_OAUTH_REFRESH_TOKENoptional secret OAuth refresh token with the BigQuery scopes.
BIGQUERY_MCP_PROJECT_IDoptional Google Cloud project ID used when a request does not name one.
BIGQUERY_MCP_MAX_BYTES_BILLEDoptional 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.14
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: ping, bq_list_datasets, bq_list_tables, bq_get_table, bq_query.
  4. 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