MCP.so
ログイン

BigQuery MCP Server

@takuya0206

基本情報

カテゴリ

データベース

最終更新

ライセンス

MIT license

トランスポート

stdio

作者

takuya0206

BigQuery MCP Server について

概要はまだありません

BigQuery MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "bigquery-mcp-server": {
      "command": "bun",
      "args": [
        "run",
        "build"
      ]
    }
  }
}

BigQuery MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is BigQuery MCP Server?

A Model Context Protocol (MCP) server that enables Large Language Models to access Google BigQuery. It supports dataset discovery, schema exploration, and read-only SQL query execution.

How to use BigQuery MCP Server?

Install via local build (bun install, bun run build) or Docker. Configure the server with --project-id, --location, --max-results, --max-bytes-billed, and optionally a --key-file for service account authentication. Add the server to your MCP client configuration with the path to the binary and arguments.

Key features of BigQuery MCP Server

  • Execute read-only SELECT queries with configurable limits
  • List all datasets in a project
  • List tables with schemas for a given dataset
  • Retrieve table schema and sample data (up to 20 rows)
  • Dry-run queries to estimate cost without execution
  • Supports Application Default Credentials or service account key files

Use cases of BigQuery MCP Server

  • LLMs exploring BigQuery dataset structures and schemas
  • Running safe, read-only SQL queries via natural language
  • Estimating query costs before executing large queries
  • Inspecting partitioned tables and their partitions
  • Programmatic dataset and table discovery within a project

よくある質問

1

What authentication methods are supported?

The server supports Application Default Credentials (ADC) and service account key files. ADC is set up via `gcloud auth application-default login`.

2

What BigQuery permissions are required?

The recommended role is `roles/bigquery.user`. Alternatively, both `roles/bigquery.dataViewer` and `roles/bigquery.jobUser` are needed.

3

Are write queries allowed?

No. Only SELECT queries are permitted; the server performs security checks to reject non-SELECT statements.

4

What is the default query processing limit?

A default limit of 500 GB is set for query processing to prevent excessive costs. This can be changed via `--max-bytes-billed`.

5

Can I run the server in a Docker container?

Yes. Build the Docker image with `docker build -t bigquery-mcp-server .` and run it with `docker run -it --rm bigquery-mcp-server --project-id=your-project-id`.

コメント

「データベース」の他のコンテンツ