2 months ago
A Snowflake MCP server — SQL queries, schema exploration, and data insights for AI assistants
Overview
A Model Context Protocol (MCP) server / MCP server that connects AI assistants to Snowflake — enabling SQL queries, schema exploration, and data insights directly from your LLM client.
Highlights:
- Multiple authentication methods: password, key-pair, external browser, TOML connection files
- TOML multi-connection config — manage
production,staging, anddevelopmentenvironments in one file - Write-safety guard — write operations are disabled by default and must be explicitly enabled
- Exclusion patterns — filter out databases, schemas, or tables from discovery
--exclude-json-resultsflag — reduces LLM context window usage- Selective tool exclusion via
--exclude_tools - Prefetch mode — pre-load table schema as MCP resources
- Docker support
Server Config
{
"mcpServers": {
"snowflake": {
"command": "uvx",
"args": [
"--python=3.13",
"--from",
"mcp-snowflake-server-nsp",
"mcp_snowflake_server",
"--connections-file",
"/absolute/path/to/snowflake_connections.toml",
"--connection-name",
"myconn"
]
}
}
}