RefundYourSOL

RefundYourSOL

Solana wallet cleanup, token trading on 12+ DEXes, and market data. Scan wallets for reclaimable SOL, close empty token accounts, burn dust tokens, buy/sell with Jito MEV protection. 7 tools for AI agents.

Category
Visit Server

README

refundyoursol

MCP (Model Context Protocol) server for RefundYourSOL — the most widely used Solana wallet cleanup tool with 500K+ wallets processed.

Provides AI agents with tools for Solana wallet cleanup, token trading on 12+ DEXes, and token metadata/pricing.

Tools

Always Available (no private key needed)

Tool Description
scan_wallet Scan a wallet for reclaimable SOL locked in empty token accounts (~0.002 SOL each)
detect_dex Detect which DEX a token trades on + price, market cap, liquidity
get_token_info Get metadata and pricing for one or more tokens
get_sol_price Get current SOL/USD price

Require Private Key

Tool Description
close_accounts Close empty token accounts and reclaim rent SOL
burn_and_close Burn dust tokens and close accounts in one step
trade_token Buy or sell tokens on 12+ DEXes (PumpSwap, Raydium, Meteora, Orca, etc.)

Quick Start

Claude Desktop / Cursor / Windsurf

Add to your MCP config (claude_desktop_config.json or equivalent):

{
  "mcpServers": {
    "refundyoursol": {
      "command": "npx",
      "args": ["-y", "refundyoursol"],
      "env": {
        "SOLANA_PRIVATE_KEY": "your-base58-private-key",
        "SOLANA_RPC_URL": "https://your-rpc-endpoint.com"
      }
    }
  }
}

Claude Code CLI

claude mcp add refundyoursol \
  -e SOLANA_PRIVATE_KEY=your-base58-key \
  -e SOLANA_RPC_URL=https://your-rpc.com \
  -- npx -y @refundyoursol/mcp

Scan-Only Mode (no private key)

Omit SOLANA_PRIVATE_KEY to run in scan-only mode with 4 read-only tools:

{
  "mcpServers": {
    "refundyoursol": {
      "command": "npx",
      "args": ["-y", "refundyoursol"]
    }
  }
}

Configuration

Variable Default Description
SOLANA_PRIVATE_KEY Base58 private key for signing (optional — scan-only mode if omitted)
SOLANA_RPC_URL https://api.mainnet-beta.solana.com Solana RPC endpoint
RYS_API_URL https://refundyoursol.com RefundYourSOL backend
RYS_API_KEY API key for token metadata/pricing endpoints
RYS_PRIORITY_FEE 50000 Priority fee in microLamports

Usage Examples

Once connected, ask your AI assistant:

  • "Scan my wallet for reclaimable SOL"
  • "Close all empty token accounts in my wallet"
  • "What DEX does this token trade on? [mint address]"
  • "Buy 0.1 SOL of [token] on Solana"
  • "Sell 100% of [token] with Jito MEV protection"
  • "What's the current SOL price?"

Safety

  • Dry-run first: close_accounts and burn_and_close use a two-step pattern — first call shows a preview, second call with the execution token confirms
  • Safety Burns: Accidental burns can be reverted (unique to RefundYourSOL)
  • Non-custodial: Keys are used locally for signing only, never sent to any server
  • Execution tokens expire: 60-second TTL prevents stale operations

Features vs Competitors

Feature RefundYourSOL MCP UnclaimedSOL MCP
Wallet scan Yes Yes
Close accounts Yes Yes
Burn & close Yes Yes
Safety burns (revertible) Yes No
Token trading (12+ DEXes) Yes No
DEX detection Yes No
Token metadata/pricing Yes No
Fee matching (down to 2%) Yes No (fixed 5%)
Fee Payer mode (0 SOL) Yes No

Links

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured