solana-mcp-server
This server provides real-time Solana blockchain data for AI agents, enabling wallet analysis, token research, DeFi yield discovery, and security checks.
Wallet Balance (
get_wallet_balance): Retrieve SOL and all token balances for any Solana wallet.Transaction History (
get_transaction_history): Fetch recent transactions (up to 50) with type, description, and timestamp.Token Price (
get_token_price): Get the current USD price of any Solana token via Jupiter (primary) or CoinGecko (fallback).Token Info (
get_token_info): Retrieve token metadata including name, symbol, supply, decimals, and authorities.DeFi Yields (
get_defi_yields): Discover top pool APRs across Raydium and Orca, sortable by APR/TVL/volume, with scam-pool filtering (min $1,000 TVL).Compare Yields (
compare_yields): Compare APRs for a specific token across all Solana DEX pools.Token Safety (
check_token_safety): Audit token safety via RugCheck — scores mint/freeze authority, holder concentration, and known risks to detect scams and honeypots.Whale Tracking: Monitor large transactions for a token or track a specific whale wallet's holdings and activity.
Portfolio Analysis: Full wallet portfolio breakdown including USD values for all holdings.
Usage Stats (
get_usage_stats): View server statistics including total tool calls, per-tool counts, and first/last call timestamps.
Provides access to Solana blockchain data, allowing AI agents to query wallet balances, transaction history, token prices, DeFi yields from Raydium and Orca, and perform token safety checks.
solana-mcp-server
Solana blockchain data for AI agents — wallet balances, token prices, DeFi yields, whale tracking, and token safety checks.
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-serverAdd 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
Tool | What it does |
| SOL + token balances of any wallet |
| Recent transactions with type and description |
| Current USD price (Jupiter primary, CoinGecko fallback) |
| Token metadata: name, symbol, supply, decimals |
| Top DeFi pool APRs from Raydium + Orca |
| Compare yields for a specific token across DEXs |
| RugCheck score, holder concentration, mint/freeze authority |
| Large transactions for a token |
| Track a whale wallet's holdings and activity |
| Full portfolio analysis with USD values |
| 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)Related Servers
cybersecurity-mcp-server — CVE database & vulnerability intelligence
news-aggregator-mcp-server — Multi-source news aggregation
License
MIT
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AiAgentKarl/solana-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server