MCP.so
ログイン

MCP Server for Snowflake

@dynamike

MCP Server for Snowflake について

MCP Server for connecting to Snowflake with read-only questions

基本情報

カテゴリ

データベース

ライセンス

MIT

ランタイム

python

トランスポート

stdio

公開者

dynamike

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

5

List all accessible Snowflake databases

List all views in a specified database and schema

Get detailed information about a specific view including columns and SQL definition

Query data from a view with an optional row limit

Execute custom read-only SQL queries (SELECT, SHOW, DESCRIBE, EXPLAIN, WITH) with results formatted as markdown tables

概要

What is MCP Server for Snowflake?

A Model Context Protocol (MCP) server enabling Claude to securely perform read-only queries against Snowflake databases. It supports flexible authentication via service account (private key) or external browser login, and includes connection pooling with automatic background refresh.

How to use MCP Server for Snowflake?

Install Python 3.12+ and the uv package manager. Clone the repository, install with uv pip install -e ., configure a .env file with Snowflake credentials, then run as a stdio-based MCP server with uv run snowflake-mcp. Connect to it from Claude Desktop via Settings → MCP Servers.

Key features of MCP Server for Snowflake

  • Read-only enforcement: SELECT, SHOW, DESCRIBE, EXPLAIN, WITH only
  • Private key or external browser authentication
  • Automatic connection pooling with configurable refresh interval
  • Input validation and automatic LIMIT clauses to prevent large results
  • Stdio transport for easy Claude Desktop integration

Use cases of MCP Server for Snowflake

  • List all accessible databases and schema objects
  • Describe view structure, columns, and SQL definitions
  • Query sample data from views with optional row limits
  • Execute custom read-only SQL and receive markdown table results
  • Compare data across different databases and views in a single session

FAQ from MCP Server for Snowflake

What authentication methods are supported?

Private key authentication for service accounts, or external browser authentication for interactive user login sessions.

What are the required dependencies?

Python 3.12+, the uv package manager, and a Snowflake account with either a configured service account or regular user account.

Can I modify data with this server?

No. The server strictly enforces read-only operations and blocks INSERT, UPDATE, DELETE, and other modification statements.

How can I adjust connection pool refresh timing?

Set the SNOWFLAKE_CONN_REFRESH_HOURS environment variable (default 8 hours) to control how often connections are refreshed.

コメント

「データベース」の他のコンテンツ