Warehouse MCP Server

Production MCP server for Postgres, Oracle, Snowflake, BigQuery, Redshift, DuckDB, MotherDuck.

Remote serverstreamable-http

What is the Warehouse MCP Server?

Production MCP server for Postgres, Oracle, Snowflake, BigQuery, Redshift, DuckDB, MotherDuck.

What you get

Production MCP (Model Context Protocol) server for your data warehouse. Read-only enforcement, five-tier role-based access, optional warehouse-role impersonation (for native RLS / CLS), JSONL audit log, optional output PII masking, optional semantic-metadata layer (glossary + table docs) with per-session toggle. Self-host the Docker image, install via npx, or wait for the upcoming managed cloud variant.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
queryExecute a SELECT (validator-enforced read-only, dialect-aware)
find_columnsSearch column names across the warehouse with a LIKE pattern
get_foreign_keysDiscover declared FK relationships for safe joins
get_view_definitionRead the SQL body of a view (where business logic lives)
time_seriesBucket by hour/day/week/month/quarter/year — dialect-correct everywhere
search_valueFind a literal across a table's text columns
glossary_lookupRead business-glossary terms from the semantic layer (in-memory, no warehouse I/O)
schema_lookupRead schema-level docs — purpose, owner, refresh, table list
table_lookupRead full semantic doc for one table — description + column metadata

How to install the Warehouse MCP Server

{
  "mcpServers": {
    "warehouse": {
      "command": "npx",
      "args": ["-y", "warehouse-mcp"],
      "env": {
        "SNOWFLAKE_PRIVATE_KEY_PATH": "your-value",
        "DUCKDB_PATH": "your-value",
        "MOTHERDUCK_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
SNOWFLAKE_PRIVATE_KEY_PATHCredential the server authenticates with.Yes
DUCKDB_PATHFilesystem location the server is allowed to use.Optional
MOTHERDUCK_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use Warehouse to query.”
  • “Use Warehouse to find columns.”
  • “Use Warehouse to get foreign keys.”

Frequently asked questions

Production MCP server for Postgres, Oracle, Snowflake, BigQuery, Redshift, DuckDB, MotherDuck. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.