# simple_snowflake_mcp

> simple_snowflake_mcp is an open-source MCP server for databases. MCP server giving AI clients read-only, guarded access to Snowflake databases and schemas. It is available on CLI, VS Code and Self-hosted.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, VS Code, Self-hosted
- **Repository:** https://github.com/yannbrrd/simple_snowflake_mcp
- **GitHub stars:** 8
- **License:** MIT
- **Categories:** [databases](https://ai-powered.com/categories/databases)
- **Listing updated:** 2026-12-01

## About

This server connects AI assistants to a Snowflake account through the Model Context Protocol, so a client can browse databases, schemas, tables and views, inspect column types, and run queries. Read-only enforcement is applied by the server on every SQL-executing tool, and results are capped by configurable row limits with an explicit notice when truncated.

Configuration lives in a YAML file that controls logging, query limits, statement timeouts, rate limiting and note storage, with environment variables taking precedence. Output can be returned as JSON, Markdown or CSV, and schema metadata can be exported as JSON, YAML or SQL.

It suits data teams and developers who want an assistant to explore warehouse structure or draft and run analytical queries, especially in environments where traffic must pass through a corporate proxy. Because the client is treated as untrusted, the README recommends pairing the server with a least-privilege Snowflake role.

## Features

- **Guarded read-only queries:** Statements are filtered so that only read operations run in the default mode, with comments stripped and multi-statement input rejected.
- **Schema browsing tools:** List databases, schemas, tables, views and warehouses with optional wildcard filters and detail levels.
- **Paged result sets:** Queries and view reads accept a limit and offset so large results can be fetched page by page.
- **Multiple output formats:** Results can be rendered as JSON, Markdown or CSV depending on the consumer.
- **Schema export:** Export the database, schema, table and column hierarchy as JSON, YAML or SQL, with optional capped row samples.
- **Session notes:** Store, update, list and retrieve named notes in server memory during a session.

## Good for

- Letting an AI assistant explore unfamiliar Snowflake databases and column definitions
- Drafting and running analytical SQL against a warehouse from a chat client
- Exporting schema documentation in YAML or SQL for review
- Giving analysts read-only query access through a controlled MCP connection
- Troubleshooting Snowflake connection problems with a guided prompt

## Tools

From the tool list in its README, going by the names, 1 of 15 tools deletes data and 3 change data. From the server's own tool labels and tool names; not verified by us.

- `execute-snowflake-sql` (name suggests: changes): Executes a SQL query on Snowflake and returns the result in JSON, markdown or CSV.
- `execute-query` (name suggests: changes): Executes a read-only SQL query with row limits, paging and selectable output format.
- `get-connection-info` (name suggests: reads): Returns current Snowflake connection information and server status.
- `list-snowflake-warehouses` (name suggests: reads): Lists available Snowflake data warehouses.
- `list-databases` (name suggests: reads): Lists accessible Snowflake databases with optional pattern filtering.
- `list-schemas` (name suggests: reads): Lists schemas in a database with optional pattern filtering.
- `list-tables` (name suggests: reads): Lists tables in a database and schema with optional pattern filtering.
- `list-views` (name suggests: reads): Lists views in a database and schema with optional pattern filtering.
- `describe-table` (name suggests: reads): Returns the columns and types of a table or view.
- `query-view` (name suggests: reads): Reads rows from a view or table with read-only protection and row limiting.
- `export-schema` (name suggests: reads): Exports schema metadata as JSON, YAML or SQL with optional data samples.
- `add-note` (name suggests: changes): Adds or updates a session note.
- `delete-note` (name suggests: deletes): Deletes a session note by name.
- `list-notes` (name suggests: reads): Lists session note names.
- `get-note` (name suggests: reads): Returns the content of a session note.

## FAQ

### Can the caller turn off read-only mode?

No. Read-only mode is set only by server configuration or the MCP_READ_ONLY environment variable, and there is no tool argument to change it.

### How are query results limited?

Reads without an explicit LIMIT are capped at a configurable default row count, and a truncation notice is included when the cap applies. A larger limit can be requested up to a configured maximum.

### How is the server installed?

It can be run with uvx, installed from source with uv, or started with Docker Compose. Snowflake credentials are supplied through environment variables.

### Which clients can use simple_snowflake_mcp?

It runs over stdio and is configured in Claude Desktop and VS Code, with the MCP Inspector available for debugging.

### Is simple_snowflake_mcp free?

Yes. simple_snowflake_mcp is open source, so you can use and self-host it for free.

### What are the best alternatives to simple_snowflake_mcp?

The closest alternatives to simple_snowflake_mcp are mcp-snowflake-server, Snowflake MCP Server, sql-query-mcp, postgres_mcp and sqlite-mcp-server.

## Where this comes from

- Description: written from the project's README.

## Alternatives

- [mcp-snowflake-server](https://ai-powered.com/mcp/mcp-snowflake-server): mcp-snowflake-server is an open-source MCP server for databases.
- [Snowflake MCP Server](https://ai-powered.com/mcp/snowflake-mcp-server): Snowflake MCP Server is an open-source MCP server for databases.
- [sql-query-mcp](https://ai-powered.com/mcp/sql-query-mcp): sql-query-mcp is an open-source MCP server for databases.
- [postgres_mcp](https://ai-powered.com/mcp/postgres-mcp-5): postgres_mcp is an open-source MCP server for databases.
- [sqlite-mcp-server](https://ai-powered.com/mcp/sqlite-mcp-server-2): sqlite-mcp-server is an open-source MCP server for databases.
- [SqlServerMcp](https://ai-powered.com/mcp/sqlservermcp): SqlServerMcp is an open-source MCP server for databases.
- [SQL Server MCP (Windows)](https://ai-powered.com/mcp/sql-server-mcp-windows): SQL Server MCP (Windows) is an open-source MCP server for databases.
- [Postgres MCP](https://ai-powered.com/mcp/postgres-mcp): Postgres MCP is an open-source MCP server for databases.

---
Source: https://ai-powered.com/mcp/simple-snowflake-mcp
