# Spend

> Spend is an open-source MCP server. Agents are not bots. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/payclaw/mcp-server
- **MCP Registry name:** io.github.payclaw/spend
- **Listing updated:** 2026-11-13

## About

Agents are not bots. PayClaw proves it — then lets them pay. Badge + Spend on existing Visa rails.

## Install

### Claude Code (Terminal)

```sh
claude mcp add spend --env PAYCLAW_API_KEY='<PAYCLAW_API_KEY>' -- npx -y @payclaw/mcp-server
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "spend": {
      "command": "npx",
      "args": [
        "-y",
        "@payclaw/mcp-server"
      ],
      "env": {
        "PAYCLAW_API_KEY": "<PAYCLAW_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "spend": {
      "command": "npx",
      "args": [
        "-y",
        "@payclaw/mcp-server"
      ],
      "env": {
        "PAYCLAW_API_KEY": "<PAYCLAW_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "spend": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@payclaw/mcp-server"
      ],
      "env": {
        "PAYCLAW_API_KEY": "<PAYCLAW_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "spend": {
      "command": "npx",
      "args": [
        "-y",
        "@payclaw/mcp-server"
      ],
      "env": {
        "PAYCLAW_API_KEY": "<PAYCLAW_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "spend": {
      "command": "npx",
      "args": [
        "-y",
        "@payclaw/mcp-server"
      ],
      "env": {
        "PAYCLAW_API_KEY": "<PAYCLAW_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Spend free?

Yes. Spend is open source, so you can use and self-host it for free.

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

Run this command in your terminal: claude mcp add spend --env PAYCLAW_API_KEY='<PAYCLAW_API_KEY>' -- npx -y @payclaw/mcp-server

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