
Agent402.Tools: payments and trust for AI agents
Pay-per-call tools and payment verification for AI agents over x402 and MPP
Agent402.Tools: payments and trust for AI agents is a freemium MCP server for finance and payments. It can run locally on your machine or as a hosted remote server.
- Pricing
- Freemium
- Platforms
- API, CLI, Web
- Runs
- Locally or Remotely
- Version
- 0.17.2
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http agent402 https://agent402.tools/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"agent402": {
"type": "http",
"url": "https://agent402.tools/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://agent402.tools/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"agent402": {
"url": "https://agent402.tools/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"agent402": {
"type": "http",
"url": "https://agent402.tools/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://agent402.tools/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add agent402 --url https://agent402.tools/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.agent402]
url = "https://agent402.tools/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://agent402.tools/mcpEnter a Name (for example "Agent402.Tools: payments and trust for AI agents"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"agent402": {
"type": "http",
"url": "https://agent402.tools/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "agent402": { "httpUrl": "https://agent402.tools/mcp" } } }Or run: gemini mcp add -s user --transport http agent402 https://agent402.tools/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "agent402": { "serverUrl": "https://agent402.tools/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "agent402": { "url": "https://agent402.tools/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "agent402": { "type": "streamableHttp", "url": "https://agent402.tools/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "agent402": { "url": "https://agent402.tools/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "agent402": { "url": "https://agent402.tools/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "agent402": { "url": "https://agent402.tools/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "agent402": { "url": "https://agent402.tools/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
AGENT_KEYHex private key of an EVM wallet funded with USDC on any EVM rail the server offers (Base, Polygon, Arbitrum One, Monad, Celo, Avalanche C-Chain, Sei, OP Mainnet, Arc, Ink) or USDG on Robinhood Chain; use SOLANA_AGENT_KEY for Solana. Stellar and Algorand are not signed by this package. Unset = proof-of-work mode (free pure-CPU tools).AGENT402_BUDGETOptional hard cap on total USD spent per session (e.g. 1.00; unset or off = no session cap). Enforced on the payment that is signed.AGENT402_MAX_PER_CALLMax USD price for any single call (default 5; e.g. 0.05; 0 or off = no per-call cap). Enforced on the payment that is signed.AGENT402_CREDITS_KEYPrepaid credits key (a402_...) for Agent402's own services. With it set and no wallet key, every tool except the wallet-scoped ones (memory, usage) and the outside-seller routes (router.execute, seller-payability, decide.execute, the flight tools) is debited from the key; the list price is debited only on a successful call.SOLANA_AGENT_KEYOptional base58 (or JSON byte-array) secret key of a Solana wallet funded with USDC on Solana.AGENT402_NETWORKSOptional: restrict and order the chains to pay on (e.g. "base,solana" or a CAIP-2 like eip155:4663).
About Agent402.Tools: payments and trust for AI agents
Agent402 lets an AI agent discover a tool, pay for a single request from its own wallet, and keep a record of the settlement. Its catalog spans 500+ tools covering web rendering, search, PDFs, OCR, market and chain data, SEC filings and pure-CPU utilities, and a metered LLM gateway sits alongside them on the same payment rails.
The server exposes everything as MCP tools and as a plain HTTP API. Paid calls settle only after a successful answer, a failed call is not charged, and a settled answer on direct routes can carry a signed receipt that a client can verify. Pure-CPU tools can be used free by solving a short proof-of-work instead of paying.
It suits developers building agents that need to buy data or compute without an API key per vendor, and teams that want to run the server themselves. The server is AGPL-3.0 and can be self-hosted in free mode without payments.
What it does
- Per-call payments
- Agents pay each request in USDC or USDG over x402 or MPP, with no account or API key.
- Free proof-of-work tools
- Pure-CPU utilities run free by having the client solve a short sha256 puzzle instead of paying.
- Failed calls not charged
- An error cancels x402 settlement, and a charged failure is refunded.
- Signed receipts
- Successful direct paid calls can return an Ed25519-signed receipt that clients can verify.
- Tool discovery and routing
- A find endpoint maps a task description to a tool with its schema and price, and a router ranks tools across sellers.
- Self-hostable server
- The AGPL-3.0 server can run the full catalog as an HTTP API and MCP endpoint in free mode.
Good for
- Give an agent on-demand web rendering, search or PDF processing without managing vendor keys
- Pay for individual market, chain or SEC data lookups from an agent wallet
- Run deterministic utilities such as hashing, validators or unit conversions for free through MCP
- Self-host the tool catalog for an internal agent stack with payments switched off
- Charge AI crawlers per page on a website using the companion tollbooth package
Pricing
Freemium, from $5 a month
Pure-CPU tools free via proof-of-work; paid tools per call from $0.001 in USDC or USDG; monitors $5/month
Prices change. Check agent402.tools before you buy.
Agent402.Tools: payments and trust for AI agents FAQ
Do I need a wallet to try Agent402.Tools: payments and trust for AI agents?
No. The pure-CPU tools are free through proof-of-work, and no wallet or account is needed. A wallet is only needed for tools that cost money to run.
Is Agent402.Tools: payments and trust for AI agents open source, and can I run my own?
Yes. The server is AGPL-3.0 and can be self-hosted. Running it with FREE_MODE=true serves the catalog without payments, though tools that call third-party APIs need that provider's key.
What happens if a paid call fails?
An x402 payment is cancelled when the call errors, and a charged failure is refunded.
How do I add Agent402.Tools: payments and trust for AI agents to Claude Code?
Run this command in your terminal: claude mcp add --transport http agent402 https://agent402.tools/mcp
What are the best alternatives to Agent402.Tools: payments and trust for AI agents?
The closest alternatives to Agent402.Tools: payments and trust for AI agents are Agent402.Tools: pay-per-call web tools, X402 Tools, x402 Wallet, JMT x402 Agent Tools and Sage Agent x402 Tools.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
