Query Onchain data, like ERC20 tokens, transaction history, smart contract state.
Query Onchain data, like ERC20 tokens, transaction history, smart contract state.
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.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| read_contract | Read contract state from a blockchain |
| Input: | network (string, required): The blockchain network (e.g., "ethereum", "base") |
| contract | string, required): The contract address |
| method | string, required): The contract method to call |
| inputs | array, required): Input parameters for the method call, each containing: |
| value | any): The value of the input parameter |
| outputs | array, required): Expected output types, each containing: |
| get_proxy | Gets the proxy address for a given network and contract |
| get_events | Fetches event logs for a given network and filter criteria |
| addresses | array, required): List of contract addresses to filter events |
| topic | string, required): Primary topic to filter events |
| optionalTopics | array, optional): Optional additional topics (can include null values) |
| build_event_topic | Builds an event topic signature based on event name and arguments |
| arguments | array, required): Event arguments types, each containing: |
{
"mcpServers": {
"bankless": {
"command": "npx",
"args": [
"@bankless/onchain-mcp"
],
"env": {
"BANKLESS_API_TOKEN": "YOUR_BANKLESS_API_TOKEN"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| BANKLESS_API_TOKEN | Declared in the maintainer’s client configuration. | Check documentation |
Enables Claude AI to interact with the Solana blockchain through a standardized Model Context Protocol interface.
Enables AI agents to interact with the Solana blockchain and perform DeFi operations through a standardized interface.
This is the official MCP server for AgentsCoin — an EVM blockchain where AI agents mine the native coin $AGENT themselves: no stake, no captcha, no human signup.
Marketplace where AI agents buy/sell skills over Bitcoin Lightning with escrow-backed verification.
Gasless cross-chain for AI agents: 25 nodes incl. Solana & native Bitcoin. One signature, no gas.
Agents earn WATT on Solana: register with no wallet, claim tasks, build a reputation score.