BigQuery MCP サーバー
BigQueryへのアクセスを提供するモデルコンテキストプロトコルサーバー。このサーバーにより、LLMはデータベーススキーマを検査し、クエリを実行できます。
コンポーネント
ツール
サーバーは 1 つのツールを実装します。
execute-query: BigQuery方言を使用してSQLクエリを実行します。list-tables: BigQuery データベース内のすべてのテーブルを一覧表示しますdescribe-table: 特定のテーブルのスキーマを記述する
構成
サーバーは次の引数を使用して構成できます。
--project(必須): GCP プロジェクト ID。--location(必須): GCP の場所 (例:europe-west9)。--dataset(オプション): 特定のBigQueryデータセットのみを考慮します。引数を繰り返すことで複数のデータセットを指定できます(例:--dataset my_dataset_1 --dataset my_dataset_2)。指定しない場合は、プロジェクト内のすべてのデータセットが考慮されます。--key-file(オプション): BigQuery のサービスアカウントキーファイルへのパス。指定しない場合、サーバーはデフォルトの認証情報を使用します。
クイックスタート
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の BigQuery Server を自動的にインストールするには:
クロードデスクトップ
MacOS の場合: ~/Library/Application\ Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
開発/非公開サーバーの構成
公開サーバーの構成
{{PATH_TO_REPO}} 、 {{GCP_PROJECT_ID}} 、および{{GCP_LOCATION}}を適切な値に置き換えます。
発達
建築と出版
配布用のパッケージを準備するには:
依存関係を同期し、ロックファイルを更新します。
パッケージディストリビューションをビルドします。
これにより、 dist/ディレクトリにソースとホイールのディストリビューションが作成されます。
PyPI に公開:
注: 環境変数またはコマンド フラグを使用して PyPI 資格情報を設定する必要があります。
トークン:
--tokenまたはUV_PUBLISH_TOKENまたはユーザー名/パスワード:
--username/UV_PUBLISH_USERNAMEおよび--password/UV_PUBLISH_PASSWORD
デバッグ
MCPサーバーはstdio経由で実行されるため、デバッグが困難になる場合があります。最適なデバッグ環境を実現するには、 MCP Inspectorの使用を強くお勧めします。
次のコマンドを使用して、 npm経由で MCP Inspector を起動できます。
起動すると、ブラウザでアクセスしてデバッグを開始できる URL がインスペクタに表示されます。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
BigQueryへのアクセスを提供するモデルコンテキストプロトコルサーバー。このサーバーにより、LLMはデータベーススキーマを検査し、クエリを実行できます。
Related MCP Servers
- -security-license-qualityA Model Context Protocol server that enables LLMs to understand BigQuery dataset structures and execute SQL queries.Last updated -243MIT License
- -security-license-qualityA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.Last updated -5021MIT License
- -security-license-qualityA Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.Last updated -MIT License
MCP TapData Serverofficial
-security-license-qualityA Model Context Protocol server that enables Large Language Models to access and interact with database connections, including viewing schemas and performing CRUD operations on connected databases.Last updated -