Claude MCP server for Celo blockchain - Query wallet data, send transactions, use Aave DeFi
Celo Explorer MCP is a comprehensive Model Context Protocol server that enables Claude AI to interact directly with the Celo blockchain. It provides wallet information retrieval, transaction execution, DeFi operations through Aave, and on-chain data analysis via Dune Analytics - all through natural language conversations. Users can check balances, send tokens, supply collateral, borrow assets, and analyze governance proposals without leaving Claude's interface. The modular architecture makes it easy to extend with additional blockchain functionality while maintaining strong security through ephemeral key management.
I built this project using Python and the MCP SDK to create a modular server that Claude can interact with. The core functionality leverages Web3.py for blockchain interactions and splits operations into focused modules for maintainability. For security, I implemented a session-based system that stores private keys only in memory with automatic expiration. The Aave integration required careful contract interaction through their lending pool, while Dune Analytics integration provides data caching and pagination for better performance. Everything is exposed through a consistent API that makes complex blockchain operations accessible through natural language, bridging the gap between AI assistants and blockchain technology.