BigQuery Data Platform
概要
作者による説明(英語の原文)
Read-only BigQuery tools for plain-language data questions, with a cost gate on every query
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi1項目中1項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況iとても新しい↓ 26/週 · ★ –
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: データベース・データセット
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:1項目中1項目に合格
- あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
- 自分で入力するもの:
BQ_MCP_ENVIRONMENTS,BQ_MCP_DEFAULT_ENVIRONMENT,BQ_MCP_CONFIG,BQ_IMPERSONATE_SERVICE_ACCOUNT,BQ_PROJECT,BQ_LOCATION,BQ_CODE_ASSET_LOCATION,BQ_DATASET_ALLOWLIST,BQ_WARN_BYTES,BQ_MAX_BYTES_BILLED,BQ_MCP_AUDIT_LOG
必要なもの
- PyPIPythonのuvのインストール(uvxコマンドに必要)
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"data-platform": {
"command": "uvx",
"args": [
"data-platform-mcp"
],
"env": {
"BQ_MCP_ENVIRONMENTS": "your-value",
"BQ_MCP_DEFAULT_ENVIRONMENT": "your-value",
"BQ_MCP_CONFIG": "your-value",
"BQ_IMPERSONATE_SERVICE_ACCOUNT": "your-value",
"BQ_PROJECT": "your-value",
"BQ_LOCATION": "your-value",
"BQ_CODE_ASSET_LOCATION": "your-value",
"BQ_DATASET_ALLOWLIST": "your-value",
"BQ_WARN_BYTES": "your-value",
"BQ_MAX_BYTES_BILLED": "your-value",
"BQ_MCP_AUDIT_LOG": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add data-platform --env BQ_MCP_ENVIRONMENTS=your-value --env BQ_MCP_DEFAULT_ENVIRONMENT=your-value --env BQ_MCP_CONFIG=your-value --env BQ_IMPERSONATE_SERVICE_ACCOUNT=your-value --env BQ_PROJECT=your-value --env BQ_LOCATION=your-value --env BQ_CODE_ASSET_LOCATION=your-value --env BQ_DATASET_ALLOWLIST=your-value --env BQ_WARN_BYTES=your-value --env BQ_MAX_BYTES_BILLED=your-value --env BQ_MCP_AUDIT_LOG=your-value -- uvx data-platform-mcp動かす前に、空欄の値を入力してください。
または、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"data-platform": {
"command": "uvx",
"args": [
"data-platform-mcp"
],
"env": {
"BQ_MCP_ENVIRONMENTS": "your-value",
"BQ_MCP_DEFAULT_ENVIRONMENT": "your-value",
"BQ_MCP_CONFIG": "your-value",
"BQ_IMPERSONATE_SERVICE_ACCOUNT": "your-value",
"BQ_PROJECT": "your-value",
"BQ_LOCATION": "your-value",
"BQ_CODE_ASSET_LOCATION": "your-value",
"BQ_DATASET_ALLOWLIST": "your-value",
"BQ_WARN_BYTES": "your-value",
"BQ_MAX_BYTES_BILLED": "your-value",
"BQ_MCP_AUDIT_LOG": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"data-platform": {
"type": "stdio",
"command": "uvx",
"args": [
"data-platform-mcp"
],
"env": {
"BQ_MCP_ENVIRONMENTS": "your-value",
"BQ_MCP_DEFAULT_ENVIRONMENT": "your-value",
"BQ_MCP_CONFIG": "your-value",
"BQ_IMPERSONATE_SERVICE_ACCOUNT": "your-value",
"BQ_PROJECT": "your-value",
"BQ_LOCATION": "your-value",
"BQ_CODE_ASSET_LOCATION": "your-value",
"BQ_DATASET_ALLOWLIST": "your-value",
"BQ_WARN_BYTES": "your-value",
"BQ_MAX_BYTES_BILLED": "your-value",
"BQ_MCP_AUDIT_LOG": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
自分で入力する値
BQ_MCP_ENVIRONMENTSenvJSON map of environment name to BigQuery settings (project, location, impersonate, dataset_allowlist, byte caps). Omit when using a config file at ~/.config/data-platform-mcp/config.toml.BQ_MCP_DEFAULT_ENVIRONMENTenvEnvironment used when a tool call omits the environment argument.BQ_MCP_CONFIGenvPath to a TOML config file, overriding ~/.config/data-platform-mcp/config.toml.BQ_IMPERSONATE_SERVICE_ACCOUNTenvRead-only service account to impersonate, making read-only a property of the identity rather than of this code. Create it with `data-platform-mcp setup`.BQ_PROJECTenvGCP project whose BigQuery datasets are queried. Falls back to the project associated with Application Default Credentials.BQ_LOCATIONenvBigQuery location for jobs and datasets. Defaults to US.BQ_CODE_ASSET_LOCATIONenvRegion holding BigQuery Studio notebooks and saved queries. Separate from BQ_LOCATION and usually different: code assets are regional and Dataform rejects multi-regions, so datasets in US typically p…BQ_DATASET_ALLOWLISTenvComma-separated dataset IDs the server may read. Empty means all datasets.BQ_WARN_BYTESenvScan size above which a query is returned for user confirmation instead of run. Defaults to 1 GiB.BQ_MAX_BYTES_BILLEDenvHard per-query scan cap; a query estimated above this never runs. Defaults to 5 GiB.BQ_MCP_AUDIT_LOGenvPath for the JSONL tool-call audit log, or 'off' to disable it. SQL text is never recorded, only a hash and a length.
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント deBilla で確認済みです
- … 未チェック
今もメンテナンスされている
このリポジトリはまだGitHubから読み取っていません
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
データベース・データセットのほかのサーバーとの比較i
- このカテゴリのほかの1144件のうち0%よりスターが多い
- このカテゴリのほかの1144件のうち40%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの1144件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
BigQuery Data Platformは安全ですか?
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は–、最新バージョン(0.4.0)がレジストリに届いたのは2 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
代わりに使えるものは?
同じカテゴリには:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
BigQuery MCP
A read-only Model Context Protocol server over Google BigQuery. It lets an AI client (Claude Code, Claude Desktop, …) answer plain-language data questions by discovering schema and running SELECT queries.
The AI does the natural-language → SQL translation; this server just safely executes against BigQuery under your own Google credentials.
- Docs: https://debilla.github.io/bigquery-mcp/
- Repo: https://github.com/deBilla/bigquery-mcp
- PyPI:
data-platform-mcp - MCP registry: mcp-name: io.github.deBilla/data-platform-mcp
Tools exposed
| Tool | Purpose | Cost |
|---|---|---|
list_datasets | List datasets in the project | free |
list_tables | List tables/views in a dataset | free |
get_table_schema | Columns (nested paths expanded), partitioning, size, row count | free |
check_table_freshness | When each table was last written — catches stale sources | free |
list_environments | Which BigQuery environments are configured, and the default | free |
list_scheduled_queries | Which scheduled query writes a table, and whether it is disabled or failing | free |
get_scheduled_query | One query's SQL, destination and recent runs | free |
list_code_assets | Notebooks, saved queries and data canvases in BigQuery Studio | free |
get_code_asset | One notebook or saved query's body, notebook outputs stripped | free |
find_code_assets_using_table | Which notebooks/saved queries read a table | quota, not $ |
list_notebook_schedules | Scheduled Colab notebooks, with how many recent runs failed | free |
list_notebook_runs | Individual notebook runs across every schedule — failures by default | free |
get_notebook_schedule | One schedule's cron, notebook and recent errors | free |
run_query | Run a validated, read-only SELECT and return rows | scans data |
Only run_query costs anything, so the discovery tools are the ones to spend first. Two of them exist to prevent specific, repeated mistakes:
- `get_table_schema` reports partitioning from table metadata, never from column names. A table with a
partition_datecolumn may not be partitioned — in which case noWHEREclause reduces the scan and every query reads the whole table. The response flags this explicitly when the table is large. - `check_table_freshness` finds tables that stopped being written to without being dropped. Those return stale data rather than an error, which is the failure mode nobody notices.
- `find_code_assets_using_table` answers the other half. The scheduled-query tools say what *writes* a table; this says who *reads* it, which is the question before a schema change. It is also the one discovery tool that is not free: it opens every asset it considers, spending Dataform read quota, so it is capped and reports how much of the project it actually covered. A result is evidence about the assets scanned, never proof that nothing else uses the table — assets it could not read are listed separately rather than counted as misses.
- `list_scheduled_queries` says why. A stale table is usually a scheduled query that was disabled or is failing, and that lives in a different API (BigQuery Data Transfer) needing
roles/bigquerydatatransfer.viewer. Without that role the two tools return an error naming it and everything else works normally. Most scheduled queries declare no destination because they write with DDL, so the target is read out of the SQL and reported aswrites_to_from_sql— a heuristic, labelled as one.
BigQuery Studio notebooks and saved queries
These are not BigQuery resources. BigQuery Studio stores each code asset as a Dataform repository holding a single file, which means a third API and a third permission — roles/dataform.viewer — beyond BigQuery and the Data Transfer Service. Without it the three tools return an error naming the role and everything else works normally. They are also invisible in the Dataform UI, so nothing in the console hints that this is where they live.
Two things about that storage are worth knowing before you configure it:
- Code assets are regional, and it is not the dataset region. Dataform rejects multi-regions, so a platform whose datasets are
USkeeps its notebooks in something likeus-central1. No configuration is needed: whenlocationis a multi-region the server probes the regions inside it, uses the one holding the assets, and says so — a multi-region cannot simply be inherited, because using it is guaranteed to fail rather than merely likely to. Pincode_asset_location(orBQ_CODE_ASSET_LOCATION) to skip the probing; an explicit value is never second-guessed, so a wrong one returns an empty list rather than an error. Every result echoes back the location it read.
- Notebook bodies are mostly output. Across 52 real notebooks, cell outputs were 77% of the bytes — one was 1.44 MB of file for 80 KB of code. Outputs are stripped before anything is returned, and the saving is reported so you can see that what is missing was rendered charts rather than logic.
Reads are quota-limited by volume rather than by concurrency, and the quota refills over tens of seconds. Exhaustion is retried with backoff and, if it persists, reported as something to retry shortly rather than as a failure.
Scheduled Colab notebooks
A notebook in BigQuery Studio can have a schedule attached to it, and those runs are where scheduled work goes unwatched: nothing reports on them, so a notebook can fail nightly for weeks and the only symptom is a table that quietly stopped moving. On the platform this was built against, 354 of 7,061 runs had failed and none of it was visible.
Answering one question means joining three resources, which is most of why it was hard to see. The schedule is a Vertex AI Schedule (cron, timezone, paused or not); each run is a NotebookExecutionJob; the notebook is the same Dataform code asset list_code_assets lists — so a failing schedule leads straight to get_code_asset for the code that failed. That means a fourth API and a fourth permission, roles/aiplatform.viewer. Without it the three tools return an error naming the role and everything else works normally. No new dependency: this talks to Vertex AI over REST rather than pulling in google-cloud-aiplatform for two list endpoints.
Three things are worth knowing before trusting what you see:
- A schedule reports itself healthy while its notebook fails. Every one of 49 live schedules reports its last scheduled run as
OK— including one whose previous 79 runs had failed.OKmeans the scheduler successfully *launched* a job, not that the notebook ran. That field is what the console shows first, and it is exactly how this went unnoticed, so health here is always computed from execution jobs and the schedule's own status is never reported as one. APAUSEDschedule, meanwhile, is the single most common reason a notebook-written table went stale.
- Outcome cannot be filtered server-side. Vertex AI rejects a
jobStatefilter outright and caps pages at 100, so "show me the failures" means reading pages and filtering locally. Runs *are* ordered newest-first, which is what makes a bounded window affordable:lookback_days(30 by default, so monthly schedules show at least one run) stops the walk instead of scanning a year of history. 30 days is about 7 API calls; 90 is about 23.
- Runs outlive the schedule that created them. Deleting and recreating a schedule is the normal way to edit one, so 7,061 live runs referenced 75 distinct schedules of which only 49 still existed. Those runs are real and their failures count, so they are labelled
(schedule no longer exists)rather than dropped. For the same reason display names are not unique — two live schedules shared one — so an ambiguous name is an error listing the candidates and their ids, never a silently chosen first match.
data-platform-mcp doctor reports how many schedules are readable, how many are paused and how many failed in the last week.
Environments
One server answers questions about several targets — a warehouse and its staging copy, or two regions of the same project. Every tool takes an optional environment; omitting it uses the default.
# ~/.config/data-platform-mcp/config.toml
default_environment = "warehouse"
[environments.warehouse] project = "my-data-platform" impersonate = "data-platform-mcp-ro@my-data-platform.iam.gserviceaccount.com" dataset_allowlist = ["sales", "events"]
[environments.central] # same project, different region project = "my-data-platform" location = "us-central1"
See config.toml.example for every setting, or set BQ_MCP_ENVIRONMENTS to the same structure as JSON. A single `BQ_PROJECT` still works unchanged — it becomes one environment named default.
An environment can be named by its own name, an alias, the built-in shorthands (prod, stg, dev, live) or its project id. An unknown name is an error naming the valid options, never a silent fall back to the default: a typo that answered a production question from staging would be invisible in the reply. Every result echoes back the environment it came from.
Regions are why this matters most here. BigQuery cannot query across locations, and its error for trying names neither location, so it reads as a missing table. One environment per location; doctor reports which datasets are where.
Read-only as a property of the identity
The SELECT-only guard and the readOnlyHint annotations are promises about this code. Pointing the server at a service account that holds only roles/bigquery.jobUser and a dataset-scoped roles/bigquery.dataViewer makes it a fact about the credentials — enforced by IAM whatever the code does, and whatever your own roles allow:
data-platform-mcp setup --project my-data-platform --datasets sales,events
Creates the account, grants those two roles, and gives you roles/iam.serviceAccountTokenCreator on it so the server can impersonate it. Add --dry-run to see the commands first; it is safe to re-run.
With --datasets, the dataset allowlist stops being an if statement in this process and becomes a grant Google enforces.
macOS setup
Terminal.app is not Xcode. It ships with every Mac. What does *not* ship is the Xcode Command Line Tools, and an analyst's laptop usually has neither those nor Homebrew. Nothing here needs them — but it is easy to trip over by accident, because git, make, clang and the stock /usr/bin/python3 are stubs for that bundle: running any of them pops a system dialog offering to install about a gigabyte of developer tooling.
None of the commands below invoke one. They use only utilities macOS already has — curl, tar, sh, uname — because both installs are self-contained:
| Install | Why it needs nothing else |
|---|---|
uv | A standalone binary. Its installer never mentions Python, and it downloads its own to run the server. |
| Google Cloud CLI | The macOS tarball bundles its own Python (.install/bundled-python3-unix-darwin-*). |
The whole terminal requirement is the three blocks below, once.
1. Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
which uvx # note this absolute path — Claude Desktop will need it
Typically /Users/ /.local/bin/uvx.
2. Install the Google Cloud CLI
Pick the build for your chip — uname -m prints arm64 for Apple Silicon, x86_64 for Intel:
# Apple Silicon
cu
冒頭だけを表示しています。続きはリポジトリで読めます