onchain-mcp

Official
Local
75
Signed
GitHub Repo

Overview

MCP server for blockchain data interaction through the Bankless API, enabling seamless access to Ethereum and Web3 data

Transport

stdio

Tools

  • read_contract
  • get_proxy
  • get_abi
  • get_source
  • get_events
  • build_event_topic
  • get_transaction_history_for_user
  • get_transaction_info
  • get_token_balances_on_network
  • get_block_info

Key Capabilities

  • Comprehensive blockchain data access through Bankless API integration
  • Smart contract interaction including reading contracts, ABIs, and source code
  • Transaction and event monitoring with historical data access
  • Token balance queries and block information retrieval across Ethereum networks

How It Works

The server provides MCP-based access to blockchain data through the Bankless API:

  1. Smart contract querying for reading contract data, retrieving ABIs, and accessing source code
  2. Event tracking and monitoring capabilities with topic building for smart contract events
  3. Transaction history and detailed transaction information retrieval for user accounts
  4. Token balance queries and block data access across multiple Ethereum-compatible networks