Snow Leopard BigQuery MCP logo

Snow Leopard BigQuery MCP

Organization
SnowLeopard-AI

A MCP server for Google's BigQuery database

PublisherSnowLeopard-AI
Repositorybigquery-mcp
LanguagePython
Forks
1
Stars
10
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Snow Leopard BigQuery MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    10 stars and 1 forks from the linked repository.

Test Coverage PyPI - Version Discord

A Model Context Protocol (MCP) server for Google BigQuery that enables AI agents to interact with BigQuery databases through natural language queries and schema exploration.

This project was developed by Snow Leopard AI as a benchmarking tool for our platform, and we're making it publicly available for the community to use and build upon.

What is MCP?

The Model Context Protocol (MCP) is an open standard that allows AI applications to securely connect to external data sources and tools. This BigQuery MCP server acts as a bridge between AI agents and your BigQuery datasets.

Snow Leopard BigQuery MCP Server Features

Resources

Resource URIDescription
bigquery://tablesList all tables available to the agent
bigquery://tables/{table}/schemaGet the schema of a specific table

Tools

ToolDescription
list_tables(table: str) (optional)List available tables
get_schema(table: str) (optional)Get the schema of a given table
query(sql: str)Execute BigQuery SQL and return results

Quick Start: Claude Desktop

Prerequisites

Before getting started, ensure you have:

1. Setup Google Cloud

First, we need to authenticate with Google.

bash
gcloud auth application-default login

This opens your browser to authenticate your local machine with Google Cloud.

2. Configure Claude Desktop

Edit your claude_desktop_config.json file to add the BigQuery MCP server.

Application: Claude > Settings > Developer > Edit Config
Mac: ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\\Claude\\claude_desktop_config.json

You will need to set your project to a Google Cloud project with permissions to submit bigquery jobs. If you do not have a project that you can run bigquery jobs on, create and test one by following Google's BigQuery Quickstart Guide Create a project and follow the instructions to query a public dataset.

json
{
  "mcpServers": {
    "bigquery": {
      "command": "uvx",
      "args": [
        "sl-bigquery-mcp", 
        "--dataset",
        "bigquery-public-data.usa_names",
        "--project",
        "🚨 <projectName> 🚨"
      ]
    }
  }
}

3. Close Claude Desktop and Launch it from the terminal

Depending on how you have installed uv, the uvx executable may not be in Claude Desktop's PATH if it is launched from the GUI. To be sure uvx is accessible from Claude Desktop, let's run it in the terminal.

bash
open -a claude

After saving the configuration, restart Claude Desktop. You should now be able to ask Claude questions about your BigQuery data!

Example Query

What are the top 10 most popular names in 2020?

Configuration Options

To see a complete list of parameters:

bash
uvx sl-bigquery-mcp --help
Usage: sl-bigquery-mcp [OPTIONS]

╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --mode                       [stdio|sse|streamable-http]  MCP transport protocol [default: stdio]                                                     │
│ --dataset                    TEXT                         Dataset(s) for mcp resources. Will create resources for all tables.                         │
│ --table                      TEXT                         Table(s) for mcp resources. Can be specified as project.dataset.table or dataset.table      │
│ --enable-list-tables-tool    --no-enable-list-tables-tool Registers list_resources tool [default: enable-list-tables-tool]                            │
│ --enable-schema-tool         --no-enable-schema-tool      Registers get_schema tool [default: enable-schema-tool]                                     │
│ --project                    TEXT                         BigQuery project [env var: BQ_PROJECT] [default: None]                                      │
│ --api-method                 [INSERT|QUERY]               BigQuery client api_method [default: QUERY]                                                 │
│ --port                       INTEGER                      [default: 8000]                                                                             │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Troubleshooting / FAQ

An MCP Error has occurred

First, check out your Claude Desktop app logs (in the same directory as the config file) for more verbose errors / logging

On Startup

This usually means Claude is having issues starting the mcp server. Frequently this is due to uvx being inaccessible from the application. In this case, use the full path to your uvx executable instead of just uvx in claude_desktop_config.json.

To find your uv executable, run

bash
which uvx

Otherwise, this may be caused by bad arguments, dependency version incompatibilities, or bugs. If you run into the last two, please file an issue describing the problem.

On Resource / Tool Usage

This may be a misconfiguration mcp server, authentication issues, the llm getting too much data, or of course, product bugs. After checking the logs, consider using the MCP Inspector to debug your issue. And of course, file any bugs you find on our issue board.

Local Development & Testing

Setup Development Environment

  1. Clone the repository
  2. Setup virtual environment and install dependencies
  3. Verify installation
bash
git clone https://github.com/SnowLeopard-AI/bigquery-mcp.git
cd bigquery-mcp

uv sync
source .venv/bin/activate

sl-bigquery-mcp --help

Authenticate with Google Cloud

The following command will launch a browser for you to login to your google cloud account. You must have a Google Cloud project with BigQuery enabled. If you don't, see Google's bigquery setup guide.

bash
gcloud auth application-default login
gcloud config set project <projectName>
gcloud auth application-default set-quota-project <projectName>

Running Tests

Run the tests to make sure your dev environment is properly configured.

bash
pytest tests

Note: the tests run actual BigQuery queries against public datasets and require authentication.

Local MCP Inspector

For hands-on testing and development, use the MCP Inspector tool:

bash
npx @modelcontextprotocol/inspector uv run sl-bigquery-mcp --dataset bigquery-public-data.usa_names

Contributing

We welcome contributions! Please coordinate with us on discord to ensure your changes can quicly make it into the repo. Communicating before coding always saves time.

For logistics of contributing to an open source project, see the first contributions repository.

Support

Issues: GitHub Issues
Documentation: BigQuery Documentation
MCP Protocol: Model Context Protocol
Contact: Discord Server

Installation

TypingMind
{
  "mcpServers": {
    "bigquery-mcp": {
      "command": "uvx",
      "args": [
        "sl-bigquery-mcp",
        "--dataset",
        "{{config.DATASET}}",
        "--project",
        "{{config.PROJECT}}"
      ],
      "env": {
        "DATASET": "<DATASET>",
        "PROJECT": "<PROJECT>"
      }
    }
  }
}

Use Snow Leopard BigQuery MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Snow Leopard BigQuery MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Snow Leopard BigQuery MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Snow Leopard BigQuery MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "bigquery-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Snow Leopard BigQuery MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Snow Leopard BigQuery MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Snow Leopard BigQuery MCP to help me with this task?
Snow Leopard BigQuery MCP
Sure. I read it.
Here is what I found using Snow Leopard BigQuery MCP.

Frequently asked questions

What is the Snow Leopard BigQuery MCP MCP server used for?

Snow Leopard BigQuery MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Snow Leopard BigQuery MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Snow Leopard BigQuery MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Snow Leopard BigQuery MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Snow Leopard BigQuery MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Snow Leopard BigQuery MCP MCP to TypingMind?

Snow Leopard BigQuery MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Snow Leopard BigQuery MCP MCP provide in TypingMind?

Snow Leopard BigQuery MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Snow Leopard BigQuery MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Snow Leopard BigQuery MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇