
ergut/mcp-bigquery-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
ergut/mcp-bigquery-server は、https://github.com/ergut/mcp-bigquery-server. からインポートされたMCPサーバー候補です。
概要
ergut/mcp-bigquery-server は、https://github.com/ergut/mcp-bigquery-server. からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
これは何だ?🤔
これは、ClaudeのようなLLMがBigQueryのデータと直接やり取りできるサーバーです — 読み取り専用で、倉庫を変更できない。AIアシスタントとデータベースの間に位置し、安全かつ効率的にチャットできるよう支援するフレンドリーな翻訳者のようなものだと考えてください。
簡単な例
もう手作業でSQLクエリを書く必要はなく、自然にデータとチャットで会話できます!
どうやって動くの?🛠️
このサーバーはモデルコンテキストプロトコル(MCP)を使用しており、これはAIとデータベースの通信のための汎用翻訳機のようなものです。MCPはClaude Desktop、Claude Code、そして増加する他のAIクライアントでサポートされています。
必要なことは以下の通りです:
- 認証の設定(下記参照)
- プロジェクトの詳細をMCPクライアントの設定ファイルに追加します
- BigQueryのデータと自然にチャットを始めましょう!
何ができる?📊
- 設計上読み取り専用 —
SELECT文のみが許可されます。すべてのクエリは実行前にBigQuery独自の試行プランナーによって検証されるため、INSERT、UPDATE、DELETE、DROP、TRUNCATE、EXPORT DATA、MERGEはすべて拒否されます。AIエージェントはあなたの倉庫を変異させることはできません。 - 平易な英語で質問するだけでSQLクエリを実行する
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
BigQuery MCP Server
What is this? 🤔
This is a server that lets your LLMs (like Claude) talk directly to your BigQuery data — read-only, with no ability to mutate your warehouse. Think of it as a friendly translator that sits between your AI assistant and your database, making sure they can chat securely and efficiently.
Quick Example
You: "What were our top 10 customers last month?"
Claude: *queries your BigQuery database and gives you the answer in plain English*
No more writing SQL queries by hand - just chat naturally with your data!
How Does It Work? 🛠️
This server uses the Model Context Protocol (MCP), which is like a universal translator for AI-database communication. MCP is supported by Claude Desktop, Claude Code, and a growing number of other AI clients.
Here’s all you need to do:
- Set up authentication (see below)
- Add your project details to your MCP client’s config file
- Start chatting with your BigQuery data naturally!
What Can It Do? 📊
- Read-only by design — only
SELECTstatements are allowed. Every query is validated by BigQuery’s own dry-run planner before execution, soINSERT,UPDATE,DELETE,DROP,TRUNCATE,EXPORT DATA, andMERGEare all rejected. The AI agent cannot mutate your warehouse, period. - Run SQL queries by just asking questions in plain English
- Access both tables and materialized views in your datasets
- Explore dataset schemas with clear labeling of resource types (tables vs views)
- Analyze data within configurable safe limits (set via
config.jsonor--maximum-bytes-billed) - Protect sensitive data — define field-level access restrictions to prevent AI agents from reading PII, PHI, financial data, and secrets. The agent receives clear guidance on how to reformulate queries using aggregates or
EXCEPTclauses, so it remains useful without exposing individual records. - Auto-discover sensitive fields — automatically scan your entire BigQuery data warehouse for columns matching sensitive patterns (names, emails, SSNs, medical records, API keys, etc.) and add them to the restricted list. New tables and columns are protected automatically on each scan — no manual maintenance required.
- Fully configurable — everything is driven by
config.json. Add your own detection patterns to match your organization’s naming conventions (e.g.,%guardian_name%,%beneficiary%), adjust scan frequency, set billing limits, and define per-table field restrictions. The scanner picks up your custom patterns on the next run and automatically protects any matching columns across all datasets.
Which Setup Is Right for You?
| Simple Mode | Protected Mode | |
|---|---|---|
| Use when | Personal projects, non-sensitive data | PHI, PII, financial data, HIPAA-regulated environments |
インストール
npx -y @ergut/mcp-bigquery-server --project-id your-project-id設定
{
"mcpServers": {
"bigquery": {
"command": "npx",
"args": [
"-y",
"@ergut/mcp-bigquery-server",
"--project-id",
"your-project-id"
]
}
}
}