Defi Trading MCP Server

Execute crypto swaps and manage portfolios across 17 blockchains via AI agents.

Data last scanned today · Reviewed today

272 dangerous tools21 tools52JavaScript

Overview

The Defi Trading MCP Server enables AI assistants to function as autonomous crypto trading agents. It provides tools for real-time market analysis, identifying new memecoin opportunities, and executing trades across more than 17 different blockchains. Users can request automated portfolio monitoring, price quotes, and technical analysis of tokens based on liquidity and momentum data. To operate, the server requires a private key for transaction signing and a CoinGecko API key for market data. It supports optional integration with Alchemy for premium RPC performance and automatic fallback to public providers. The server includes utility functions to generate new local wallets for secure trading operations.

Our verdict

This server carries a high risk profile with a security score of 27/100. The project lacks a defined license, meaning legal terms for use are unclear, and it is maintained by the community rather than an official vendor. Given that the server handles private keys and transaction execution, users should exercise extreme caution, preferably using a dedicated wallet with limited funds rather than a primary holding address.

  • Supports trading operations across 17+ different blockchain networks
  • Small dependency footprint with only 4 direct packages
  • Provides automated memecoin scanner and technical analysis features
  • No license detected, creating legal ambiguity for users
  • Community-maintained project lacking an official vendor audit
  • High risk score reflects lack of external editorial verification

Setup

Claude Desktop
{
  "mcpServers": {
    "defi-trading-mcp": {
      "args": [
        "-y",
        "defi-trading-mcp"
      ],
      "command": "npx"
    }
  }
}

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Some servers require API keys or tokens as environment variables — check the project's README and add an "env" object if needed.

  • No read-only mode — running this grants full read/write access.
  • No built-in authentication — anyone with access to this config can invoke every tool it exposes.

Tools

ToolDescriptionRisk
get_portfolio_tokensMulti-chain portfolio analysis with prices and metadatalow
get_portfolio_balancesFast balance checking across all chainslow
get_portfolio_transactionsComplete transaction history analysislow
get_trending_poolsIdentify hot trading opportunities with volume metricslow
get_new_poolsDiscover newly launched tokens and liquidity poolslow
get_pool_ohlcvTechnical analysis with OHLCV candlestick datalow
get_pool_tradesAnalyze recent trading activity and whale movementslow
get_token_priceReal-time pricing with 24h change indicatorslow
get_token_dataDeep token research with metadata and social linkslow
get_token_infoComprehensive token analysis including descriptionslow

Compatibility

ClientLocalDockerRemoteRead-only
Claude Desktop
Cursor
VS Code
Windsurf
ChatGPT

Frequently asked questions

What information is required to configure the server?

You must provide your USER_PRIVATE_KEY, USER_ADDRESS, and a COINGECKO_API_KEY. An ALCHEMY_API_KEY is optional but recommended for improved performance and access to premium RPCs.

Does the server store my private keys externally?

No, your private keys remain on your local device. The server uses them to sign transactions locally and no sensitive data is transmitted to external servers.

How can I generate a secure wallet for trading?

You can use the command 'npx defi-trading-mcp@latest --create-wallet' to generate a new wallet address and private key specifically for use with the agent.

Are there specific protections against MEV attacks?

Yes, Ethereum transactions are automatically protected from MEV and front-running via private mempool routing. No additional configuration is required to enable this.

What is the benefit of adding an Alchemy API key?

Providing an Alchemy API key enables premium RPC access for 15 major chains, resulting in lower latency and better uptime compared to using default public RPCs.

Badge

Defi Trading MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.