BigQuery MCP server
MCP-сервер BigQuery
Сервер Model Context Protocol, который обеспечивает доступ к BigQuery. Этот сервер позволяет LLM проверять схемы баз данных и выполнять запросы.
Компоненты
Инструменты
На сервере реализован один инструмент:
execute-query: выполняет SQL-запрос с использованием диалекта BigQuerylist-tables: список всех таблиц в базе данных BigQuerydescribe-table: Описывает схему определенной таблицы
Related MCP server: BigQuery MCP Server
Конфигурация
Сервер можно настроить с помощью аргументов командной строки или переменных среды.
Аргумент | Переменная среды | Необходимый | Описание |
|
| Да | Идентификатор проекта GCP. |
|
| Да | Местоположение GCP (например |
|
| Нет | Принимать во внимание только определенные наборы данных BigQuery. Несколько наборов данных можно указать, повторив аргумент (например, |
|
| Нет | Путь к файлу ключа учетной записи службы для BigQuery. Если не указан, сервер будет использовать учетные данные по умолчанию. |
Быстрый старт
Установить
Установка через Smithery
Чтобы автоматически установить BigQuery Server для Claude Desktop через Smithery :
npx -y @smithery/cli install mcp-server-bigquery --client claudeКлод Десктоп
В MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json В Windows: %APPDATA%/Claude/claude_desktop_config.json
Конфигурация серверов разработки/неопубликованных
"mcpServers": {
"bigquery": {
"command": "uv",
"args": [
"--directory",
"{{PATH_TO_REPO}}",
"run",
"mcp-server-bigquery",
"--project",
"{{GCP_PROJECT_ID}}",
"--location",
"{{GCP_LOCATION}}"
]
}
}Конфигурация опубликованных серверов
"mcpServers": {
"bigquery": {
"command": "uvx",
"args": [
"mcp-server-bigquery",
"--project",
"{{GCP_PROJECT_ID}}",
"--location",
"{{GCP_LOCATION}}"
]
}
}Замените {{PATH_TO_REPO}} , {{GCP_PROJECT_ID}} и {{GCP_LOCATION}} соответствующими значениями.
Разработка
Строительство и издательское дело
Чтобы подготовить пакет к распространению:
Увеличьте номер версии в
pyproject.tomlСинхронизируем зависимости и обновляем файл блокировки:
uv syncСборка дистрибутивов пакетов:
uv buildЭто создаст исходный код и дистрибутивы wheel в каталоге dist/ .
Опубликовать в PyPI:
uv publishПримечание: вам необходимо задать учетные данные PyPI с помощью переменных среды или флагов команд:
Токен:
--tokenилиUV_PUBLISH_TOKENИли имя пользователя/пароль:
--username/UV_PUBLISH_USERNAMEи--password/UV_PUBLISH_PASSWORD
Отладка
Поскольку серверы MCP работают через stdio, отладка может быть сложной. Для лучшего опыта отладки мы настоятельно рекомендуем использовать MCP Inspector .
Вы можете запустить MCP Inspector через npm с помощью этой команды:
npx @modelcontextprotocol/inspector uv --directory {{PATH_TO_REPO}} run mcp-server-bigqueryПосле запуска Инспектор отобразит URL-адрес, к которому вы можете перейти в своем браузере, чтобы начать отладку.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
The BigQuery remote MCP server is a fully managed service that uses the Model Context Protocol to connect AI applications and LLMs to BigQuery data sources. It provides secure, standardized tools for AI agents to list datasets and tables, retrieve schemas, generate and execute SQL queries through natural language, and analyze data—enabling direct access to enterprise analytics data without requiring manual SQL coding.
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
Related MCP Servers
- AlicenseCqualityDmaintenanceA Model Context Protocol server that connects to Google Cloud services, allowing users to query logs, interact with Spanner databases, and analyze Cloud Monitoring metrics through natural language interaction.405482Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables LLMs to understand BigQuery dataset structures and execute SQL queries.185MIT
- -licenseNot gradedqualityNot gradedmaintenanceA Model Context Protocol server that provides tools for interacting with databases, including PostgreSQL, DuckDB, and Google Cloud Storage Parquet files.2
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to interact with Google BigQuery by inspecting database schemas, listing tables, and executing SQL queries. This server facilitates seamless data analysis and management through natural language via the Model Context Protocol.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LucasHild/mcp-server-bigquery'
If you have feedback or need assistance with the MCP directory API, please join our Discord server