list_tablesLABSCO SUMMARY
Tables arrive as resources, not just as something a tool call has to discover.
Pointing --dataset at a dataset registers a resource per table plus its schema, so a client can browse what exists before it writes any SQL. If you would rather the model not wander, both discovery tools have off switches and query stays registered on its own.
What it is
An MCP server for Google BigQuery. It exposes tables and their schemas as resources and runs SQL against your project, so an agent can explore a dataset and then query it.
What you get
- query(sql) — execute BigQuery SQL and return the results
- list_tables and get_schema, both taking an optional table argument
- Resources: bigquery://tables, and bigquery://tables/{table}/schema for one table
- --dataset registers resources for every table in a dataset; --table scopes to named tables
- Both discovery tools can be switched off, leaving only query registered
- Stdio, sse or streamable-http transports, with --port defaulting to 8000
Requirements
A Google Cloud project with BigQuery enabled and permission to submit jobs, plus the gcloud CLI and uv. Authenticate once with gcloud auth application-default login, then run uvx sl-bigquery-mcp with --dataset and --project. Version 0.1.9.
Setup effort
One command plus credentials — uvx sl-bigquery-mcp, then supply credentials
USE CASES
Asking a question of a dataset in plain language
The model reads the schema, writes the SQL and returns the answer.
Seeing what tables exist first
List them and read one table's schema before committing to a query.
Keeping an agent inside one dataset
Scope it with --dataset or --table so nothing else is registered.
Trying it before wiring it to production data
Point it at a BigQuery public dataset and ask a real question.
3 tools
Listed in project docs. Your client may show a different list.
get_schemaqueryBEFORE YOU INSTALL
What to know first
Tools you get
3 tools named in the project's documentation.
Requires
uvx on PATH
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
Server setup
uvx sl-bigquery-mcpMCP Clients
Claude Desktop
{
"mcpServers": {
"bigquery": {
"command": "uvx",
"args": [
"sl-bigquery-mcp",
"--dataset",
"bigquery-public-data.usa_names",
"--project",
"🚨 <YOUR_PROJECT_NAME> 🚨"
]
}
}
}