mcp-server-bigquery
by LucasHild·★ 126·Score 47
An MCP server enabling LLMs to inspect BigQuery schemas and execute SQL queries.
Overview
The mcp-server-bigquery provides a bridge between large language models and Google BigQuery data warehouses. It allows LLM assistants to directly interact with structured data by executing SQL queries and retrieving results. The server implements three primary tools: execute-query for running SQL commands, list-tables for database discovery, and describe-table for schema inspection. This integration enables AI systems to analyze data patterns, generate reports, and answer questions based on actual BigQuery datasets without requiring manual data extraction or preprocessing.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Teams using Google Cloud Platform's BigQuery who want AI assistants to analyze their data without requiring direct console access.
When NOT to choose this
You need write access to BigQuery (this appears read-only), or if you're not already using Google Cloud Platform.
Tools this server exposes
3 tools extracted from the READMEexecute-queryExecutes a SQL query using BigQuery dialect
list-tablesLists all tables in the BigQuery database
describe-tableDescribes the schema of a specific table
Comparable tools
Installation
Installation
Via Smithery
npx -y @smithery/cli install mcp-server-bigquery --client claudeClaude Desktop
Add to your Claude Desktop config:
{
"mcpServers": {
"bigquery": {
"command": "uvx",
"args": ["mcp-server-bigquery"],
"env": {
"BIGQUERY_PROJECT": "{{GCP_PROJECT_ID}}",
"BIGQUERY_LOCATION": "{{GCP_LOCATION}}"
}
}
}
}Command Line
claude mcp add bigquery --scope user --transport stdio -- uvx mcp-server-bigquery --project {PROJECT_ID} --location {LOCATION}FAQ
- What authentication methods does the server support?
- The server supports service account key files via the --key-file argument or BIGQUERY_KEY_FILE environment variable. If not provided, it uses default GCP credentials.
- Can I limit the server to specific datasets?
- Yes, you can use the --dataset argument or BIGQUERY_DATASETS environment variable to specify which datasets to include. Multiple datasets can be specified by repeating the argument or using comma-separated values.
Compare mcp-server-bigquery with
Last updated · Auto-generated from public README + GitHub signals.