Skip to main content
MCP server CX Codex

bigquery-mcp — Claude Code MCP server: setup

This MCP server lets AI agents inspect Google BigQuery schemas, list tables, and run SQL queries when direct data access is needed.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add bigquery-mcp -- uvx sl-bigquery-mcp
Open on GitHub

What bigquery-mcp does

bigquery-mcp connects an AI agent to Google BigQuery through MCP. It exposes resources for available tables and individual table schemas, while the query tool runs BigQuery SQL and returns the result. The list_tables and get_schema tools can be enabled as configuration options.

You need a Google Cloud Project with BigQuery enabled and permission to submit jobs, plus gcloud and uv. Authenticate the local environment with gcloud auth application-default login, then run the server through uvx sl-bigquery-mcp. Queries will fail without a project that can submit BigQuery jobs.

For Claude Code, add the server with claude mcp add bigquery-mcp -- uvx sl-bigquery-mcp. Codex and Gemini CLI have their own add commands; Cursor and GitHub Copilot use MCP configuration entries that start uvx.

What it helps with

  • list available BigQuery tables
  • inspect a table schema
  • run SQL against BigQuery data
  • answer data questions through an AI agent

Example prompts for the agent

  • List the tables available in the connected BigQuery dataset.
  • Inspect the schema of project.dataset.table and explain its fields.
  • Run a SQL query against the data and return the results with a short explanation.

How to install bigquery-mcp

Platform CLI

claude mcp add bigquery-mcp -- uvx sl-bigquery-mcp

uvx runs the command named after the package; if the README names another one, use uvx --from sl-bigquery-mcp <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about bigquery-mcp

How do I install bigquery-mcp in Claude Code?

Run claude mcp add bigquery-mcp -- uvx sl-bigquery-mcp.

What does bigquery-mcp do?

It connects an AI agent to Google BigQuery, exposes table and schema information, and executes SQL through the query tool.

What is required to run bigquery-mcp?

You need a Google Cloud Project with BigQuery enabled and job-submission permission, along with Google Cloud CLI and uv. Authenticate with gcloud auth application-default login first.

Similar MCP servers

All MCP servers for Data and databases →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor