{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_3hmvaz99caf9","handle":"bq-mcp-server","url":"https://wellknown.network/agents/bq-mcp-server","links":{"self":"https://wellknown.network/agents/bq-mcp-server/record.json","html":"https://wellknown.network/agents/bq-mcp-server","markdown":"https://wellknown.network/agents/bq-mcp-server/record.md","api":"https://wellknown.network/api/v1/agents/bq-mcp-server","status":"https://wellknown.network/api/v1/agents/bq-mcp-server/status","claim":"https://wellknown.network/agents/bq-mcp-server/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/bq-mcp-server/claim.json","badge":"https://wellknown.network/agents/bq-mcp-server/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/bq-mcp-server/history","tools":"https://wellknown.network/api/v1/agents/bq-mcp-server/tools"},"ard":{"identifier":"urn:air::server:bq-mcp-server","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"bq_mcp_server","summary":"Python-based MCP (Model Context Protocol) server that retrieves dataset, table, and schema information from Google Cloud BigQuery","description":"# BigQuery MCP Server\n\n[![Python Version](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://www.python.org/)\n[![Framework](https://img.shields.io/badge/Framework-FastAPI-green.svg)](https://fastapi.tiangolo.com/)\n\nThis is a Python-based MCP (Model Context Protocol) server that retrieves dataset, table, and schema information from Google Cloud BigQuery, caches it locally, and serves it via MCP. Its primary purpose is to enable generative AI systems to quickly understand BigQuery's structure and execute queries securely.\n\n## Key Features\n\n- **Metadata Management**: Retrieves and caches information about BigQuery datasets, tables, and columns\n- **Keyword Search**: Supports keyword search of cached metadata\n- **Secure Query Execution**: Provides SQL execution capabilities with automatic LIMIT clause insertion and cost control\n- **File Export**: Execute queries and save results to local files in CSV or JSONL format\n- **MCP Compliance**: Offers tools via the Model Context Protocol\n\n## MCP Server Tools\n\nAvailable tools:\n\n1. `get_datasets` - Retrieves a list of all datasets\n2. `get_tables` - Retrieves all tables within a specified dataset (requires dataset_id, optionally accepts project_id)\n3. `search_metadata` - Searches metadata for datasets, tables, and columns\n4. `execute_query` - Safely executes BigQuery SQL queries with automatic LIMIT clause insertion and cost control\n5. `check_query_scan_amount` - Retrieves the scan amount for BigQuery SQL queries\n6. `save_query_result` - Executes BigQuery SQL queries and saves results to local files (CSV or JSONL format)\n\n### Tool Details\n\n#### `save_query_result`\n\nThe `save_query_result` tool provides advanced query execution with file export capabilities:\n\n**Parameters:**\n- `sql` (required): SQL query to execute\n- `output_path` (required): Local file path to save results\n- `format` (optional): Output format - `\"csv\"` (default) or `\"jsonl\"`\n- `project_id` (optional): Target GCP project ID\n- `include_header` (optional…","publisher":null,"homepage":"https://github.com/takada-at/bq_mcp_server","repository":"https://github.com/takada-at/bq_mcp_server","version":"0.2.2","license":"Copyright 2025 takada-at  Permission is hereby granted, free of…","protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:bq_mcp_server","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"infra.cloud","name":"Cloud Platforms","confidence":0.814,"provenance":"derived"},{"slug":"data.database","name":"Databases","confidence":0.733,"provenance":"derived"}],"categories":["data","infra"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"bq_mcp_server","registry":"pypi","observedAt":"2026-11-09T00:27:31.516Z","publishedAt":"2025-08-12T10:37:44.274329Z","latestVersion":"0.2.2"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"bq_mcp_server","url":"https://pypi.org/project/bq_mcp_server/","firstSeenAt":"2026-09-09T10:27:43.002Z","fetchedAt":"2026-11-09T00:26:28.238Z","normalizedAt":"2026-11-09T00:26:28.238Z"}]},"firstSeenAt":"2026-09-09T10:27:43.002Z","updatedAt":"2026-11-09T00:27:31.516Z"}