Agent Tollbooth 402 vs REA
Agent Tollbooth 402 is a freemium MCP server for developer tools. REA is an open-source MCP server for developer tools.
- REA is open source, while Agent Tollbooth 402 is freemium.
- Agent Tollbooth 402 is best for charging ai agents a small fee per api call.
- REA is best for explain how a specific app feature works.
- What it is
- Agent Tollbooth 402 is a freemium MCP server for developer tools.REA is an open-source MCP server for developer tools.
- Best for
- Charging AI agents a small fee per API callExplain how a specific app feature works
- Kind
- MCP serverMCP server
- Pricing
- FreemiumOpen source
- Platforms
- API, CLI, self-hosted, vscodeCLI, macOS, Windows, Linux
- Runs
- RemotelyLocally
- GitHub stars
- 467K
- Last commit
- Nov 2026
- License
- MIT
- Open source
- Good for
- Charging AI agents a small fee per API call; Monetizing a Cloudflare Worker or Hono endpoint without building a billing system; Adding pay-per-request access to an MCP serverExplain how a specific app feature works; Investigate binary behavior with an agent; Rebuild a feature from observed logic
What Agent Tollbooth 402 does
Per-call HTTP 402 gating
Wraps a route so unpaid requests receive a 402 challenge with price and accepted payment rails.
Dual payment rails
Accepts x402 V2 USDC payments on Base or prepaid Fiat Agent Wallet receipts.
Edge receipt verification
Checks HMAC-SHA256 or Ed25519 receipts locally with Web Crypto, with D1 nonce replay protection.
Local sandbox testing
Runs the 402, signing and retry loop offline using sandbox mode, without keys or wallets.
Remote MCP tools
Exposes pricing quote, wallet balance, receipt issuance, x402 verification and top-up checkout tools.
Route scanning skill
Plugin skill that scans Workers, Hono, Next.js, Express and MCP endpoints for billable routes.
What REA does
Agent-driven inspection
Lets a coding agent read a program's code and watch its behavior while it runs.
CLI plus MCP server
The same tooling is reachable from a terminal or from an MCP-capable agent.
Guided setup
An npx setup command presents a plan for approval and then verifies the install.
Interactive examples
The site includes worked investigations, such as a calculator and a browser game, with guides.
Agent Tollbooth 402 vs REA: questions
Is Agent Tollbooth 402 or REA cheaper?
REA is the cheaper option: it is open source.
What is the difference between Agent Tollbooth 402 and REA?
Agent Tollbooth 402 is a freemium MCP server for developer tools. REA is an open-source MCP server for developer tools. REA is open source, while Agent Tollbooth 402 is freemium.

