Cleave for Agents — Claude Code MCP server
Cleave for Agents: token swaps, cross-chain swaps and gas top-ups is an MCP server for Claude Code that plans token swaps, cross-chain transfers, and gas top-ups. The wallet signs transactions.
MIT ★ 1 updated 2026-11-12
claude mcp add --transport http swap https://api.cleave.fi/mcpWhat Cleave for Agents: token swaps, cross-chain swaps and gas top-ups does
The server prepares a single-chain swap, a transfer between chains, or a native gas order. It returns unsigned transactions and outlines route conditions before the wallet signs. Supported networks are Ethereum, Arbitrum, Base, BNB Chain, Polygon, and Optimism.
cleave_track_swap reports progress after a transaction is sent, while cleave_find_token resolves a token symbol to an address. Gas orders use USDC, and the wallet must sign an authorization. No API key is required; the wallet signs transactions. A gas top-up requires USDC on a supported network.
What it helps with
- plan a token swap on one network
- move assets between supported networks
- check the status of a submitted transfer
- resolve a token symbol to its address
- order native gas using USDC
Example prompts for the agent
- Swap 20 USDC for ETH on Base and show the route terms before signing.
- Check the transfer status for this transaction hash.
- Find the token address for this symbol and flag similar matches.
How to install Cleave for Agents: token swaps, cross-chain swaps and gas top-ups
Platform CLI: remote server
claude mcp add --transport http swap https://api.cleave.fi/mcpPlatform CLI: remote server
codex mcp add cleave-for-agents-token-swaps-cross-chain-swaps-and-gas-top-ups --url https://api.cleave.fi/mcpConfig file
{
"mcpServers": {
"cleave-for-agents-token-swaps-cross-chain-swaps-and-gas-top-ups": {
"url": "https://api.cleave.fi/mcp"
}
}
}Config file
{
"servers": {
"cleave-for-agents-token-swaps-cross-chain-swaps-and-gas-top-ups": {
"type": "http",
"url": "https://api.cleave.fi/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http cleave-for-agents-token-swaps-cross-chain-swaps-and-gas-top-ups https://api.cleave.fi/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Cleave for Agents: token swaps, cross-chain swaps and gas top-ups
How do I install Cleave for Agents in Claude Code?
Add the MCP server with claude mcp add --transport http swap https://api.cleave.fi/mcp. No API key is needed.
What does Cleave for Agents do?
It plans token swaps and cross-chain transfers, tracks submitted transactions, and looks up token addresses. It can also prepare USDC-funded native gas orders.
What does Cleave for Agents need to work?
No API key is required. A wallet signs swap transactions; gas orders require USDC on a supported network.