solduster-mcp
# SolDuster MCP
**Read-only MCP server that lets your AI assistant check how much SOL a Solana wallet can recover from empty token accounts.**
Every token you ever held on Solana opened a token account that locks ~0.002 SOL of rent. When the balance goes to zero, the account stays open and the SOL stays locked. This server lets Claude, Cursor, Windsurf, Codex CLI or any [Model Context Protocol](https://modelcontextprotocol.io) client scan a wallet and tell you how much you can get back with [SolDuster](https://solduster.com).
- **Read-only by design**: it only needs a public address. No private key, no seed phrase, no keypair file. It never signs or sends a transaction.
- **Zero dependencies**: one Python file, standard library only (Python 3.9+). Easy to audit: [`solduster_mcp/server.py`](./solduster_mcp/server.py).
- **Recovery stays in your wallet**: the scan returns a link; the owner recovers with their own wallet (Phantom, Solflare, Backpack...) and approves each transaction there.
## Tools
| Tool | What it does |
|---|---|
| `scan_wallet` | Counts empty token accounts (SPL Token and Token-2022) and dust accounts, returns recoverable SOL, SolDuster fee and net amount, plus a recovery link. |
| `get_pricing` | Explains the fees. |
| `network_stats` | Recent rent-recovery activity observed on the Solana network (all tools combined), with Solscan links. |
## Install
### Claude Code
```bash
claude mcp add solduster -- uvx --from git+https://github.com/solduster/solduster-mcp solduster-mcp
```
### Claude Desktop, Cursor, Windsurf (JSON config)
```json
{
"mcpServers": {
"solduster": {
"command": "uvx",
"args": ["--from", "git+https://github.com/solduster/solduster-mcp", "solduster-mcp"]
}
}
}
```
Without `uv`: clone the repository and use `"command": "python3", "args": ["/path/to/solduster-mcp/solduster_mcp/server.py"]`.
## Example prompts
- "How much SOL can I recover from `<wallet address>`?"
- "Scan my Solana wallet `<address>` for empty token accounts."
- "What does SolDuster charge?"
- "Show me recent rent recoveries on Solana."
## Pricing
Scanning is free. Recovering through SolDuster costs 10% of the SOL recovered up to 1 SOL, then 3% on the part above 1 SOL. Network fees are paid by the wallet, like any Solana transaction. Full details of what a recovery transaction contains: https://solduster.com/security
## Privacy
The server sends the wallet address you ask about to `https://solduster.com/api/scan` and nothing else. Set `SOLDUSTER_API_BASE` to point it elsewhere.
## License
MIT. Contact: support@solduster.com
TDQS
Scored across 3 tools
The three tools target clearly distinct concerns: wallet scanning, fee explanation, and aggregate network activity. Although scan_wallet also returns fee information, get_pricing is clearly the general fee-schedule tool, so selection should be unambiguous.
All names use snake_case and are readable, but scan_wallet and get_pricing follow a verb_noun pattern while network_stats is noun-based. This is a minor deviation rather than a confusing inconsistency.
Three tools is well-scoped for a narrow Solana rent-recovery service: one core scan operation plus two supporting informational tools. No tool appears redundant or out of place.
The surface covers the main workflow: discover recoverable rent, understand pricing, and see network context, with recovery intentionally handled externally via a returned link. A minor gap is that scan_wallet reports counts and totals but not detailed account-level breakdowns, which an agent might sometimes want.