Bankless Onchain MCP Server
This project is no longer receiving updates
MCP (Model Context Protocol) server for blockchain data interaction through the Bankless API.
Overview
The Bankless Onchain MCP Server provides a framework for interacting with on-chain data via the Bankless API. It implements the Model Context Protocol (MCP) to allow AI models to access blockchain state and event data in a structured way.
https://github.com/user-attachments/assets/95732dff-ae5f-45a6-928a-1ae17c0ddf9d
Features
The server provides the following onchain data operations:
Contract Operations
Read Contract State (
read_contract): Read state from smart contracts on various blockchain networks.- Parameters: network, contract address, method, inputs, outputs
- Returns: Contract call results with typed values
Get Proxy (
get_proxy): Retrieve proxy implementation contract addresses.- Parameters: network, contract address
- Returns: Implementation contract address
Get ABI (
get_abi): Fetch the ABI (Application Binary Interface) for a contract.- Parameters: network, contract address
- Returns: Contract ABI in JSON format
Get Source (
get_source): Retrieve the source code for a verified contract.- Parameters: network, contract address
- Returns: Source code, ABI, compiler version, and other contract metadata






