Unclaimed SOL Scanner MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add -e "SOLANA_KEYPAIR_PATH=${SOLANA_KEYPAIR_PATH}" -e "SOLANA_RPC_URL=${SOLANA_RPC_URL}" unclaimed-sol-scanner -- npx -y @unclaimed-sol/mcp
Required:SOLANA_KEYPAIR_PATHSOLANA_RPC_URL
README.md

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:

  1. Dry run (default) — shows a breakdown of reclaimable accounts, estimated SOL, fee, and transaction count. Returns a one-time execution_token valid for 60 seconds.
  2. Execute — call again with dry_run: false and the execution_token to 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

claude_desktop_config.json
{"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"}}}}

Try it

Scan my wallet for reclaimable SOL
Do a dry run to see what I can claim
Claim my dormant token accounts
Claim rewards for my wallet
Claim my deactivated stakes

Frequently Asked Questions

What are the key features of Unclaimed SOL Scanner?

Scan wallets for reclaimable SOL in dormant token accounts. Burn worthless tokens to recover rent-locked SOL. Claim uncollected DeFi rewards and cashback. Recover SOL from deactivated stake accounts. Two-step dry-run and execution flow for transaction safety.

What can I use Unclaimed SOL Scanner for?

Cleaning up dormant Solana wallets to recover locked rent. Automating the collection of accumulated DeFi rewards. Recovering SOL from old, deactivated stake accounts. Auditing wallet accounts for reclaimable assets via AI.

How do I install Unclaimed SOL Scanner?

Install Unclaimed SOL Scanner by running: npx -y @unclaimed-sol/mcp

What MCP clients work with Unclaimed SOL Scanner?

Unclaimed SOL Scanner works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Unclaimed SOL Scanner docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare