A Model Context Protocol server that provides access to BigQuery. This server enables LLMs to inspect database schemas and execute queries. The server implements one tool: - execute-query: Executes a SQL query using BigQuery dialect - list-tables: Lists all tables in the BigQuery database - describe-table: Describes the schema of a specific table The server can be configured either with command li
Add this skill
npx mdskills install LucasHild/mcp-server-bigqueryProvides solid BigQuery access with clear tools and comprehensive configuration options
1# BigQuery MCP server23[](https://smithery.ai/server/mcp-server-bigquery)45A Model Context Protocol server that provides access to BigQuery. This server enables LLMs to inspect database schemas and execute queries.67## Components89### Tools1011The server implements one tool:1213- `execute-query`: Executes a SQL query using BigQuery dialect14- `list-tables`: Lists all tables in the BigQuery database15- `describe-table`: Describes the schema of a specific table1617## Configuration1819The server can be configured either with command line arguments or environment variables.2021| Argument | Environment Variable | Required | Description |22| ------------ | -------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |23| `--project` | `BIGQUERY_PROJECT` | Yes | The GCP project ID. |24| `--location` | `BIGQUERY_LOCATION` | Yes | The GCP location (e.g. `europe-west9`). |25| `--dataset` | `BIGQUERY_DATASETS` | No | Only take specific BigQuery datasets into consideration. Several datasets can be specified by repeating the argument (e.g. `--dataset my_dataset_1 --dataset my_dataset_2`) or by joining them with a comma in the environment variable (e.g. `BIGQUERY_DATASETS=my_dataset_1,my_dataset_2`). If not provided, all datasets in the project will be considered. |26| `--key-file` | `BIGQUERY_KEY_FILE` | No | Path to a service account key file for BigQuery. If not provided, the server will use the default credentials. |27| `--timeout` | `BIGQUERY_TIMEOUT` | No | Maximum time in seconds to wait for a query to complete. If not provided, queries will wait indefinitely. |2829## Installation3031### Installing via Smithery3233To install BigQuery Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/mcp-server-bigquery):3435```bash36npx -y @smithery/cli install mcp-server-bigquery --client claude37```3839### Claude Code4041```bash42claude mcp add bigquery --scope user --transport stdio -- uvx mcp-server-bigquery --project {PROJECT_ID} --location {{LOCATION}}43```4445### Claude Desktop4647On MacOS: `~/Library/Application\ Support/Claude/claude_desktop_config.json`48On Windows: `%APPDATA%/Claude/claude_desktop_config.json`4950```json51{52 "mcpServers": {53 "bigquery": {54 "command": "uvx",55 "args": ["mcp-server-bigquery"],56 "env": {57 "BIGQUERY_PROJECT": "{{GCP_PROJECT_ID}}",58 "BIGQUERY_LOCATION": "{{GCP_LOCATION}}"59 }60 }61 }62}63```6465## Cursor66671. Open Cursor Settings → MCP682. Click Add new global MCP server693. Add an entry for the BigQuery MCP, following the pattern below:7071```json72{73 "mcpServers": {74 "bigquery": {75 "command": "uvx",76 "args": ["mcp-server-bigquery"],77 "env": {78 "BIGQUERY_PROJECT": "{{GCP_PROJECT_ID}}",79 "BIGQUERY_LOCATION": "{{GCP_LOCATION}}"80 }81 }82 }83}84```85
Full transparency — inspect the skill content before installing.