개발공식
BigQuery
데이터셋을 조회하고 SQL을 실행합니다.
bigquery.googleapis.com · 제공사 Google · 인증 없음 · 구독자 0명
로그인 없이 읽은 도구 목록입니다. 서버가 밝힌 내용만 표시하며, 인증에 따라 도구가 달라질 수 있습니다.
제공사 문서로 확인한 공식 서버입니다. 근거 문서
이렇게 사용합니다
시작 순서
연결 전 확인 사항
필요한 정보
- Optional. The maximum number of results to return in a single response page. If unset, the default page size of 5000 is used.
list_dataset_ids: pageSizelist_table_ids: pageSize - Optional. Page token, returned by a previous call, to request the next page of results.
list_dataset_ids: pageTokenlist_table_ids: pageTokenget_query_results: pageToken - Required. Project ID of the dataset request.
list_dataset_ids: projectIdget_dataset_info: projectId - Required. Dataset ID of the dataset request.
get_dataset_info: datasetId - Required. Dataset ID of the table request.
list_table_ids: datasetIdget_table_info: datasetId - Required. Project ID of the table request.
list_table_ids: projectIdget_table_info: projectId - Required. Table ID of the table request.
get_table_info: tableId - Optional. If set to true, BigQuery doesn't run the job. Instead, if the query is valid, BigQuery returns statistics about the job such as how many bytes would…
execute_sql_readonly: dryRunexecute_sql: dryRun - Optional. Optional: Job timeout in milliseconds. If this time limit is exceeded, BigQuery will attempt to stop the query job.
execute_sql_readonly: jobTimeoutMsexecute_sql: jobTimeoutMs - Optional. The labels associated with this query. Labels can be used to organize and group query jobs. Label keys and values can be no longer than 63 characters…
execute_sql_readonly: labelsexecute_sql: labels - Required. Project that will be used for query execution and billing.
execute_sql_readonly: projectIdexecute_sql: projectId - Required. The query to execute in the form of a GoogleSQL query.
execute_sql_readonly: queryexecute_sql: query - Optional. Optional: Specifies the maximum amount of time, in milliseconds, that the client is willing to wait for the query to complete. By default, this limit…
execute_sql_readonly: timeoutMsexecute_sql: timeoutMs - Required. Job ID of the query job.
get_query_results: jobId - Required. The geographic location of the job.
get_query_results: locationcancel_job: locationget_job: location - Optional. Maximum number of results to read. Defaults to 3,000.
get_query_results: maxResults - Required. Project ID of the query job.
get_query_results: projectId - Optional. Zero-based index of the starting row.
get_query_results: startIndex - Optional. Specifies the maximum amount of time, in milliseconds, that the client is willing to wait for the query to complete.
get_query_results: timeoutMs - Required. Job ID of the job to cancel.
cancel_job: jobId - Required. Project ID of the job to cancel.
cancel_job: projectId - Required. Job ID of the requested job.
get_job: jobId - Required. Project ID of the requested job.
get_job: projectId
제공 기능
- List BigQuery dataset IDs and BigLake namespaces in a Google Cloud project.
Supports pagination. Use `pageSize` to limit results and `pageToken` to retrieve next page.
list_dataset_ids - Get metadata information about a BigQuery dataset or BigLake namespace.
get_dataset_info - List table ids in a BigQuery dataset or BigLake namespace.
Supports pagination. Use `pageSize` to limit results and `pageToken` to retrieve next page.
list_table_ids - Get metadata information about a BigQuery table or BigLake table.
get_table_info - Run a read-only SQL query in the project and return the result. Prefer this tool over
`execute_sql` if possible.
This tool is restricted to only `SELECT` statements. `INSERT`, `UPDATE`, and `DELETE`
statements and stored procedures aren't…
execute_sql_readonly - Run a SQL query in the project and return the result. Prefer the `execute_sql_readonly`
tool if possible.
This tool can execute any query that bigquery supports including:
* SQL Queries (`SELECT`, `INSERT`, `UPDATE`, `DELETE`, `CREATE`,… 변경 가능
execute_sql - Get the results of a BigQuery SQL query job.
Use this tool ONLY when:
1. A previous `execute_sql` or `execute_sql_readonly` call returned `jobComplete: false` with a `jobId`
(poll with this tool until `jobComplete: true`), OR
2. You ne…
get_query_results - Cancel a running BigQuery job.
Use this tool to cancel a query job that is currently executing (i.e. returned `jobComplete: false`
with a `jobId` from `execute_sql` or `execute_sql_readonly`). Specify the `jobId` to abort.
변경 가능
cancel_job - Get information and status about a BigQuery job.
Use this tool to check the status, statistics, or configuration of a job using its `jobId`.
get_job
연결 안내
전송 방식 Streamable HTTP
ChatGPT
ChatGPT 웹 설정의 앱 메뉴에서 고급 설정의 개발자 모드를 켜고, 앱을 새로 만들어 이름과 아래 주소를 입력합니다. 인증은 없음을 선택합니다. 요금제와 워크스페이스 설정에 따라 메뉴가 보이지 않을 수 있습니다.
https://bigquery.googleapis.com/mcp
Claude 앱
Customize > Connectors에서 + Add, Add custom connector를 선택합니다. 이름과 아래 주소를 입력하고, Authentication에서 No sign in을 선택합니다. 채팅 입력창의 + > Connectors에서 켜야 사용됩니다.
https://bigquery.googleapis.com/mcp
Claude Code
터미널에서 아래 명령을 실행합니다. claude mcp list에서 Connected로 보이면 완료입니다.
claude mcp add --transport http --scope user google-bigquery https://bigquery.googleapis.com/mcp
VS Code의 Claude Code 확장
채팅 패널에 /mcp를 입력하고 서버를 추가해 아래 주소를 입력합니다. 새 대화를 시작한 뒤 /mcp에서 Connected인지 확인합니다.
https://bigquery.googleapis.com/mcp
Cursor
~/.cursor/mcp.json의 mcpServers에 아래 내용을 추가하고 Cursor를 다시 시작합니다.
{
"mcpServers": {
"google-bigquery": { "url": "https://bigquery.googleapis.com/mcp" }
}
}
Codex
~/.codex/config.toml에 아래 내용을 추가하고 다시 시작합니다. 입력창의 /mcp에서 확인합니다.
[mcp_servers.google-bigquery] url = "https://bigquery.googleapis.com/mcp"
최근 30일 상태
응답률 100% · 평균 응답 시간 866ms · 마지막 확인 2026-11-13 정상
정상로그인 필요응답 없음기록 없음
응답 시간
하루 한 번 서버 주소에 접속해 확인합니다. 로그인이 필요한 서버는 로그인 요청으로 응답하면 정상으로 봅니다.
도구 9
list_dataset_ids읽기List BigQuery dataset IDs and BigLake namespaces in a Google Cloud project. Supports pagination. Use `pageSize` to limit results and `pageToken` to retrieve next page.
get_dataset_info읽기Get metadata information about a BigQuery dataset or BigLake namespace.
list_table_ids읽기List table ids in a BigQuery dataset or BigLake namespace. Supports pagination. Use `pageSize` to limit results and `pageToken` to retrieve next page.
get_table_info읽기Get metadata information about a BigQuery table or BigLake table.
execute_sql_readonly읽기Run a read-only SQL query in the project and return the result. Prefer this tool over `execute_sql` if possible. This tool is restricted to only `SELECT` statements. `INSERT`, `UPDATE`, and `DELETE` statements and stored procedures aren't allowed. If the query doesn't include a `SELECT` statement, an error is returned. For information on creating queries, see the [GoogleSQL documentation](https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax). IMPORTANT: For predictive and analytical tasks (forecasting, anomaly detection, key driver / root cause analysis, classification, churn prediction, or text generation), ALWAYS execute computation in-warehouse using BigQuery native AI/ML functions (`AI.FORECAST`, `AI.DETECT_ANOMALIES`, `AI.KEY_DRIVERS`, `AI.CLASSIFY`, `AI.GENERATE`) rather than exporting raw rows to a local Python sandbox. In-warehouse execution scales to billions of rows, preserves governance, and eliminates data egress latency. Example Queries: ```sql -- Count the number of penguins in each island. SELECT island, COUNT(*) AS population FROM bigquery-public-data.ml_datasets.penguins GROUP BY island -- Forecast data using AI.FORECAST SELECT * FROM AI.FORECAST(TABLE `project.dataset.my_table`, data_col => 'num_trips', timestamp_col => 'date', id_cols => ['usertype'], horizon => 30) -- Detect anomalies in time series data using AI.DETECT_ANOMALIES SELECT * FROM AI.DETECT_ANOMALIES( TABLE `project.dataset.historical_metrics`, TABLE `project.dataset.recent_metrics`, data_col => 'num_requests', timestamp_col => 'timestamp' ) -- Identify key drivers of metric changes using AI.KEY_DRIVERS SELECT * FROM AI.KEY_DRIVERS( TABLE `project.dataset.sales_summary`, metric_col => 'total_revenue', dimension_cols => ['region', 'product_category'], interest_label_col => 'is_current_quarter' ) -- Classify text into categories using AI.CLASSIFY SELECT ticket_id, AI.CLASSIFY(ticket_text, ['Billing', 'Technical Support', 'Feature Request']) AS category FROM `project.dataset.support_tickets` -- Generate text or summaries using AI.GENERATE SELECT review_id, AI.GENERATE(CONCAT('Summarize this customer review: ', review_text)).result AS summary FROM `project.dataset.reviews` ``` Queries executed using the `execute_sql_readonly` tool will always have the job label `goog-mcp-server: true` automatically set in addition to any custom `labels` provided in the request. Queries are charged to the project specified in the `projectId` field. Query Execution Behavior: * If the query completes within the synchronous timeout (default 20 seconds or custom `timeoutMs`), the tool returns `jobComplete: true` and the initial result rows directly. For fast queries, `jobId` may be omitted as no persistent background job is created; no polling is needed. * If the query takes longer than `timeoutMs`, the tool returns `jobComplete: false` and a `jobId` and `location`. In this case, use the `get_query_results` tool with `jobId` and `location` to poll until `jobComplete: true`, or use `cancel_job` to abort the running query. * The tool returns at most 3,000 rows, and `totalRows` gives the full count. If the response has a `pageToken`, more rows are available: to read the next page, call the `get_query_results` tool with the returned `jobId`, `location`, and `pageToken`. * You can optionally specify `timeoutMs` to configure the maximum synchronous wait time in milliseconds (defaults to 20,000 ms), and `jobTimeoutMs` to enforce a hard server-side timeout after which BigQuery automatically terminates the job.
execute_sql변경Run a SQL query in the project and return the result. Prefer the `execute_sql_readonly` tool if possible. This tool can execute any query that bigquery supports including: * SQL Queries (`SELECT`, `INSERT`, `UPDATE`, `DELETE`, `CREATE`, etc.) * AI/ML functions like `AI.FORECAST`, `AI.KEY_DRIVERS`, `ML.EVALUATE`, `ML.PREDICT` * Any other query that bigquery supports. Example Queries: ```sql -- Insert data into a table. INSERT INTO `my_project.my_dataset`.my_table (name, age) VALUES ('Alice', 30); -- Create a table. CREATE TABLE `my_project.my_dataset`.my_table ( name STRING, age INT64); -- DELETE data from a table. DELETE FROM `my_project.my_dataset`.my_table WHERE name = 'Alice'; -- Create Dataset CREATE SCHEMA `my_project.my_dataset` OPTIONS (location = 'US'); -- Drop table DROP TABLE `my_project.my_dataset`.my_table; -- Drop dataset DROP SCHEMA `my_project.my_dataset`; -- Create Model CREATE OR REPLACE MODEL `my_project.my_dataset.my_model` OPTIONS ( model_type = 'LINEAR_REG' LS_INIT_LEARN_RATE=0.15, L1_REG=1, MAX_ITERATIONS=5, DATA_SPLIT_METHOD='SEQ', DATA_SPLIT_EVAL_FRACTION=0.3, DATA_SPLIT_COL='timestamp') AS SELECT col1, col2, timestamp, label FROM `my_project.my_dataset.my_table`; ``` Queries executed using the `execute_sql` tool will always have the default job label `goog-mcp-server: true` automatically set in addition to any custom `labels` provided in the request. Queries are charged to the project specified in the `projectId` field. Query Execution Behavior: * If the query completes within the synchronous timeout (default 20 seconds or custom `timeoutMs`), the tool returns `jobComplete: true` and the initial result rows directly. For fast queries, `jobId` may be omitted as no persistent background job is created; no polling is needed. * If the query takes longer than `timeoutMs`, the tool returns `jobComplete: false` and a `jobId` and `location`. In this case, use the `get_query_results` tool with `jobId` and `location` to poll until `jobComplete: true`, or use `cancel_job` to abort the running query. * The tool returns at most 3,000 rows, and `totalRows` gives the full count. If the response has a `pageToken`, more rows are available: to read the next page, call the `get_query_results` tool with the returned `jobId`, `location`, and `pageToken`. * You can optionally specify `timeoutMs` to configure the maximum synchronous wait time in milliseconds (defaults to 20,000 ms), and `jobTimeoutMs` to enforce a hard server-side timeout after which BigQuery automatically terminates the job.
get_query_results읽기Get the results of a BigQuery SQL query job. Use this tool ONLY when: 1. A previous `execute_sql` or `execute_sql_readonly` call returned `jobComplete: false` with a `jobId` (poll with this tool until `jobComplete: true`), OR 2. You need to paginate through additional rows using `pageToken` or `startIndex` for a previously completed job. Do NOT call this tool if the query already returned `jobComplete: true` with all rows (no `pageToken`). Supports pagination. Use `maxResults` to limit results (3,000 by default) and `pageToken` to retrieve the next page of results. A response has a `pageToken` only when more rows are available.
cancel_job변경Cancel a running BigQuery job. Use this tool to cancel a query job that is currently executing (i.e. returned `jobComplete: false` with a `jobId` from `execute_sql` or `execute_sql_readonly`). Specify the `jobId` to abort.
get_job읽기Get information and status about a BigQuery job. Use this tool to check the status, statistics, or configuration of a job using its `jobId`.