Solana Blockchain Data
STDIOModel Context Protocol server providing comprehensive access to Solana blockchain data through Cline.
Model Context Protocol server providing comprehensive access to Solana blockchain data through Cline.
A Model Context Protocol (MCP) server that provides comprehensive access to Solana blockchain data through Cline. This server implements a wide range of Solana RPC methods, making it easy to query blockchain information directly through natural language conversations.
The server provides 21 essential Solana RPC methods across different categories:
get_sol_balance
: Get SOL balance for an addressget_token_balance
: Get SPL token balanceget_account_info
: Get account informationget_largest_accounts
: Get largest accounts on networkget_slot
: Get current slotget_block
: Get block informationget_block_time
: Get block production timeget_transaction
: Get transaction detailsget_recent_blockhash
: Get recent blockhashget_token_accounts_by_owner
: Get token accounts by ownerget_token_accounts_by_delegate
: Get delegated token accountsget_token_supply
: Get token supply informationget_epoch_info
: Get current epoch informationget_version
: Get node versionget_health
: Get node health statusget_supply
: Get current supplyget_inflation_rate
: Get inflation rateget_cluster_nodes
: Get cluster node informationget_minimum_balance_for_rent_exemption
: Get minimum rent-exempt balanceget_vote_accounts
: Get vote accountsget_leader_schedule
: Get leader schedule~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
on macOS):{ "mcpServers": { "solana": { "command": "cargo", "args": ["run"], "cwd": "/path/to/solana-mcp-server", "env": { "SOLANA_RPC_URL": "https://api.mainnet-beta.solana.com" // Or your preferred RPC endpoint } } } }
Once configured, you can interact with the Solana blockchain through natural language in Cline. Here are some example queries:
SOLANA_RPC_URL
: (Optional) The Solana RPC endpoint to use. Defaults to "https://api.mainnet-beta.solana.com" if not specified.cargo build
cargo run
MIT License