MCP.so
Sign In

Bankless Onchain MCP Server

@bankless

About Bankless Onchain MCP Server

Bringing the bankless onchain API to MCP

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "onchain-mcp": {
      "command": "npx",
      "args": [
        "@bankless/onchain-mcp"
      ]
    }
  }
}

Tools

10

Read contract state from a blockchain. important: In case of a tuple, don't use type tuple, but specify the inner types (found in the source) in order. For nested structs, include the substructs types. Example: struct DataTypeA { DataTypeB b; //the liquidity index. Expressed in ray uint128 liquidityIndex; } struct DataTypeB { address token; } results in outputs for function with return type DataTypeA (tuple in abi): outputs: [{"type": "address"}, {"type": "uint128"}]

Gets the proxy address for a given network and contract

Gets the ABI for a given contract on a specific network

Gets the source code for a given contract on a specific network

Fetches event logs for a given network and filter criteria

Builds an event topic signature based on event name and arguments

Gets transaction history for a user and optional contract

Gets detailed information about a specific transaction

Gets all token balances for a given address on a specific network

Gets detailed information about a specific block by number or hash

Overview

What is Bankless Onchain MCP Server?

The Bankless

Comments

More Other MCP servers