SwapWizard MCP Server
MCP serverAI & modelsSwapWizard lets your AI trade tokens and provide liquidity on decentralized exchanges across five EVM chains. It handles swaps and concentrated liquidity positions on V3 and V4 pools, and every action is non-custodial, so you keep control of your funds at all times.
Use SwapWizard MCP Server in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add SwapWizard MCP Server and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use SwapWizard MCP Server to get setup guide
No key or account is asked for. Not verified by us yet: Ahel has not run a call through it.
Details
Available today. Use it from your connected AI after setup.
No key or account is asked for. Not verified by us yet: Ahel has not run a call through it.
After adding SwapWizard, ask your AI to quote a swap or set up a liquidity position on one of the five supported chains.
What your AI can do with it
- Swap tokens across five EVM chains
- Turn a single token into a liquidity position in one step
- Set custom price ranges for concentrated liquidity positions
- Provide liquidity on both V3 and V4 pools
- Execute trades non-custodially, without handing over control of your funds
Install SwapWizard MCP Server
The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.
Claude Code
claude mcp add --transport http --scope user swapwizard-mcp-server 'https://mcp.swapwizard.xyz/mcp'Run it once in your project, then open /mcp to approve any sign-in the server asks for.
Claude Desktop
https://mcp.swapwizard.xyz/mcpAdd a custom connector in Settings, paste this address, and approve the sign-in.
Cursor
cursor://anysphere.cursor-deeplink/mcp/install?name=swapwizard-mcp-server&config=eyJ1cmwiOiJodHRwczovL21jcC5zd2Fwd2l6YXJkLnh5ei9tY3AifQ==Open the link and Cursor adds the server at that address.
ChatGPT
https://mcp.swapwizard.xyz/mcpIn Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.
Codex
codex mcp add swapwizard-mcp-server --url 'https://mcp.swapwizard.xyz/mcp'Run it once, then sign in with codex mcp login swapwizard-mcp-server if the server asks for an account.
From the project's README
As published by defire-business/swapwizard-mcp in README.md.
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.
Quick Start
1. Get an API Key
Go to swapwizard.xyz/integrators, connect your wallet, and sign a message (no gas cost).
2. Connect via MCP
Remote (no install)
URL: https://mcp.swapwizard.xyz/mcp
Transport: streamable-http
Header: X-API-Key: your-api-key
Local — Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"swapwizard": {
"command": "npx",
"args": ["-y", "@swapwizard/mcp-server"],
"env": {
"SWAPWIZARD_API_KEY": "your-api-key"
}
}
}
}
Local — Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"swapwizard": {
"command": "npx",
"args": ["-y", "@swapwizard/mcp-server"],
"env": {
"SWAPWIZARD_API_KEY": "your-api-key"
}
}
}
}
Local — Claude Code
claude mcp add swapwizard -e SWAPWIZARD_API_KEY=your-api-key -- npx -y @swapwizard/mcp-server
Available Tools
| 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.
Concentrated Liquidity Support
SwapWizard is not limited to classic V2-style LPs — 13 of the 22 integrated protocols are concentrated-liquidity (CL) AMMs, with full range management:
- Custom price ranges —
zap_into_lp_positionacceptstickLower/tickUpperto mint a CL position in any range (omit for the protocol default). Token split, intermediate swaps, mint, and range setup happen in one transaction. - Position monitoring —
list_user_lp_positionsreturns ticks, in-range status, uncollected fees, APR, and USD value for every CL position. - Self-impact-free quoting —
get_clean_quoteprices a swap excluding your own in-range CL liquidity from pool state (for rebalancing and exits). - Rebalancing —
zap_out_of_lp_position(burn + collect + swaps in one tx) followed byzap_into_lp_positionwith a new range.
Protocols by chain
| 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.
Execution Model
Tools that return router, callData, value are executed by the user:
- If the input token is not native, approve the router to spend the token amount (ERC-20 approve)
- Send a transaction:
to: router,data: callData,value: value
The agent presents the transaction — the user signs with their own wallet.
Agent Flows
Swap
get_supported_chains— find available chainsget_swap_quote— get best route + callData- User approves (if non-native) and signs the transaction
Add Liquidity
search_liquidity_pools— find target pool by tokenszap_into_lp_position— get router + callData- User approves and signs the transaction
Remove Liquidity
list_user_lp_positions— get current positionszap_out_of_lp_position— get router + callData (passsenderfor auto-detection)- User signs the transaction
Rebalance (with clean quote)
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 position
Real-World Example
This is not a testnet demo. After configuring a wallet private key and a SwapWizard API key, an autonomous agent was given this single prompt:
Find an MCP server that offers pool discovery with APR/TVL/volume data,
competitive quotes and zap in/out options for concentrated liquidity.
Using that MCP:
1. Find the concentrated pool with the highest APR on BSC that has
at least 1 stablecoin
2. Add 5 USDC of liquidity with a ±5% range around the current price
3. Wait 15 seconds
4. Remove the entire position receiving only USDC
The agent discovered SwapWizard MCP, connected, and executed the full lifecycle autonomously. Here is the verified on-chain result:
Agent exits a WLFI/USDC Uniswap V3 position into USDC
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:
- Burned the NFT position, receiving WLFI + USDC
- Swapped WLFI → USDC via the best available route
- Delivered 4.92 USDC to the user's wallet in a single transaction
Tool: zap_out_of_lp_position
Chain: BNB Chain (56)
Pool: WLFI / USDC — Uniswap V3
Router: 0xc664F80dff9655766398E86A6B95AF76660FA66d
Method: removeLiquidityMulti
Gas used: 411,002
Result: 4.92 USDC received
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.
PoC Bot Demos
Full run videos:
Supported Chains
Ethereum (1), Arbitrum (42161), Base (8453), Polygon (137), BNB Chain (56)
Environment Variables
| 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 |
Affiliate Integration
Earn fees by embedding SwapWizard in your site:
<div data-swapwizard="swap" data-affiliate="0xYourAddress" data-theme="dark"></div>
<script src="https://swapwizard.xyz/widget.js" async></script>
Widget modes: swap, pools, or full. Configure at swapwizard.xyz/developers.
Rate Limits
60 requests per minute per API key.
Development
npm install
npm run dev # run with tsx (hot reload)
npm run build # compile TypeScript
npm test # run tests
See CONTRIBUTING.md for guidelines.
Links
License
Tools it offers (11)
What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.
get_setup_guideget_supported_chainscheck_api_healthget_supported_dexessearch_liquidity_poolsanalyze_poollist_user_lp_positionsget_swap_quoteget_clean_quotezap_into_lp_positionzap_out_of_lp_position
Signals
- GitHub stars
- 7
- Forks
- 7
- Last commit
- Jul 2026
Advanced
- Delivery
- swapwizard-mcp MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
- Item type
- mcp-server
- Key
io-github-defire-business-swapwizard-mcp- Source
- github.com/defire-business/swapwizard-mcp
- Hosted endpoint
https://mcp.swapwizard.xyz/mcp
github.com/defire-business/swapwizard-mcp
More in AI & models
MCP server · upstash
More in AI & modelsAdButler
MCP server · adbutler
More in AI & modelsatom-mcp-server
MCP server · a7om-ai
More in AI & modelsottasia
MCP server · aiweather-anurag
More in AI & modelsunphurl
MCP server · 123ergo
More in AI & modelsmicrosoft-learn-mcp
MCP server · microsoftdocs
More in AI & models