MCPdir β€” MCP Server Directory
πŸ‡¬πŸ‡§ πŸ‡ͺπŸ‡Έ

Bankless Onchain MCP

by Bankless

Query on-chain data across Ethereum, Polygon, Arbitrum, and more from AI assistants

finance Node.js Intermediate Self-hostable
⭐ 100 stars πŸ“… Updated: 1mo ago

Description

MCP server from Bankless for querying on-chain blockchain data directly from AI assistants. Retrieve ERC20 token balances, transaction histories, smart contract state, and token metadata across multiple EVM chains including Ethereum, Polygon, Arbitrum, and Optimism. Built for developers and analysts who need real-time blockchain insights without switching between block explorers β€” bringing on-chain analytics into the AI workflow with multi-chain support and structured data responses.

βœ… Best for

Developers and analysts who need quick on-chain data access across multiple EVM chains from their AI workflow

⏭️ Skip if

You need to execute blockchain transactions rather than just query data

πŸ’‘ Use cases

  • Querying ERC20 token balances and portfolio composition across chains
  • Investigating transaction histories and wallet activity for analytics
  • Reading smart contract state and verifying on-chain data during development
  • Fetching token metadata and market information for DeFi research

πŸ‘ Pros

  • βœ“ Multi-chain support covering Ethereum, Polygon, Arbitrum, and other EVM chains
  • βœ“ Real-time on-chain data access without switching to block explorers
  • βœ“ Structured responses optimized for AI assistant consumption
  • βœ“ Covers tokens, transactions, contracts, and chain state in one server

πŸ‘Ž Cons

  • βœ— Read-only access β€” cannot execute transactions or modify on-chain state
  • βœ— Requires an API key for data provider access
  • βœ— Query depth may be limited by the underlying data provider's rate limits

πŸ”§ Exposed tools (5 tools)

ToolCategoryDescription
get_token_balancesqueryRetrieve ERC20 token balances for a wallet across supported chains
get_transactionsqueryFetch transaction history for a wallet address
query_contractqueryRead smart contract state and call view functions
get_token_infoqueryGet token metadata including name, symbol, decimals, and supply
get_chain_dataqueryQuery blockchain state like block numbers, gas prices, and chain info

⚑ Installation

Prerequisites:

  • β€’ Node.js v18+
  • β€’ API key
  • β€’ API key required

Check Claude Code documentation to configure this MCP server.

πŸ’‘ Tips & tricks

Use get_token_balances with a specific chain parameter to avoid querying all chains at once. For transaction history, narrow the block range to improve response times on high-activity wallets.

πŸ”„ Alternatives

Quick info

Author
Bankless
License
MIT
Runtime
Node.js 18+
Transport
stdio
Category
finance
Difficulty
Intermediate
Self-hostable
βœ…
Auth
β€”
Docker
β€”
Version
latest
Updated
Feb 28, 2026

Client compatibility

  • βœ… Claude Code
  • βœ… Cursor
  • βœ… VS Code Copilot
  • ❓ Gemini CLI
  • βœ… Windsurf
  • βœ… Cline
  • ❓ JetBrains AI
  • ❓ Warp

Platforms

🍎 macOS 🐧 Linux πŸͺŸ Windows