Snowflake MCP Server — Hosted for Any AI Agent
MCP Server language Hosted language PublicRun SQL queries, list databases, schemas, tables, and inspect column definitions on Snowflake — AI-native cloud data warehouse access.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"snowflake": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-snowflake",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the _ping tool to verify snowflake connectivity by running select current_version(). used internally by aerostack to validate credentials”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
The Snowflake MCP server lets AI agents query your Snowflake data warehouse — running SQL, exploring schemas, and analyzing results. Hosted on Aerostack as a single URL usable from any MCP agent, it turns natural-language questions into warehouse queries so assistants can pull metrics and answer data questions without a BI tool.
description Overview
mcp-snowflake — Snowflake Data Warehouse MCP Server
Run SQL queries, list databases, schemas, tables, and inspect column definitions on Snowflake — AI-native cloud data warehouse access.
Give your AI agents full access to Snowflake. Execute SQL with CTEs, window functions, semi-structured data, and time travel. Browse databases, schemas, and tables, inspect column definitions, and manage virtual warehouses.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-snowflake
What You Can Do
- Run standard SQL queries with full Snowflake syntax
- List all databases, schemas, and tables
- Inspect table column definitions with types, nullable, defaults, and comments
- Browse virtual warehouses with size, state, and auto-suspend settings
- Auto-limit queries to prevent accidental full-table scans
Available Tools
| Tool | Description |
|---|---|
_ping |
Verify Snowflake connectivity and version |
list_databases |
List all databases with owner and retention days |
list_schemas |
List schemas in a database |
list_tables |
List tables in a schema with row count, size, and cluster keys |
describe_table |
Get column definitions — name, type, nullable, default, comment |
query |
Execute SQL and return results (auto-adds LIMIT if missing) |
list_warehouses |
List virtual warehouses with size, state, auto-suspend |
Configuration
| Variable | Required | Description | How to Get |
|---|---|---|---|
SNOWFLAKE_ACCOUNT |
Yes | Snowflake account identifier (e.g. "xy12345.us-east-1") | app.snowflake.com → Admin → Accounts → your account locator |
SNOWFLAKE_USERNAME |
Yes | Login username | Your Snowflake username (or create a service user) |
SNOWFLAKE_PASSWORD |
Yes | Login password | Your Snowflake password |
SNOWFLAKE_WAREHOUSE |
No | Virtual warehouse name (default: COMPUTE_WH) | SHOW WAREHOUSES in Snowflake |
SNOWFLAKE_DATABASE |
No | Default database for queries | SHOW DATABASES in Snowflake |
Best practice: Create a dedicated service user with a role scoped to read-only access on specific databases.
Quick Start
Add to Aerostack Workspace
- Go to aerostack.dev → Your Project → MCPs
- Search for "Snowflake" and click Add to Workspace
- Add
SNOWFLAKE_ACCOUNT,SNOWFLAKE_USERNAME,SNOWFLAKE_PASSWORD, and optionallySNOWFLAKE_WAREHOUSEandSNOWFLAKE_DATABASEunder Project → Secrets
Example Prompts
"List all databases in my Snowflake account"
"Show me the tables in the ANALYTICS schema of the PROD database"
"Describe the columns of the EVENTS table"
"Run: SELECT DATE_TRUNC('day', created_at) as day, COUNT(*) FROM events GROUP BY 1 ORDER BY 1 DESC LIMIT 30"
"What warehouses are running right now?"
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-snowflake \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-SNOWFLAKE-ACCOUNT: xy12345.us-east-1' \
-H 'X-Mcp-Secret-SNOWFLAKE-USERNAME: myuser' \
-H 'X-Mcp-Secret-SNOWFLAKE-PASSWORD: mypassword' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_databases","arguments":{}}}'
Security Notes
- Snowflake credentials are injected at the Aerostack gateway layer — never stored in the worker
- Query results are limited to 10,000 rows maximum per call
- LIMIT is auto-appended if not present in the SQL to prevent runaway queries
- Create a dedicated read-only role and service user for production use
License
MIT
terminal Tools (7)
Available tools on this MCP server. Each tool can be called directly from any AI agent.
_ping #1 Verify Snowflake connectivity by running SELECT CURRENT_VERSION(). Used internally by Aerostack to validate credentials.
list_databases #2 List all databases in the Snowflake account with name, owner, creation time, and retention days
list_schemas #3 List all schemas in a Snowflake database with name, owner, and creation time
list_tables #4 List all tables in a schema with name, type (TABLE, VIEW, MATERIALIZED VIEW), row count, bytes, and clustering keys
describe_table #5 Get the full column definitions of a table — column names, data types, nullable, default values, and comments
query #6 Execute a SQL query on Snowflake and return results. Supports full Snowflake SQL with CTEs, window functions, semi-structured data, and time travel.
list_warehouses #7 List all Snowflake virtual warehouses with name, size, state (STARTED, SUSPENDED), and auto-suspend settings
Details
language Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-snowflake
Sub-50ms globally · Zero cold start
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
More in API Connectors
Browse API Connectors MCPs →Aerostack Registry
by @aerostack
Discover and invoke any MCP, Function, or Skill published to the Aerostack marketplace — the universal AI capability hub.
Algolia
by @aerostack
Search indexes, manage records, browse data, and configure ranking in Algolia — AI-native instant search access.
Arangodb
by @aerostack
Query documents, run AQL, traverse graphs, and manage collections in your ArangoDB database — AI-native multi-model database access.
Ayrshare
by @aerostack
Post, schedule, and analyze social media across 13 platforms — Facebook, Instagram, X, LinkedIn, TikTok, Bluesky, Threads, Reddit, Pinterest, YouTube, Telegram, Snapchat, Google Business.
Basecamp
by @aerostack
Manage projects, to-dos, messages, schedules, and campfire chats in Basecamp — AI-native project management.
Bigquery
by @aerostack
Run SQL queries, list datasets and tables, inspect schemas, and export results from Google BigQuery — AI-native data warehouse access.
Frequently asked questions
What is the Snowflake MCP server and what can it do? +
The Snowflake MCP server is hosted on Aerostack and exposes these tools to your AI agent: `_ping`, `list_databases`, `list_schemas`, `list_tables`, `describe_table`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.
Is the Snowflake MCP server hosted, or do I have to run it myself? +
It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.
Which AI agents and editors can use the Snowflake MCP server? +
Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Snowflake MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.
How do I install the Snowflake MCP server in Claude Desktop? +
Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-snowflake": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-snowflake"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.
How do I use the Snowflake MCP server in Cursor? +
In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-snowflake", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-snowflake"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.
Does Snowflake MCP require authentication? +
Yes. Snowflake requires authentication. Check the MCP's documentation for the required credentials.