Warehouse MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 71 installs a week from npm. Last commit 19 Jun 2026.
Production MCP server for Postgres, Oracle, Snowflake, BigQuery, Redshift, DuckDB, MotherDuck.
Today is the operative word: we check Warehouse MCP every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add warehouse-mcp -e 'WAREHOUSE_TYPE=<WAREHOUSE_TYPE>' -- npx -y warehouse-mcp
{
"mcpServers": {
"warehouse-mcp": {
"command": "npx",
"args": [
"-y",
"warehouse-mcp"
],
"env": {
"WAREHOUSE_TYPE": "<WAREHOUSE_TYPE>"
}
}
}
}
[mcp_servers.warehouse-mcp]
command = "npx"
args = ["-y", "warehouse-mcp"]
env = { WAREHOUSE_TYPE = "<WAREHOUSE_TYPE>" }
{
"mcpServers": {
"warehouse-mcp": {
"command": "npx",
"args": [
"-y",
"warehouse-mcp"
],
"env": {
"WAREHOUSE_TYPE": "<WAREHOUSE_TYPE>"
}
}
}
}
{
"servers": {
"warehouse-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"warehouse-mcp"
],
"env": {
"WAREHOUSE_TYPE": "<WAREHOUSE_TYPE>"
}
}
}
}
Put your own value in place of
<WAREHOUSE_TYPE> (Which warehouse to connect to. One of: postgres, oracle, redshift, snowflake, bigquery, duckdb. (DuckDB also handles MotherDuck via DUCKDB_PATH=md:<db>.)).
The author’s registry entry marks it as required.
Optional settings from the registry entry, left out of the block above:
MCP_TRANSPORT (Set to 'stdio' for desktop AI clients (Claude Desktop, Cursor). Defaults to 'http'), MCP_API_KEYS (Comma-separated bearer keys with role and optional warehouse-role impersonation: 'key1:reader,key2:admin', 'key3:reader:set_role=alice'. Leave empty for stdio (OS process boundary is the trust boundary). Required for HTTP), DUCKDB_PATH (DuckDB file path, ':memory:', or 'md:<database>' for MotherDuck. Required when WAREHOUSE_TYPE=duckdb), MOTHERDUCK_TOKEN (MotherDuck service token. Required when DUCKDB_PATH starts with 'md:'), PG_HOST (Postgres host. Required when WAREHOUSE_TYPE=postgres. (Use REDSHIFT_HOST for Redshift.)), PG_DATABASE (Postgres database name), PG_USER (Postgres user), PG_PASSWORD (Postgres password), ORACLE_USER (Oracle user. Required when WAREHOUSE_TYPE=oracle), ORACLE_PASSWORD (Oracle password), ORACLE_CONNECT_STRING (Oracle Easy Connect (e.g. host:1521/SERVICE), TNS descriptor, or alias), SNOWFLAKE_ACCOUNT (Snowflake account identifier (e.g. xy12345.us-east-1). Required when WAREHOUSE_TYPE=snowflake), SNOWFLAKE_USER (Snowflake username), SNOWFLAKE_PRIVATE_KEY_PATH (Path to PKCS8 private key (.p8). Snowflake auth is key-pair only; password auth is not supported), BIGQUERY_PROJECT (GCP project id. Required when WAREHOUSE_TYPE=bigquery), GOOGLE_APPLICATION_CREDENTIALS (Path to BigQuery service-account JSON. Omit on GKE / Cloud Run with workload identity), GUARDRAIL_PII_MASK (Set to 'on' to enable role-aware PII masking on result rows (emails, SSNs, phones, IPs, Luhn-validated CCs). Off by default), MCP_RATE_LIMIT_RPM (Per-principal token-bucket rate limit on tool invocations. 0 = disabled. Recommend 60 for production).
Extract database metadata from PostgreSQL, Snowflake, SQL Server, BigQuery, and Oracle.
Query Postgres, MySQL, SQL Server, Oracle, BigQuery, ClickHouse and Redshift from your AI client.
Production-grade PostgreSQL MCP server — 254 tools for query, tuning & ops, read-only by default.
SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.
MCP server for Postgres/MySQL/Redshift/SQL Server over SSH/SSM tunnels with secret providers.
Security-first MCP server for PostgreSQL, SQLite, MySQL, DuckDB with SQL injection prevention.
MCP server for querying PostgreSQL databases
MCP server for Databricks, BigQuery, PostgreSQL, MySQL, SQL Server, SQLite, MariaDB
Answers built from our own checks of this server.