# Agent402.Tools: payments and trust for AI agents

> Agent402.Tools: payments and trust for AI agents is a freemium MCP server for finance and payments. Pay-per-call tools and payment verification for AI agents over x402 and MPP. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $5 a month
- **Platforms:** API, CLI, Web, Self-hosted
- **Website:** https://agent402.tools
- **Repository:** https://github.com/mikeypetrillo/agent402
- **MCP Registry name:** tools.agent402/agent402
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [agent payments](https://ai-powered.com/categories/agent-payments)
- **Listing updated:** 2026-11-28

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http agent402 https://agent402.tools/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "agent402": {
      "type": "http",
      "url": "https://agent402.tools/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://agent402.tools/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agent402": {
      "url": "https://agent402.tools/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```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.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://agent402.tools/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add agent402 --url https://agent402.tools/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.agent402]
url = "https://agent402.tools/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "agent402": {
      "httpUrl": "https://agent402.tools/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http agent402 https://agent402.tools/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "agent402": {
      "serverUrl": "https://agent402.tools/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "agent402": {
      "type": "streamableHttp",
      "url": "https://agent402.tools/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "agent402": {
      "url": "https://agent402.tools/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "agent402": {
      "url": "https://agent402.tools/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "agent402": {
      "url": "https://agent402.tools/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://agent402.tools/mcp
```

Enter 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.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agent402": {
      "type": "http",
      "url": "https://agent402.tools/mcp"
    }
  }
}
```

## 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.

## Alternatives

- [Agent402.Tools: pay-per-call web tools](https://ai-powered.com/mcp/agent402-tools-pay-per-call-web-tools): Agent402.Tools: pay-per-call web tools is a freemium MCP server for web search and scraping.
- [X402 Tools](https://ai-powered.com/mcp/x402-tools): X402 Tools is a paid MCP server for finance and payments.
- [x402 Wallet](https://ai-powered.com/mcp/x402-wallet): x402 Wallet is an open-source MCP server for finance and payments.
- [JMT x402 Agent Tools](https://ai-powered.com/mcp/jmt-x402-agent-tools): JMT x402 Agent Tools is a paid MCP server for mcp data access.
- [Sage Agent x402 Tools](https://ai-powered.com/mcp/sage-agent-x402-tools): Sage Agent x402 Tools is a freemium MCP server for web search and scraping.
- [x402 tools](https://ai-powered.com/mcp/x402-tools-3): x402 tools is a paid MCP server for web search and scraping.

---
Source: https://ai-powered.com/mcp/agent402-tools-payments-and-trust-for-ai-agents
