{"type":"mcp_server","name":"onchain-mcp","description":"The Bankless Onchain MCP Server enables interaction with blockchain data through the Bankless API, implementing the Model Context Protocol for AI models to access on-chain state and event data in","category":"Developer Tools","language":"TypeScript","stars":80,"forks":3,"owner":"Bankless","github_url":"https://github.com/Bankless/onchain-mcp","homepage":null,"setup":"## Setup\n\n1.  Install the package: `npm install @bankless/onchain-mcp`\n2.  Set the Bankless API token: `export BANKLESS_API_TOKEN=your_api_token_here`\n3.  Run the server: `npx @bankless/onchain-mcp`","tools":"## Available Tools\n\n1.  **Read Contract State** (`read_contract`): Read state from smart contracts on various blockchain networks.\n2.  **Get Proxy** (`get_proxy`): Retrieve proxy implementation contract addresses.\n3.  **Get ABI** (`get_abi`): Fetch the ABI (Application Binary Interface) for a contract.\n4.  **Get Source** (`get_source`): Retrieve the source code for a verified contract.\n5.  **Get Events** (`get_events`): Fetch event logs for a contract based on topics.\n6.  **Build Event Topic** (`build_event_topic`): Generate an event topic signature from event name and argument types.\n7.  **Get Transaction History** (`get_transaction_history`): Retrieve transaction history for a user address.\n8.  **Get Transaction Info** (`get_transaction_info`): Get detailed information about a specific transaction.","faq":null,"created_at":"2025-03-10T13:26:32+00:00","updated_at":"2025-03-28T17:00:07+00:00","source_url":"https://model-context-protocol.com/servers/bankless-onchain-api-model-context-protocol","related_articles":[]}