Governed read-only warehouse access for agents: SQL guard, row policies, PII pseudonyms, audit log.
MCPpedia last refreshed this data
io.github.tantn89/warehouse-mcp is an MCP server that governed read-only warehouse access for agents: SQL guard, row policies, PII pseudonyms, audit log. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 57/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"warehouse": {
"args": [
"warehouse-mcp",
"--demo"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Governed read-only warehouse access for agents: SQL guard, row policies, PII pseudonyms, audit log.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
uvx 'warehouse-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked warehouse-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in ecommerce
Which credit card earns the most at a merchant, from your cards or every card, and why.
Read-only MCP servers for Russian marketplaces: prices, stock, ratings, reviews, seller identity
Dutch construction facts with measured accuracy + NL coordination. Never holds third-party funds.
MCP server for EPLAN Electric P8: ~200 tools to drive EPLAN from Claude Code, Codex, Cursor or any MCP client (actions, scripts, live DataModel, exports). Includes the eplan-tools plugin marketplace.
MCP Security Weekly
Get CVE alerts and security updates for io.github.tantn89/warehouse-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Give AI agents your warehouse without giving them your warehouse.
An MCP server that lets Claude, Cursor or any MCP client query DuckDB, Postgres or BigQuery through a governed, read-only layer:
Every claim below is backed by a test or a measured run.
Write-up: An alias that walked past my SQL guard: red-teaming an MCP server for warehouse access
| What was checked | Result | Evidence |
|---|---|---|
| 104 bypass attempts (exfiltration, row-filter escapes, PII probes, file and system access, statement smuggling, resource abuse) | 0 leaks on DuckDB and on Postgres | tests/test_red_team.py, run in CI |
| Same 15 queries on three engines | Identical results on DuckDB, Postgres and BigQuery | parity tests, BigQuery run |
| Writes with the SQL guard bypassed | Refused by the engine itself: read-only transaction, then grants | test_postgres_parity.py |
| A careless agent query on a multi-terabyte table | Refused before billing: "would scan 4.65 GB, above the 1.00 GB cap" | BigQuery run |
| A Claude Haiku 5.5 agent answering over MCP, graded against SQL ground truth (26 cases, 3 trials each) | 78/78 correct, including 6 governance cases, at $0.0016 per question, p95 6.3 s. Gated by regressgate | evals/cases.jsonl |
The bundled demo serves about 100k live Wikipedia edits, captured by realtime-lakehouse, from a local DuckDB file. No keys are needed.
{
"mcpServers": {
"warehouse": { "command": "uvx", "args": ["warehouse-mcp", "--demo"] }
}
}
Put that in Claude Desktop's config, or run claude mcp add warehouse -- uvx warehouse-mcp --demo.
Then ask "Which wikis had the most bot activity, and how many distinct editors did each have?"
What the agent sees, taken from real tool calls on the demo:
warehouse_query_metrics(dataset="edits", metrics=["edits","editors","bot_share"], dimensions=["wiki"])
wiki edits editors bot_share
enwiktionary 41594 46 0.994
commonswiki 16053 224 0.849
enwiki 9576 1401 0.489
warehouse_run_sql("SELECT editor, count(*) AS edits FROM edits GROUP BY editor ORDER BY edits DESC")
pii_6b19c4a15ccf 41335 <- a pseudonym: counts and joins are exact, the name never leaves
pii_6a8d5fd6c44b 9638
warehouse_run_sql("SELECT * FROM edits; DROP TABLE edits")
Error: Send exactly one statement; multiple statements are not allowed.
warehouse_run_sql("SELECT pg_read_file('/etc/passwd') FROM edits")
Error: Function pg_read_file() is not allowed. Use standard SQL functions (...)
flowchart LR
A[Agent] -->|MCP: stdio, or HTTP + bearer key| T[4 read-only tools]
T --> R[Role<br/>from the key]
R --> G[SQL guard<br/>
... [View full README on GitHub](https://github.com/tantn89/warehouse-mcp#readme)