PluginBench
MCP Server
Active
MIT

Cost Guard MCP MCP Server

io.github.mcpsmiths/cost-guard-mcp

What is the Cost Guard MCP MCP server?

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

How to install Cost Guard MCP

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • GOOGLE_APPLICATION_CREDENTIALS
    secret

    BigQuery: path to a service-account key file (Application Default Credentials). Required to use the bigquery engine.

  • SNOWFLAKE_ACCOUNT

    Snowflake: account identifier. Required to use the snowflake engine.

  • SNOWFLAKE_USER

    Snowflake: username. Required to use the snowflake engine.

  • SNOWFLAKE_ROLE

    Snowflake: role to assume. Required to use the snowflake engine; has no default and must never be ACCOUNTADMIN.

  • SNOWFLAKE_PRIVATE_KEY_PATH
    secret

    Snowflake: path to an RSA private key file for key-pair auth (preferred over SNOWFLAKE_PASSWORD). Either this or SNOWFLAKE_PASSWORD is required to use the snowflake engine.

  • SNOWFLAKE_PRIVATE_KEY_PASSPHRASE
    secret

    Snowflake: passphrase for an encrypted SNOWFLAKE_PRIVATE_KEY_PATH key file, if the key is encrypted.

  • SNOWFLAKE_PASSWORD
    secret

    Snowflake: password (discouraged; prefer SNOWFLAKE_PRIVATE_KEY_PATH). Either this or SNOWFLAKE_PRIVATE_KEY_PATH is required to use the snowflake engine.

  • DATABRICKS_SERVER_HOSTNAME

    Databricks: SQL warehouse server hostname (e.g. my-workspace.cloud.databricks.com, no scheme, no trailing slash). Required to use the databricks engine.

  • DATABRICKS_HTTP_PATH

    Databricks: SQL warehouse HTTP path (from the warehouse's Connection Details tab, e.g. /sql/1.0/warehouses/<warehouse-id>). Required to use the databricks engine.

  • DATABRICKS_TOKEN
    secret

    Databricks: personal access token (simplest auth option). Either this or DATABRICKS_CLIENT_ID + DATABRICKS_CLIENT_SECRET is required to use the databricks engine.

  • DATABRICKS_CLIENT_ID

    Databricks: OAuth machine-to-machine service-principal client ID (preferred for automated use). Requires DATABRICKS_CLIENT_SECRET as well.

  • DATABRICKS_CLIENT_SECRET
    secret

    Databricks: OAuth machine-to-machine service-principal client secret. Requires DATABRICKS_CLIENT_ID as well.

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "cost-guard-mcp": {
      "command": "uvx",
      "args": [
        "cost-guard-mcp"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "<YOUR_GOOGLE_APPLICATION_CREDENTIALS>",
        "SNOWFLAKE_ACCOUNT": "<YOUR_SNOWFLAKE_ACCOUNT>",
        "SNOWFLAKE_USER": "<YOUR_SNOWFLAKE_USER>",
        "SNOWFLAKE_ROLE": "<YOUR_SNOWFLAKE_ROLE>",
        "SNOWFLAKE_PRIVATE_KEY_PATH": "<YOUR_SNOWFLAKE_PRIVATE_KEY_PATH>",
        "SNOWFLAKE_PRIVATE_KEY_PASSPHRASE": "<YOUR_SNOWFLAKE_PRIVATE_KEY_PASSPHRASE>",
        "SNOWFLAKE_PASSWORD": "<YOUR_SNOWFLAKE_PASSWORD>",
        "DATABRICKS_SERVER_HOSTNAME": "<YOUR_DATABRICKS_SERVER_HOSTNAME>",
        "DATABRICKS_HTTP_PATH": "<YOUR_DATABRICKS_HTTP_PATH>",
        "DATABRICKS_TOKEN": "<YOUR_DATABRICKS_TOKEN>",
        "DATABRICKS_CLIENT_ID": "<YOUR_DATABRICKS_CLIENT_ID>",
        "DATABRICKS_CLIENT_SECRET": "<YOUR_DATABRICKS_CLIENT_SECRET>"
      }
    }
  }
}

Related MCP servers

Query OTel traces across Jaeger, Tempo, Traceloop, Datadog, Sentry, X-Ray, New Relic, Honeycomb.

0
Python
Apache-2.0
View repository →

Pay-per-call web extraction, SEO audits and text analysis. USDC on Base via x402, no API keys.

View repository →

Organize Claude Code and Codex CLI config, memories, skills, MCP servers, and agents in one cross-harness dashboard.

369
JavaScript
MIT
View repository →

23 tools for Instagram Graph API: manage posts, DMs, stories, reels, and analytics from AI agents.

29
Python
MIT
View repository →

AI logo design to complete brand kit—SVG, PNG, ICO, WebP, social media sizes, all locally.

30
JavaScript
MIT
View repository →

Record browser interactions as polished GIF or MP4 demos with auto-zoom tooltips and cinematic effects.

39
JavaScript
MIT
View repository →