Snowflake
БесплатноНе проверенA Model Context Protocol server that connects to Snowflake databases and executes SQL queries. It provides tools to list databases, schemas, tables, describe ta
Описание
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
Установить Snowflake в Claude Desktop, Claude Code, Cursor
unyly install mcp-snowflakeСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add mcp-snowflake -- uvx mcp-snowflakeFAQ
Snowflake MCP бесплатный?
Да, Snowflake MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Snowflake?
Нет, Snowflake работает без API-ключей и переменных окружения.
Snowflake — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Snowflake в Claude Desktop, Claude Code или Cursor?
Открой Snowflake на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
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
автор: 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
автор: madhurprashPostgres
Query your database in natural language
автор: AnthropicPostgreSQL
Read-only database access with schema inspection.
автор: modelcontextprotocolCompare Snowflake with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории data
