Scan and reclaim dormant SOL from Solana wallets directly from AI assistants.
@unclaimed-sol/mcp
MCP server for UnclaimedSOL — scan and reclaim dormant SOL from Solana wallets directly from AI assistants like Claude, ChatGPT, and others that support the Model Context Protocol.
See also:
What it does
Solana wallets accumulate rent-locked SOL in dormant token accounts (zero-balance ATAs) and program buffer accounts. This MCP server lets AI assistants:
- Scan any wallet to check for reclaimable SOL
- Claim (Vibe Claiming) — burn worthless token balances, close dormant accounts, and reclaim the rent SOL. Signs and broadcasts transactions locally via the UnclaimedSOL on-chain program. A 5% service fee applies.
- Claim rewards — claim uncollected DeFi rewards (cashback, creator fees, etc.). 15% fee.
- Claim stakes — claim SOL from deactivated stake accounts. 10% fee.
Tools
`scan_claimable_sol`
Check how much SOL a wallet can reclaim. Read-only — no transactions, no keypair needed.
Input: wallet_address (base58 public key; optional in claim-enabled mode, defaults to configured keypair wallet)
`claim_sol`
Claim reclaimable SOL. Requires a configured keypair. Uses a two-step flow:
- Dry run (default) — shows a breakdown of reclaimable accounts, estimated SOL, fee, and transaction count. Returns a one-time
execution_tokenvalid for 60 seconds. - Execute — call again with
dry_run: falseand theexecution_tokento sign and broadcast.
Inputs: wallet_address (optional in claim-enabled mode, defaults to configured keypair wallet), dry_run (default true), execution_token, max_transactions (default 10), exclude (optional token symbols/names to skip on execute)
This action is irreversible — closed accounts cannot be recovered.
`claim_rewards`
Claim uncollected DeFi rewards (cashback, creator fees, and more). Requires a configured keypair. Uses the same two-step dry-run/execute flow as claim_sol. A 15% service fee applies.
Inputs: wallet_address (optional in claim-enabled mode, defaults to configured keypair wallet), dry_run (default true), execution_token
`claim_stakes`
Claim SOL from deactivated stake accounts. Requires a configured keypair. Uses the same two-step dry-run/execute flow. Optionally pass specific stake account addresses to claim.
Inputs: wallet_address (optional in claim-enabled mode, defaults to configured keypair wallet), dry_run (default true), execution_token, stake_accounts (optional array)
Example prompts
- "Scan my wallet for reclaimable SOL"
- "How much SOL can I reclaim?"
- "Do a dry run to see what I can claim"
- "Claim my dormant token accounts"
- "Claim rewards for my wallet"
- "Claim my deactivated stakes"
- "How much SOL can I reclaim from
<wallet_address>?" - "Scan
<wallet_address>for reclaimable SOL"
Setup
Prerequisites
- Node.js 18+
- npm
Quick install (recommended)
No clone/build required if your MCP client supports package commands:
npx -y @unclaimed-sol/mcp
Install and build (alternative)
git clone https://github.com/unclaimed-sol/unclaimed-sol-mcp.git && cd unclaimed-sol-mcp
npm install
npm run build
Configuration
Vibe Claiming mode (recommended)
All tools are exposed (scan_claimable_sol, claim_sol, claim_rewards, claim_stakes). Transactions are signed locally with your keypair and broadcast to the Solana network.
For Claude Desktop / Cursor / Windsurf
Using npm package (recommended):
{
"mcpServers": {
"unclaimed-sol": {
"command": "npx",
"args": ["-y", "@unclaimed-sol/mcp"],
"env": {
"SOLANA_KEYPAIR_PATH": "~/.config/solana/id.json",
"SOLANA_RPC_URL": "https://your-rpc-provider.com"
}
}
}
}
Using local build:
{
"mcpServers": {
"unclaimed-sol": {
"command": "node",
"args": ["/absolute/path/to/unclaimed-sol-mcp/dist/index.js"],
"env": {
"SOLANA_KEYPAIR_PATH": "~/.config/solana/id.json",
"SOLANA_RPC_URL": "https://your-rpc-provider.com"
}
}
}
}
For Claude Code
Using npm package (recommended):
claude mcp add unclaimed-sol \
-e SOLANA_KEYPAIR_PATH=~/.config/solana/id.json \
-e SOLANA_RPC_URL=https://your-rpc-provider.com \
-- npx -y @unclaimed-sol/mcp
Using local build:
Tools (4)
scan_claimable_solCheck how much SOL a wallet can reclaim from dormant token accounts and program buffers.claim_solClaim reclaimable SOL by burning worthless tokens and closing dormant accounts.claim_rewardsClaim uncollected DeFi rewards like cashback and creator fees.claim_stakesClaim SOL from deactivated stake accounts.Environment Variables
SOLANA_KEYPAIR_PATHrequiredPath to the Solana wallet keypair file for signing transactions.SOLANA_RPC_URLrequiredThe RPC endpoint URL for the Solana network.Configuration
{"mcpServers": {"unclaimed-sol": {"command": "npx", "args": ["-y", "@unclaimed-sol/mcp"], "env": {"SOLANA_KEYPAIR_PATH": "~/.config/solana/id.json", "SOLANA_RPC_URL": "https://your-rpc-provider.com"}}}}