Skip to content
Grok

AI API Cost Firewall & Rate Limiter for Grok

io.github.ansarii/mcp-rate-limiter

Token guard and rate limiter preventing runaway API cost spikes for OpenAI and Anthropic.

client:Grok transport:streamable-http

Install AI API Cost Firewall & Rate Limiter in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "mcp-rate-limiter": {
      "type": "http",
      "url": "https://neon_innovation_lab--mcp-rate-limiter.apify.actor/mcp"
    }
  }
}

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

AI API Cost Firewall & Rate Limiter in other clients