ergut/mcp-bigquery-server

ergut/mcp-bigquery-server

от ergut
Этот MCP сервер позволяет AI-ассистентам выполнять read-only запросы к BigQuery через обычный чат. Поддерживает защиту PII-полей, автосканирование схем и гибкую настройку. Идеален для безопасного анализа данных без написания SQL.

BigQuery MCP Server

BigQuery MCP Server Logo

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:

  1. Set up authentication (see below)
  2. Add your project details to your MCP client's config file
  3. Start chatting with your BigQuery data naturally!
What Can It Do? 📊
  • Read-only by design — only SELECT statements are allowed. Every query is validated by BigQuery's own dry-run planner before execution, so INSERT, UPDATE, DELETE, DROP, TRUNCATE, EXPORT DATA, and MERGE are 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.json or --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 EXCEPT clauses, 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.

Часто задаваемые вопросы

Инструменты были проиндексированы:
query

Выполняет SQL-запрос BigQuery только для чтения

Параметры
  • sqlstring
1.0.4основная
1.0.3
1.0.2
1.0.1
0.1.0

Выберите клиент, чтобы установить ergut/mcp-bigquery-server:

Любой клиент

Конфиг добавления MCP сервера стандартный, обычно он не меняется вообще, поэтому подходит практически к любому ИИ клиенту, поддерживающему MCP.

{
  "mcpServers": {
    "ergut-mcp-bigquery-server-leaf4syx95": {
      "command": "npx",
      "args": [
        "-y",
        "@ergut/mcp-bigquery-server",
        "--project-id",
        "your-project-id"
      ]
    }
  }
}
CursorCursor

Перейдите по ссылке и сервер автоматически будет добавлен в Cursor. Либо откройте/создайте файл ~/.cursor/mcp.json(%USERPROFILE%\.cursor\mcp.json на Windows) и добавьте конфиг сервера:

{
  "mcpServers": {
    "ergut-mcp-bigquery-server-leaf4syx95": {
      "command": "npx",
      "args": [
        "-y",
        "@ergut/mcp-bigquery-server",
        "--project-id",
        "your-project-id"
      ]
    }
  }
}
VS Code

Создайте .vscode/mcp.json в проекте (ключ верхнего уровня — servers):

{
  "servers": {
    "ergut-mcp-bigquery-server-leaf4syx95": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ergut/mcp-bigquery-server",
        "--project-id",
        "your-project-id"
      ]
    }
  }
}

Либо добавьте сервер через терминал:

code --add-mcp "{\"name\":\"ergut-mcp-bigquery-server-leaf4syx95\",\"type\":\"stdio\",\"command\":\"npx\",\"args\":[\"-y\",\"@ergut/mcp-bigquery-server\",\"--project-id\",\"your-project-id\"]}"
ClaudeClaude Desktop

Откройте Settings → Developer → Edit Config — это откроет файл claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Впишите сервер и полностью перезапустите Claude Desktop:

{
  "mcpServers": {
    "ergut-mcp-bigquery-server-leaf4syx95": {
      "command": "npx",
      "args": [
        "-y",
        "@ergut/mcp-bigquery-server",
        "--project-id",
        "your-project-id"
      ]
    }
  }
}
Claude CodeClaude Code

Добавьте сервер одной командой в терминале:

claude mcp add ergut-mcp-bigquery-server-leaf4syx95 -- npx -y @ergut/mcp-bigquery-server --project-id your-project-id

Либо через JSON-конфиг:

claude mcp add-json ergut-mcp-bigquery-server-leaf4syx95 "{\"command\":\"npx\",\"args\":[\"-y\",\"@ergut/mcp-bigquery-server\",\"--project-id\",\"your-project-id\"]}"
CodexCodex

Добавьте сервер командой в терминале:

codex mcp add ergut-mcp-bigquery-server-leaf4syx95 -- npx -y @ergut/mcp-bigquery-server --project-id your-project-id

Либо вручную в ~/.codex/config.toml(%USERPROFILE%\.codex\config.toml на Windows):

[mcp_servers.ergut-mcp-bigquery-server-leaf4syx95]
command = "npx"
args = ["-y", "@ergut/mcp-bigquery-server", "--project-id", "your-project-id"]
PerplexityPerplexity

MCP доступен подписчикам Perplexity Pro / Max / Enterprise. Локальные серверы — только в приложении для macOS.

  1. Откройте Настройки аккаунта → Connectors.
  2. Установите вспомогательное приложение PerplexityXPC (один раз).
  3. Нажмите Add Connector → вкладка Simple.
  4. В поле Server Name укажите ergut/mcp-bigquery-server, а в поле команды запуска — строку ниже:
npx -y @ergut/mcp-bigquery-server --project-id your-project-id

Нажмите Save и дождитесь статуса Running.

WindsurfWindsurf

Откройте Windsurf Settings → Cascade → MCP Servers или отредактируйте файл ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "ergut-mcp-bigquery-server-leaf4syx95": {
      "command": "npx",
      "args": [
        "-y",
        "@ergut/mcp-bigquery-server",
        "--project-id",
        "your-project-id"
      ]
    }
  }
}
ClineCline

В панели Cline нажмите иконку MCP Servers → Configure → Configure MCP Servers (или отредактируйте ~/.cline/mcp.json) и добавьте сервер:

{
  "mcpServers": {
    "ergut-mcp-bigquery-server-leaf4syx95": {
      "command": "npx",
      "args": [
        "-y",
        "@ergut/mcp-bigquery-server",
        "--project-id",
        "your-project-id"
      ],
      "disabled": false,
      "autoApprove": []
    }
  }
}
Continue

Создайте файл в .continue/mcpServers/ (например ergut-mcp-bigquery-server-leaf4syx95.yaml) или добавьте блок в config.yaml. MCP работает только в режиме agent:

mcpServers:
  - name: ergut-mcp-bigquery-server-leaf4syx95
    command: npx
    args:
      - "-y"
      - "@ergut/mcp-bigquery-server"
      - "--project-id"
      - "your-project-id"
Zed

Выполните agent: add context server или откройте настройки (zed: open settings file) и добавьте сервер в объект context_servers:

{
  "context_servers": {
    "ergut-mcp-bigquery-server-leaf4syx95": {
      "command": "npx",
      "args": [
        "-y",
        "@ergut/mcp-bigquery-server",
        "--project-id",
        "your-project-id"
      ]
    }
  }
}

Похожие MCP-сервера

lucashild/mcp-server-bigquery

lucashild/mcp-server-bigquery

от lucashild

MCP сервер для Google BigQuery: LLM просматривает схемы таблиц и выполняет SQL-запросы. Полезен аналитикам и разработчикам для AI-интеграции с данными.

Python⭐ 131
keboola/keboola-mcp-server

keboola/keboola-mcp-server

официальный

от keboola

MCP сервер для подключения AI-агентов к Keboola: он открывает доступ к данным, SQL-запросам и трансформациям без написания кода. Идеален для аналитиков и разработчиков, которые хотят кормить ИИ актуальными данными напрямую.

Python⭐ 85
alkemiai/alkemi-mcp

alkemiai/alkemi-mcp

от alkemi-ai

MCP сервер Alkemi подключается к Snowflake и BigQuery, хранит метаданные и генерирует правильные запросы. Команды используют единый MCP инструмент для анализа данных без ручного описания схем.

JavaScript⭐ 4
iunera/druid-mcp-server

iunera/druid-mcp-server

от iunera

MCP-сервер для Apache Druid: инструменты, ресурсы и промпты для управления кластерами, SQL-запросов, настройки ингредиентов и мониторинга здоровья. Даёт AI-ассистентам возможность управлять и анали...

Java⭐ 18
Snowflake-Labs/mcp

Snowflake-Labs/mcp

официальный

от snowflake-labs

Устаревший MCP-сервер сообщества для Snowflake Cortex AI: поиск, аналитика, агент, управление объектами и выполнение SQL. Проект больше не поддерживается — для всех сценариев используйте официальный Snowflake MCP Server.

Python⭐ 300
hydrolix/mcp-hydrolix

hydrolix/mcp-hydrolix

от hydrolix

MCP-сервер для выполнения SQL-запросов к Hydrolix: получай данные, список баз и таблиц, схему. Помогает разработчикам и аналитикам работать с Hydrolix через Claude Desktop, Claude Code или VS Code ...

Python⭐ 11
© Каталог MCP, 2026. Все права защищены.
Проект не аффилирован с Anthropic и любыми упомянутыми продуктами.
Все названия и торговые марки принадлежат их владельцам.
Контакты для связи: hi@mcp-katalog.ru

Лука Никитин