Solana MCP Server

MCP server giving AI agents access to Solana blockchain data — wallet balances, token prices, DeFi yields, and token safety checks.

solana-mcp-server

Solana blockchain data for AI agents — wallet balances, token prices, DeFi yields, whale tracking, and token safety checks.

PyPI version License: MIT Smithery

Real-time Solana data from Helius, Jupiter, CoinGecko, Raydium, Orca, and RugCheck. Scam-pools auto-filtered (< $1,000 TVL).

Quick Start

pip install solana-mcp-server

Add to your MCP client config:

{
  "mcpServers": {
    "solana": {
      "command": "solana-server",
      "env": {
        "HELIUS_API_KEY": "your-free-key-from-helius.dev"
      }
    }
  }
}

Get your free Helius key at dev.helius.xyz (1M credits/month free).

What Can You Do?

Ask your AI agent things like:

  • "What tokens does this wallet hold?"
  • "What's the current price of SOL?"
  • "Show me the best DeFi yields on Solana right now"
  • "Is this token safe? Check the RugCheck score"
  • "What are whales doing with JUP?"

11 Tools

ToolWhat it does
get_wallet_balanceSOL + token balances of any wallet
get_transaction_historyRecent transactions with type and description
get_token_priceCurrent USD price (Jupiter primary, CoinGecko fallback)
get_token_infoToken metadata: name, symbol, supply, decimals
get_defi_yieldsTop DeFi pool APRs from Raydium + Orca
compare_yieldsCompare yields for a specific token across DEXs
check_token_safetyRugCheck score, holder concentration, mint/freeze authority
get_whale_transactionsLarge transactions for a token
track_smart_walletTrack a whale wallet's holdings and activity
analyze_wallet_portfolioFull portfolio analysis with USD values
get_usage_statsServer usage statistics

API Keys

APIFree TierKey Required?
Helius1M credits/monthYes (free)
JupiterUnlimitedNo
CoinGecko30 calls/minNo
RaydiumUnlimitedNo
OrcaUnlimitedNo
RugCheckUnlimitedNo

Architecture

src/
├── server.py       # FastMCP server
├── config.py       # API key config via .env
├── clients/        # Async HTTP clients (one per API)
└── tools/          # MCP tool definitions (wallet, token, defi, safety)

Related Servers

License

MIT

Serveurs connexes

NotebookLM Web Importer

Importez des pages web et des vidéos YouTube dans NotebookLM en un clic. Utilisé par plus de 200 000 utilisateurs.

Installer l'extension Chrome