# Retry Budget Guard

> Retry Budget Guard is a paid MCP server for developer tools. Pay-per-call MCP tool that calculates retry cost and keeps budgets outside the agent. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, Web
- **Website:** https://retry-budget-guard.fmf-x402.workers.dev/docs
- **MCP Registry name:** dev.workers.fmf-x402.retry-budget-guard/retry-budget-guard
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-27

## About

Retry Budget Guard works out the projected spend of a retry loop from a unit cost, a maximum attempt count and a backoff interval. Because the budget is stored on the service rather than inside the calling agent, a crash, restart or replan cannot reset it to a fresh allowance.

The service is reached over Streamable HTTP at an MCP endpoint, or through a plain POST route. Listing tools is free, and each paid call costs $0.002 in USDC or pathUSD on the Tempo chain via MPP, or USDC via x402. Invalid input or an upstream failure returns a 402 response and is not charged.

It suits developers building agents or batch jobs that retry against metered APIs and want a hard ceiling on what those retries can spend. An empty request returns a demo calculation for 20 unbounded retries.

## Features

- **Projected retry cost:** Estimates total spend from unit cost, maximum attempts and backoff seconds.
- **Server-side budget tracking:** Keeps the budget in the service so restarts or replans cannot reset it.
- **Pay per call:** Each successful call costs $0.002 with no account or API key required.
- **Unpaid calls not charged:** Invalid input or upstream errors return 402 without billing the caller.
- **MCP and HTTP access:** Available as a Streamable HTTP MCP server or as a direct POST route.

## Good for

- Capping spend on retry loops against metered cloud or API endpoints
- Estimating worst-case cost before enabling automatic retries
- Giving autonomous agents a spending limit they cannot reset by restarting
- Checking how backoff settings change total retry expense

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http retry-budget-guard https://retry-budget-guard.fmf-x402.workers.dev/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "retry-budget-guard": {
      "type": "http",
      "url": "https://retry-budget-guard.fmf-x402.workers.dev/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://retry-budget-guard.fmf-x402.workers.dev/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "retry-budget-guard": {
      "url": "https://retry-budget-guard.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "retry-budget-guard": {
      "type": "http",
      "url": "https://retry-budget-guard.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://retry-budget-guard.fmf-x402.workers.dev/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add retry-budget-guard --url https://retry-budget-guard.fmf-x402.workers.dev/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.retry-budget-guard]
url = "https://retry-budget-guard.fmf-x402.workers.dev/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "retry-budget-guard": {
      "httpUrl": "https://retry-budget-guard.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http retry-budget-guard https://retry-budget-guard.fmf-x402.workers.dev/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "retry-budget-guard": {
      "serverUrl": "https://retry-budget-guard.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "retry-budget-guard": {
      "url": "https://retry-budget-guard.fmf-x402.workers.dev/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "retry-budget-guard": {
      "type": "streamableHttp",
      "url": "https://retry-budget-guard.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "retry-budget-guard": {
      "url": "https://retry-budget-guard.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "retry-budget-guard": {
      "url": "https://retry-budget-guard.fmf-x402.workers.dev/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "retry-budget-guard": {
      "url": "https://retry-budget-guard.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "retry-budget-guard": {
      "url": "https://retry-budget-guard.fmf-x402.workers.dev/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://retry-budget-guard.fmf-x402.workers.dev/mcp
```

Enter a Name (for example "Retry Budget Guard"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "retry-budget-guard": {
      "type": "http",
      "url": "https://retry-budget-guard.fmf-x402.workers.dev/mcp"
    }
  }
}
```

## Tools

Going by the tool names, 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `retry-budget-guard`: The most expensive cloud bills often come from unbounded retries, and a retry limit that resets on restart is an unlimited spending plan. $0.002 per call, USDC via x402 or MPP. Calculates projected retry cost from unit cost, max attempts, and backoff, and keeps a budget in this service (not in the agent) so a restart or replan cannot mint a fresh budget. An empty call returns a calculator demo for

## FAQ

### Do I need an account or API key?

No. Payment is made per successful call, using MPP on Tempo or x402 with USDC.

### Am I charged if a call fails?

No. Invalid input or an upstream failure returns 402 and is not charged.

### How do I connect Retry Budget Guard to an MCP client?

Point the client at the Streamable HTTP endpoint at https://retry-budget-guard.fmf-x402.workers.dev/mcp. Tool listing is free.

### Is Retry Budget Guard free?

No. Retry Budget Guard is a paid product.

### How do I add Retry Budget Guard to Claude Code?

Run this command in your terminal: claude mcp add --transport http retry-budget-guard https://retry-budget-guard.fmf-x402.workers.dev/mcp

### What are the best alternatives to Retry Budget Guard?

The closest alternatives to Retry Budget Guard are HTTP Failure Classifier, HTTP Failure Classifier, Idempotency Replay Checker, Agentguard47 and Agent Billing Primitives (Dirtsmith).

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [HTTP Failure Classifier](https://ai-powered.com/mcp/http-failure-classifier): HTTP Failure Classifier is a paid MCP server for developer tools.
- [HTTP Failure Classifier](https://ai-powered.com/mcp/http-failure-classifier-2): HTTP Failure Classifier is a paid MCP server for developer tools.
- [Idempotency Replay Checker](https://ai-powered.com/mcp/idempotency-replay-checker-2): Idempotency Replay Checker is a paid MCP server for developer tools.
- [Agentguard47](https://ai-powered.com/mcp/agentguard47): Agentguard47 is an open-source MCP server for developer tools.
- [Agent Billing Primitives (Dirtsmith)](https://ai-powered.com/mcp/agent-billing-primitives-dirtsmith): Agent Billing Primitives (Dirtsmith) is a freemium MCP server for finance and payments.
- [402-in-a-Box (Vashishta Metered MCP)](https://ai-powered.com/mcp/402-in-a-box-vashishta-metered-mcp): 402-in-a-Box (Vashishta Metered MCP) is a freemium MCP server for developer tools.
- [Agent Cost MCP](https://ai-powered.com/mcp/agent-cost-mcp): Agent Cost MCP is an open-source MCP server for developer tools.
- [gatefareio](https://ai-powered.com/mcp/gatefareio): gatefareio is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/retry-budget-guard
