mcp-snowflake
Provides tools for exploring and querying Snowflake databases, including listing databases, schemas, tables, describing table structure, executing read-only SQL queries, sampling table data, analyzing table statistics, profiling semi-structured columns, and searching columns across tables.
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., "@mcp-snowflakelist tables in the sales schema"
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.
MCP Snowflake Server
A Model Context Protocol (MCP) server that connects to Snowflake databases and executes SQL queries.
Features
list_databases- Retrieve a list of accessible databaseslist_schemas- Retrieve a list of schemas from a specified databaselist_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 tableexecute_query- Execute read-only SQL queries and return resultssample_table_data- Retrieve sample data from a specified table using Snowflake's SAMPLE ROW clauseanalyze_table_statistics- Generate comprehensive statistical analysis for table columns using approximation functionsprofile_semi_structured_columns- Profile VARIANT/ARRAY/OBJECT columns with sampled flatten-based analysissearch_columns- Search for columns across tables by name pattern and/or data type
Related MCP server: Snowflake MCP Service
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 correctlyVerify 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
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.
Model Context Protocol server for Studex tools, notifications, and profile integrations
A Model Context Protocol server for Wix AI tools
Draxlr's remote MCP server connects AI assistants to your SQL databases and dashboards. Explore schemas, run read-only queries, manage saved queries and dashboards, and export results, all with row-level security so each user sees only their own data.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables Claude to execute SQL queries on Snowflake databases with automatic connection lifecycle management.45MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides access to Snowflake databases for any MCP-compatible client, allowing execution of SQL queries with automatic connection management.5MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables natural language interaction with Snowflake databases through AI guidance, supporting core database operations, warehouse management, and AI-powered data analysis features.132MIT
- AlicenseNot gradedqualityCmaintenanceEnables SQL queries and schema exploration on Snowflake databases via the Model Context Protocol.1GPL 3.0