Skip to content
MCP server

Spend

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.4.0
Listing updated
5 days ago

About Spend

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

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

Install

Run in a terminal

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

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Configuration

  • PAYCLAW_API_KEYYour PayClaw API key (get one at payclaw.io)Required
  • PAYCLAW_API_URLPayClaw API URL (default: https://payclaw.io)

Pricing

Open source

Spend 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