Skip to main content
Glama

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).

Related MCP server: jupiter-mcp

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

Tool

What it does

get_wallet_balance

SOL + token balances of any wallet

get_transaction_history

Recent transactions with type and description

get_token_price

Current USD price (Jupiter primary, CoinGecko fallback)

get_token_info

Token metadata: name, symbol, supply, decimals

get_defi_yields

Top DeFi pool APRs from Raydium + Orca

compare_yields

Compare yields for a specific token across DEXs

check_token_safety

RugCheck score, holder concentration, mint/freeze authority

get_whale_transactions

Large transactions for a token

track_smart_wallet

Track a whale wallet's holdings and activity

analyze_wallet_portfolio

Full portfolio analysis with USD values

get_usage_stats

Server usage statistics

API Keys

API

Free Tier

Key Required?

Helius

1M credits/month

Yes (free)

Jupiter

Unlimited

No

CoinGecko

30 calls/min

No

Raydium

Unlimited

No

Orca

Unlimited

No

RugCheck

Unlimited

No

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)

License

MIT

Available Tools

8 tools
check_token_safetyA

Sicherheitscheck für einen Solana-Token durchführen.

Prüft: RugCheck-Score, Mint/Freeze-Authority, Holder-Konzentration und bekannte Risiken. Hilfreich um Scam-Tokens und Honeypots zu erkennen.

Args: token: Token-Symbol (z.B. "BONK") oder Mint-Adresse

Inputs: token (required).

compare_yieldsA

Yield-Vergleich für einen bestimmten Token über alle Solana-DEXs.

Sucht alle Pools die den Token enthalten und vergleicht APRs. Filtert Scam-Pools automatisch raus.

Args: token: Token-Symbol (z.B. "SOL", "USDC") oder Mint-Adresse limit: Maximale Anzahl Pools gesamt (Standard: 10)

Inputs: token (required), limit.

get_defi_yieldsA

Top DeFi-Pool-Yields auf Solana abrufen (Raydium + Orca).

Zeigt die besten Yield-Möglichkeiten über mehrere DEXs. Filtert Scam-Pools automatisch raus (Mindest-TVL: $1.000).

Args: sort_by: Sortierung — "apr" (Rendite), "tvl" (Liquidität) oder "volume" (Handelsvolumen). Standard: "apr" limit: Anzahl der Ergebnisse gesamt (Standard: 10, Maximum: 25)

Inputs: sort_by, limit.

get_token_infoB

Metadaten eines Solana-Tokens abfragen.

Gibt Name, Symbol, Supply, Decimals und Authorities zurück.

Args: token: Token-Symbol (z.B. "SOL", "JUP") oder Mint-Adresse

Inputs: token (required).

get_token_priceA

Aktuellen USD-Preis eines Solana-Tokens abfragen.

Nutzt Jupiter als primäre Quelle, CoinGecko als Fallback.

Args: token: Token-Symbol (z.B. "SOL", "BONK") oder Mint-Adresse

Inputs: token (required).

get_transaction_historyB

Letzte Transaktionen einer Solana-Wallet abrufen.

Zeigt die letzten Transaktionen mit Typ, Beschreibung und Zeitstempel.

Args: wallet_address: Solana-Wallet-Adresse im Base58-Format limit: Anzahl der Transaktionen (Standard: 10, Maximum: 50)

Inputs: wallet_address (required), limit.

get_usage_statsA

Nutzungsstatistiken des MCP-Servers abrufen.

Zeigt: Gesamtanzahl Tool-Aufrufe, Aufrufe pro Tool, erster und letzter Aufruf.

Inputs: no named parameters.

get_wallet_balanceB

SOL- und Token-Balances einer Solana-Wallet abfragen.

Gibt die native SOL-Balance und alle Token-Positionen zurück.

Args: wallet_address: Solana-Wallet-Adresse im Base58-Format (z.B. "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU")

Inputs: wallet_address (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: token safety checks, yield comparisons, DeFi yield listings, token metadata, token pricing, transaction history, usage statistics, and wallet balances. The descriptions reinforce unique functions, making tool selection unambiguous for an agent.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case (e.g., check_token_safety, get_token_info, get_wallet_balance). The naming is predictable and readable throughout the set, with no deviations in style.

    Tool Count5/5

    With 8 tools, the server is well-scoped for Solana analytics and DeFi operations. Each tool serves a distinct, valuable function in the domain, and the count is neither too sparse nor bloated, fitting typical server expectations.

    Completeness4/5

    The toolset covers key Solana DeFi and wallet operations comprehensively, including token analysis, pricing, yields, and wallet data. A minor gap exists in transaction execution tools (e.g., swap or transfer tokens), but agents can work around this for most analytical workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server providing AI agents with native access to Jupiter's full DeFi stack on Solana. It offers 17 tools covering swaps, tokens, lending, limit orders, DCA, prediction markets, perpetuals, and portfolio management.
      16
      MIT
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      An MCP server that gives AI agents real-time Solana DeFi intelligence — smart money tracking, rug detection, wallet analysis, and token research.
      -