Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Snowflake

FreeNot checked

A Model Context Protocol server that connects to Snowflake databases and executes SQL queries. It provides tools to list databases, schemas, tables, describe ta

GitHubEmbed

About

A Model Context Protocol server that connects to Snowflake databases and executes SQL queries. It provides tools to list databases, schemas, tables, describe tables, execute read-only queries, sample data, analyze table statistics, profile semi-structured columns, and search columns.

README

A Model Context Protocol (MCP) server that connects to Snowflake databases and executes SQL queries.

Features

  • list_databases - Retrieve a list of accessible databases
  • list_schemas - Retrieve a list of schemas from a specified database
  • list_tables - Retrieve a list of tables and views from a specified database and schema (supports filtering by name or object type)
  • describe_table - Retrieve detailed structure information for a specified table
  • execute_query - Execute read-only SQL queries and return results
  • sample_table_data - Retrieve sample data from a specified table using Snowflake's SAMPLE ROW clause
  • analyze_table_statistics - Generate comprehensive statistical analysis for table columns using approximation functions
  • profile_semi_structured_columns - Profile VARIANT/ARRAY/OBJECT columns with sampled flatten-based analysis
  • search_columns - Search for columns across tables by name pattern and/or data type

Installation

Prerequisites

  • Python 3.14 or higher
  • uv 0.11.28 or higher
  • Access to a Snowflake account

Setup

  1. Clone the repository:

    git clone <repository-url>
    cd mcp-snowflake
    
  2. Check your uv version:

    uv --version
    

    If your uv version is outdated, update uv:

    uv self update
    
  3. Check whether uv has a Python 3.14 interpreter installed:

    uv python find 3.14
    

    If no matching Python version is found, install it through uv:

    uv python install 3.14
    
  4. Install using uv:

    uv tool install -e .
    

Configuration

Copy the configuration file sample and edit it:

cp .mcp_snowflake.toml.example .mcp_snowflake.toml
[snowflake]
account = "your-account.region"
user = "your-username"
password = "your-password"
warehouse = "your-warehouse"
role = "your-role"
authenticator = "SNOWFLAKE"

Environment variables (SNOWFLAKE__ACCOUNT, SNOWFLAKE__USER, etc.) are also supported.

For full configuration reference including tool toggles, timeout tuning, secondary roles, and browser-based SSO, see docs/settings.md.

Usage

Start the MCP server:

uvx mcp-snowflake --config {your-config-path}

Troubleshooting

Connection Errors

  • Verify that configuration file or environment variables are correctly set
  • Check that Snowflake account and username are correct
  • If authenticator=SNOWFLAKE, verify password is set correctly
  • Verify network connectivity

Permission Errors

  • Ensure the specified user has permission to access the database
  • Set the ROLE if necessary

Development

See docs/development.md.

License

MIT License

from github.com/yuly3/mcp-snowflake

Install Snowflake in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install mcp-snowflake

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add mcp-snowflake -- uvx mcp-snowflake

FAQ

Is Snowflake MCP free?

Yes, Snowflake MCP is free — one-click install via Unyly at no cost.

Does Snowflake need an API key?

No, Snowflake runs without API keys or environment variables.

Is Snowflake hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Snowflake in Claude Desktop, Claude Code or Cursor?

Open Snowflake on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Snowflake with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All data MCPs