$ timeahead.in
/ servers/pypi/mcp-server-bigquery
pypi

mcp-server-bigquery

A Model Context Protocol server that provides access to BigQuery

128 stars2k/wkupdated 102d agogithub ↗
86good
▣ Overview

What it does

This MCP server bridges Claude to BigQuery, enabling language models to execute queries, list tables, and inspect table schemas. It implements three tools: execute-query (runs BigQuery SQL), list-tables (enumerates tables across datasets), and describe-table (shows schema and column details). The server connects to BigQuery using either a service account key file or ambient GCP credentials on the host.

Who it's for

Data engineers and analysts who want Claude to interact directly with BigQuery from Claude Code, a Python script, or Claude Desktop. Useful when you need an LLM to explore schemas, draft queries, or answer ad-hoc analytical questions over live data.

Common use cases

  • Query a BigQuery dataset directly from Claude Code to answer analytical questions
  • Have Claude explore table schemas and suggest query optimizations
  • Let an LLM generate and execute ad-hoc SQL against production data
  • Scope Claude's access to specific datasets via --dataset filters

Setup pitfalls

  • Both BIGQUERY_PROJECT and BIGQUERY_LOCATION environment variables are required; without them the server will not start.
  • GCP credentials must be available: either via a service account key file (set BIGQUERY_KEY_FILE) or ambient credentials (e.g., gcloud auth application-default login on the host). Misconfigured credentials will fail silently at query time.
  • By default, all datasets in the project are exposed. To limit Claude's access, use --dataset my_dataset_1 --dataset my_dataset_2 or the comma-separated BIGQUERY_DATASETS variable.
  • Long-running queries hang by default; set BIGQUERY_TIMEOUT (in seconds) to avoid blocking indefinitely.
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
100
25.0
Adoption
20%
60
12.0
Quality
10%
90
9.0
Trust
10%
50
5.0
Total
86.0
⚿ Capabilities & Risk Explainer
secrets
◆ Risk level: low
secrets — requires access to credentials or environment secrets.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "mcp-bigquery": {
      "command": "uvx",
      "args": [
        "mcp-server-bigquery"
      ]
    }
  }
}
📈 Score historylast 45 snapshots
5/10/20267/6/2026 · 45 snapshots
⚙ Maintenance health
46/ 100 · is this project alive?
contributors (1y)2
top contributor share67%
releases (1y)1
last release149d ago
ci✓ passing
⛁ Raw data
weekly downloads2k
github stars128
forks38
open issues11
license✓ present
readme length4664 chars
last publish1d ago
last commit102d ago
last updated1d ago
install verified✓ pass · 49d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points