Quick Start
1
Open your Claude Desktop config file
- macOS
- Windows
- Linux
2
Add the BoltzPay server (Explore mode, no keys needed)
quote, discover, diagnose, budget, history, and wallet. No credentials required.3
Restart Claude Desktop
Quit and reopen the app. Open Settings > MCP Servers to confirm BoltzPay is listed, or type
/mcp in a conversation to check.Enable Payments
To let Claude actually pay for API data, add your credentials:Credential requirements
Not every tool needs keys. Onlyboltzpay_fetch requires credentials to make payments:
Budget Control
Set spending limits via environment variables in your config. When a limit is hit,boltzpay_fetch returns a structured error and Claude informs you.
See Configuration for all environment variables and advanced options.
Tools
boltzpay_fetch
Fetch data from a paid API. Automatically detects the payment protocol (x402, L402, or MPP), pays the required amount, and returns the response.Success
payment field is only present when a payment was made. Free endpoints omit it.
Error
boltzpay_quote
Check an endpoint’s cost without paying. Returns protocol, price, currency, and multi-chain alternatives when available.Paid endpoint
This endpoint does not require payment (free).
boltzpay_discover
Browse paid API endpoints from the BoltzPay registry with filtering by protocol, score, and category.Output
boltzpay_budget
View current spending limits, amount spent, and remaining balance. No parameters.With budget configured
No budget limits configured when no limits are set.
boltzpay_history
List all payments made during the current session. No parameters.Output
No payments made yet when the session has no transactions.
boltzpay_diagnose
Run a full diagnostic on any API endpoint in under 2 seconds. Checks DNS resolution, HTTP reachability, protocol detection (x402/L402), format version, pricing, and latency. No credentials required.Output
health field classifies the endpoint into one of four states:
boltzpay_wallet
View wallet addresses, balances, network, supported protocols, and budget configuration. No parameters.Output
balances returns "Balance unavailable". Without budget config, budget returns "No limits configured".
Error Handling
All tools return structured errors withisError: true. The format is consistent:
Environment Variables
MCP Transport (Outgoing Payments)
To pay other MCP servers that require payment, usewrapMcpClient() in your code. This is separate from the BoltzPay MCP server. See the MCP Transport guide.
Troubleshooting
”Tool not found” or no hammer icon
Claude Desktop didn’t load the MCP server. Check:- The JSON config is valid (no trailing commas, correct braces).
- The file is at the correct path for your OS.
- You restarted Claude Desktop after editing the config.
”npx fails” or “command not found”
Node.js is not in Claude Desktop’s PATH.- macOS: Install Node.js via the official installer (not just nvm). Or use the full path:
"command": "/usr/local/bin/npx". - Windows: Use the
cmdwrapper:"command": "cmd", "args": ["/c", "npx", "-y", "@boltzpay/mcp"].
”MISSING_CREDENTIALS” error
Theboltzpay_fetch tool requires Coinbase keys to make payments. Read-only tools (quote, discover, diagnose) work without credentials. To enable payments, add the three COINBASE_* env vars to your config.
”BUDGET_EXCEEDED” error
You’ve hit your configured spending limit. Ask Claude to runboltzpay_budget to see the current state, or increase the limit in your config and restart.
Payments work but responses are empty
Some endpoints only accept POST requests. Ask Claude to usemethod: "POST" with the appropriate body. Check the endpoint’s documentation for the correct method.