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 "Install 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yuly3/mcp-snowflake'
If you have feedback or need assistance with the MCP directory API, please join our Discord server