Solana MCP Server 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.
Installation Using Pre-built Binaries Go to the Releases page Download the appropriate binary for your system: Make the binary executable (Linux/macOS): Configure Claude Desktop: Building from Source Available RPC Methods Account Methods getAccountInfo: Returns all information associated with the account of provided PubkeygetMultipleAccounts: Returns account information for a list of PubkeysgetProgramAccounts: Returns all accounts owned by the provided program PubkeygetBalance: Returns the SOL balance of an accountgetLargestAccounts: Returns the 20 largest accounts by lamport balanceBlock Methods getBlock: Returns identity and transaction information about a confirmed blockgetBlocks: Returns a list of confirmed blocks between two slotsgetBlocksWithLimit: Returns a list of confirmed blocks starting at given slotgetBlockTime: Returns estimated production time of a blockgetBlockHeight: Returns current block heightgetBlockCommitment: Returns commitment for particular blockgetBlockProduction: Returns recent block production informationSystem Methods getHealth: Returns current health status of the nodegetVersion: Returns current Solana version running on the nodegetIdentity: Returns identity pubkey for the current nodegetClusterNodes: Returns information about all cluster nodesgetVoteAccounts: Returns account info and stake for all voting accountsEpoch and Inflation Methods getEpochInfo: Returns information about the current epochgetEpochSchedule: Returns epoch schedule informationgetInflationGovernor: Returns current inflation governorgetInflationRate: Returns specific inflation values for current epochgetInflationReward: Returns inflation reward for list of addressesToken Methods getTokenAccountBalance: Returns token balance of an SPL Token accountgetTokenAccountsByDelegate: Returns all token accounts by approved delegategetTokenAccountsByOwner: Returns all token accounts by token ownergetTokenLargestAccounts: Returns 20 largest accounts of a token typegetTokenSupply: Returns total supply of an SPL Token typeTransaction Methods getTransaction: Returns transaction details for confirmed transactiongetSignaturesForAddress: Returns signatures for address's transactionsgetSignatureStatuses: Returns statuses of a list of signaturesgetTransactionCount: Returns current Transaction count from ledgersimulateTransaction: Simulate sending a transactionsendTransaction: Send a transactionOther Methods getFeeForMessage: Get the fee for a messagegetLatestBlockhash: Returns the latest blockhashisBlockhashValid: Returns whether a blockhash is still validgetStakeMinimumDelegation: Returns stake minimum delegationgetSupply: Returns information about current supplyrequestAirdrop: Request an airdrop of lamports to a PubkeyUsage Examples Once configured, you can interact with the Solana blockchain through natural language in Cline. Here are some example queries:
"What's the SOL balance of address Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr?" "Show me the current slot number" "Get information about the latest block" "What's the current inflation rate?" "Show me the token accounts owned by address ..." Environment Variables Development Prerequisites Solana CLI tools (optional, for testing) Building Running License MIT License
Solana MCP Server 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.
Installation Using Pre-built Binaries Go to the Releases page Download the appropriate binary for your system: Make the binary executable (Linux/macOS): Configure Claude Desktop: Building from Source Available RPC Methods Account Methods getAccountInfo: Returns all information associated with the account of provided PubkeygetMultipleAccounts: Returns account information for a list of PubkeysgetProgramAccounts: Returns all accounts owned by the provided program PubkeygetBalance: Returns the SOL balance of an accountgetLargestAccounts: Returns the 20 largest accounts by lamport balanceBlock Methods getBlock: Returns identity and transaction information about a confirmed blockgetBlocks: Returns a list of confirmed blocks between two slotsgetBlocksWithLimit: Returns a list of confirmed blocks starting at given slotgetBlockTime: Returns estimated production time of a blockgetBlockHeight: Returns current block heightgetBlockCommitment: Returns commitment for particular blockgetBlockProduction: Returns recent block production informationSystem Methods getHealth: Returns current health status of the nodegetVersion: Returns current Solana version running on the nodegetIdentity: Returns identity pubkey for the current nodegetClusterNodes: Returns information about all cluster nodesgetVoteAccounts: Returns account info and stake for all voting accountsEpoch and Inflation Methods getEpochInfo: Returns information about the current epochgetEpochSchedule: Returns epoch schedule informationgetInflationGovernor: Returns current inflation governorgetInflationRate: Returns specific inflation values for current epochgetInflationReward: Returns inflation reward for list of addressesToken Methods getTokenAccountBalance: Returns token balance of an SPL Token accountgetTokenAccountsByDelegate: Returns all token accounts by approved delegategetTokenAccountsByOwner: Returns all token accounts by token ownergetTokenLargestAccounts: Returns 20 largest accounts of a token typegetTokenSupply: Returns total supply of an SPL Token typeTransaction Methods getTransaction: Returns transaction details for confirmed transactiongetSignaturesForAddress: Returns signatures for address's transactionsgetSignatureStatuses: Returns statuses of a list of signaturesgetTransactionCount: Returns current Transaction count from ledgersimulateTransaction: Simulate sending a transactionsendTransaction: Send a transactionOther Methods getFeeForMessage: Get the fee for a messagegetLatestBlockhash: Returns the latest blockhashisBlockhashValid: Returns whether a blockhash is still validgetStakeMinimumDelegation: Returns stake minimum delegationgetSupply: Returns information about current supplyrequestAirdrop: Request an airdrop of lamports to a PubkeyUsage Examples Once configured, you can interact with the Solana blockchain through natural language in Cline. Here are some example queries:
"What's the SOL balance of address Gh9ZwEmdLJ8DscKNTkTqPbNwLNNBjuSzaG9Vp2KGtKJr?" "Show me the current slot number" "Get information about the latest block" "What's the current inflation rate?" "Show me the token accounts owned by address ..." Environment Variables Development Prerequisites Solana CLI tools (optional, for testing) Building Running License MIT License