# Cleave for Agents: token swaps, cross-chain swaps and gas top-ups

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 1 repo stars
- Author: cleave-protocol
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/cleave-protocol/cleave-swap
- Updated: 2026-11-12
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/cleave-for-agents-token-swaps-cross-chain-swaps-and-gas-top-ups

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

## Requirements
- Remote server: `https://api.cleave.fi/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http swap https://api.cleave.fi/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add cleave-for-agents-token-swaps-cross-chain-swaps-and-gas-top-ups --url https://api.cleave.fi/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "cleave-for-agents-token-swaps-cross-chain-swaps-and-gas-top-ups": {
            "url": "https://api.cleave.fi/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "cleave-for-agents-token-swaps-cross-chain-swaps-and-gas-top-ups": {
            "type": "http",
            "url": "https://api.cleave.fi/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http cleave-for-agents-token-swaps-cross-chain-swaps-and-gas-top-ups https://api.cleave.fi/mcp
```

## When to use it
- 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
- 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.

## Similar
- [Multi-Chain Gas Estimator — ETH, Base, Polygon, Arb](https://affpapa.org/en/nevibecode/mcp/multi-chain-gas-estimator-eth-base-polygon-arb.md) — MCP server · 3624 installs
- [Cross-Chain Bridge Routes — 60+ Chains via LI.FI](https://affpapa.org/en/nevibecode/mcp/cross-chain-bridge-routes-60-chains-via-lifi.md) — MCP server · 3748 installs
- [Wallet Portfolio — Multi-Chain Token Holdings](https://affpapa.org/en/nevibecode/mcp/wallet-portfolio-multi-chain-token-holdings.md) — MCP server · 5148 installs
- [monitoring-cross-chain-bridges](https://affpapa.org/en/nevibecode/skills/monitoring-cross-chain-bridges.md) — skill · 1 install
- [BananaCrystal: FX rates, swaps and payments in 140+ currencies](https://affpapa.org/en/nevibecode/mcp/bananacrystal-fx-rates-swaps-and-payments-in-140-currencies.md) — MCP server · ★ 4 repo stars
- [Poptin - Email Marketing & Pop Ups](https://affpapa.org/en/nevibecode/mcp/poptin-email-marketing-pop-ups.md) — MCP server · ★ 36 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
