BigQuery MCP Server
Provides tools for executing SQL queries, listing datasets and tables, getting table schemas, previewing table data, and retrieving table metadata in Google BigQuery.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BigQuery MCP Serverlist tables in the analytics dataset"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
BigQuery MCP Server
A custom MCP server for Google BigQuery with service account authentication.
Setup
Install dependencies:
pip install -r requirements.txtSet environment variables:
export BQ_SERVICE_ACCOUNT_KEY="/path/to/your-service-account-key.json" export BQ_PROJECT_ID="your-default-project-id"Run the server:
python bigquery_mcp.py
Related MCP server: BigQuery Readonly MCP
Configuration for Claude Desktop / Cowork
Add this to your MCP settings (e.g. claude_desktop_config.json):
{
"mcpServers": {
"bigquery": {
"command": "python",
"args": ["/path/to/bigquery_mcp.py"],
"env": {
"BQ_SERVICE_ACCOUNT_KEY": "/path/to/your-service-account-key.json",
"BQ_PROJECT_ID": "looplink-drt"
}
}
}
}Available Tools
Tool | Description |
| Run a read-only SQL query |
| List all datasets in a project |
| List tables in a dataset |
| Get column definitions for a table |
| Preview first N rows (free, no query cost) |
| Get table metadata (rows, size, partitioning) |
Notes
Only SELECT queries are allowed (safety enforced)
10 GB billing cap per query
Supports both
looplink-drtanddandelion-tf-productionprojects viaproject_idparameter
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 Servers
- Alicense-qualityBmaintenanceEnterprise-grade MCP server for Google Cloud BigQuery with keyless Workload Identity Federation authentication, enabling secure SQL query execution, dataset management, and schema inspection with comprehensive audit logging and encryption.Last updatedMIT
- Flicense-qualityBmaintenanceEnables reading BigQuery data from ChatGPT using read-only SQL queries, with OAuth authentication and project-level access control.Last updated
- Alicense-qualityBmaintenanceA read-only BigQuery MCP server with auto-LIMIT injection, dry-run cost guard, and ADC authentication. Allows safe SQL querying of BigQuery by LLMs without risk of data modification or unexpected costs.Last updated1MIT
- Alicense-qualityBmaintenanceEnables LLMs to explore BigQuery datasets and tables, run safe read-only queries, and optionally perform vector search using BigQuery embeddings.Last updated9MIT
Related MCP Connectors
Run SOQL queries to explore and retrieve Salesforce data. Access accounts, contacts, opportunities…
Query your Google Sheets as structured JSON: list sheets and tabs, read schemas, filter rows.
Read-only access to your VortexIQ store data: audits, KPIs, alerts, Brand DNA, reports, Ask VIQ.
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/amenke-lang/bigquery_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server