Local Snowflake MCP Server
Enables natural-language SQL interaction with Snowflake databases, allowing users to query tables, retrieve data, execute SQL commands, and manage database objects through conversational prompts.
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., "@Local Snowflake MCP Servershow me the top 5 customers by total sales this month"
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.
Local-Snowflake-MCP-Server
A local Model Context Protocol (MCP) server that enables Claude Desktop to interact with a Snowflake database through natural-language SQL. Built in Python, this project demonstrates how modern LLMs can integrate with enterprise data systems using secure, local tooling.
π Badges
Related MCP server: SQLite MCP Server
Overview
This repository contains:
A Python MCP server (
snowflake_mcp_server.py)Instructions/Code in README for the claude_desktop_config.json file
Screenshots and documentation showing the MCP server running locally
Instructions for connecting Claude β MCP Server β Snowflake securely
This project demonstrates how to use MCP to build custom AI-powered database tooling.
Repository Structure
snowflake-mcp-server/
β
βββ server/
β βββ snowflake_mcp_server.py
β βββ requirements.txt
β
βββ docs/
β βββ screenshots/
β
βββ README.mdGetting Started
1. Clone the Repository
git clone https://github.com/your-username/snowflake-mcp-server.git
cd snowflake-mcp-serverInstall Dependencies
pip install -r server/requirements.txtSet Up Environment Variables
SNOWFLAKE_USER=your_user
SNOWFLAKE_PASSWORD=your_password
SNOWFLAKE_ACCOUNT=your_account
SNOWFLAKE_WAREHOUSE=your_wh
SNOWFLAKE_DATABASE=your_db
SNOWFLAKE_SCHEMA=your_schemaRun the MCP Server
python server/snowflake_mcp_server.py
Expected output:
MCP Snowflake Server started...
Listening for Claude Desktop connectionsβ¦Configure Claude Desktop JSON
{
"mcpServers": {
"snowflake": {
"command": "your_env_path",
"args": [
"your_server_path.py"
],
"env": {
"SF_ACCOUNT": "account_name",
"SF_USER": "username",
"SF_PASSWORD": "password",
"SF_WH": "warehouse_name",
"SF_DB": "database_name",
"SF_SCHEMA": "schema_name"
},
"autoStart": true
}
}
}
Restart Claude. The tool should appear automatically.Example Claude Prompts βRun a query to list the tables in my schema.β
βShow the top 10 rows from MY_TABLE.β
βExplain what this SQL query does and suggest optimizations.β
βCreate a table called DEMO_TEST with sample values.β
π§± Architecture
Claude Desktop
β
βΌ
Local MCP Server (Python)
β
βΌ
Snowflake DatabaseSecurity Notes (Important!) This repo does not include:
β Snowflake credentials β Hardcoded passwords β Personal account identifiers
This server cannot be deployed
Maintenance
Related MCP Connectors
Query your warehouse or a CSV with Claude/ChatGPT over MCP, governed by table-level ACL + audit.
Query BigQuery, Snowflake, Redshift & Azure Synapse with natural language
Query 40 databases from Claude, ChatGPT, or Cursor β on any device. Read-only, encrypted, audited.
Remote data science agents for Snowflake, Databricks & BigQuery in Claude/Cursor via MCP
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Claude to interact with Snowflake data warehouses through natural language for executing SQL queries, exploring schemas, and monitoring data freshness. It streamlines data analysis workflows by bringing Snowflake capabilities directly into the AI conversation.MIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language interaction with local SQLite databases through Claude Desktop, translating plain English queries into SQL for data analysis and exploration.3MIT
- AlicenseNot gradedqualityDmaintenanceEnables read-only querying of Snowflake databases through Claude, supporting multiple authentication methods and SQL operations like SELECT, SHOW, DESCRIBE.14MIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language querying and management of Snowflake databases, including SQL execution, schema exploration, and warehouse monitoring.MIT