Add it to Claude Code
claude mcp add -e "RPC_URL=${RPC_URL}" bnb-chain -- npx -y @nirholas/bnbchain-mcpRPC_URL+ 1 optionalMake your agent remember this setup
bnb-chain's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.
npx conare@latestFree · one command · indexes the sessions already on disk. Set up in the browser instead →
What it does
- Interact with BNB Chain and opBNB networks via natural language
- Support for standard EVM-compatible blockchain operations
- Wallet management and token transaction execution
- Smart contract data retrieval and interaction
- Integration with BNB Greenfield decentralized storage
Tools 3
get_balanceRetrieve the native token balance of a specific wallet address.send_transactionExecute a token transfer or contract interaction on the network.get_contract_dataRead data from a smart contract using its ABI and address.Environment Variables
RPC_URLrequiredThe JSON-RPC endpoint for the blockchain network.PRIVATE_KEYPrivate key for signing transactions if performing write operations.Try it
Original README from nirholas/bnbchain-mcp
██████╗ ███╗ ██╗██████╗ ██████╗██╗ ██╗ █████╗ ██╗███╗ ██╗
██╔══██╗████╗ ██║██╔══██╗ ██╔════╝██║ ██║██╔══██╗██║████╗ ██║
██████╔╝██╔██╗ ██║██████╔╝ ██║ ███████║███████║██║██╔██╗ ██║
██╔══██╗██║╚██╗██║██╔══██╗ ██║ ██╔══██║██╔══██║██║██║╚██╗██║
██████╔╝██║ ╚████║██████╔╝ ╚██████╗██║ ██║██║ ██║██║██║ ╚████║
╚═════╝ ╚═╝ ╚═══╝╚═════╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝
███╗ ███╗ ██████╗██████╗ ███████╗███████╗██████╗ ██╗ ██╗███████╗██████╗
████╗ ████║██╔════╝██╔══██╗ ██╔════╝██╔════╝██╔══██╗██║ ██║██╔════╝██╔══██╗
██╔████╔██║██║ ██████╔╝ ███████╗█████╗ ██████╔╝██║ ██║█████╗ ██████╔╝
██║╚██╔╝██║██║ ██╔═══╝ ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██╔══╝ ██╔══██╗
██║ ╚═╝ ██║╚██████╗██║ ███████║███████╗██║ ██║ ╚████╔╝ ███████╗██║ ██║
╚═╝ ╚═╝ ╚═════╝╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝
<h1>BNB Chain MCP Server</h1>
<strong>The most comprehensive Model Context Protocol server for BNB Chain & EVM blockchains</strong>
Enable AI agents to interact with BNB Chain, opBNB, and other EVM networks through natural language
⭐ If you find this useful, please star the repo! It helps others discover this project.
📖 Documentation • 🚀 Quick Start • 🛠️ Features • 📊 Roadmap • 🤝 Contributing
📋 Table of Contents
- What is BNB Chain MCP?
- Quick Start
- Features Overview
- Supported Networks
- Installation
- Configuration
- Data Sources
- Example Conversations
- Architecture
- Roadmap
- Related MCP Servers
- Troubleshooting
- Contributing
- License
🌟 What is BNB Chain MCP?
BNB Chain MCP is a Model Context Protocol (MCP) server optimized for BNB Chain and opBNB, while also supporting other EVM-compatible blockchains. It enables AI assistants like Claude, ChatGPT, and Cursor to interact with blockchain networks through natural language.
Why BNB Chain MCP?
┌──────────────────────────────────────────────────────────────────────────────┐
│ │
│ User: "What's the current price of ETH and show me the best DEX pools" │
│ │ │
│ ▼ │
│ ┌────────────────────────────────────────────────────────┐ │
│ │ AI Assistant (Claude/ChatGPT) │ │
│ │ │ │
│ │ "Let me check that for you..." │ │
│ └────────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌───────────────────────────────────────────────────────┐ │
│ │ BNB Chain MCP Server │ │
│ │ │ │
│ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │