snowflake-mcp-server
by dynamike·★ 13·Score 36
An MCP server for secure read-only queries to Snowflake databases with multiple authentication methods.
Overview
This MCP server enables Claude to securely query Snowflake data without modifying information. It supports flexible authentication methods including service account with private key and external browser authentication. The server implements connection pooling with automatic background refresh and supports multiple SQL statement types (SELECT, SHOW, DESCRIBE, EXPLAIN, WITH) with security checks to prevent data modification. Tools are available for listing databases, describing views, executing queries, and retrieving data with proper row limits to prevent overwhelming result sets.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this when you need secure, read-only access to Snowflake databases through an MCP interface without modifying any data, especially when using Claude for data analysis.
When NOT to choose this
Avoid if you need write access to Snowflake databases or if you're not already using Snowflake as your data warehouse.
Tools this server exposes
5 tools extracted from the READMElist_databasesList all accessible Snowflake databases
list_viewsList all views in a specified database and schema
describe_viewGet detailed information about a specific view including columns and SQL definition
query_viewQuery data from a view with an optional row limit
execute_queryExecute custom read-only SQL queries with results formatted as markdown tables
Comparable tools
Installation
Installation
- Clone the repository:
git clone https://github.com/dynamike/snowflake-mcp-server.git
cd snowflake-mcp-server- Install the package:
uv pip install -e .- Create a
.envfile with your Snowflake credentials (copy from.env.private_key.exampleor.env.browser.example)
Claude Desktop Integration
"snowflake-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/<path-to-code>/snowflake-mcp-server",
"run",
"snowflake-mcp-stdio"
]
}FAQ
- What SQL operations are supported?
- The server supports SELECT, SHOW, DESCRIBE, EXPLAIN, and WITH statements with security checks to prevent data modification.
- What authentication methods are available?
- Two methods are supported: service account authentication with private key for non-interactive use, and external browser authentication for interactive login.
Compare snowflake-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.