Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Bewertungen und Benutzerkonten folgen in einem späteren Schritt.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

Warehouse MCP

von kalehdooVersion 0.4.2i★ –iLäuft auf deinem Computer
Name in der Registryio.github.kalehdoo/warehouse-mcp

Installieren

Überblick

Beschreibung vom Entwickler (englisches Original)

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

Die drei Säulen von PopNx MCP

Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft auf deinem Computer
  • Transport: stdio
  • Kategorie: Datenbanken & Datensätze
  • Das musst du eintragen: WAREHOUSE_TYPE, MCP_API_KEYS, MOTHERDUCK_TOKEN, PG_PASSWORD, ORACLE_PASSWORD

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

Bevor du installierst

  • Basischecks: 1 von 1 bestanden
  • Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
  • Das trägst du selbst ein: MCP_TRANSPORT, WAREHOUSE_TYPE, MCP_API_KEYS, DUCKDB_PATH, MOTHERDUCK_TOKEN, PG_HOST, PG_DATABASE, PG_USER, PG_PASSWORD, ORACLE_USER, ORACLE_PASSWORD, ORACLE_CONNECT_STRING, SNOWFLAKE_ACCOUNT, SNOWFLAKE_USER, SNOWFLAKE_PRIVATE_KEY_PATH, BIGQUERY_PROJECT, GOOGLE_APPLICATION_CREDENTIALS, GUARDRAIL_PII_MASK, MCP_RATE_LIMIT_RPM

Als geheim markierte Werte sind Schlüssel zu deinem Konto. Gib sie nie weiter und füge sie nie in einen Chat ein.

Du brauchst

  • npmNode.js installiert (für den Befehl npx)

Welche App nutzt du?

Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.

Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein

{
  "mcpServers": {
    "warehouse": {
      "command": "npx",
      "args": [
        "-y",
        "warehouse-mcp"
      ],
      "env": {
        "MCP_TRANSPORT": "your-value",
        "WAREHOUSE_TYPE": "your-value",
        "MCP_API_KEYS": "your-value",
        "DUCKDB_PATH": "your-value",
        "MOTHERDUCK_TOKEN": "your-value",
        "PG_HOST": "your-value",
        "PG_DATABASE": "your-value",
        "PG_USER": "your-value",
        "PG_PASSWORD": "your-value",
        "ORACLE_USER": "your-value",
        "ORACLE_PASSWORD": "your-value",
        "ORACLE_CONNECT_STRING": "your-value",
        "SNOWFLAKE_ACCOUNT": "your-value",
        "SNOWFLAKE_USER": "your-value",
        "SNOWFLAKE_PRIVATE_KEY_PATH": "your-value",
        "BIGQUERY_PROJECT": "your-value",
        "GOOGLE_APPLICATION_CREDENTIALS": "your-value",
        "GUARDRAIL_PII_MASK": "your-value",
        "MCP_RATE_LIMIT_RPM": "your-value"
      }
    }
  }
}

Führe das in deinem Terminal aus

claude mcp add warehouse --env MCP_TRANSPORT=your-value --env WAREHOUSE_TYPE=your-value --env MCP_API_KEYS=your-value --env DUCKDB_PATH=your-value --env MOTHERDUCK_TOKEN=your-value --env PG_HOST=your-value --env PG_DATABASE=your-value --env PG_USER=your-value --env PG_PASSWORD=your-value --env ORACLE_USER=your-value --env ORACLE_PASSWORD=your-value --env ORACLE_CONNECT_STRING=your-value --env SNOWFLAKE_ACCOUNT=your-value --env SNOWFLAKE_USER=your-value --env SNOWFLAKE_PRIVATE_KEY_PATH=your-value --env BIGQUERY_PROJECT=your-value --env GOOGLE_APPLICATION_CREDENTIALS=your-value --env GUARDRAIL_PII_MASK=your-value --env MCP_RATE_LIMIT_RPM=your-value -- npx -y warehouse-mcp

Trag die leeren Werte ein, bevor du ihn startest.

In Cursor öffnen

Oder kopier die Einstellungen selbst

In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen

{
  "mcpServers": {
    "warehouse": {
      "command": "npx",
      "args": [
        "-y",
        "warehouse-mcp"
      ],
      "env": {
        "MCP_TRANSPORT": "your-value",
        "WAREHOUSE_TYPE": "your-value",
        "MCP_API_KEYS": "your-value",
        "DUCKDB_PATH": "your-value",
        "MOTHERDUCK_TOKEN": "your-value",
        "PG_HOST": "your-value",
        "PG_DATABASE": "your-value",
        "PG_USER": "your-value",
        "PG_PASSWORD": "your-value",
        "ORACLE_USER": "your-value",
        "ORACLE_PASSWORD": "your-value",
        "ORACLE_CONNECT_STRING": "your-value",
        "SNOWFLAKE_ACCOUNT": "your-value",
        "SNOWFLAKE_USER": "your-value",
        "SNOWFLAKE_PRIVATE_KEY_PATH": "your-value",
        "BIGQUERY_PROJECT": "your-value",
        "GOOGLE_APPLICATION_CREDENTIALS": "your-value",
        "GUARDRAIL_PII_MASK": "your-value",
        "MCP_RATE_LIMIT_RPM": "your-value"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

In VS Code öffnen

Oder kopier die Einstellungen selbst

In .vscode/mcp.json in deinem Projekt einfügen

{
  "servers": {
    "warehouse": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "warehouse-mcp"
      ],
      "env": {
        "MCP_TRANSPORT": "your-value",
        "WAREHOUSE_TYPE": "your-value",
        "MCP_API_KEYS": "your-value",
        "DUCKDB_PATH": "your-value",
        "MOTHERDUCK_TOKEN": "your-value",
        "PG_HOST": "your-value",
        "PG_DATABASE": "your-value",
        "PG_USER": "your-value",
        "PG_PASSWORD": "your-value",
        "ORACLE_USER": "your-value",
        "ORACLE_PASSWORD": "your-value",
        "ORACLE_CONNECT_STRING": "your-value",
        "SNOWFLAKE_ACCOUNT": "your-value",
        "SNOWFLAKE_USER": "your-value",
        "SNOWFLAKE_PRIVATE_KEY_PATH": "your-value",
        "BIGQUERY_PROJECT": "your-value",
        "GOOGLE_APPLICATION_CREDENTIALS": "your-value",
        "GUARDRAIL_PII_MASK": "your-value",
        "MCP_RATE_LIMIT_RPM": "your-value"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.

Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.

Werte, die du selbst einträgst

  • MCP_TRANSPORT env
    Set to 'stdio' for desktop AI clients (Claude Desktop, Cursor). Defaults to 'http'.
  • WAREHOUSE_TYPE erforderlich env
    Which warehouse to connect to. One of: postgres, oracle, redshift, snowflake, bigquery, duckdb. (DuckDB also handles MotherDuck via DUCKDB_PATH=md: .)
  • MCP_API_KEYS geheim env
    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 bounda…
  • DUCKDB_PATH env
    DuckDB file path, ':memory:', or 'md: ' for MotherDuck. Required when WAREHOUSE_TYPE=duckdb.
  • MOTHERDUCK_TOKEN geheim env
    MotherDuck service token. Required when DUCKDB_PATH starts with 'md:'.
  • PG_HOST env
    Postgres host. Required when WAREHOUSE_TYPE=postgres. (Use REDSHIFT_HOST for Redshift.)
  • PG_DATABASE env
    Postgres database name.
  • PG_USER env
    Postgres user.
  • PG_PASSWORD geheim env
    Postgres password.
  • ORACLE_USER env
    Oracle user. Required when WAREHOUSE_TYPE=oracle.
  • ORACLE_PASSWORD geheim env
    Oracle password.
  • ORACLE_CONNECT_STRING env
    Oracle Easy Connect (e.g. host:1521/SERVICE), TNS descriptor, or alias.
  • SNOWFLAKE_ACCOUNT env
    Snowflake account identifier (e.g. xy12345.us-east-1). Required when WAREHOUSE_TYPE=snowflake.
  • SNOWFLAKE_USER env
    Snowflake username.
  • SNOWFLAKE_PRIVATE_KEY_PATH env
    Path to PKCS8 private key (.p8). Snowflake auth is key-pair only; password auth is not supported.
  • BIGQUERY_PROJECT env
    GCP project id. Required when WAREHOUSE_TYPE=bigquery.
  • GOOGLE_APPLICATION_CREDENTIALS env
    Path to BigQuery service-account JSON. Omit on GKE / Cloud Run with workload identity.
  • GUARDRAIL_PII_MASK env
    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 env
    Per-principal token-bucket rate limit on tool invocations. 0 = disabled. Recommend 60 for production.

Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.

Was er kann

Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.

Basischecksi

Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 7. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto kalehdoo bestätigt, dem das Repo gehört

  • … Noch nicht geprüft

    Wird noch gepflegt

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • – Nicht zutreffend

    Endpunkt antwortet

    Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet

  • – Nicht zutreffend

    Anmeldung mit OAuth

    Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen

Im Vergleich mit anderen in Datenbanken & Datensätzei

  • Mehr Sterne als 0 % der anderen 955 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 11 % der anderen 955 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 955 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist Warehouse MCP sicher?

Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.

Welche Schlüssel oder Codes braucht er?

Das musst du eintragen: WAREHOUSE_TYPE, MCP_API_KEYS, MOTHERDUCK_TOKEN, PG_PASSWORD, ORACLE_PASSWORD

Läuft er auf meinem Computer oder in der Cloud?

Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (0.4.2) kam vor 6 Monaten in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Node.js auf deinem Computer.

Was kann ich stattdessen nutzen?

In derselben Kategorie: Supabase, MongoDB MCP Server, Elasticsearch MCP Server

Alternativen

Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.

So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti

Supabase

von supabase

MCP server for interacting with the Supabase platform

Computer oder Cloud★ 2.993Apache-2.0Aktualisiert gestern
Installieren

MongoDB MCP Server

von mongodb-js

MongoDB Model Context Protocol Server

Läuft auf deinem Computer★ 1.157Apache-2.0Aktualisiert vor 3 Tagen
Installieren

README vom Entwickler

README öffnen

Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.

warehouse-mcp

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.

Status: v0.4.x — production-ready for the v1 warehouse list. See CHANGELOG for what shipped in each release.

Demo Videos

Warehouse MCP in action using Cursor

Supported warehouses

WarehouseAdapter docs
Postgres 12+docs/adapters/postgres.md
Oracle 12c+ (Thin mode, no Instant Client)docs/adapters/oracle.md
Amazon Redshift (cluster + Serverless)docs/adapters/redshift.md
Snowflake (key-pair auth)docs/adapters/snowflake.md
Google BigQuerydocs/adapters/bigquery.md
DuckDB (local file or :memory:)docs/adapters/duckdb.md
MotherDuck (cloud-hosted DuckDB, md: paths)docs/adapters/duckdb.md

Databricks SQL is a fast-follow.

Tools exposed (16, all read-only)

ToolPurpose
queryExecute a SELECT (validator-enforced read-only, dialect-aware)
list_schemas, list_tables, describe_tableBrowse the catalog
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)
sample_table, count_rowsPeek at data, check size before scanning
column_stats, top_valuesProfile a single column
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

Roles (five tiers)

RoleTools allowed
semantic_onlyOnly the three semantic-lookup tools — zero warehouse access; pair with semantic=on for a docs-viewer persona
metadata_onlyCatalog discovery + semantic lookups — never reads row data
reader_restrictedAggregates / samples / time series — no arbitrary SELECT
readerAdds query and search_value (the general analyst tier)
adminEverything; future write tools when ENABLE_WRITE_TOOLS ships

Per-key role assigned via MCP_API_KEYS=key:role:set_role=warehouse_role. The optional set_role= directive issues SET ROLE on Postgres/Redshift so the warehouse's own RLS / CLS / masking policies enforce per-key access — no policy duplication in MCP. The optional semantic=on|off directive overrides SEMANTIC_DEFAULT for that one key, controlling whether the session sees the warehouse://semantic/* resources (see docs/semantic-metadata.md).

For deployments with multiple existing DB roles (finance, hr, payroll, etc.) and many human users, see docs/multi-role-deployment.md — walks through mapping ~10 DB roles to MCP keys, the recommended / _restricted pattern, and when to graduate from static keys to OIDC.

Sample mcp connection json(change based on your role):

{ "mcpServers": { "warehouse-admin-semanticon": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "http://localhost:3001/mcp", "--header", "Authorization: Bearer admin-key-change-me" ] }, "warehouse-admin-semanticoff": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "http://localhost:3001/mcp", "--header", "Authorization: Bearer admin-key-nosemantic" ] }, "warehouse-reader-semanticon": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "http://localhost:3001/mcp", "--header", "Authorization: Bearer reader-key-change-me" ] }, "warehouse-reader-semanticoff": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "http://localhost:3001/mcp", "--header", "Authorization: Bearer reader-key-nosemantic" ] }, "warehouse-reader-restricted-semanticon": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "http://localhost:3001/mcp", "--header", "Authorization: Bearer restricted-key-change-me" ] }, "warehouse-reader-restricted-semanticoff": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "http://localhost:3001/mcp", "--header", "Authorization: Bearer restricted-key-nosemantic" ] }, "warehouse-metadata-only-semanticon": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "http://localhost:3001/mcp", "--header", "Authorization: Bearer metadata-only-key-change-me" ] }, "warehouse-metadata-only-semanticoff": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "http://localhost:3001/mcp", "--header", "Authorization: Bearer metadata-only-key-nosemantic" ] }, "warehouse-docs-viewer-only": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "http://localhost:3001/mcp", "--header", "Authorization: Bearer docs_viewer_key_change_me" ] } } }

Quick start

Option A — Docker compose (5-minute demo with seeded Postgres)
git clone https://github.com/kalehdoo/warehouse-mcp.git

cd warehouse-mcp docker compose up

server on http://localhost:3001, seeded ecommerce data in Postgres

Option B — Docker against your own warehouse

The same image bundles every adapter; pick one with WAREHOUSE_TYPE plus the matching credentials. For credentials, prefer --env-file (or your secrets manager) over inline -e flags so passwords don't end up in shell history.

# Postgres (REDSHIFT_* env vars for Redshift; same driver under the hood)

docker run -d -p 3001:3001 \ -e WAREHOUSE_TYPE=postgres \ -e PG_HOST=db -e PG_DATABASE=analytics -e PG_USER=mcp_reader -e PG_PASSWORD=... \ -e MCP_API_KEYS="$(openssl rand -hex 24):reader" \ ghcr.io/kalehdoo/warehouse-mcp:latest

Oracle (Thin mode, no Instant Client)

docker run -d -p 3001:3001 \ -e WAREHOUSE_TYPE=oracle \ -e ORACLE_USER=MCP_READER -e ORACLE_PASSWORD=... \ -e ORACLE_CONNECT_STRING="db.host:1521/SERVICE" \ ghcr.io/kalehdoo/warehouse-mcp:latest

Snowflake (key-pair, mount the .p8)

docker run -d -p 3001:3001 \ -e WAREHOUSE_TYPE=snowflake \ -e SNOWFLAKE_ACCOUNT=xy12345.us-east-1 -e SNOWFLAKE_USER=MCP_READER \ -e SNOWFLAKE_PRIVATE_KEY_PATH=/keys/snowflake.p8 \ -e SNOWFLAKE_WAREHOUSE=COMPUTE_WH -e SNOWFLAKE_DATABASE=ANALYTICS \ -v /opt/keys:/keys:ro \ ghcr.io/kalehdoo/warehouse-mcp:latest

BigQuery (mount the service-account JSON)

docker run -d -p 3001:3001 \ -e WAREHOUSE_TYPE=bigquery \ -e GOOGLE_APPLICATION_CREDENTIALS=/keys/bq-sa.json \ -e BIGQUERY_PROJECT=my-gcp-project \ -v /opt/keys:/keys:ro \ ghcr.io/kalehdoo/warehouse-mcp:latest

DuckDB (file or in-memory)

docker run -d -p 3001:3001 \ -e WAREHOUSE_TYPE=duckdb -e DUCKDB_PATH=:memory: \ ghcr.io/kalehdoo/warehouse-mcp:latest

MotherDuck (hosted DuckDB)

docker run -d -p 3001:3001 \ -e WAREHOUSE_TYPE=duckdb -e DUCKDB_PATH=md:my_database \ -e MOTHERDUCK_TOKEN=... \ ghcr.io/kalehdoo/warehouse-mcp:latest

Option C — npx (no container)
npx warehouse-mcp@latest init     # interactive setup; writes .env, prints Claude Desktop snippet

npx warehouse-mcp doctor # verify the connection without booting the server npx warehouse-mcp start # bind the MCP server to MCP_SERVER_PORT (default 3001)

Then point an AI client at it. Drop-in configs:

For a step-by-step walkthrough from "I have a warehouse" to "Claude is querying it", see the onboarding guide. For common errors, see troubleshooting.

Local development

nvm use            # Node 20

npm install npm test # unit tests, sub-second npm run lint cp .env.example .env

For testcontainers integration tests against real Postgres: npm run test:integration (Docker required).

env setup

  1. MCP_API_KEYS
  2. WAREHOUSE_TYPE
  3. SEMANTIC_DIR

Optional: Semantic metadata (v0.4+)

Teach the AI agent what your warehouse means, not just what's in it. Drop YAML files describing your business glossary and table semantics into a directory, point SEMANTIC_DIR at it, and the agent gets two access channels into the same in-memory index:

  • MCP resources at warehouse://semantic/* — what tool-aware clients (Cursor, MCP Inspector) read proactively before issuing queries.
  • MCP tools glossary_lookup, schema_lookup, table_lookup — same data via the tool channel, for clients (Claude Desktop) whose UI is tool-centric and may suppress resource-only servers. Pure in-memory Map.gets — no warehouse I/O, no audit cost beyond a normal tool log line.

Format follows dbt's schema.yml v2 with one extension (meta.schema: per model). Customers using dbt can point SEMANTIC_DIR at their existing models/ directory and reuse most of what they have. See docs/semantic-metadata.md and the starter docs/semantic-templates/.

Per-session toggle

Whether a session sees the semantic layer is independent of whether the YAMLs are loaded — SEMANTIC_DIR controls loading; SEMANTIC_DEFAULT=on|off and the per-key semantic=on|off option (or include_semantic JWT claim) control per-session visibility. The YAMLs are always loaded and validated at boot so you can flip a kill-switch without restarting. Three precedence layers, high

Nur der Anfang wird gezeigt; den Rest findest du im Repo

PopNx fragen