Key Features
- π Blockchain Data Access: Real-time access to blocks, transactions, and account information
- π° Token Operations: Complete ERC20 and Celo stable token support (cUSD, cEUR, cREAL)
- πΌοΈ NFT Management: Support for ERC721 and ERC1155 standards with metadata fetching
- π Smart Contract Interactions: Call functions, estimate gas, and manage ABIs
- π Transaction Handling: Gas estimation, EIP-1559 support, and transaction simulation
- ποΈ Governance Operations: Access to Celo governance proposals and voting data
Prerequisites
- Python 3.11 or higher
- Git (v2.38 or higher)
- An IDE that supports MCP (Cursor or Claude Desktop)
Installation
Method 1: Direct Installation
Clone the repository and install dependencies:Method 2: Using pipx (Recommended)
Configuration
Set up optional environment variables for custom RPC endpoints:MCP Client Integration
Cursor IDE Setup
Add the following configuration to your MCP settings file (~/.cursor/mcp.json
):
--refresh
flag ensures the latest code is always loaded when the MCP server starts.
Claude Desktop Setup
For Claude Desktop, add this configuration to your MCP settings file:- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
Available Tools
Blockchain Data Operations
Network and Block Information
get_network_status
: Get current network status and connection informationget_block
: Fetch block information by number, hash, or βlatestβget_latest_blocks
: Get information about recent blocks (up to 100)
Account and Transaction Data
get_account
: Get account information including balance and nonceget_transaction
: Get detailed transaction information by hash
Token Operations
Token Information and Balances
get_token_info
: Get detailed token information (name, symbol, decimals, supply)get_token_balance
: Get token balance for a specific addressget_celo_balances
: Get CELO and stable token balances for an address
NFT Operations
NFT Management
get_nft_info
: Get NFT information including metadata and collection detailsget_nft_balance
: Get NFT balance for an address (supports ERC721 and ERC1155)
Smart Contract Operations
Contract Interactions
call_contract_function
: Call read-only contract functionsestimate_contract_gas
: Estimate gas for contract function calls
Transaction Operations
Transaction Management
estimate_transaction
: Estimate gas and cost for transactionsget_gas_fee_data
: Get current gas fee data including EIP-1559 fees
Governance Operations
Celo Governance
get_governance_proposals
: Get Celo governance proposals with paginationget_proposal_details
: Get detailed information about specific governance proposals