soldefi-mcp MCP Server
Solana DeFi risk intel over x402: rug/honeypot scans, pool analysis, wash-filtered pools.
soldefi-mcp scores 56 (Fair), licensed MIT and written in JavaScript. It installs as a local process. It declares 12 tools. Filed under Finance. GitHub shows 0 stars. Package registries report about 188 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
56 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
70/100 for listing completeness. Lost points: 12 of 12 tools barely described, short summary, no docs link.
How quality is graded
Where the 56 comes from
22 + 10 + 0 + 10 + 4 + 10 = 56. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "thomenz-soldefi-mcp": { "command": "npx", "args": [ "-y", "soldefi-mcp@0.5.2" ], "env": { "SOLANA_PRIVATE_KEY": "YOUR_SOLANA_PRIVATE_KEY", "EVM_PRIVATE_KEY": "YOUR_EVM_PRIVATE_KEY", "SOLANA_RPC_URL": "", "SOLDEFI_BASE_URL": "", "X402_NETWORK": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
SOLANA_PRIVATE_KEYSecret | Optional | base58 or JSON-array secret key of a DEDICATED Solana wallet holding USDC (pays per call). Configure this and/or EVM_PRIVATE_KEY; the x402 layer settles on whichever rail the 402 advertises. Paid tools return 402 without one; the free validate_mint tool still works. |
EVM_PRIVATE_KEYSecret | Optional | 0x private key of a DEDICATED wallet holding USDC on Base (pays per call). Configure this and/or SOLANA_PRIVATE_KEY; the x402 layer settles on whichever rail the 402 advertises. Paid tools return 402 without one; the free validate_mint tool still works. |
SOLANA_RPC_URL | Optional | Optional Solana RPC override used to build the payment (e.g. a Helius URL). Only read when SOLANA_PRIVATE_KEY is set. |
SOLDEFI_BASE_URL | Optional | Base URL of a soldefi Worker. Defaults to the hosted production API (https://soldefi.thomenz.me). |
X402_NETWORK | Optional | Set to 'base-sepolia' to pay on testnet, which switches BOTH rails (Solana devnet + Base Sepolia). Any other value, including unset, pays on mainnet. |
Tools12Tool docs quality grade F
All capabilitiesanalyze_poolstool$0.015
$0.001 + 0.5%
can_i_selltool$0.003
check_deployertool$0.01
check_exit_risktool$0.015
check_lp_statustool$0.005
full_scantool$0.03
scan_honeypottool$0.005
$0.02
scan_wallet_risktool$0.03
top_poolstool$0.02
validate_minttoolfree
About
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. A call is charged only on success — malformed input is rejected for free.
It talks to the hosted Solana DeFi Intelligence API
(https://soldefi.thomenz.me by default). This package is a thin payment-client
bridge; the intelligence runs server-side.
Tools
| Tool | Price | What it does |
|---|---|---|
scan_honeypot | $0.005 | Rug/honeypot scan of an SPL token by mint: mint/freeze authority renounced?, Token-2022 transfer tax, top-holder concentration, and a live Jupiter buy→sell round trip as a strong signal the token is sellable at scan time (catches most honeypots). Returns a 0–100 risk score + AVOID/CAUTION/LOW RISK verdict. |
analyze_pools | $0.015 | Deep liquidity-pool analysis across Raydium/Orca/Meteora/pumpswap: real fee APR, wash-trade risk, age, TVL, a token rug verdict, and a real Jupiter slippage ladder ($100/$1k/$10k). Recommends the best risk-adjusted pool. |
top_pools | $0.02 | The real best Solana DEX pools — wash-traded/fake-volume pools filtered out, the rest ranked by risk-adjusted fee yield, with an excluded list of what was dropped and why. |
check_lp_status | $0.005 | Liquidity durability / rug-pull exposure: pools (TVL, age, DEX), largest-pool depth, burned-supply share, and whether mint/freeze authority is still live. Returns a 0-100 liquidity-risk score + verdict (DURABLE/SHAKY/FRAGILE/RUG-PRONE). |
check_deployer | $0.01 | Deployer reputation: creator wallet address, creator's remaining holding %, wallet age, and token age. Verdict flags fresh wallets, heavy insider holding, and brand-new tokens. |
can_i_sell | $0.003 | Real-time sellability check at YOUR size: simulates exiting a specific USD amount of a Solana token via a live Jupiter buy→sell round trip and reports USDC recovered, real sell price impact, and tax/friction loss. |
check_exit_risk | $0.015 | Can I get out, and at what cost? Crosses Birdeye smart-money flow (whale net buy/sell 24h, bundler/sniper manipulation tags, 1h sell-pressure, holder count) with a live Jupiter exit-slippage ladder ($1k/$10k) → LOW/ELEVATED/HIGH exit-risk. The sellability wedge: are whales dumping into a thin book that traps you? |
full_scan | $0.03 | One-call full workup: bundles honeypot + LP durability + deployer + exit-risk into a single verdict with an aggregated overall {riskScore, riskLevel, verdict, topFlags} — cheaper than buying the four separately (~$0.035). |
scan_wallet_risk | $0.03 | Portfolio rug scan: reads a wallet's SPL holdings and runs the full honeypot/rug scan on each (up to 10 positions), returning per-token risk and which mints to exit. |
scan_honeypot_batch | $0.02 | Batch rug/honeypot scan: submit up to 10 Solana token mints and get the full per-token honeypot verdict for each in one paid call (cheaper than scanning individually). |
build_guarded_swap | $0.001 + 0.5% | Build a ready-to-sign Jupiter swap with the rug check in front: a critical verdict on the token you are BUYING returns the verdict and no transaction. Returns an UNSIGNED versioned transaction — your wallet signs, this service never custodies funds. The 0.5% platform fee applies only when SELLING into USDC/SOL (buying is fee-free) and rides inside the transaction you sign. |
validate_mint | free | Local base58 mint-address format check. No payment. |
Install & configure
Add it to your MCP client (Claude Code, Claude Desktop, …). Only a paying wallet is required — everything else defaults to production.
{
"mcpServers": {
"soldefi": {
"command": "npx",
"args": ["-y", "soldefi-mcp"],
"env": {
"SOLANA_PRIVATE_KEY": "<base58-or-JSON-array secret key of a DEDICATED Solana wallet holding USDC>"
}
}
}
}
You can pay on Base instead of (or in addition to) Solana by setting
EVM_PRIVATE_KEY (0x…). If both are set, the x402 layer uses whichever rail
the server's payment challenge advertises.
Environment
| Var | Default | Notes |
|---|---|---|
SOLANA_PRIVATE_KEY | — | base58 or JSON-array secret key (32 or 64 bytes) of the paying Solana wallet. |
EVM_PRIVATE_KEY | — | 0x-prefixed key of the paying Base wallet. |
SOLDEFI_BASE_URL | https://soldefi.thomenz.me | Point at your own Worker if self-hosting. |
X402_NETWORK | base | base (mainnet → Solana mainnet) or base-sepolia (testnet → Solana devnet). |
SOLANA_RPC_URL | — | Optional RPC used to build the Solana payment (e.g. a Helius URL). Public default otherwise. |
🔐 Security: these keys control real funds. Use a dedicated wallet with a small balance, never a personal/treasury key. Anything that can read this process' environment can spend from it.
The wallet needs
- A little USDC on the chosen chain to pay per call.
- On Solana, a tiny bit of SOL is not required for the payment itself (the facilitator sponsors the transaction fee), but the receiving side must have a USDC token account — which it does on the hosted service.
Develop
pnpm install
pnpm --filter soldefi-mcp build # tsc → dist/
SOLANA_PRIVATE_KEY=… pnpm --filter soldefi-mcp dev # run from source
License
MIT
Frequently asked questions
What is soldefi-mcp MCP Server?
Solana DeFi risk intel over x402: rug/honeypot scans, pool analysis, wash-filtered pools.
How do I install soldefi-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. soldefi-mcp MCP Server runs locally from the npm package soldefi-mcp with the command npx -y soldefi-mcp@0.5.2.
Is soldefi-mcp MCP Server free and open source?
Yes. soldefi-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does soldefi-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for soldefi-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does soldefi-mcp MCP Server provide?
soldefi-mcp MCP Server provides 12 tools, including analyze_pools, build_guarded_swap, can_i_sell, and check_deployer. See the full tool list for descriptions and parameters.
How is soldefi-mcp MCP Server's trust score calculated?
soldefi-mcp MCP Server scores 56 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.