CO

Cost Guard MCP

Pre-flight query cost and result-size guardrails for AI agents on BigQuery, Snowflake, Databricks

Grade A Local · stdio No auth needed 4 tools v0.3.3 · 10 Oct 2026
No reviews yet by mcpsmithsPyPI 3,191 Runs on your machine, nothing hosted
93/100
trust score
14
downloads a day
local
runs on your machine
171
downloads in 30d

What it does

Cost Guard MCP gives AI agents pre-flight cost and result-size guardrails for data warehouses — before a query ever runs. An agent on a warehouse MCP can silently trigger a full-table scan that costs hundreds of dollars or return millions of rows that flood its own context; Cost Guard estimates the cost first and refuses to run anything over the bound you set. Every estimate discloses its accuracy tier — PRECISE (BigQuery dryRun), UPPER_BOUND (Snowflake EXPLAIN) or HEURISTIC (Databricks EXPLAIN COST). Four tools: check_credentials, describe_engine_capabilities, estimate_query_cost, run_query_bounded. A single local stdio process — no database, gateway or Docker.

Quickstart

# 1 — add it to Claude Code claude mcp add --scope user cost-guard-mcp '--' uvx cost-guard-mcp # 2 — ask your agent for something these tools do # check_credentials, describe_engine_capabilities, estimate_query_cost and 1 more

Cost Guard costs nothing on mcprush: there is no plan to choose here, no cap to set and nothing mcprush can bill you for.

PublisherVerified · since 2026
MC
mcpsmiths2 servers
2 categories · publishing since 2026
All 2 servers
More in this category

See also

See all