mcpbeat Sign in

Spend Guard MCP Server

local only

Spend Guard runs on your own machine — the client starts it, so there is no endpoint to ping. Last commit 31 Oct 2026.

Budgets, payee allowlists, price-spike checks and human approval for agents paying x402 paywalls

—
Installs / week
npm · @vulinh1704/spend-guard
0
Stars
0 open issues
31 Oct 2026
Last commit
from GitHub
MIT
License
JavaScript

Nothing serious here today

Today is the operative word: we check Spend Guard every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add spend-guard -- npx -y @vulinh1704/spend-guard
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "spend-guard": {
      "command": "npx",
      "args": [
        "-y",
        "@vulinh1704/spend-guard"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.spend-guard]
command = "npx"
args = ["-y", "@vulinh1704/spend-guard"]
.cursor/mcp.json
{
  "mcpServers": {
    "spend-guard": {
      "command": "npx",
      "args": [
        "-y",
        "@vulinh1704/spend-guard"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "spend-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@vulinh1704/spend-guard"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: SPEND_GUARD_POLICY (Policy JSON file: networks, budgets, approval amount, spike ratio, known services and their payees. Without one, every payment waits for your approval), SPEND_GUARD_RAILS (How to pay: mock (pays nothing), near, arc, gateway, or a comma list. arc and gateway need ARC_PRIVATE_KEY, near needs NEAR_ACCOUNT_ID and NEAR_PRIVATE_KEY), SPEND_GUARD_LEDGER (Decisions file, read back on start so a restart keeps today's spend; servers on one file share one budget. Default ~/.spend-guard/ledger.jsonl; off keeps it in memory), SPEND_GUARD_DASHBOARD_PORT (Port of the approval dashboard on 127.0.0.1. 0 picks a free one; off means no dashboard, and payments that need approval are declined), SPEND_GUARD_APPROVAL_TIMEOUT (Seconds a payment waits for your answer before it is declined. Raise it together with your client's tool timeout), SPEND_GUARD_MOCK_NETWORK (Network the mock rail pretends to pay on), ARC_PRIVATE_KEY (Agent key for the arc and gateway rails. Testnet keys only), NEAR_ACCOUNT_ID (Agent account for the near rail (testnet)), NEAR_PRIVATE_KEY (Agent key for the near rail. Testnet keys only).

Alternatives to Spend Guard

same job, measured the same way
KushBitx AgentProof
by kushbitx

Safety checks for AI agents paying on Base: free SpendGuard, paid x402 token risk and preflight.

6 tools answering
TWZRD Agent Intelligence
by twzrd-sol

Pre-spend trust for AI agents that buy: check x402 services and product listings before paying.

local only
S
Solinkify
by solinkify

Pay for x402 paywalls, datasets, and store checkouts on Solana, behind hard spending caps.

140 installs/wk local only
Clawvault MCP Server
by andrewszk

AI agent payment security - spending limits, whitelists, and human approval.

63 installs/wk local only
Agentpay
by sdeanesh-png

Spending controls for AI agents: per-agent budgets, vendor allowlists, full audit trail.

43 installs/wk local only
Agentcard
by agentcard

Prepaid virtual cards for AI agents: one-time cards, spend caps, human approvals.

55 tools answering
Payfetch
by forum-labs

x402 paying-fetch client for AI agents. Spending caps, approval, receipts. Non-custodial.

58 installs/wk local only
Burnbound
by burnbound

Let your AI agent pay x402 APIs within daily caps, allowed hosts and human approval.

374 installs/wk local only

Spend Guard — questions

Answers built from our own checks of this server.

Why is there no uptime for Spend Guard?
Spend Guard runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @vulinh1704/spend-guard.
How do I connect Spend Guard?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @vulinh1704/spend-guard straight from npm; nothing to host, nothing to sign up for.
Is Spend Guard open source?
Yes — it is published under the MIT licence, written in JavaScript and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.