In short: Google's open-source MCP server for databases. Point an AI client at BigQuery to explore GA4 and ad data exports, run SQL, forecast and find key drivers.
What it does
MCP Toolbox for Databases is an open-source MCP server from Google. It connects an AI client to a database, and its prebuilt BigQuery tools are the part most useful to marketing teams. Many teams already send GA4 event exports and ad platform data to BigQuery, and Toolbox lets an AI client explore those tables and write the SQL for you.
A typical request: “In the GA4 export dataset, count purchases by session source and medium for last month, and compare with the month before.” The client looks up the table schemas, writes the query, runs it and explains the result. It can also forecast a metric or look for the segments that explain a drop.
Good uses for marketing teams
- Answering questions on raw GA4 export data that the GA4 interface cannot answer
- Joining ad spend tables with conversion data to compare channels
- Forecasting sessions, leads or spend for the next few weeks
- Finding which countries, devices or campaigns caused a change in conversion rate
- Getting a quick description of an unfamiliar dataset before you build a report
Things to know
- You need a Google Cloud project with billing and Application Default Credentials. Ask your data team for a read-only service account if you can.
- Every query costs money in BigQuery. Set BIGQUERY_MAXIMUM_BYTES_BILLED to cap the size of each query.
- Without the read-only setting, the execute_sql tool can change or delete data if your credentials allow it.
- The conversational analytics tool needs the Gemini for Google Cloud role and its own API setup.
- Toolbox can also run as a shared server with custom tools defined in a tools.yaml file. That setup is aimed at engineers.
What it can do
- List BigQuery datasets and tables and read their metadata and schemas
- Run SQL statements against your BigQuery project
- Forecast time series data, such as daily sessions or spend
- Run contribution analysis to find which segments drive a change in a metric
- Ask questions about specific tables through the conversational analytics tool
- Search the data catalog for tables and entries that match a query
- Block all writes with a read-only setting, or cap the bytes each query can scan
- Connect to other databases too, including PostgreSQL, MySQL, Snowflake and Cloud SQL
How to set it up
- Install Node.js so you can run the server with npx, or download the Toolbox binary from the releases page.
- Set up Application Default Credentials for a Google account or service account with the BigQuery User role, or BigQuery Data Viewer for read access.
- Add the server to your AI client with the configuration below, replacing the project ID. BIGQUERY_READONLY keeps the client from changing data.
- In VS Code, use a top-level servers key instead of mcpServers.
- Restart the client and ask it to list your BigQuery datasets to confirm it works.
Example client configuration from the publisher’s docs. Replace the placeholder values with your own.
{
"mcpServers": {
"bigquery": {
"command": "npx",
"args": ["-y", "@toolbox-sdk/server", "--prebuilt", "bigquery", "--stdio"],
"env": {
"BIGQUERY_PROJECT": "YOUR_PROJECT_ID",
"BIGQUERY_READONLY": "true"
}
}
}
}Works with
Based on the publisher’s documentation and the transport the server uses. Check the publisher’s docs for the latest list.
Questions about MCP Toolbox for Databases
How do I stop MCP Toolbox from changing my BigQuery data?
Set BIGQUERY_READONLY to true in the server's environment. That blocks writes across all BigQuery tools. You can also give the credentials a read-only role such as BigQuery Data Viewer.
Can I limit how much a single query costs?
Yes. Set BIGQUERY_MAXIMUM_BYTES_BILLED to a byte limit. Queries that would scan more fail before they run, so they cost nothing.
Was MCP Toolbox for Databases called something else before?
Yes. It started as Gen AI Toolbox for Databases, and the GitHub repository moved from genai-toolbox to mcp-toolbox.
Sources
We checked this listing against these pages on 29 November 2026.
- BigQuery prebuilt tools with MCP Toolbox
- MCP Toolbox for Databases on GitHub
- MCP Toolbox BigQuery integration
Spotted something out of date? Email listings@marketingmcphub.com.