MCP Server Bigquery logo

MCP Server Bigquery

by LucasHild

Inspect BigQuery schemas and run BigQuery SQL through MCP.

Install MCP Server Bigquery

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "lucashild-mcp-server-bigquery": {
      "command": "uvx",
      "args": [
        "mcp-server-bigquery"
      ],
      "env": {
        "BIGQUERY_PROJECT": "YOUR_VALUE_HERE",
        "BIGQUERY_LOCATION": "YOUR_VALUE_HERE",
        "BIGQUERY_DATASETS": "YOUR_VALUE_HERE",
        "BIGQUERY_KEY_FILE": "YOUR_VALUE_HERE",
        "BIGQUERY_TIMEOUT": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx mcp-server-bigquery

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 24d ago.

Overview

LucasHild/mcp-server-bigquery MCP server connects MCP clients to Google BigQuery for schema inspection and SQL execution. It exposes tools to run BigQuery-dialect queries, list available tables, and describe individual table schemas. Configure it with a GCP project and location, optionally restricting discovery to selected datasets. Use it when an agent needs to explore or query BigQuery data through an MCP client.

Use cases

  • Run BigQuery SQL queries from an MCP client
  • List tables in a configured BigQuery project
  • Inspect table schemas before writing queries
  • Limit database discovery to selected datasets

Key features

  • Execute BigQuery-dialect SQL
  • List BigQuery tables
  • Describe table schemas
  • Filter by datasets
  • Configure query timeouts
  • Use default or service-account credentials

Tools3

What MCP Server Bigquery lets your agent do. Expand a tool for its parameters.

Self-reported~41 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

9/9 checks healthy over the last 44d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · mcp-server-bigquery (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars131Stargazers on the source repository.
Last commit7mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed3Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Server Bigquery works

What LucasHild/mcp-server-bigquery does

LucasHild/mcp-server-bigquery MCP server gives an MCP client access to a BigQuery project. It supports database discovery and query execution through three tools:

  • execute-query runs SQL using the BigQuery dialect.
  • list-tables returns the tables available in the configured BigQuery database.
  • describe-table returns the schema for a specified table.

These capabilities support workflows where an agent must first discover available tables, inspect columns, and then formulate a query. The server belongs in the 🗄️ Databases category and is intended for BigQuery projects rather than general-purpose SQL databases.

How it works

The server runs as an MCP process and communicates with clients using the configuration patterns shown for Claude Desktop, Claude Code, and Cursor. The client starts the process with uvx mcp-server-bigquery, passing configuration through command-line arguments or environment variables.

A project ID and GCP location are required. Dataset selection is optional: without a dataset filter, the server considers all datasets in the project. You can limit the scope to particular datasets by repeating the --dataset argument or by supplying a comma-separated BIGQUERY_DATASETS value.

Queries can wait without a time limit when no timeout is configured. Setting a timeout adds a maximum number of seconds for a query to complete. Authentication can use a service-account key file, or the default credentials when no key-file path is supplied.

Setup and configuration

LucasHild/mcp-server-bigquery can be configured with command-line flags or environment variables. The required settings are:

  • BIGQUERY_PROJECT: the GCP project ID.
  • BIGQUERY_LOCATION: the BigQuery location, such as europe-west9.

Optional settings include BIGQUERY_DATASETS, BIGQUERY_KEY_FILE, and BIGQUERY_TIMEOUT. The key-file variable points to a service-account key file. The timeout variable sets the maximum query wait in seconds.

For Claude Desktop, add a bigquery entry to the client configuration and provide the project and location through env. Claude Code can add the server with the stdio transport and the corresponding project and location arguments. Cursor adds the same uvx command and environment-based configuration through its MCP settings. Smithery also provides an installation command for Claude Desktop.

Tools and capabilities

The tool set is focused on read-oriented discovery and SQL execution:

  • Run BigQuery SQL with execute-query.
  • Enumerate project tables with list-tables.
  • Inspect a table schema with describe-table.
  • Restrict table discovery to configured datasets.
  • Set a query timeout or rely on indefinite waiting when no timeout is provided.

Limitations and notes

LucasHild/mcp-server-bigquery only documents BigQuery access and BigQuery SQL dialect support. The provided configuration requires a GCP project and location, while dataset filtering is optional. The material does not specify write-operation behavior, result limits, pagination, or support for database systems other than BigQuery.

The server examples show uvx-based stdio setup. Credentials must be available either through the default credential mechanism or through the configured service-account key-file path. Keep the dataset setting in mind when an agent needs to inspect tables outside the selected datasets.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Server Bigquery

LucasHild/mcp-server-bigquery is an MCP server that connects MCP clients to Google BigQuery. Its main tools execute BigQuery-dialect SQL, list tables in the configured project, and describe individual table schemas. It requires a GCP project and location, with optional dataset filtering, credentials, and query timeout settings.

Install it by running it with `uvx mcp-server-bigquery` and configuring the required project and location. Claude Code can add it with `claude mcp add` using the stdio transport; Claude Desktop and Cursor use an MCP configuration entry. Smithery provides an automated Claude Desktop installation command.

Yes, LucasHild/mcp-server-bigquery works with Cursor through Cursor Settings → MCP. Add a global MCP server using the `uvx` command and set `BIGQUERY_PROJECT` and `BIGQUERY_LOCATION` in its environment configuration.

Set `BIGQUERY_DATASETS` to a comma-separated list of dataset names, or repeat the `--dataset` command-line argument for each dataset. If no dataset filter is supplied, all datasets in the configured project are considered.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Server Bigquery AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/lucashild-mcp-server-bigquery?style=directory)](https://allmcps.com/mcp/lucashild-mcp-server-bigquery)
HTML Embed
<a href="https://allmcps.com/mcp/lucashild-mcp-server-bigquery"><img src="https://allmcps.com/api/badge/lucashild-mcp-server-bigquery?style=directory" alt="MCP Server Bigquery on AllMCPs" /></a>