Agentโ™ฅ๏ธŽAge
Catalog

Cost Guard MCP

Official

by mcpsmiths ยท Python

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

io.github.mcpsmiths/cost-guard-mcp (MCP Server)

Pre-flight query cost & result-size guardrails for AI agents across BigQuery and Snowflake. The server is implemented as an MCP server and focuses on controlling how agents run SQL by evaluating expected cost and output size before execution. It targets development workflows involving MCP and LLM tools.

๐Ÿ› ๏ธ Key Features

  • Pre-flight query cost guardrails for AI agents
  • Result-size guardrails for AI agents
  • Works across BigQuery and Snowflake
  • Implemented as an MCP server

๐Ÿš€ Use Cases

  • Guard AI agent SQL execution in BigQuery
  • Guard AI agent SQL execution in Snowflake
  • Prevent excessive query cost and large results during agent runs

โšก Developer Benefits

  • Aligns SQL execution with LLM tool workflows via MCP
  • Supports cost-optimization practices for data-warehouse usage
  • Fits development stacks using Python, SQL, and model-context-protocol

โš ๏ธ Limitations

  • Scope is limited to pre-flight cost and result-size guardrails for BigQuery and Snowflake

Topics

ai-agentsbigquerycost-optimizationdata-warehousellm-toolsmcpmodel-context-protocolpythonsnowflakesqlmcp-server