DeFi execution layer for AI agents β swap, zap in/out of LP, route across AMMs on 5 EVM chains.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Inspect callable tools, capabilities, and parameters exposed to AI agents by SwapWizard.
get_supported_chainsList supported EVM chains with IDs, gas tokens, DEX list, and position config
get_supported_dexesAMMs/DEX sources SwapWizard routes across per chain
check_api_healthAPI availability check
search_liquidity_poolsDiscover pools by chain, tokens, type, or GeckoTerminal trending (`trending: true` + optional `timeframe`: 5m/1h/6h/24h, default 5m). Returns poolId, symbol, fee tier, protocol, APY, TVL, 24h volume
list_user_lp_positionsFull LP position details: value, fees, APR, in-range status, impermanent loss
get_swap_quoteBest swap route across all DEXes. Returns router + callData + value ready to sign
Model Context Protocol (MCP) server for the SwapWizard DeFi API. Enables AI agents to get swap quotes, manage liquidity, and discover pools across 5 EVM chains.
Non-custodial: every tool returns router, callData, and value β the agent presents the transaction, the user signs with their own wallet. SwapWizard never holds keys.
Go to swapwizard.xyz/integrators, connect your wallet, and sign a message (no gas cost).
Add to claude_desktop_config.json:
Add to .cursor/mcp.json:
| Tool | Description |
|---|---|
get_supported_chains | List supported EVM chains with IDs, gas tokens, DEX list, and position config |
get_supported_dexes | AMMs/DEX sources SwapWizard routes across per chain |
check_api_health | API availability check |
search_liquidity_pools | Discover pools by chain, tokens, type, or GeckoTerminal trending (trending: true + optional timeframe: 5m/1h/6h/24h, default 5m). Returns poolId, symbol, fee tier, protocol, APY, TVL, 24h volume |
list_user_lp_positions | Full LP position details: value, fees, APR, in-range status, impermanent loss |
get_swap_quote | Best swap route across all DEXes. Returns router + callData + value ready to sign |
get_clean_quote | Swap quote excluding the caller's own LP position from pool state (for rebalancing) |
zap_into_lp_position | Single-tx entry into any LP position from any token |
zap_out_of_lp_position | Single-tx exit from any LP position into any token. Pass sender to auto-detect nftManager |
All quote tools (get_swap_quote, get_clean_quote, zap_into_lp_position, zap_out_of_lp_position) accept an optional affiliateCode β an affiliate wallet address registered on-chain with SwapWizard, forwarded to the API so the affiliate fee is paid to that address.
SwapWizard is not limited to classic V2-style LPs β 13 of the 22 integrated protocols are concentrated-liquidity (CL) AMMs, with full range management:
zap_into_lp_position accepts tickLower / tickUpper to mint a CL position in any range (omit for the protocol default). Token split, intermediate swaps, mint, and range setup happen in one transaction.list_user_lp_positions returns ticks, in-range status, uncollected fees, APR, and USD value for every CL position.get_clean_quote prices a swap excluding your own in-range CL liquidity from pool state (for rebalancing and exits).zap_out_of_lp_position (burn + collect + swaps in one tx) followed by zap_into_lp_position with a new range.| Protocol | Type | Ethereum | BSC | Polygon | Base | Arbitrum |
|---|---|---|---|---|---|---|
| Uniswap V3 | CL | β | β | β | β | β |
| Uniswap V4 | CL | β | β | β | β | β |
| SushiSwap V3 | CL | β | β | β | β | β |
| PancakeSwap V3 | CL | β | β | β | β | β |
| PancakeSwap Infinity CL | CL | β | β | β | β | β |
| Aerodrome Slipstream (+ V2) | CL | β | β | β | β | β |
| Camelot (Algebra) | CL | β | β | β | β | β |
| THENA Fusion (Algebra) | CL | β | β | β | β | β |
| QuickSwap V3 (Algebra) | CL | β | β | β | β | β |
| Retro | CL | β | β | β | β | β |
| Fluid DEX | CL | β | β | β | β | β |
| Balancer V3 | CL | β | β | β | β | β |
| Uniswap V2 | Classic | β | β | β | β | β |
| SushiSwap V2 | Classic | β | β | β | β | β |
| PancakeSwap V2 | Classic | β | β | β | β | β |
| PancakeSwap Infinity Bin | Classic | β | β | β | β | β |
| QuickSwap V2 | Classic | β | β | β | β | β |
| Aerodrome Classic | Classic | β | β | β | β | β |
| THENA Classic | Classic | β | β | β | β | β |
| Curve | Classic | β | β | β | β | β |
| Balancer V2 | Classic | β | β | β | β | β |
A built-in Split Router additionally splits orders across multiple DEXes on all 5 chains. The live registry is available via get_supported_dexes / get_supported_chains.
Tools that return router, callData, value are executed by the user:
to: router, data: callData, value: valueThe agent presents the transaction β the user signs with their own wallet.
get_supported_chains β find available chainsget_swap_quote β get best route + callDatasearch_liquidity_pools β find target pool by tokenszap_into_lp_position β get router + callDatalist_user_lp_positions β get current positionszap_out_of_lp_position β get router + callData (pass sender for auto-detection)list_user_lp_positions β get position detailsget_clean_quote β price excluding own liquidityzap_out_of_lp_position β exit current positionzap_into_lp_position β enter new positionThis is not a testnet demo. After configuring a wallet private key and a SwapWizard API key, an autonomous agent was given this single prompt:
The agent discovered SwapWizard MCP, connected, and executed the full lifecycle autonomously. Here is the verified on-chain result:
On-chain proof: 0xede1afbc...c16f16c β Block 101133314, May 29 2026
The agent called zap_out_of_lp_position to exit a concentrated liquidity position on BNB Chain. SwapWizard's router handled the full operation atomically:
The agent requested the quote, the user approved the NFT and signed β no manual parameter tuning, no contract interaction, no slippage calculation. The MCP server auto-detected nftManager, dexName, and liquidityKind from the sender address.
Full run videos:
| English | EspaΓ±ol |
|
|
|
Ethereum (1), Arbitrum (42161), Base (8453), Polygon (137), BNB Chain (56)
| Variable | Required | Default | Description |
|---|---|---|---|
SWAPWIZARD_API_KEY | Yes | β | API key from swapwizard.xyz/integrators |
SWAPWIZARD_API_URL | No | https://api.swapwizard.xyz | API base URL |
Earn fees by embedding SwapWizard in your site:
Widget modes: swap, pools, or full. Configure at swapwizard.xyz/developers.
60 requests per minute per API key.
See CONTRIBUTING.md for guidelines.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/swapwizard)<a href="https://allmcps.com/mcp/swapwizard"><img src="https://allmcps.com/api/badge/swapwizard?style=directory" alt="SwapWizard on AllMCPs" /></a>