Bankless/onchain-mcp
Bringing the bankless onchain API to MCP
Platform-specific configuration:
{
"mcpServers": {
"onchain-mcp": {
"command": "npx",
"args": [
"-y",
"onchain-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://opensource.org/licenses/MIT)
MCP (Model Context Protocol) server for blockchain data interaction through the Bankless API.
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
The server provides the following onchain data operations:
read_contract): Read state from smart contracts on various blockchain networks.get_proxy): Retrieve proxy implementation contract addresses.get_abi): Fetch the ABI (Application Binary Interface) for a contract.get_source): Retrieve the source code for a verified contract.get_events): Fetch event logs for a contract based on topics.build_event_topic): Generate an event topic signature from event name and argument types.Loading reviews...