Skip to content
Grok

AgentCostGuard MCP Server & Circuit-Breaker Proxy for Grok

io.github.rwachtendorff/agent-cost-guard

Zero-dep MCP cost estimator, prompt-injection scanner, live USD Claude hooks, and loop breaker.

client:Grok transport:stdio runtime:pypi

Install AgentCostGuard MCP Server & Circuit-Breaker Proxy in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "agent-cost-guard": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-cost-guard"
      ]
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

AgentCostGuard MCP Server & Circuit-Breaker Proxy in other clients