# SpendGate

> SpendGate is a freemium MCP server for finance and payments. MCP server that scores a planned agent payment as approve, ask_human or block. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API
- **Website:** https://spendgate.toolweather.workers.dev
- **Repository:** https://github.com/toolweather/spendgate
- **MCP Registry name:** io.github.toolweather/spendgate
- **Categories:** finance and payments, security
- **Listing updated:** 2026-11-15

## About

SpendGate sits before an agent pays. It never holds funds or sends money; it only scores a planned spend and returns a verdict of approve, ask_human or block, with reasons. The site details how version 1 decides. The amount penalty is min(75, round(25 x log10(1 + usd))), so larger spends score worse. Merchant risk is checked against a local policy and, for other domains, https URLs and 0x payees, through PayCheck, and local merchant rules still apply if PayCheck is down.

Categories carry preset risk: crypto_transfer, irreversible and gift_card are high, api_call, saas and infra are medium, and status_check is low. Two hard rules apply: exceeding a budget you pass in is a block, and anything strictly under $1 is approved unless a block rule fires. Supplying from_wallet adds checks, such as blocking public dev wallets and wallets outside an allowlist.

The MCP tools are score_spend, get_quota, get_api_key and set_wallet_allowlist. Anonymous use needs no key and a free key can be minted. After the free cap, each score costs a small USDC amount on Base via x402 (the site says a tenth of a cent). A $19 per month Pro tier is shown as a waitlist demand test.

## Features

- **Three-way verdict:** Returns approve, ask_human or block for each planned spend.
- **Amount and category scoring:** Larger amounts and riskier categories lower the score.
- **Merchant checks:** Known hosts and PayCheck lookups for domains and payee addresses.
- **Wallet allowlist:** Blocks dev wallets and wallets that are not allowlisted.
- **Budget hard limit:** Anything over a supplied budget is blocked.
- **Pay per score:** Free quota first, then x402 USDC on Base.

## Good for

- Gate an autonomous agent's API purchases
- Escalate unusual crypto transfers to a human
- Block payments from wallets the agent does not own
- Keep small routine spends auto-approved

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http spendgate https://spendgate.toolweather.workers.dev/mcp
```

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

```sh
https://spendgate.toolweather.workers.dev/mcp
```

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

```json
{
  "mcpServers": {
    "spendgate": {
      "url": "https://spendgate.toolweather.workers.dev/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "spendgate": {
      "type": "http",
      "url": "https://spendgate.toolweather.workers.dev/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "spendgate": {
      "serverUrl": "https://spendgate.toolweather.workers.dev/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "spendgate": {
      "type": "http",
      "url": "https://spendgate.toolweather.workers.dev/mcp"
    }
  }
}
```

## Tools

- `score_spend`: Scores a planned payment and returns approve, ask_human or block.
- `get_quota`: Reads the remaining quota.
- `get_api_key`: Mints a free API key.
- `set_wallet_allowlist`: Sets the wallets allowed to pay.

## FAQ

### Does SpendGate move money?

No. It does not hold funds or pay the merchant.

### How much does it cost?

Free anonymous and keyed quota, then a tenth of a cent per score in USDC.

### What happens when the free cap is reached?

The next call returns HTTP 402 with a payment challenge.

### Is there a team plan?

Pro at $19 per month is listed as a waitlist demand test.

### Is SpendGate free?

SpendGate has a free plan, with paid plans for more usage or features.

### How do I add SpendGate to Claude Code?

Run this command in your terminal: claude mcp add --transport http spendgate https://spendgate.toolweather.workers.dev/mcp

### What are the best alternatives to SpendGate?

The closest alternatives to SpendGate are REA, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Agent Roast and Midplane.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.

---
Source: https://ai-powered.com/mcp/spendgate
