Overview
What is Soldefi MCP?
An MCP (Model Context Protocol) server that gives AI agents paid access to Solana DeFi risk intelligence — rug/honeypot scans, deep liquidity-pool analysis, and a wash-trade-filtered “real best pools” ranking. Each paid call settles an x402 micropayment in USDC (on Solana or Base) automatically, using a wallet you configure. The intelligence runs server-side on the hosted Solana DeFi Intelligence API.
How to use Soldefi MCP?
Add it to your MCP client (e.g., Claude Code, Claude Desktop) by configuring the server with npx -y soldefi-mcp and setting the required environment variable SOLANA_PRIVATE_KEY (or EVM_PRIVATE_KEY for Base). A dedicated wallet with a small USDC balance is required; everything else defaults to production.
Key features of Soldefi MCP
- Rug/honeypot scanning with 0–100 risk score and verdict
- Deep liquidity-pool analysis across Raydium/Orca/Meteora/pumpswap
- Wash-trade-filtered “real best pools” ranking
- Live Jupiter buy→sell round trip for sellability checks
- Deployer reputation and wallet age analysis
- Batch and portfolio rug scanning capabilities
Use cases of Soldefi MCP
- Scan a Solana token for honeypot/rug risk before buying
- Analyze which liquidity pool offers the best risk-adjusted fee yield
- Check whether you can exit a position at a specific USD amount
- Assess a wallet’s total exposure to rugs in a single call
- Identify wash-traded or fake-volume pools to avoid
FAQ from Soldefi MCP
How are payments handled?
Each call is an x402 micropayment settled in USDC on Solana or Base. The call is charged only on success; malformed input is rejected for free.
What chains can I use for payment?
You can pay on Solana mainnet (using SOLANA_PRIVATE_KEY) or Base mainnet (using EVM_PRIVATE_KEY). If both are set, the x402 layer uses whichever rail the server’s payment challenge advertises.
Is there a free tier?
Yes, the validate_mint tool is free and performs a local base58 mint-address format check. No payment is required for that tool.
What are the security precautions?
Use a dedicated wallet with a small balance, never a personal or treasury key. Anything that can read the process environment can spend from it. The server does not need SOL on Solana for the payment itself (the facilitator sponsors the transaction fee), but the receiving side must have a USDC token account.
Where does the data come from?
The intelligence runs server-side on the hosted Solana DeFi Intelligence API (https://soldefi.thomenz.me by default). The MCP server is a thin payment-client bridge.