ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

BigQuery Data Platform

โดย deBillaรุ่น 0.4.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.deBilla/data-platform-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Read-only BigQuery tools for plain-language data questions, with a cost gate on every query

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): 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

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "data-platform": {
      "command": "uvx",
      "args": [
        "data-platform-mcp"
      ],
      "env": {
        "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": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add data-platform --env BQ_MCP_ENVIRONMENTS='ใส่ค่าของคุณ' --env BQ_MCP_DEFAULT_ENVIRONMENT='ใส่ค่าของคุณ' --env BQ_MCP_CONFIG='ใส่ค่าของคุณ' --env BQ_IMPERSONATE_SERVICE_ACCOUNT='ใส่ค่าของคุณ' --env BQ_PROJECT='ใส่ค่าของคุณ' --env BQ_LOCATION='ใส่ค่าของคุณ' --env BQ_CODE_ASSET_LOCATION='ใส่ค่าของคุณ' --env BQ_DATASET_ALLOWLIST='ใส่ค่าของคุณ' --env BQ_WARN_BYTES='ใส่ค่าของคุณ' --env BQ_MAX_BYTES_BILLED='ใส่ค่าของคุณ' --env BQ_MCP_AUDIT_LOG='ใส่ค่าของคุณ' -- uvx data-platform-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "data-platform": {
      "command": "uvx",
      "args": [
        "data-platform-mcp"
      ],
      "env": {
        "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": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "data-platform": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "data-platform-mcp"
      ],
      "env": {
        "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": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • BQ_MCP_ENVIRONMENTS env
    JSON 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_ENVIRONMENT env
    Environment used when a tool call omits the environment argument.
  • BQ_MCP_CONFIG env
    Path to a TOML config file, overriding ~/.config/data-platform-mcp/config.toml.
  • BQ_IMPERSONATE_SERVICE_ACCOUNT env
    Read-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_PROJECT env
    GCP project whose BigQuery datasets are queried. Falls back to the project associated with Application Default Credentials.
  • BQ_LOCATION env
    BigQuery location for jobs and datasets. Defaults to US.
  • BQ_CODE_ASSET_LOCATION env
    Region 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_ALLOWLIST env
    Comma-separated dataset IDs the server may read. Empty means all datasets.
  • BQ_WARN_BYTES env
    Scan size above which a query is returned for user confirmation instead of run. Defaults to 1 GiB.
  • BQ_MAX_BYTES_BILLED env
    Hard per-query scan cap; a query estimated above this never runs. Defaults to 5 GiB.
  • BQ_MCP_AUDIT_LOG env
    Path for the JSONL tool-call audit log, or 'off' to disable it. SQL text is never recorded, only a hash and a length.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub deBilla ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ฐานข้อมูลและชุดข้อมูลi

  • ดาวมากกว่า 0% ของอีก 953 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 41% ของอีก 953 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 953 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

BigQuery Data Platform ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.0) เข้า registry เดือนที่แล้ว

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Supabase, MongoDB MCP Server, Elasticsearch MCP Server

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Supabase

โดย supabase

server ทางการของ Supabase ให้ AI สร้างตาราง ถามข้อมูล และดูการตั้งค่าโปรเจกต์ในฐานข้อมูล Supabase ของคุณ

บนเครื่องหรือคลาวด์★ 2,993Apache-2.0อัปเดต เมื่อวาน
ติดตั้ง

MongoDB MCP Server

โดย mongodb-js

MongoDB Model Context Protocol Server

รันบนเครื่อง★ 1,157Apache-2.0อัปเดต เมื่อวานซืน
ติดตั้ง

Elasticsearch MCP Server

โดย cr7258

MCP server for interacting with Elasticsearch

รันบนเครื่อง★ 315Apache-2.0อัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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

ToolPurposeCost
list_datasetsList datasets in the projectfree
list_tablesList tables/views in a datasetfree
get_table_schemaColumns (nested paths expanded), partitioning, size, row countfree
check_table_freshnessWhen each table was last written — catches stale sourcesfree
list_environmentsWhich BigQuery environments are configured, and the defaultfree
list_scheduled_queriesWhich scheduled query writes a table, and whether it is disabled or failingfree
get_scheduled_queryOne query's SQL, destination and recent runsfree
list_code_assetsNotebooks, saved queries and data canvases in BigQuery Studiofree
get_code_assetOne notebook or saved query's body, notebook outputs strippedfree
find_code_assets_using_tableWhich notebooks/saved queries read a tablequota, not $
list_notebook_schedulesScheduled Colab notebooks, with how many recent runs failedfree
list_notebook_runsIndividual notebook runs across every schedule — failures by defaultfree
get_notebook_scheduleOne schedule's cron, notebook and recent errorsfree
run_queryRun a validated, read-only SELECT and return rowsscans 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_date column may not be partitioned — in which case no WHERE clause 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 as writes_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 US keeps its notebooks in something like us-central1. No configuration is needed: when location is 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. Pin code_asset_location (or BQ_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. OK means 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. A PAUSED schedule, meanwhile, is the single most common reason a notebook-written table went stale.
  • Outcome cannot be filtered server-side. Vertex AI rejects a jobState filter 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:

InstallWhy it needs nothing else
uvA standalone binary. Its installer never mentions Python, and it downloads its own to run the server.
Google Cloud CLIThe 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

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx