SwapWizard
MCP server by DeFiRe-business Community
SwapWizard is an MCP server for the SwapWizard DeFi API. It lets AI assistants get swap quotes, find liquidity pools and build non-custodial liquidity transactions on five EVM chains.
Install SwapWizard
Built from the published package, never by AI.
claude mcp add swapwizard -e SWAPWIZARD_API_KEY=YOUR_SWAPWIZARD_API_KEY -- npx -y @swapwizard/mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"swapwizard": {
"env": {
"SWAPWIZARD_API_KEY": "YOUR_SWAPWIZARD_API_KEY"
},
"args": [
"-y",
"@swapwizard/mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"swapwizard": {
"env": {
"SWAPWIZARD_API_KEY": "YOUR_SWAPWIZARD_API_KEY"
},
"args": [
"-y",
"@swapwizard/mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"swapwizard": {
"env": {
"SWAPWIZARD_API_KEY": "YOUR_SWAPWIZARD_API_KEY"
},
"args": [
"-y",
"@swapwizard/mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add swapwizard --env SWAPWIZARD_API_KEY=YOUR_SWAPWIZARD_API_KEY -- npx -y @swapwizard/mcp-server{
"mcpServers": {
"swapwizard": {
"env": {
"SWAPWIZARD_API_KEY": "YOUR_SWAPWIZARD_API_KEY"
},
"args": [
"-y",
"@swapwizard/mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add swapwizard npx -y @swapwizard/mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the swapwizard block.
About
SwapWizard is a Model Context Protocol server for the SwapWizard DeFi API. It lets an AI assistant get swap quotes, discover liquidity pools, check LP positions and build zap transactions across five EVM chains: Ethereum, Arbitrum, Base, Polygon and BNB Chain. It covers concentrated liquidity protocols, including custom price ranges when entering a position.
Every tool returns a router address, callData and value. The assistant presents the transaction and the user signs it with their own wallet, so SwapWizard never holds keys. The server can run remotely over streamable HTTP or locally through npx. It is aimed at people who want AI agents to handle DeFi swaps and liquidity actions, and it requires an API key.
Written from the project's README and checked against it.
Tools it gives your assistant
get_supported_chainsLists supported EVM chains with IDs, gas tokens, DEX list and position config.get_supported_dexesLists the AMMs and DEX sources SwapWizard routes across per chain.check_api_healthChecks whether the SwapWizard API is available.search_liquidity_poolsDiscovers pools by chain, tokens, type or GeckoTerminal trending, with APY, TVL and volume.list_user_lp_positionsShows LP position details such as value, fees, APR, in-range status and impermanent loss.get_swap_quoteReturns the best swap route across DEXes with router, callData and value to sign.get_clean_quotePrices a swap while excluding the caller's own LP position, for rebalancing.zap_into_lp_positionEnters an LP position from any token in a single transaction, with optional tick range.zap_out_of_lp_positionExits an LP position into any token in a single transaction.
What you need
- SwapWizard API key from swapwizard.xyz/integrators
- A wallet to sign the transactions
- npx to run the local package
| Setting | Needed | What it is |
|---|---|---|
SWAPWIZARD_Environment variable, secret | Required | API key from https://swapwizard.xyz/integrators |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Get me the best swap quote from 100 USDC to ETH on Base.
- Search for trending liquidity pools on Arbitrum with their APR and TVL.
- Show my current LP positions and whether each one is in range.
Good to know
- Non-custodial: the user must sign every transaction with their own wallet.
- Supports five EVM chains only: Ethereum, Arbitrum, Base, Polygon and BNB Chain.
- Rate limited to 60 requests per minute per API key.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to SwapWizard
All alternatives →Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.
Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.
CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.
Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.
Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.
Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.
Compare with mcp, TradingMCP or CCXT
SwapWizard: common questions
Does SwapWizard hold my funds or keys?
No. The README says SwapWizard never holds keys, and every tool returns transaction data that the user signs with their own wallet.
Which blockchains does SwapWizard support?
The README lists Ethereum, Arbitrum, Base, Polygon and BNB Chain, which it describes as five EVM chains.
Can it handle concentrated liquidity positions?
Yes. The README says 13 of the 22 integrated protocols are concentrated liquidity AMMs, and zap_into_lp_position accepts tickLower and tickUpper for custom ranges.
How do I install SwapWizard?
In Claude Code run claude mcp add swapwizard -e SWAPWIZARD_API_KEY=YOUR_SWAPWIZARD_API_KEY -- npx -y @swapwizard/mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is SwapWizard the official server?
SwapWizard is a community project by DeFiRe-business, not verified by a company domain.
Is SwapWizard free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is SwapWizard safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to SwapWizard?
Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.
Does SwapWizard work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
