Start here
Add Agent402 to your app
This connector runs the free tools with no wallet and no signup. Paid tools take a wallet (below).
Claude desktop
In Settings, open Connectors, choose Add custom connector, name it Agent402 and paste this address:
https://agent402.tools/mcpClaude Code
Run this in a terminal:
claude mcp add --transport http -s user agent402 https://agent402.tools/mcpCursor
In ~/.cursor/mcp.json, add this agent402 entry under mcpServers:
"agent402": {
"url": "https://agent402.tools/mcp"
}Without a wallet
- Free tools. 186 tools run free with proof of work on the connector above, rate-limited, with no wallet and no signup. Browse the tools.
- Reports by card. Finished, model-backed reports at /reports, $2 to $5 by card.
Pay from a wallet
A wallet pays through the Agent402 npm server, which runs on your computer and needs Node.js. Use a new wallet holding only a few dollars of USDC. Never your main wallet.
- Create a new wallet in a wallet app and copy its private key.
- Buy USDC on Base and send it to that wallet's address. Where you buy it, choose Base as the network.
- Check the balance: open
basescan.org/address/<your address>and find USDC under the token holdings. - Run this once in a terminal. It asks for the key (the input is hidden), keeps it in your system's keychain, and prints the setup for each app:
npx -y agent402-mcp@0.16.0 setupThen add the npm server to your app:
Claude Code
Run this in a terminal:
claude mcp add agent402 -s user -- npx -y agent402-mcp@0.16.0Claude desktop
In Settings, open Developer, choose Edit Config, and add this agent402 entry under mcpServers in claude_desktop_config.json, then restart Claude:
"agent402": {
"command": "npx",
"args": [
"-y",
"agent402-mcp@0.16.0"
]
}Cursor
In ~/.cursor/mcp.json, add this agent402 entry under mcpServers:
"agent402": {
"command": "npx",
"args": [
"-y",
"agent402-mcp@0.16.0"
]
}On Base, an x402 exact payment is a signature (EIP-3009): the facilitator submits it and pays the gas, so the paying wallet needs only USDC, no ETH.
More on paying from a wallet: how to pay.