Onchain tools
for AI agents

Skip the API keys and subscriptions. Call an onchain tool, pay a cent, get the result.

No account. No API key. No subscription.
No answer, no charge.

6 live tools · 9 chains · 15 protocols · $0.01 per call · 0% commission

agent
YouWhere should I lend USDC? Agent→ lending_rates("USDC", "ethereum") 402 Payment Required→ $0.01 Payment signedPayment settled200 OK Compound V34.51% supply APY$376M liquidity

Paid on Hedera Hedera or Arc Arc, from the agent's own wallet.

Connect

One endpoint. Every tool.

Add the router and a wallet to Claude Code. From then on, your agent can discover tools, pay for them, and get answers.

Other agents and the SDK →
claude mcp add --transport http onchainrouter \
  https://onchainrouter.io/mcp

claude mcp add onchain-wallet -- \
  npx tsx mcp/wallet.ts
Tools

Verdicts, not tables

Every tool turns onchain state into a decision, and tells the agent when the data isn't trustworthy.

All 6 tools
How it works

Three steps, no signup anywhere

01

Connect once

Add the router as an MCP server. Your agent sees every tool in the catalogue, with its price, straight away.

02

Call a tool

The first call returns 402 with the price and payment rails. Nothing is charged yet.

03

The agent pays, for an answer

The agent signs with its own wallet. The tool runs and returns the answer. If it has nothing to say, the payment is never settled.

For tool authors

Get discovered. Get paid. Keep 100%.

Wrap your API in x402 with one call, or list an endpoint that already speaks it. Agents find it, call it, and pay you directly. The router takes nothing.

Discovered. In the catalogue and over MCP, in front of every agent that connects.
Paid directly. Every call settles from the agent's wallet to your address. No invoice, no payout run, no minimum.
Your terms. Your price, your wallet, your server. Onepaid() call if you are not on x402 yet.
0%commission
List your tool
Payment rails

One tool. Multiple payment rails.

The agent chooses how to pay. The tool doesn't care.

Hederatestnet
0.1 HBAR / call
HBARGas sponsoredBlocky402
Arctestnet
0.01 USDC / call
USDCGaslessCircle Gateway
FAQ

Questions, answered

No. Identity is the wallet that pays. Connect to the MCP URL or call the HTTP endpoint and you are in.
0.1 HBAR on Hedera or 0.01 USDC on Arc, per call. Listing the tools is free, and so is a call that returns no answer.
Nobody in between. The 402 names the tool author's address and the payment settles from your agent's wallet straight to it. The router has no wallet, no balance and takes no commission.
It says so and you are not charged. On HTTP that is a 404; over MCP an error result. The signed payment is never settled.
From its own wallet. In code, npm install onchainrouter and pay(url, input, wallet). In Claude Code, add the router and npx onchainrouter wallet as two MCP servers; the wallet signs when a tool asks. See Connect.
Not yet. Both rails run on testnet: Hedera testnet through Blocky402 and Arc testnet through Circle Gateway. Real settlements, test money.
The Graph, through Messari's standardized subgraphs, so one tool asks every lending protocol on a chain the same question. Coverage is measured by a probe, not claimed.
Yes. Wrap your function with paid() from the onchainrouter package, or bring an endpoint that already speaks x402 on Hedera or Arc. Agents can list tools too, over submit_tool on MCP. See Submit.

Give your agent an onchain toolbox.

One endpoint. Pay per call. No signup.