This MCP server provides access to Grove's public RPC endpoints for 69+ blockchain networks, enabling natural language queries, direct RPC calls, and comprehensive documentation access.
Key Capabilities:
Natural Language Blockchain Queries: Ask questions like "get the latest height for ethereum" using the
query_blockchaintoolDirect RPC Method Calls: Execute JSON-RPC methods (e.g.,
eth_blockNumber,eth_getBalance) on any supported blockchain viacall_rpc_methodMulti-Network Support: Access EVM chains, Layer 2 solutions, Cosmos ecosystem, non-EVM chains, and testnets
Blockchain Service Discovery: List all available networks, get detailed chain information, and retrieve supported RPC methods
Public Endpoint Management: Access and manage Grove's HTTP endpoints with category filtering and custom configurations
Documentation Integration: Search and retrieve documentation from docs.grove.city with keyword search capabilities
Runtime Extensibility: Dynamically add new endpoints and blockchain services without restarting
Optional Portal Integration: Use free public endpoints or provide a Grove Portal appId for higher rate limits
No Authentication Required: Works out-of-the-box with public endpoints, no API keys needed
Provides access to Ethereum blockchain data and RPC methods through Grove's public endpoints, enabling queries for block information, account balances, and transaction data
Enables interaction with the Fantom blockchain network through Grove's public RPC endpoints for querying blockchain data and executing JSON-RPC methods
Provides access to NEAR Protocol blockchain data and RPC functionality through Grove's public endpoints
Enables querying of Optimism Layer 2 blockchain data and execution of RPC methods through Grove's public endpoints
Provides access to Polygon blockchain network data and RPC functionality through Grove's public endpoints for querying blocks, transactions, and account information
Enables interaction with the Solana blockchain through Grove's public RPC endpoints for querying network data and executing blockchain methods
Provides access to Sui blockchain data and RPC functionality through Grove's public endpoints
MCP Server for Pocket Network
Model Context Protocol (MCP) server for blockchain data access across 63 networks via Pocket Network's public RPC endpoints.
Not a standalone CLI — requires an MCP client such as Claude Desktop, Claude Code CLI, or MCP Inspector.
Turn Claude into a blockchain analysis tool with natural language queries, token analytics, transaction inspection, domain resolution, and multi-chain comparisons.
Table of Contents
Quick Start
Prerequisites: Node.js 18+ and npm
Install and build:
npm install npm run buildConfigure MCP client:
Claude Desktop:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json{ "mcpServers": { "pocket-network": { "command": "node", "args": ["/absolute/path/to/mcp-pocket/dist/index.js"] } } }Claude Code CLI:
claude mcp add pocket-network node /absolute/path/to/mcp-pocket/dist/index.jsMCP Inspector (testing):
npx @modelcontextprotocol/inspector node dist/index.jsRestart client and start querying:
"Get the balance of vitalik.eth" "Compare balances for 0x... across all EVM chains" "What's the current gas price on Ethereum?"
Features
Core Blockchain Access
63 Networks: Ethereum, Polygon, Arbitrum, Optimism, Base, Solana, NEAR, Sui, and more
Natural Language Queries: "get the latest height for ethereum" → direct results
Live JSON-RPC: Execute any blockchain RPC method directly
Chain-Specific Features
EVM Chains:
Domain Resolution: ENS (.eth) ↔ addresses, Unstoppable Domains (.crypto, .nft, etc.)
Transaction Analysis: Full details, receipts, gas estimates
Token Operations: ERC-20 balances, metadata (name, symbol, decimals, supply)
Multi-Chain Analysis: Compare balances across all EVM chains
Block Exploration: Detailed block data, event log searches
Smart Contracts: Read-only contract calls
Historical Queries: Balance checks at any block height
Utilities: Unit conversion (wei/gwei/eth), address validation, hex decoding
Solana:
SPL Tokens: Balances and metadata
Transactions: Full details with compute units and fees
Priority Fees: Real-time fee estimation
Account Data: Program accounts, executable status, data owner
Sui:
Balances & Coins: SUI balance, all coin balances, pagination
Objects: Details, owned objects, type/content display
Transactions: Blocks, queries, events
Gas: Reference price, checkpoints
Cosmos SDK:
Multi-Denom Balances: Native tokens and IBC assets
Staking: Delegations, validators, rewards
Governance: Proposals, votes
IBC Support: Cross-chain queries via REST API
Detailed Installation
See CLAUDE_DESKTOP_SETUP.md for complete setup instructions.
Manual Setup
Available Tools
40+ specialized tools for blockchain analysis across EVM, Solana, and Cosmos chains:
Core Blockchain Tools (5 tools)
query_blockchain- Natural language queries (e.g., "get the latest height for ethereum")list_blockchain_services- List all 63 available networksget_blockchain_service- Get blockchain details and supported methodscall_rpc_method- Call any JSON-RPC method directlyget_supported_methods- Get all available RPC methods for a blockchain
Domain Resolution (3 tools)
resolve_domain- Resolve ENS (.eth) or Unstoppable Domains (.crypto, .nft, etc.)reverse_resolve_domain- Reverse resolve Ethereum address to ENS nameget_domain_records- Get ENS text records (avatar, email, url, twitter, github, etc.)
Transaction & Block Tools (5 tools)
get_transaction- Get transaction details by hashget_transaction_receipt- Get receipt with status, gas used, logs, eventsestimate_gas- Estimate gas required for a transactionget_block_details- Get block information with optional full transaction listsearch_logs- Search event logs by address, topics, block range
Token Tools (2 tools)
get_token_balance- Get ERC-20 token balanceget_token_metadata- Get token name, symbol, decimals, total supply
Multi-Chain & Historical Analysis (3 tools)
compare_balances- Compare native balance across all EVM chainsget_historical_balance- Get balance at specific block heightget_gas_price- Get current gas price with gwei/eth conversion
Smart Contract Tools (1 tool)
call_contract_view- Execute read-only contract functions
Utility Tools (3 tools)
convert_units- Convert between wei, gwei, and ethvalidate_address- Validate address format (EVM/Solana/Cosmos)decode_hex- Decode hex strings to UTF-8, ASCII, byte arrays
Endpoint Management (5 tools)
list_endpoints- List all endpoints (filter by category)get_endpoint_details- Get endpoint detailscall_endpoint- Execute endpoint with custom parameterslist_categories- List endpoint categoriesadd_endpoint- Add new endpoints at runtime
Solana Tools (11 tools)
SPL Tokens:
get_solana_token_balance- Get SPL token balance(s)get_solana_token_metadata- Get token decimals, supply, authorities
Accounts & Balances:
get_solana_balance- Get SOL balance with lamports/SOL conversionget_solana_account_info- Get account data, owner, executable status
Blocks & Transactions:
get_solana_block- Get block with optional full transaction listget_solana_transaction- Get transaction details by signatureget_solana_signatures- Get transaction history
Fees:
get_solana_prioritization_fees- Get recent priority feesget_solana_fee_for_message- Estimate fee for serialized message
Network & Programs:
get_solana_block_height- Get current block heightget_solana_program_accounts- List accounts owned by program
Sui Tools (11 tools)
Balances & Coins:
get_sui_balance- Get SUI balanceget_sui_all_balances- Get all coin balancesget_sui_coins- Paginate coins by type
Objects:
get_sui_object- Get object detailsget_sui_owned_objects- List owned objects
Transactions:
get_sui_transaction- Get transaction block by digestquery_sui_transactions- Query transactions with filters
Events & Chain:
query_sui_events- Query events with filtersget_sui_latest_checkpoint- Get latest checkpointget_sui_checkpoint- Get checkpoint by ID
Cosmos SDK Tools
Accounts & Balances:
get_cosmos_balance- Get balance for denomget_cosmos_all_balances- Get all token balancesget_cosmos_account- Get account info (sequence, number)
Staking:
get_cosmos_delegations- Get delegationsget_cosmos_validators- List validatorsget_cosmos_validator- Get validator detailsget_cosmos_rewards- Get staking rewards
Transactions:
get_cosmos_transaction- Get transaction by hashsearch_cosmos_transactions- Search transactions by events
Governance:
get_cosmos_proposals- Get proposals (filter by status)get_cosmos_proposal- Get proposal detailsget_cosmos_proposal_votes- Get votes for proposal
Blocks:
get_cosmos_latest_block- Get latest blockget_cosmos_block- Get block at height
Chain Info:
get_cosmos_params- Get chain parameters
Documentation (3 tools)
get_doc_page- Get documentation pages from Pocket Network docsget_endpoint_docs- Get endpoint documentationsearch_docs- Search documentation
Extending with New Blockchains
Add new blockchain networks by editing src/config/blockchain-services.json:
Then rebuild (npm run build) and restart your MCP client.
See EXTENDING.md for details.
Architecture
Development
Build:
Watch mode:
Tests:
Smoke tests (end-to-end test across chain types):
Tests EVM (Ethereum, Polygon, Base), Solana, Sui, and Cosmos (Osmosis, Persistence).
Supported Blockchains
63 blockchain networks available via Pocket Network's public endpoints:
EVM Chains: Ethereum, Polygon, BSC, Avalanche, Gnosis, Celo, Fantom, Harmony, Moonbeam, Moonriver, Fuse, IoTeX, Oasys, Kaia, Berachain, Sonic, Ink, XRPL EVM
Layer 2 Solutions: Arbitrum, Optimism, Base, zkSync Era, zkLink Nova, Scroll, Linea, Mantle, Blast, Boba, Metis, Taiko, Unichain, opBNB, Fraxtal, Polygon zkEVM
Cosmos Ecosystem: Osmosis, Juno, Akash, Kava, Persistence, Stargaze, AtomOne, Cheqd, Chihuahua, Fetch.ai, Hyperliquid, Jackal, Pocket Network, Seda, Sei, Shentu
Non-EVM: Solana, NEAR, Sui, Tron, Radix
Testnets: Ethereum, Polygon, Arbitrum, Optimism, Base, Taiko, XRPL EVM, Giwa
Example Usage
Blockchain Queries
Domain Resolution
Transaction Analysis
Token Operations
Multi-Chain Analysis
Utilities
Solana
Cosmos Ecosystem
Documentation
See BLOCKCHAIN_USAGE.md for more examples.
License
MIT