MCP Catalogs
Home

mcp-server-bigquery

by LucasHild·126·Score 47

An MCP server enabling LLMs to inspect BigQuery schemas and execute SQL queries.

databasedeveloper-toolsai-llm
36
Forks
11
Open issues
2 mo ago
Last commit
2d ago
Indexed

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:

you:AI-powered data analysis by letting LLMs directly query BigQuery datasets
you:Automated report generation based on real-time data from BigQuery
you:Data discovery and schema exploration for data science workflows
you:What authentication methods does the server support?
you:Can I limit the server to specific datasets?

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 README
  • execute-query

    Executes a SQL query using BigQuery dialect

  • list-tables

    Lists all tables in the BigQuery database

  • describe-table

    Describes the schema of a specific table

Comparable tools

supabase-mcpsnowflake-mcppostgres-mcpbigquery-shell

Installation

Installation

Via Smithery

npx -y @smithery/cli install mcp-server-bigquery --client claude

Claude 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.