MCP Bigquery Server
MCP server by ergut Verified · npm:@ergut
Lets AI assistants such as Claude run read-only SQL queries against Google BigQuery data through the Model Context Protocol. It is for users who want to ask questions in plain English, including teams that need field-level restrictions on sensitive data.
Install MCP Bigquery Server
Built from the published package, never by AI.
claude mcp add mcp-bigquery-server -- npx -y @ergut/mcp-bigquery-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-bigquery-server": {
"args": [
"-y",
"@ergut/mcp-bigquery-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-bigquery-server": {
"args": [
"-y",
"@ergut/mcp-bigquery-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-bigquery-server": {
"args": [
"-y",
"@ergut/mcp-bigquery-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-bigquery-server -- npx -y @ergut/mcp-bigquery-server{
"mcpServers": {
"mcp-bigquery-server": {
"args": [
"-y",
"@ergut/mcp-bigquery-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install MCP Bigquery Server in Antigravity CLI
gemini mcp add mcp-bigquery-server npx -y @ergut/mcp-bigquery-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-bigquery-server block.
About
MCP Bigquery Server lets AI assistants such as Claude query Google BigQuery data using plain English questions. It only allows SELECT statements. Each query is validated by BigQuery's dry-run planner before it runs, so statements such as INSERT, UPDATE, DELETE and MERGE are rejected. Tables and materialized views can be queried, and dataset schemas can be explored with tables and views labeled.
An optional config.json enables Protected Mode. Administrators can define preventedFields to block sensitive columns, and an auto-scanner can find columns matching sensitive patterns across datasets. Billing limits are set per query, with a 1GB default. The server suits personal projects with non-sensitive data, and teams handling PHI, PII or financial data that need field restrictions. It is published on npm under the MIT License.
Written from the project's README and checked against it.
Tools it gives your assistant
Run SQL queriesRuns SELECT queries against BigQuery when the user asks a question in plain English.Explore dataset schemasLists dataset schemas with tables and views clearly labeled by resource type.Query tables and materialized viewsAccesses both tables and materialized views in the user's datasets.Field-level restrictionsBlocks columns listed in preventedFields so the agent cannot surface them.Auto-discover sensitive fieldsScans datasets for columns matching sensitive patterns and adds them to the restricted list.
What you need
- Node.js 14 or higher
- A Google Cloud project with BigQuery enabled
- Google Cloud CLI or a service account key file
- An MCP-compatible client such as Claude Desktop or Claude Code
Try asking
- What were our top 10 customers last month?
- Show me the schema of the tables in my sales dataset.
- Summarize our billing transactions without exposing card numbers.
Good to know
- Read-only: only SELECT statements are allowed.
- Field restrictions are cooperative guardrails, not a hard SQL firewall against adversarial attackers.
- Some complex view types might have limitations.
- Without a config file the server uses a 1GB query limit and has no field restrictions.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to MCP Bigquery Server
All alternatives →Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.
ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.
Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.
MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.
Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.
MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.
Compare with Supabase, ArcadeDB MCP Server or DBHub
MCP Bigquery Server: common questions
Can this MCP server change or delete data in BigQuery?
No. The server allows only SELECT statements and rejects INSERT, UPDATE, DELETE, DROP, TRUNCATE, EXPORT DATA and MERGE.
How does it protect sensitive columns?
Administrators define preventedFields in config.json, and the server blocks queries that would surface those columns. An automated scanner can also discover sensitive columns across all datasets.
How are query costs limited?
Each query has a maximum bytes billed, set by maximumBytesBilled in config.json or the --maximum-bytes-billed flag. The default is 1GB.
How do I install MCP Bigquery Server?
In Claude Code run claude mcp add mcp-bigquery-server -- npx -y @ergut/mcp-bigquery-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCP Bigquery Server the official server?
MCP Bigquery Server is published by npm:@ergut from its verified domain in the official MCP Registry.
Is MCP Bigquery Server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is MCP Bigquery Server safe to use?
It scores 63 of 100. Grades: maintenance D, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to MCP Bigquery Server?
Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.
Does MCP Bigquery Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
