Defi Trading Mcp
@edkdev
About Defi Trading Mcp
DeFi Trading Agent MCP Server
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"defi-trading-mcp": {
"command": "npx",
"args": [
"defi-trading-mcp"
],
"env": {
"USER_PRIVATE_KEY": "your_private_key_here",
"USER_ADDRESS": "0xYourWalletAddress",
"COINGECKO_API_KEY": "CG-your_coingecko_api_key",
"ALCHEMY_API_KEY": "your_alchemy_api_key"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Defi Trading Mcp?
Defi Trading Mcp transforms an AI assistant into an autonomous crypto trading agent with real-time market analysis, portfolio management, and trade execution across 17+ blockchains. It is designed for developers and traders who want to automate DeFi trading via MCP-compatible clients.
How to use Defi Trading Mcp?
Install globally with npm install -g defi-trading-mcp, then configure an MCP client (e.g., Claude Desktop, Cursor, Kiro IDE) with environment variables: USER_PRIVATE_KEY, USER_ADDRESS, COINGECKO_API_KEY, and optionally ALCHEMY_API_KEY. Use natural language prompts like "Get me a quote for 0.1 eth to usdc on Base chain" to execute trades.
Key features of Defi Trading Mcp
- Autonomous portfolio management across 17+ blockchains
- Real-time market intelligence with OHLCV technical analysis
- Gasless trade execution (no ETH needed for fees)
- MEV protection for Ethereum transactions via private mempool
- Local private key signing – keys never leave your device
- 25+ tools for swapping, quoting, and token discovery
Use cases of Defi Trading Mcp
- Quote and execute swaps across multiple chains using simple prompts
- Scan for newly launched memecoins with liquidity and volume filters
- Monitor portfolio positions and receive risk alerts with protective trade execution
- Perform technical analysis on trending tokens to identify entry points
- Manage DeFi portfolio rebalancing based on performance across all chains
FAQ from Defi Trading Mcp
What blockchains does Defi Trading Mcp support?
It supports 17+ networks including Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, Avalanche, Blast, Linea, Scroll, Mantle, Mode, Worldchain, Unichain, Berachain, Ink, and MonadTestnet.
What are the required environment variables?
You must set USER_PRIVATE_KEY, USER_ADDRESS, and COINGECKO_API_KEY. An ALCHEMY_API_KEY is optional for premium RPC performance.
Where does my private key stay?
Your private key never leaves your device. All transaction signing happens locally, and no sensitive data is transmitted to external servers.
Does Defi Trading Mcp protect against MEV attacks?
Yes, Ethereum transactions are automatically protected from MEV, sandwich, and front-running attacks via private mempool routing.
Can I trade without holding ETH for gas?
Yes, gasless trading is supported. Use get_gasless_price, get_gasless_quote, submit_gasless_swap, and get_gasless_status to execute trades without native gas tokens.
Frequently asked questions
What blockchains does Defi Trading Mcp support?
It supports 17+ networks including Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, Avalanche, Blast, Linea, Scroll, Mantle, Mode, Worldchain, Unichain, Berachain, Ink, and MonadTestnet.
What are the required environment variables?
You must set `USER_PRIVATE_KEY`, `USER_ADDRESS`, and `COINGECKO_API_KEY`. An `ALCHEMY_API_KEY` is optional for premium RPC performance.
Where does my private key stay?
Your private key never leaves your device. All transaction signing happens locally, and no sensitive data is transmitted to external servers.
Does Defi Trading Mcp protect against MEV attacks?
Yes, Ethereum transactions are automatically protected from MEV, sandwich, and front-running attacks via private mempool routing.
Can I trade without holding ETH for gas?
Yes, gasless trading is supported. Use `get_gasless_price`, `get_gasless_quote`, `submit_gasless_swap`, and `get_gasless_status` to execute trades without native gas tokens.
Basic information
More Finance & Commerce MCP servers
Yahoo Finance MCP Server
narumirunaCrypto Fear & Greed Index MCP Server
kukapayProviding real-time and historical Crypto Fear & Greed Index data
Financial Modeling Prep MCP Server
cdtaitFinancial Modeling Prep MCP Server

InvestSights Indian Stock Research MCP
InvestSightsResearch-grade Indian stock data (NSE/BSE) — fundamentals, forensic accounting scores, DCF valuation, screening, prices & news for 4,800+ stocks.
Polygon.io MCP Server
polygon-ioAn MCP server for Massive.com Financial Market Data
Comments