Observed since 21 Oct, 09:36 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
DeFi MCP Server for Claude Code — token analysis, prices, trending, holder intelligence
The first open-source DeFi MCP server for Claude Code.
Analyze any Solana token in seconds. Holder intelligence, risk scoring, smart money tracking, KOL detection. Zero API keys required.
> "analyze token 3oQwNvAfZMuPWjVPC12ukY7RPA9JiGwLod6Pr4Lkpump"
═══ SUMMARY ═══
POKE6900 is a 9mo old PumpSwap token with $25.9K liquidity and $34.5K market cap.
53 diamond hands (53.0%), strong holder conviction.
Only 18.0% of holders are in profit, most are underwater with avg loss of $844 per wallet.
Buy pressure is strong at 3.3:1 ratio (1093 buys vs 395 sells), accumulation phase.
Contract looks safe: mint and freeze authorities revoked.
🟢 Lower risk profile based on available data.
Claude Code can write code, fix bugs, deploy apps. But ask it "what's the price of BONK?" and it says "I don't have real-time data."
defi-mcp fixes that. It gives Claude Code real-time access to DeFi data across Solana and 10+ chains.
# Clone and build
git clone https://github.com/0xprotovox/defi-mcp.git
cd defi-mcp
npm install && npm run build
# Add to Claude Code
claude mcp add defi -- node /path/to/defi-mcp/dist/index.js
Then just ask Claude naturally:
> "analyze this token: 3oQw...pump"
> "what's the price of BONK?"
> "show me trending tokens on solana"
> "who made money on JUP token?"
analyze_tokenFull token analysis with holder intelligence, risk scoring, and human-readable summary.
Input:
| Parameter | Type | Default | Description |
|---|---|---|---|
address | string | required | Token contract address |
chain | string | "solana" | Blockchain (solana, ethereum, bsc, base, arbitrum) |
include_holders | boolean | true | Include GMGN holder analysis |
Output includes:
get_priceQuick price lookup. Sub-second response.
> "price of So11111112222..."
BONK — $0.000024 (+5.2% 24h)
Volume: $142M | Liquidity: $12M | MCap: $1.8B
get_trendingTrending and boosted tokens on any chain.
> "trending tokens on solana"
1. BONK — $0.000024 (+12%) — $142M volume
2. WIF — $0.89 (-2.1%) — $89M volume
3. JUP — $0.94 (+3.5%) — $45M volume
...
get_top_tradersWho made and lost money on a token. Winners, losers, PnL, tags.
> "who profited on this token?"
🏆 Top Winners:
1. CR5N... — +$680 (+124%) 🟢 still holding
2. EsRB... — +$166 (+16%) 💎 diamond hands
💀 Top Losers:
1. BgeeV... — -$7,548 (-65%) 💎 diamond hands (!)
2. 5vqid... — -$5,420 (-50%) gmgn user
All free, no API keys required:
| Source | Data | Speed |
|---|---|---|
| DexScreener | Prices, volume, liquidity, pairs, trending | <0.5s |
| GMGN | Holders, tags, KOLs, PnL, dev wallet, snipers | ~1s |
| Solana RPC | Mint authority, freeze authority, supply | <0.5s |
Total analysis time: ~1.5 seconds
Prices and trending work on all DexScreener chains:
Solana, Ethereum, Base, BSC, Arbitrum, Polygon, Avalanche, Optimism, Fantom, and more.
Holder analysis (GMGN) currently supports Solana tokens.
The risk scorer analyzes 6 dimensions to produce a 0-100 score:
| Dimension | Weight | What it checks |
|---|---|---|
| Liquidity | 25% | Pool depth in USD |
| Token Age | 10% | Time since creation |
| Holder Concentration | 20% | Top 10 holder % |
| Dev Wallet | 20% | Dev holdings and selling behavior |
| Fresh Wallets | 15% | New wallet % (possible wash/bundle) |
| Sniper Activity | 10% | Bot/sniper wallets in top holders |
Levels: 🟢 LOW (0-19) | 🟡 MEDIUM (20-44) | 🟠 HIGH (45-69) | 🔴 CRITICAL (70-100)
Claude Code ←→ MCP stdio ←→ defi-mcp server
│
┌────────────┼────────────┐
│ │ │
DexScreener GMGN API Solana RPC
(prices) (holders) (security)
| Variable | Default | Description |
|---|---|---|
SOLANA_RPC_URL | https://api.mainnet-beta.solana.com | Custom Solana RPC endpoint |
Add to your project's .mcp.json:
{
"mcpServers": {
"defi": {
"command": "node",
"args": ["/path/to/defi-mcp/dist/index.js"],
"env": {
"SOLANA_RPC_URL": "https://your-rpc.com"
}
}
}
}
npm install -g defi-mcp)MIT
@0xprotovox - Twitter | GitHub
20 years building software. Now building AI trading agents and DeFi tools.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0Registry latest | 24 Mar 2026 | 6 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 09:36 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:cca1f86d5c83ead488f52856ec0334a648640411f05b0995c7cdd8aa0445ffd4