MCP·4B965F
B

onchain-mcp

By bankless·Visit Source
Bankless MCP server for blockchain data interaction
April 15, 2025
1 month ago
3 Clicks
About onchain-mcp

Bankless MCP server for blockchain data interaction. onchain-mcp is a Model Context Protocol (MCP) server maintained by bankless. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 4 tools, including read_contract, get_proxy, get_events and build_event_topic, that an agent can call directly. It is categorized under Blockchain/Data, Tool/Server and AI/Integration.

What is this MCP

The Bankless Onchain MCP Server is a framework that implements the Model Context Protocol to provide structured access to blockchain data through the Bankless API. It enables AI models to interact with smart contracts, events, and transactions on various blockchain networks.

How to use this MCP

  • Install via npm (npm install @bankless/onchain-mcp)
  • Set your Bankless API token as an environment variable
  • Run the server (npx @bankless/onchain-mcp)
  • Make MCP-compliant JSON calls for contract operations, event queries, or transaction data
  • What this MCP can be used for

    - Reading smart contract state and ABIs

    - Querying blockchain event logs

    - Analyzing transaction history

    - Integrating blockchain data with AI models

    - Building blockchain analytics tools

    Repository Info
    Stars:
    78
    Forks:
    26
    Watchers:
    78
    Last Updated: 2 months ago

    AIMCP authority

    DR and traffic signal for the AIMCP public domain.

    FAQ

    Frequently asked questions

    What is the onchain-mcp MCP server?

    onchain-mcp is a Model Context Protocol server from bankless. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.

    How do I connect onchain-mcp to my AI client?

    Add onchain-mcp to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.

    What tools does onchain-mcp provide?

    onchain-mcp provides 4 tools: read_contract, get_proxy, get_events and build_event_topic.

    Is onchain-mcp free to use?

    onchain-mcp is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.

    Sponsored

    Vernclaw Plugins for OpenClaw

    Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.