Pay x402 (HTTP 402) invoices from any chain, plus cross-chain swaps on 25+ chains. No API key.
Maintained by@swapripper(verified)Also a maintainer?
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Quote up to 10 routes in a single call (e.g. pay with USDC on Solana vs USDC on Base vs ETH) and get the best one by USD output. Saves round trips.
List of {from_token, from_chain, to_token, to_chain, amount}.
Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http swap-ripper https://swap-ripper.szydlow45.workers.dev/mcp
Quote up to 10 routes in a single call (e.g. pay with USDC on Solana vs USDC on Base vs ETH) and get the best one by USD output. Saves round trips.
| Argument | Type | Description |
|---|---|---|
| routes* | array | List of {from_token, from_chain, to_token, to_chain, amount}. |
| referrer | string | Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same. |
{
"type": "object",
"required": [
"routes"
],
"properties": {
"routes": {
"type": "array",
"items": {
"type": "object",
"required": [
"from_token",
"to_token",
"amount"
],
"properties": {
"amount": {
"type": "string",
"description": "Amount of from_token to send, as a human-readable decimal string, e.g. '25' or '0.015'. Not base units."
},
"to_chain": {
"type": "string",
"description": "Chain to receive on."
},
"to_token": {
"type": "string",
"description": "Token to receive (same formats as from_token)."
},
"from_chain": {
"type": "string",
"description": "Chain the token is sent from, e.g. 'solana', 'base', 'ethereum', 'bitcoin'. Needed when the symbol exists on several chains."
},
"from_token": {
"type": "string",
"description": "Token to send: symbol ('USDC', 'ETH', 'BTC'), 'SYMBOL@chain', 'SYMBOL on chain', or an asset_id from search_tokens."
}
}
},
"maxItems": 10,
"description": "List of {from_token, from_chain, to_token, to_chain, amount}."
},
"referrer": {
"type": "string",
"description": "Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same."
}
}
}Create a shareable payment link (like an invoice). The payer can pay with ANY token on ANY chain; the recipient receives exactly the token you choose (e.g. 50 USDC on Base). Great for agents that sell services to humans or other agents. No account needed.
| Argument | Type | Description |
|---|---|---|
| chain | string | Chain to receive on, e.g. 'base'. |
| label | string | Optional note shown to the payer, e.g. 'Invoice #12' (max 80 chars). |
| token* | string | Token to receive, e.g. 'USDC'. |
| amount | string | Optional fixed amount, e.g. '50'. Leave empty to let the payer choose. |
| referrer | string | Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same. |
| recipient* | string | Your address on that chain. |
{
"type": "object",
"required": [
"token",
"recipient"
],
"properties": {
"chain": {
"type": "string",
"description": "Chain to receive on, e.g. 'base'."
},
"label": {
"type": "string",
"description": "Optional note shown to the payer, e.g. 'Invoice #12' (max 80 chars)."
},
"token": {
"type": "string",
"description": "Token to receive, e.g. 'USDC'."
},
"amount": {
"type": "string",
"description": "Optional fixed amount, e.g. '50'. Leave empty to let the payer choose."
},
"referrer": {
"type": "string",
"description": "Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same."
},
"recipient": {
"type": "string",
"description": "Your address on that chain."
}
}
}Lock a quote and get a one-time deposit address. Send exactly `send_exactly` of the source token there and the output lands at `recipient` automatically, usually in under a minute. Non-custodial, no API key, no wallet connection, automatic refund on failure. For EVM sources, `deposit_tx` is a ready-to-sign transaction.
| Argument | Type | Description |
|---|---|---|
| amount* | string | Amount of from_token to send, as a human-readable decimal string, e.g. '25' or '0.015'. Not base units. |
| referrer | string | Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same. |
| to_chain | string | Chain to receive on. |
| to_token* | string | Token to receive (same formats as from_token). |
| recipient* | string | Address that receives the output, ON THE DESTINATION CHAIN. |
| from_chain | string | Chain the token is sent from, e.g. 'solana', 'base', 'ethereum', 'bitcoin'. Needed when the symbol exists on several chains. |
| from_token* | string | Token to send: symbol ('USDC', 'ETH', 'BTC'), 'SYMBOL@chain', 'SYMBOL on chain', or an asset_id from search_tokens. |
| slippage_bps | integer | Max slippage in basis points (default 100 = 1%, range 10-500). |
| refund_address* | string | Address for automatic refunds, ON THE SOURCE CHAIN. Usually the sending wallet. |
{
"type": "object",
"required": [
"from_token",
"to_token",
"amount",
"recipient",
"refund_address"
],
"properties": {
"amount": {
"type": "string",
"description": "Amount of from_token to send, as a human-readable decimal string, e.g. '25' or '0.015'. Not base units."
},
"referrer": {
"type": "string",
"description": "Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same."
},
"to_chain": {
"type": "string",
"description": "Chain to receive on."
},
"to_token": {
"type": "string",
"description": "Token to receive (same formats as from_token)."
},
"recipient": {
"type": "string",
"description": "Address that receives the output, ON THE DESTINATION CHAIN."
},
"from_chain": {
"type": "string",
"description": "Chain the token is sent from, e.g. 'solana', 'base', 'ethereum', 'bitcoin'. Needed when the symbol exists on several chains."
},
"from_token": {
"type": "string",
"description": "Token to send: symbol ('USDC', 'ETH', 'BTC'), 'SYMBOL@chain', 'SYMBOL on chain', or an asset_id from search_tokens."
},
"slippage_bps": {
"type": "integer",
"description": "Max slippage in basis points (default 100 = 1%, range 10-500)."
},
"refund_address": {
"type": "string",
"description": "Address for automatic refunds, ON THE SOURCE CHAIN. Usually the sending wallet."
}
}
}Hit a '402 Payment Required' (x402) paywall but your funds are on another chain or token? Paste the 402 response (body JSON or base64 PAYMENT-REQUIRED header, x402 v1 or v2). Swap Ripper reads the invoice, picks the right network and token (e.g. USDC on Base), and tops up YOUR wallet there with an exact amount, paid from any token on any chain (SOL, ETH, BTC, USDC on Solana...). Default top-up ~$5 so dozens of future 402 calls need no swap. Call with only payment_required to decode the invoice and see options; add pay_with_token, wallet and refund_address to get a deposit address.
| Argument | Type | Description |
|---|---|---|
| wallet | string | YOUR address on the invoice's network (the wallet your x402 client signs with). |
| referrer | string | Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same. |
| top_up_usd | number | Minimum top-up in USD (1-500, default 5). The invoice amount is used if larger. |
| slippage_bps | integer | Max slippage in basis points (default 100 = 1%, range 10-500). |
| pay_with_chain | string | Chain you pay from, e.g. 'solana'. |
| pay_with_token | string | Token you hold and will pay with, e.g. 'SOL' or 'USDC'. |
| prefer_network | string | Optional: which of the invoice's networks to fund, e.g. 'base' or 'solana'. |
| refund_address | string | Your address on the paying chain, for automatic refunds. |
| payment_required* | any | The 402 response body (object or JSON string) or the base64 PAYMENT-REQUIRED header value. |
{
"type": "object",
"required": [
"payment_required"
],
"properties": {
"wallet": {
"type": "string",
"description": "YOUR address on the invoice's network (the wallet your x402 client signs with)."
},
"referrer": {
"type": "string",
"description": "Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same."
},
"top_up_usd": {
"type": "number",
"description": "Minimum top-up in USD (1-500, default 5). The invoice amount is used if larger."
},
"slippage_bps": {
"type": "integer",
"description": "Max slippage in basis points (default 100 = 1%, range 10-500)."
},
"pay_with_chain": {
"type": "string",
"description": "Chain you pay from, e.g. 'solana'."
},
"pay_with_token": {
"type": "string",
"description": "Token you hold and will pay with, e.g. 'SOL' or 'USDC'."
},
"prefer_network": {
"type": "string",
"description": "Optional: which of the invoice's networks to fund, e.g. 'base' or 'solana'."
},
"refund_address": {
"type": "string",
"description": "Your address on the paying chain, for automatic refunds."
},
"payment_required": {
"anyOf": [
{
"type": "string"
},
{
"type": "object"
}
],
"description": "The 402 response body (object or JSON string) or the base64 PAYMENT-REQUIRED header value."
}
}
}Free USD prices for tokens across 25+ chains in one call. No API key, no rate-limit sign-up. Filter by symbols (e.g. ['BTC','ETH','SOL']) and/or chain.
| Argument | Type | Description |
|---|---|---|
| chain | string | Optional chain filter. |
| symbols | array | Symbols to price. Empty = all. |
{
"type": "object",
"properties": {
"chain": {
"type": "string",
"description": "Optional chain filter."
},
"symbols": {
"type": "array",
"items": {
"type": "string"
},
"description": "Symbols to price. Empty = all."
}
}
}Live price for swapping any token to any token across 25+ chains (BTC, ETH, SOL, Base, Arbitrum, BNB, Tron, NEAR, Zcash, TON, Sui, XRP...). No addresses or keys needed, nothing committed. Includes a price_check against market rates so you can tell if the quote is fair.
| Argument | Type | Description |
|---|---|---|
| amount* | string | Amount of from_token to send, as a human-readable decimal string, e.g. '25' or '0.015'. Not base units. |
| referrer | string | Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same. |
| to_chain | string | Chain to receive on. |
| to_token* | string | Token to receive (same formats as from_token). |
| recipient | string | Optional (with refund_address): destination address, for an exact quote. |
| from_chain | string | Chain the token is sent from, e.g. 'solana', 'base', 'ethereum', 'bitcoin'. Needed when the symbol exists on several chains. |
| from_token* | string | Token to send: symbol ('USDC', 'ETH', 'BTC'), 'SYMBOL@chain', 'SYMBOL on chain', or an asset_id from search_tokens. |
| slippage_bps | integer | Max slippage in basis points (default 100 = 1%, range 10-500). |
| refund_address | string | Optional (with recipient): refund address on the source chain. |
{
"type": "object",
"required": [
"from_token",
"to_token",
"amount"
],
"properties": {
"amount": {
"type": "string",
"description": "Amount of from_token to send, as a human-readable decimal string, e.g. '25' or '0.015'. Not base units."
},
"referrer": {
"type": "string",
"description": "Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same."
},
"to_chain": {
"type": "string",
"description": "Chain to receive on."
},
"to_token": {
"type": "string",
"description": "Token to receive (same formats as from_token)."
},
"recipient": {
"type": "string",
"description": "Optional (with refund_address): destination address, for an exact quote."
},
"from_chain": {
"type": "string",
"description": "Chain the token is sent from, e.g. 'solana', 'base', 'ethereum', 'bitcoin'. Needed when the symbol exists on several chains."
},
"from_token": {
"type": "string",
"description": "Token to send: symbol ('USDC', 'ETH', 'BTC'), 'SYMBOL@chain', 'SYMBOL on chain', or an asset_id from search_tokens."
},
"slippage_bps": {
"type": "integer",
"description": "Max slippage in basis points (default 100 = 1%, range 10-500)."
},
"refund_address": {
"type": "string",
"description": "Optional (with recipient): refund address on the source chain."
}
}
}Check a swap by deposit address. Set wait_seconds (up to 25) and the server waits for the status to change before answering, so you need fewer calls. Statuses: PENDING_DEPOSIT, PROCESSING, SUCCESS, INCOMPLETE_DEPOSIT, REFUNDED, FAILED. `final=true` means done.
| Argument | Type | Description |
|---|---|---|
| deposit_memo | string | deposit_memo, if one was returned. |
| wait_seconds | integer | 0-25. Server-side wait for a status change (long-poll). |
| deposit_address* | string | deposit_address returned by create_swap or pay_exact. |
{
"type": "object",
"required": [
"deposit_address"
],
"properties": {
"deposit_memo": {
"type": "string",
"description": "deposit_memo, if one was returned."
},
"wait_seconds": {
"type": "integer",
"description": "0-25. Server-side wait for a status change (long-poll)."
},
"deposit_address": {
"type": "string",
"description": "deposit_address returned by create_swap or pay_exact."
}
}
}Every supported blockchain with example tokens and accepted chain-name aliases.
No arguments.
{
"type": "object",
"properties": {}
}Make sure a recipient gets EXACTLY a set amount (e.g. 10 USDC on Base), paid with whatever token and chain you hold (e.g. SOL on Solana). Ideal for paying invoices, topping up an x402/agent wallet, or funding gas on another chain. Returns the exact amount to send and a deposit address.
| Argument | Type | Description |
|---|---|---|
| chain | string | Chain the recipient receives on, e.g. 'base'. |
| token* | string | Token the recipient must receive, e.g. 'USDC'. |
| referrer | string | Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same. |
| recipient* | string | Address that receives the output, ON THE DESTINATION CHAIN. |
| amount_out* | string | Exact amount the recipient must receive, e.g. '10'. |
| slippage_bps | integer | Max slippage in basis points (default 100 = 1%, range 10-500). |
| pay_with_chain | string | Chain you pay from, e.g. 'solana'. |
| pay_with_token* | string | Token you will pay with, e.g. 'SOL'. |
| refund_address* | string | Address for automatic refunds, ON THE SOURCE CHAIN. Usually the sending wallet. |
{
"type": "object",
"required": [
"token",
"amount_out",
"pay_with_token",
"recipient",
"refund_address"
],
"properties": {
"chain": {
"type": "string",
"description": "Chain the recipient receives on, e.g. 'base'."
},
"token": {
"type": "string",
"description": "Token the recipient must receive, e.g. 'USDC'."
},
"referrer": {
"type": "string",
"description": "Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same."
},
"recipient": {
"type": "string",
"description": "Address that receives the output, ON THE DESTINATION CHAIN."
},
"amount_out": {
"type": "string",
"description": "Exact amount the recipient must receive, e.g. '10'."
},
"slippage_bps": {
"type": "integer",
"description": "Max slippage in basis points (default 100 = 1%, range 10-500)."
},
"pay_with_chain": {
"type": "string",
"description": "Chain you pay from, e.g. 'solana'."
},
"pay_with_token": {
"type": "string",
"description": "Token you will pay with, e.g. 'SOL'."
},
"refund_address": {
"type": "string",
"description": "Address for automatic refunds, ON THE SOURCE CHAIN. Usually the sending wallet."
}
}
}Get a quote from a plain-English request like '25 USDC on solana to ETH on base' or 'swap 0.1 BTC for SOL'. Same output as get_quote.
| Argument | Type | Description |
|---|---|---|
| request* | string | e.g. '25 USDC on solana to ETH on base' |
| referrer | string | Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same. |
{
"type": "object",
"required": [
"request"
],
"properties": {
"request": {
"type": "string",
"description": "e.g. '25 USDC on solana to ETH on base'"
},
"referrer": {
"type": "string",
"description": "Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same."
}
}
}See how many swaps and how much volume your referrer account has routed, and estimated earnings. Fees are paid on-chain to your NEAR account automatically.
| Argument | Type | Description |
|---|---|---|
| referrer* | string | Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same. |
{
"type": "object",
"required": [
"referrer"
],
"properties": {
"referrer": {
"type": "string",
"description": "Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same."
}
}
}Stuck without gas? Get a small amount of the native gas token (ETH on Base/Arbitrum/Optimism/Ethereum, SOL, BNB, POL, AVAX, TRX, TON, SUI...) delivered to any address, paid with whatever token you hold on any chain. Default $3 worth.
| Argument | Type | Description |
|---|---|---|
| chain* | string | Chain that needs gas, e.g. 'base', 'solana', 'arbitrum'. |
| referrer | string | Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same. |
| recipient* | string | Address that needs gas, on that chain. |
| usd_amount | number | How much gas in USD (1-50, default 3). |
| slippage_bps | integer | Max slippage in basis points (default 100 = 1%, range 10-500). |
| pay_with_chain | string | Chain you pay from, e.g. 'solana'. |
| pay_with_token* | string | Token you pay with, e.g. 'USDC'. |
| refund_address* | string | Your address on the paying chain, for automatic refunds. |
{
"type": "object",
"required": [
"chain",
"recipient",
"pay_with_token",
"refund_address"
],
"properties": {
"chain": {
"type": "string",
"description": "Chain that needs gas, e.g. 'base', 'solana', 'arbitrum'."
},
"referrer": {
"type": "string",
"description": "Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same."
},
"recipient": {
"type": "string",
"description": "Address that needs gas, on that chain."
},
"usd_amount": {
"type": "number",
"description": "How much gas in USD (1-50, default 3)."
},
"slippage_bps": {
"type": "integer",
"description": "Max slippage in basis points (default 100 = 1%, range 10-500)."
},
"pay_with_chain": {
"type": "string",
"description": "Chain you pay from, e.g. 'solana'."
},
"pay_with_token": {
"type": "string",
"description": "Token you pay with, e.g. 'USDC'."
},
"refund_address": {
"type": "string",
"description": "Your address on the paying chain, for automatic refunds."
}
}
}Find supported tokens by symbol and/or chain. Returns symbol, chain, asset_id, decimals, contract and USD price.
| Argument | Type | Description |
|---|---|---|
| chain | string | Optional chain filter, e.g. 'solana', 'base'. |
| limit | integer | Max results (1-100, default 25). |
| query | string | Symbol or part of it, e.g. 'USDC'. Empty = all. |
{
"type": "object",
"properties": {
"chain": {
"type": "string",
"description": "Optional chain filter, e.g. 'solana', 'base'."
},
"limit": {
"type": "integer",
"description": "Max results (1-100, default 25)."
},
"query": {
"type": "string",
"description": "Symbol or part of it, e.g. 'USDC'. Empty = all."
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 25, 2026.
Takes a password, API key or token as an argument, so the secret passes through the model's context and chat logs.
Fix: Read credentials from the server's own configuration (environment, OAuth) instead of a tool argument.