
SwapWizard
Connects AI agents to SwapWizard's DeFi API across Ethereum, BSC, Polygon, Base, and Arbitrum. Exposes swap quotes with AMM routing, liquidity pool search by APR or trending status, single-transaction zaps into and out of LP positions, and full position monitoring with fees and impermanent loss tracking. Handles 22 protocols including 13 concentrated liquidity AMMs like Uniswap V3/V4 with custom tick ranges. Every tool returns router address and calldata for the user to sign, no custody required. Reach for this when you need an agent to discover pools, execute swaps across multiple DEXes, or manage concentrated liquidity positions without writing protocol-specific integration code.
- GitHub stars
- 7
- tools
- 11
- auth
- Secret needed
- transport
- STDIO, HTTP
- env var
- 1
- last updated
- Jun 13, 2026
Install
From registry metadata$ npx add-mcp https://mcp.swapwizard.xyz/mcp --name swapwizard-mcpRun in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.
Review the command, arguments and environment values before installing. MCP servers run with your local permissions.
Other ways
Claude Code
$ claude mcp add --transport http swapwizard-mcp https://mcp.swapwizard.xyz/mcpRun in your terminal. Add --scope user to make it available in every project.
Tools
Verified live · 11 toolsVerified live against the running server on Nov 6, 2026.
get_setup_guideReturns the complete setup and usage guide for SwapWizard. Call this FIRST before using any other tool. Covers: required configuration (API key, Alchemy RPC URL, private key), how to use poolId correctly, step-by-step operational flows for swap/zap in/zap out/analyze, transact...
Returns the complete setup and usage guide for SwapWizard. Call this FIRST before using any other tool. Covers: required configuration (API key, Alchemy RPC URL, private key), how to use poolId correctly, step-by-step operational flows for swap/zap in/zap out/analyze, transact...
No parameters. Call it with no arguments.
get_supported_chainsMaps to GET /chains. Lists supported EVM chains with chain IDs and native gas tokens: Ethereum, Arbitrum, Base, Polygon, BNB Chain.
Maps to GET /chains. Lists supported EVM chains with chain IDs and native gas tokens: Ethereum, Arbitrum, Base, Polygon, BNB Chain.
No parameters. Call it with no arguments.
check_api_healthMaps to GET /health. Returns service availability. Use to confirm the API is responsive before attempting operations.
Maps to GET /health. Returns service availability. Use to confirm the API is responsive before attempting operations.
No parameters. Call it with no arguments.
get_supported_dexesReturns the AMMs / DEX sources SwapWizard routes across per chain. Each DEX includes its display name and slug (e.g. "uniswap-v3") — use the slug as the 'project' filter in search_liquidity_pools to filter pools by protocol.1 params
Returns the AMMs / DEX sources SwapWizard routes across per chain. Each DEX includes its display name and slug (e.g. "uniswap-v3") — use the slug as the 'project' filter in search_liquidity_pools to filter pools by protocol.
chainIdintegersearch_liquidity_poolsMaps to GET /pools. Discovers liquidity pools across supported AMMs and chains, returning id, poolId, symbol, underlyingTokens (token addresses), fee tier, protocol, dexKind, APY, apyBase (fee-only APY excluding reward emissions), TVL (USD), 24h/7d volume (USD), stablecoin fla...17 params
Maps to GET /pools. Discovers liquidity pools across supported AMMs and chains, returning id, poolId, symbol, underlyingTokens (token addresses), fee tier, protocol, dexKind, APY, apyBase (fee-only APY excluding reward emissions), TVL (USD), 24h/7d volume (USD), stablecoin fla...
chainId*integerdexKindstringhooklessbooleanpageintegerpageSizeintegerpoolTypestringclassic · concentratedprojectstringsearchstringsemiStableOnlybooleansignalstringsortBystringapy · tvl · volume1d · volume7d · signalsortOrderstringasc · descstableOnlybooleantimeframestring5m · 1h · 6h · 24htokensstringtopPerVenueintegertrendingbooleananalyze_poolMaps to GET /pools/analyze/:id. Returns real-time momentum data for a specific pool from GeckoTerminal: multi-timeframe volume (5m, 15m, 30m, 1h, 6h), price changes (5m–24h), buy/sell transaction counts, unique traders (24h), and reserve in USD. Data is cached for 10 minutes;...1 params
Maps to GET /pools/analyze/:id. Returns real-time momentum data for a specific pool from GeckoTerminal: multi-timeframe volume (5m, 15m, 30m, 1h, 6h), price changes (5m–24h), buy/sell transaction counts, unique traders (24h), and reserve in USD. Data is cached for 10 minutes;...
id*integerlist_user_lp_positionsMaps to GET /positions. Reads all LP positions a wallet holds on a given chain by calling the SwapWizard API, which discovers positions across all supported protocols: Uniswap V2/V3/V4, Aerodrome, Thena, SushiSwap, PancakeSwap, Algebra, Balancer, Curve, and all Solidly forks....3 params
Maps to GET /positions. Reads all LP positions a wallet holds on a given chain by calling the SwapWizard API, which discovers positions across all supported protocols: Uniswap V2/V3/V4, Aerodrome, Thena, SushiSwap, PancakeSwap, Algebra, Balancer, Curve, and all Solidly forks....
chainId*integerowner*stringrpcUrlstringget_swap_quoteMaps to POST /quote. Returns the best swap quote across all integrated DEX protocols, with router, callData, value, price impact, route summary, and gas estimate in one response. Surplus and positive slippage are returned to the user in the same transaction. Supports an option...8 params
Maps to POST /quote. Returns the best swap quote across all integrated DEX protocols, with router, callData, value, price impact, route summary, and gas estimate in one response. Surplus and positive slippage are returned to the user in the same transaction. Supports an option...
affiliateCodestringamount*stringchainId*integerexcludePositionsarrayside*stringexactIn · exactOutslippageBpsintegertokenIn*stringtokenOut*stringget_clean_quoteMaps to POST /quote with excludePositions=true. Shortcut to get_swap_quote that prices the swap as if the caller's own LP position were not in the pool, for concentrated-liquidity positions in the active tick range. Use when an agent holds a significant position in the pool it...9 params
Maps to POST /quote with excludePositions=true. Shortcut to get_swap_quote that prices the swap as if the caller's own LP position were not in the pool, for concentrated-liquidity positions in the active tick range. Use when an agent holds a significant position in the pool it...
affiliateCodestringamount*stringchainId*integerowner*stringrpcUrlstringside*stringexactIn · exactOutslippageBpsintegertokenIn*stringtokenOut*stringzap_into_lp_positionMaps to POST /addliquidity/quote. Builds a single-transaction zap to enter an LP position from ANY input token — the deposit token does NOT have to be one of the pool's underlying tokens. SwapWizard handles all intermediate swaps, the LP mint, and price-range setup in a single...7 params
Maps to POST /addliquidity/quote. Builds a single-transaction zap to enter an LP position from ANY input token — the deposit token does NOT have to be one of the pool's underlying tokens. SwapWizard handles all intermediate swaps, the LP mint, and price-range setup in a single...
affiliateCodestringchainId*integerdeposits*arraypoolId*stringsenderstringtickLowerintegertickUpperintegerzap_out_of_lp_positionMaps to POST /removeliquidity/quote. Builds a single-transaction zap to exit an LP position into ANY output token — you can withdraw into any token, not just the pool's underlying tokens. SwapWizard handles LP burn, fee collection, and intermediate swaps in a single transactio...10 params
Maps to POST /removeliquidity/quote. Builds a single-transaction zap to exit an LP position into ANY output token — you can withdraw into any token, not just the pool's underlying tokens. SwapWizard handles LP burn, fee collection, and intermediate swaps in a single transactio...
affiliateCodestringchainId*integerdexNamestringliquidityKindstringnftManagerstringpercentintegerpoolIdstringpositionId*stringsender*stringwithdrawals*arraySponsors
Configuration
SWAPWIZARD_API_KEY*secretAPI key from https://swapwizard.xyz/integrators
Readme
SwapWizard MCP Server
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:
Details
- Repository
- github.com/defire-business/swapwizard-mcp
- Website
- swapwizard.xyz
- Category
- Finance & Commerce
- Package
@swapwizard/mcp-server- Transport
- STDIO, HTTP
- Auth
- Required
- Registry
- MCP registry, active
- Tools verified
- Nov 6, 2026