Snowflake
FreeNot checkedA Model Context Protocol server that connects to Snowflake databases and executes SQL queries. It provides tools to list databases, schemas, tables, describe ta
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
Clone the repository:
git clone <repository-url> cd mcp-snowflakeCheck your uv version:
uv --versionIf your uv version is outdated, update uv:
uv self updateCheck whether uv has a Python 3.14 interpreter installed:
uv python find 3.14If no matching Python version is found, install it through uv:
uv python install 3.14Install 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
Install Snowflake in Claude Desktop, Claude Code & Cursor
unyly install mcp-snowflakeInstalls 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-snowflakeFAQ
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
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashPostgres
Query your database in natural language
by AnthropicPostgreSQL
Read-only database access with schema inspection.
by modelcontextprotocolCompare Snowflake with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs
