BigQuery MCP server
BigQuery MCP-Server
Ein Model Context Protocol-Server, der Zugriff auf BigQuery bietet. Dieser Server ermöglicht LLMs die Überprüfung von Datenbankschemata und die Ausführung von Abfragen.
Komponenten
Werkzeuge
Der Server implementiert ein Tool:
execute-query: Führt eine SQL-Abfrage im BigQuery-Dialekt auslist-tables: Listet alle Tabellen in der BigQuery-Datenbank aufdescribe-table: Beschreibt das Schema einer bestimmten Tabelle
Related MCP server: BigQuery MCP Server
Konfiguration
Der Server kann entweder mit Befehlszeilenargumenten oder Umgebungsvariablen konfiguriert werden.
Argument | Umgebungsvariable | Erforderlich | Beschreibung |
|
| Ja | Die GCP-Projekt-ID. |
|
| Ja | Der GCP-Standort (z. B. |
|
| NEIN | Berücksichtigen Sie nur bestimmte BigQuery-Datensätze. Mehrere Datensätze können durch Wiederholung des Arguments (z. B. |
|
| NEIN | Pfad zu einer Dienstkonto-Schlüsseldatei für BigQuery. Wenn dieser Pfad nicht angegeben wird, verwendet der Server die Standardanmeldeinformationen. |
Schnellstart
Installieren
Installation über Smithery
So installieren Sie BigQuery Server für Claude Desktop automatisch über Smithery :
npx -y @smithery/cli install mcp-server-bigquery --client claudeClaude Desktop
Unter MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json Unter Windows: %APPDATA%/Claude/claude_desktop_config.json
Konfiguration von Entwicklungs-/unveröffentlichten Servern
"mcpServers": {
"bigquery": {
"command": "uv",
"args": [
"--directory",
"{{PATH_TO_REPO}}",
"run",
"mcp-server-bigquery",
"--project",
"{{GCP_PROJECT_ID}}",
"--location",
"{{GCP_LOCATION}}"
]
}
}Konfiguration veröffentlichter Server
"mcpServers": {
"bigquery": {
"command": "uvx",
"args": [
"mcp-server-bigquery",
"--project",
"{{GCP_PROJECT_ID}}",
"--location",
"{{GCP_LOCATION}}"
]
}
}Ersetzen Sie {{PATH_TO_REPO}} , {{GCP_PROJECT_ID}} und {{GCP_LOCATION}} durch die entsprechenden Werte.
Entwicklung
Erstellen und Veröffentlichen
So bereiten Sie das Paket für die Verteilung vor:
Erhöhen Sie die Versionsnummer in
pyproject.tomlAbhängigkeiten synchronisieren und Sperrdatei aktualisieren:
uv syncErstellen Sie Paketverteilungen:
uv buildDadurch werden Quell- und Wheel-Distributionen im Verzeichnis dist/ erstellt.
Auf PyPI veröffentlichen:
uv publishHinweis: Sie müssen PyPI-Anmeldeinformationen über Umgebungsvariablen oder Befehlsflags festlegen:
Token:
--tokenoderUV_PUBLISH_TOKENOder Benutzername/Passwort:
--username/UV_PUBLISH_USERNAMEund--password/UV_PUBLISH_PASSWORD
Debuggen
Da MCP-Server über stdio laufen, kann das Debuggen eine Herausforderung darstellen. Für ein optimales Debugging empfehlen wir dringend die Verwendung des MCP Inspector .
Sie können den MCP Inspector über npm mit diesem Befehl starten:
npx @modelcontextprotocol/inspector uv --directory {{PATH_TO_REPO}} run mcp-server-bigqueryBeim Start zeigt der Inspector eine URL an, auf die Sie in Ihrem Browser zugreifen können, um mit dem Debuggen zu beginnen.
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