Data Intelligence MCP Server
Allows interaction with Google BigQuery, providing tools for listing tables, fetching schemas, and generating and executing SQL queries.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Data Intelligence MCP ServerShow me the tables in the sales dataset and their schemas."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Data Intelligence
This project builds a BigQuery-powered data assistant that combines an MCP server with a Streamlit chat interface. The backend exposes BigQuery operations through MCP tools, while the frontend lets users ask questions in natural language and receive answers with the help of an agent.
What this project does
Exposes BigQuery tools from the MCP server in main.py
Lists tables and fetches table schemas
Generates and executes BigQuery queries
Provides a chat-based UI in app.py for interacting with your data
Related MCP server: BigQuery MCP Server
Project structure
main.py: Defines the FastMCP server and BigQuery tool wrappers
app.py: Streamlit UI that connects to the MCP server and runs the agent
pyproject.toml: Project dependencies and Python metadata
Prerequisites
Before running the project, make sure you have:
Python 3.13 or newer
A Google Cloud project with BigQuery access
A valid Google Cloud credential configuration for BigQuery
An Anthropic API key for the chat model used in the app
Setup
Create and activate a virtual environment.
Install the dependencies:
pip install -r requirements.txtor
uv sync
Create a
.envfile in the project root with the required environment variables:
ANTHROPIC_API_KEY=your_anthropic_api_key
GOOGLE_APPLICATION_CREDENTIALS=path/to/your/credentials.jsonUpdate the placeholder values in main.py for your BigQuery project and dataset.
Running the app
Start the MCP server first:
python main.pyIn a second terminal, start the Streamlit app:
streamlit run app.pyThe app expects the MCP server to be available at:
http://localhost:8000/mcpNotes
The current implementation in main.py uses placeholder values such as
project_idanddataset_name. Replace these with your actual BigQuery project and dataset before running the app.The UI is designed for natural language interaction with BigQuery data, but the underlying SQL execution depends on your configured BigQuery access and credentials.
This server cannot be deployed
Maintenance
Related MCP Connectors
The BigQuery remote MCP server is a fully managed service that uses the Model Context Protocol to connect AI applications and LLMs to BigQuery data sources. It provides secure, standardized tools for AI agents to list datasets and tables, retrieve schemas, generate and execute SQL queries through natural language, and analyze data—enabling direct access to enterprise analytics data without requiring manual SQL coding.
Query your warehouse or a CSV with Claude/ChatGPT over MCP, governed by table-level ACL + audit.
Query BigQuery, Snowflake, Redshift & Azure Synapse with natural language
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables natural language exploration and querying of Google BigQuery datasets through four tools: listing datasets, inspecting table schemas, generating SQL queries with LLM assistance, and executing approved queries.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables LLMs to explore BigQuery datasets and tables, run safe read-only queries, and optionally perform vector search using BigQuery embeddings.9MIT
- AlicenseBqualityCmaintenanceEnables AI agents to interact with Google BigQuery databases through natural language queries and schema exploration.310MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to query and analyze Google BigQuery data, including schema browsing, running queries, and comparing datasets through natural language.MIT