LeoKit MCP Server: AI DeFi Swaps Across 30+ Blockchains
Your AI Can Now Trade Crypto. Give any AI agent access to 30+ blockchains, 20,000+ tokens, and the lowest swap fee in DeFi.
Works with: Claude Desktop, Claude Code, Cursor, Windsurf, Cline, VS Code
Install: npx -y @leodex/leokit-mcp
What is the LeoKit MCP Server?
The Model Context Protocol (MCP) lets AI assistants like Claude interact directly with external tools. The LeoKit MCP Server gives your AI access to cross-chain DeFi — getting quotes, executing swaps, checking balances — all through natural language. Instead of writing API calls by hand, just say "Swap 0.5 ETH to USDC on the best route" and your AI handles the rest.
- Get swap quotes across 30+ blockchains through Claude
- Generate unsigned transactions for cross-chain swaps
- Check swap status and wallet balances
- Explore supported assets and chains
Your Keys Stay With You: LeoKit generates unsigned transactions only. Your private keys never leave your wallet. The AI assistant handles quoting and routing — you review and sign.
MCP vs Traditional API
Traditional API requires complex code: fetching quotes, parsing routes, handling errors, building transactions, estimating gas. With LeoKit MCP, just say: "Swap 0.5 ETH to USDC on the best route" — natural language, AI agent ready, zero code setup.
Coverage Statistics
- 30+ Blockchains
- 5+ DEX Protocols (THORChain, Maya, Chainflip, Near Intents, Relay)
- 107+ DEXes aggregated
- 20,000+ Tokens
- 0.10% Swap Fee — the lowest in the industry
MCP Tools
leokit_get_quote
Find the cheapest route across 5+ DEX protocols and 30+ chains — BTC, ETH, SOL, and more.
Example: "Get me a quote for swapping 1 ETH to USDC"
leokit_create_deposit
Generate unsigned swap transactions ready for wallet signing — non-custodial.
Example: "Create a swap transaction for 0.5 BTC to ETH via THORChain"
leokit_check_status
Track any swap from deposit detection to final delivery in real time.
Example: "Check the status of my last swap"
leokit_get_assets
Search 20,000+ tokens across every supported chain by name or symbol.
Example: "What tokens are available on Arbitrum?"
leokit_get_balances
Check wallet balances across multiple blockchains in a single call.
Example: "Show my wallet balances across all chains"
Set Up in 30 Seconds
Free API key — no credit card required.
Option 1: Auto Generate Config (Recommended)
- Sign up at dash.leokit.dev (free)
- Click "Generate Config" and download the JSON
- Paste into your Claude Desktop config file
- Restart Claude Desktop and start swapping
Option 2: Remote Setup (Manual)
- Get your free API key from dash.leokit.dev
- Open your Claude Desktop config file: ~/.config/claude/claude_desktop_config.json (Windows: %APPDATA%\Claude\claude_desktop_config.json)
- Add the following config:
{
"mcpServers": {
"leokit": {
"transport": {
"type": "http",
"url": "http://mcp.leokit.dev/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
}
- Replace YOUR_API_KEY with your actual key from dash.leokit.dev
- Restart Claude Desktop
- Test with: "List available LeoKit tools"
Option 3: Local Install
- Install:
npm install -g @leodex/leokit-mcp - Add config to your Claude Desktop config file:
{
"mcpServers": {
"leokit": {
"command": "npx",
"args": ["-y", "@leodex/leokit-mcp"],
"env": {
"LEOKIT_API_KEY": "your-api-key"
}
}
}
}
- Replace your-api-key with your actual key from dash.leokit.dev
- Restart Claude Desktop
- Test with: "List available LeoKit tools"
Live Demo: AI Executing a Swap
Here's a real conversation between Claude and the LeoKit MCP Server:
User: "Swap 0.5 ETH to USDC on the best route"
Claude: I'll get you a quote for swapping 0.5 ETH to USDC across all available routes.
Claude calls leokit_get_quote(): THORChain offers 1,247.83 USDC with $0.62 in fees. Chainflip offers 1,245.21 USDC with $1.10 in fees.
Claude: THORChain offers the best rate: 1,247.83 USDC for 0.5 ETH with just $0.62 in fees. Want me to generate the unsigned transaction?
User: "Yes, go with THORChain"
Claude calls leokit_create_deposit(): Unsigned transaction generated, ready for signing in your wallet.
Non-Custodial by Design
- AI Quotes: Your AI finds the cheapest route across 5+ protocols and 30+ chains.
- You Review: See exact amounts, fees, and routes before any transaction is created.
- You Sign: Private keys never leave your wallet. You approve every transaction.
Non-custodial. Unsigned transactions only. Decentralized protocols. 0.10% per swap — no hidden fees, no subscriptions.
Frequently Asked Questions
Is the LeoKit MCP Server free?
LeoKit is free to integrate — $0 upfront, no subscription, no credit card. When end users swap, the fee is just 0.10% (10 basis points) — the lowest in the industry. Get your free API key at dash.leokit.dev.
How much does LeoKit cost?
LeoKit is free to integrate. When end users swap, the fee is just 0.10% (10 basis points) — the lowest in the industry. For comparison, Trust Wallet charges 1.7% (17x more). No hidden fees, no subscriptions, no setup costs.
Does my AI agent have access to my private keys?
Never. LeoKit only generates unsigned transactions. Your private keys never leave your wallet. The AI handles quoting and routing — you review and sign every transaction yourself.
Which AI assistants work with the MCP Server?
Any MCP-compatible AI assistant works, including Claude Desktop, Claude Code, and other MCP clients. The server uses standard HTTP transport, so any client that supports the Model Context Protocol can connect.
What blockchains and tokens are supported?
LeoKit aggregates 5+ DEX protocols (THORChain, Maya, Chainflip, Near Intents, Relay) covering 30+ blockchains and 20,000+ tokens — Bitcoin, Ethereum, Solana, Cosmos, Arbitrum, and many more.
How do I set up the LeoKit MCP Server with Claude Desktop?
Use our Config Generator at dash.leokit.dev. Sign up, click "Generate Config", paste the JSON into your Claude Desktop config file, and restart. Takes about 30 seconds.
Can I run the MCP Server locally?
Yes. Install via npm (npm install -g @leodex/leokit-mcp) or use npx for zero-install setup — see the Local Install section above for the full config.