Finance · Developer Tools

Onchain MCP logo

Onchain MCP

Bankless/onchain-mcp

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.

Install

npx @bankless/onchain-mcp

Client configuration

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

Environment variables

BANKLESS_API_TOKEN
GitHub stars
28
Author
@Bankless
Category
Finance, Developer Tools
License
MIT
Updated
Oct 6, 2026

About Onchain MCP

MCP (Model Context Protocol) server for blockchain data interaction through the Bankless API.

Features

  • Read Contract State (read_contract): Read state from smart contracts on various blockchain networks.

  • Get Proxy (get_proxy): Retrieve proxy implementation contract addresses.

  • Get ABI (get_abi): Fetch the ABI (Application Binary Interface) for a contract.

  • Get Source (get_source): Retrieve the source code for a verified contract.

  • Get Events (get_events): Fetch event logs for a contract based on topics.

  • Build Event Topic (build_event_topic): Generate an event topic signature from event name and argument types.

  • Get Transaction History (get_transaction_history): Retrieve transaction history for a user address.

  • Get Transaction Info (get_transaction_info): Get detailed information about a specific transaction.

Tools (4)

  • read_contract

  • get_proxy

  • get_events

  • build_event_topic

Details on this page are taken from the project's README. Open README

Related MCP servers

More servers
Stripe Agent Toolkit logo

Stripe Agent Toolkit

stripe/agent-toolkit

677

It contains a collection of SDKs to help you integrate Stripe with LLMs and agent frameworks, including.

Finance
Awesome Web3 MCP Servers logo

Awesome Web3 MCP Servers

demcp/awesome-web3-mcp-servers

405

MCP is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools.

Finance
Financial Datasets logo

Financial Datasets

financial-datasets/mcp-server

225

This is a Model Context Protocol (MCP) server that provides access to stock market data from Financial Datasets.

Finance
lyraios logo

lyraios

GalaxyLLMCI/lyraios

216

LYRAI is a Model Context Protocol (MCP) operating system for multi-AI AGENTs designed to extend the functionality of AI applications (such as Claude Desktop and Cursor) by enabling them to interact with financial networks and blockchain public chains.

Finance
EVM Blockchain logo

EVM Blockchain

mcpdotdirect/evm-mcp-server

216

A comprehensive Model Context Protocol (MCP) server that provides blockchain services across 60+ EVM-compatible networks. This server enables AI agents to interact with Ethereum, Optimism, Arbitrum, Base, Polygon, and many other EVM chains with a unified interface through 22 tools and 10 AI-guided prompts.

Finance
longport logo

longport

longportapp/openapi

206

Longport OpenAPI provides programmatic quote trading interfaces for investors with research and development capabilities and assists them to build trading or quote strategy analysis tools based on their own investment strategies. The functions fall into the following categories.

Finance