Skip to content
MCP server

mcp-server-bigquery

MCP server giving AI assistants schema inspection and SQL querying on Google BigQuery

Actively maintained

The repository was last updated 27 days ago and is published under MIT.

mcp-server-bigquery is an open-source MCP server for databases. It is available on CLI and API.

Pricing
Open source
Platforms
CLI, API
What it can do
Can change data (1 tool)
GitHub stars
129
Last commit

Similar MCP servers

About mcp-server-bigquery

Connects an AI client to a Google BigQuery project so a model can look at table structures and run queries against live data. Requests go out in BigQuery's SQL dialect, and results come back to the assistant for analysis.

Setup needs a GCP project ID and location. Access can be narrowed to specific datasets, authenticated with a service account key file or the default Google credentials, and bounded with a query timeout. It is launched with uvx and registered with clients such as Claude Code and Codex.

It suits data analysts and developers who want an assistant to explore BigQuery schemas and answer questions in natural language without leaving their editor or terminal.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 3 tools changes data.

From the server's own tool labels and tool names; not verified by us.

execute-queryName suggests: changes
Executes a SQL query using BigQuery dialect
list-tablesName suggests: reads
Lists all tables in the BigQuery database
describe-tableName suggests: reads
Describes the schema of a specific table

What it does

Table listing
Enumerates the tables available in the project or in the selected datasets.
Schema description
Shows the column structure of a given table so the model can write correct queries.
SQL execution
Runs BigQuery-dialect SQL statements and returns the results to the client.
Dataset filtering
Restricts the server to chosen datasets instead of exposing the whole project.
Flexible authentication
Accepts a service account key file or falls back to default Google Cloud credentials.
Query timeout
Optional limit on how long a query may run before the server stops waiting.

Good for

  • Asking an assistant questions about data stored in BigQuery in plain language
  • Letting a model inspect table schemas before drafting SQL
  • Exploring unfamiliar datasets from inside a coding assistant
  • Running ad hoc analytical queries without opening the BigQuery console

Pricing

Open source

Free and open source under the MIT license; BigQuery usage is billed by Google.

mcp-server-bigquery FAQ

Which tools does the server expose?

Three tools: execute-query runs a SQL query in BigQuery dialect, list-tables lists tables, and describe-table shows a table's schema.

How is authentication handled?

You can pass a service account key file with --key-file or the BIGQUERY_KEY_FILE variable. If omitted, the server uses default credentials.

Can I limit which datasets are visible?

Yes. Use --dataset one or more times, or set BIGQUERY_DATASETS as a comma-separated list. Without it, all datasets in the project are considered.

Which arguments are required?

The GCP project ID (--project) and the GCP location (--location) are required.

Is mcp-server-bigquery free?

Yes. mcp-server-bigquery is open source, so you can use and self-host it for free.

What are the best alternatives to mcp-server-bigquery?

The closest alternatives to mcp-server-bigquery are mcp-bigquery-server, Bigquery MCP, sql-query-mcp, mysql_mcp_server and postgres_mcp.

Where this comes from

  • Description: written from the project's README.

How AIPoweredBot checks servers