nirholas

BNB Chain MCP Server

Community nirholas
Updated

Developer tools for AI crypto agents πŸ› οΈ Build apps with DeFi trading, DEX swaps, smart contract deployment, token operations, staking, bridging, wallet automation, honeypot detection, security analysis, price oracles, market data & protocol analytics on BSC and opBNB


                                                                                      
    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—      β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—  β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—              
    β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—    β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘              
    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•    β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘              
    β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—    β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘              
    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•    β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘              
    β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•β•β•β•šβ•β•β•β•β•β•      β•šβ•β•β•β•β•β•β•šβ•β•  β•šβ•β•β•šβ•β•  β•šβ•β•β•šβ•β•β•šβ•β•  β•šβ•β•β•β•              
                                                                                      
              β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  
              β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—    β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•— 
              β–ˆβ–ˆβ•”β–ˆβ–ˆβ–ˆβ–ˆβ•”β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• 
              β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•”β•β•β•β•     β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•— 
              β–ˆβ–ˆβ•‘ β•šβ•β• β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘         β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘ 
              β•šβ•β•     β•šβ•β• β•šβ•β•β•β•β•β•β•šβ•β•         β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β•  β•šβ•β•β•β•  β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β• 
                                                                                      

BNB Chain MCP Server

The most comprehensive Model Context Protocol server for BNB Chain & EVM blockchains

Enable AI agents to interact with BNB Chain, opBNB, and other EVM networks through natural language

License: MITMCPTypeScriptBNB Chain

BNB ChainopBNB

⭐ 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                  β”‚                 β”‚
β”‚   β”‚                                                        β”‚                 β”‚
β”‚   β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”            β”‚                 β”‚
β”‚   β”‚   β”‚CoinGecko β”‚  β”‚GeckoTerm β”‚  β”‚DefiLlama β”‚   ...      β”‚                 β”‚
β”‚   β”‚   β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜            β”‚                 β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                 β”‚
β”‚            β”‚             β”‚             β”‚                                     β”‚
β”‚            β–Ό             β–Ό             β–Ό                                     β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                 β”‚
β”‚   β”‚                  Blockchain Networks                   β”‚                 β”‚
β”‚   β”‚   BNB Chain  β”‚  Ethereum  β”‚  Arbitrum  β”‚  Polygon      β”‚                 β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                 β”‚
β”‚                                                                              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Key Benefits

Benefit Description
Natural Language Ask questions in plain English, get blockchain data instantly
Multi-Chain One server supports 10+ EVM networks simultaneously
Read + Write Query data or execute transactions (with wallet)
Security Built-In GoPlus integration for token/contract safety checks
Rich Data Prices, DEX pools, TVL, social sentiment, news & more
AI-Native Built specifically for LLMs with structured responses

Use Cases

πŸ” Research & Analysis
  • Check token prices and historical data
  • Analyze DEX liquidity pools
  • Monitor protocol TVL and metrics
  • Research new tokens before investing
  • Track whale wallets and movements
πŸ’Ή Trading & DeFi
  • Get swap quotes across DEX aggregators
  • Find best yield farming opportunities
  • Monitor lending rates on Aave/Compound
  • Execute token swaps and transfers
  • Bridge tokens across chains
πŸ›‘οΈ Security & Compliance
  • Detect honeypot tokens
  • Check for rug pull risks
  • Verify smart contract safety
  • Screen wallet addresses
  • Check token holder distribution
πŸ‘¨β€πŸ’» Development
  • Deploy and verify smart contracts
  • Query contract state and events
  • Test transactions before execution
  • Manage multi-sig operations
  • Debug failed transactions

DeFi tools in action: swap quotes, TVL tracking, and more

πŸš€ Quick Start

Get up and running in under 60 seconds!

Option 1: Claude Desktop (Recommended)

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "bnb-chain-mcp": {
      "command": "npx",
      "args": ["-y", "@nirholas/bnb-chain-mcp@latest"]
    }
  }
}
πŸ“ Config file locations
OS Path
macOS ~/Library/Application Support/Claude/claude_desktop_config.json
Windows %APPDATA%\Claude\claude_desktop_config.json
Linux ~/.config/claude/claude_desktop_config.json

Option 2: Cursor / VS Code

Add to your MCP settings:

{
  "mcpServers": {
    "bnb-chain-mcp": {
      "command": "npx",
      "args": ["-y", "@nirholas/bnb-chain-mcp@latest"]
    }
  }
}

Option 3: ChatGPT Developer Mode

  1. Enable Developer Mode in ChatGPT settings
  2. Start the HTTP server:
    npx @nirholas/bnb-chain-mcp@latest --http
    
  3. In ChatGPT Settings β†’ Apps, click Create app
  4. Enter your server URL: http://localhost:3001/mcp
  5. Select the app in conversations via Developer mode menu

πŸ“– Full ChatGPT Setup Guide

Option 4: npx Instant Start

# stdio mode (Claude, Cursor)
npx @nirholas/bnb-chain-mcp@latest

# HTTP mode (ChatGPT Developer Mode)
npx @nirholas/bnb-chain-mcp@latest --http

# SSE mode (legacy clients)
npx @nirholas/bnb-chain-mcp@latest --sse

πŸ› οΈ Features Overview

Feature Matrix

Category Features Status
Swap/DEX Token swaps via 1inch, 0x, ParaSwap βœ…
Bridge Cross-chain transfers via LayerZero, Stargate βœ…
Gas Gas prices across chains, EIP-1559 suggestions βœ…
Multicall Batch read/write operations βœ…
Events/Logs Query historical events, decode logs βœ…
Security Rug pull detection, honeypot check, GoPlus integration βœ…
Staking Liquid staking (Lido), LP farming βœ…
Signatures Sign messages, verify signatures, EIP-712 βœ…
Lending Aave/Compound positions, borrow rates βœ…
Price Feeds Historical prices, TWAP, oracle aggregation βœ…
Portfolio Track holdings across chains βœ…
Governance Snapshot votes, on-chain proposals βœ…
Deployment Deploy contracts, CREATE2, upgradeable proxies βœ…
MEV Protection Flashbots Protect, private transactions βœ…
ENS/Domains Register, transfer, renew, set records βœ…
Market Data CoinGecko prices, OHLCV, trending βœ…
DeFi Analytics DefiLlama TVL, yields, fees, protocols βœ…
Social Sentiment LunarCrush metrics, influencers, trending βœ…
DEX Analytics GeckoTerminal pools, trades, OHLCV βœ…

Tool Categories

πŸ”— Core Blockchain (45+ tools)
Tool Description
get_chain_info Get chain ID, block number, gas price
get_block Get block by number or hash
get_transaction Get transaction details and receipt
send_transaction Send native token transfer
estimate_gas Estimate gas for transaction
get_balance Get native/token balance
call_contract Call view/pure contract functions
... See full list β†’
πŸ’° Token Operations (30+ tools)
Tool Description
get_token_info Get name, symbol, decimals, supply
get_token_balance Get token balance for address
transfer_token Transfer ERC-20 tokens
approve_token Approve spending allowance
get_nft_metadata Get NFT metadata and traits
transfer_nft Transfer ERC-721 NFT
... See full list β†’
🏦 DeFi (50+ tools)
Tool Description
get_swap_quote Get swap quote from DEX aggregators
execute_swap Execute token swap
add_liquidity Add liquidity to DEX pools
get_lending_rates Get Aave/Compound rates
supply_to_lending Supply assets to lending protocol
get_farming_apy Get yield farming APY
... See full list β†’
πŸ”’ Security (15+ tools)
Tool Description
check_token_security GoPlus token security analysis
detect_honeypot Check if token is honeypot
check_rug_pull Assess rug pull risk
get_holder_distribution Get top holder breakdown
check_contract_verified Verify contract source
screen_address Check address risk score
... See full list β†’
πŸ“Š Market Data (25+ tools)
Tool Description
get_price Get current token price
get_price_history Get historical OHLCV data
get_trending_coins Get trending tokens
get_tvl Get protocol TVL from DefiLlama
get_dex_pools Get DEX pool data
get_social_metrics Get LunarCrush sentiment
... See full list β†’

🌐 Supported Networks

Network Chain ID Native Token Status
BNB Smart Chain 56 BNB βœ… Full Support
opBNB 204 BNB βœ… Full Support
Arbitrum One 42161 ETH βœ… Full Support
Ethereum 1 ETH βœ… Full Support
Polygon 137 MATIC βœ… Full Support
Base 8453 ETH βœ… Full Support
Optimism 10 ETH βœ… Full Support
Avalanche C-Chain 43114 AVAX βœ… Full Support
Fantom 250 FTM βœ… Full Support
Gnosis 100 xDAI βœ… Full Support
BSC Testnet 97 tBNB βœ… Testnet
Sepolia 11155111 SepoliaETH βœ… Testnet
Goerli 5 GoerliETH βœ… Testnet

Adding Custom Networks

{
  "mcpServers": {
    "bnb-chain-mcp": {
      "command": "npx",
      "args": ["-y", "@nirholas/bnb-chain-mcp@latest"],
      "env": {
        "CUSTOM_RPC_56": "https://your-bnb-rpc.com",
        "CUSTOM_RPC_1": "https://your-eth-rpc.com"
      }
    }
  }
}

πŸ“¦ Installation

Server Modes

Mode Command Use Case
stdio npx @nirholas/bnb-chain-mcp Claude Desktop, Cursor
HTTP npx @nirholas/bnb-chain-mcp --http ChatGPT Developer Mode
SSE npx @nirholas/bnb-chain-mcp --sse Legacy HTTP clients

From npm (Recommended)

# Run directly with npx (no install required)
npx @nirholas/bnb-chain-mcp@latest

# Or install globally
npm install -g @nirholas/bnb-chain-mcp

# Then run
bnb-chain-mcp

From Source

# Clone
git clone https://github.com/nirholas/bnb-chain-mcp
cd bnb-chain-mcp

# Install dependencies
bun install

# Build
bun run build

# Run dev server (stdio - Claude)
bun dev

# Run dev server (HTTP - ChatGPT)
bun dev:http

# Run dev server (SSE - legacy)
bun dev:sse

Docker

# Build
docker build -t bnb-chain-mcp .

# Run stdio mode
docker run -it bnb-chain-mcp

# Run HTTP mode
docker run -p 3001:3001 bnb-chain-mcp --http

βš™οΈ Configuration

Environment Variables

Variable Description Default Required
PRIVATE_KEY Wallet private key for transactions - No (read-only without)
COINGECKO_API_KEY CoinGecko Pro API key - No
COINSTATS_API_KEY CoinStats API key - No
LUNARCRUSH_API_KEY LunarCrush API key - No
CRYPTOPANIC_API_KEY CryptoPanic news API key - No
CUSTOM_RPC_<CHAIN_ID> Custom RPC for specific chain - No
PORT HTTP server port 3001 No
LOG_LEVEL Logging level info No

Full Configuration Example

{
  "mcpServers": {
    "bnb-chain-mcp": {
      "command": "npx",
      "args": ["-y", "@nirholas/bnb-chain-mcp@latest"],
      "env": {
        "PRIVATE_KEY": "0x...",
        "COINGECKO_API_KEY": "CG-xxx",
        "LUNARCRUSH_API_KEY": "xxx",
        "CUSTOM_RPC_56": "https://bsc-rpc.publicnode.com",
        "CUSTOM_RPC_1": "https://eth-rpc.publicnode.com",
        "LOG_LEVEL": "debug"
      }
    }
  }
}

Claude Desktop Configuration

macOS
# Open config file
open ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows
# Open config file
notepad %APPDATA%\Claude\claude_desktop_config.json
Linux
# Open config file
nano ~/.config/claude/claude_desktop_config.json

πŸ“Š Data Sources

This MCP server integrates with the following APIs:

Provider Data Type API Key Rate Limits
CoinGecko Market data, prices, OHLCV Optional 10-50 req/min
CoinStats Portfolio, prices, wallets Required Varies
DefiLlama TVL, yields, fees, protocols No Generous
LunarCrush Social sentiment, influencers Required Varies
GoPlus Security analysis, honeypot No Generous
GeckoTerminal DEX pools, trades, OHLCV No Generous
DexPaprika DEX analytics, pools No Generous
CryptoPanic Crypto news Required Varies
Alternative.me Fear & Greed Index No Generous

πŸ’¬ Example Conversations

Price Queries

User: "What's the current price of BNB?"

AI: Uses get_price tool β†’ "BNB is currently trading at $XXX.XX, up 2.5% in the last 24 hours."

Security Checks

User: "Is this token safe? 0x..."

AI: Uses check_token_security and detect_honeypot β†’ "⚠️ Warning: This token has several red flags..."

DEX Analysis

User: "Show me the best BNB liquidity pools"

AI: Uses get_dex_pools β†’ "Here are the top pools on BNB Chain by TVL..."

Multi-Chain Portfolio

User: "Check my wallet across all chains: 0x..."

AI: Uses get_portfolio β†’ "Your total portfolio value is $X across 5 chains..."

DeFi Research

User: "What are the best yield farming opportunities on BNB Chain?"

AI: Uses get_yield_farms and get_tvl β†’ "Here are the top yield opportunities..."

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                          BNB Chain MCP Server                                β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                                                                              β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                        β”‚
β”‚  β”‚    stdio     β”‚  β”‚     HTTP     β”‚  β”‚      SSE     β”‚   Transport Layer      β”‚
β”‚  β”‚   (Claude)   β”‚  β”‚   (ChatGPT)  β”‚  β”‚   (Legacy)   β”‚                        β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜                        β”‚
β”‚         β”‚                 β”‚                 β”‚                                β”‚
β”‚         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                                β”‚
β”‚                           β”‚                                                  β”‚
β”‚                           β–Ό                                                  β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚                        MCP Protocol Handler                           β”‚   β”‚
β”‚  β”‚     Tools Registration  |  Resource Management  |  Prompt Templates   β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚                           β”‚                                                  β”‚
β”‚         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                                β”‚
β”‚         β–Ό                 β–Ό                 β–Ό                                β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                          β”‚
β”‚  β”‚ Blockchain β”‚    β”‚   Market   β”‚    β”‚  Security  β”‚    Tool Categories       β”‚
β”‚  β”‚   Tools    β”‚    β”‚    Data    β”‚    β”‚   Tools    β”‚                          β”‚
β”‚  β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜                          β”‚
β”‚        β”‚                 β”‚                 β”‚                                 β”‚
β”‚        β–Ό                 β–Ό                 β–Ό                                 β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚                         Provider Integrations                         β”‚   β”‚
β”‚  β”‚   viem | CoinGecko | DefiLlama | GoPlus | LunarCrush | GeckoTerminal  β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚                           β”‚                                                  β”‚
β”‚                           β–Ό                                                  β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚                           EVM Networks                                β”‚   β”‚
β”‚  β”‚   BNB Chain | Ethereum | Arbitrum | Polygon | Base | Optimism | ...   β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚                                                                              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Module Organization

src/
β”œβ”€β”€ index.ts              # Entry point
β”œβ”€β”€ server/
β”‚   β”œβ”€β”€ stdio.ts          # stdio transport
β”‚   β”œβ”€β”€ http.ts           # HTTP transport
β”‚   └── sse.ts            # SSE transport
β”œβ”€β”€ tools/
β”‚   β”œβ”€β”€ blockchain/       # Core chain operations
β”‚   β”œβ”€β”€ tokens/           # Token operations
β”‚   β”œβ”€β”€ defi/             # DeFi protocols
β”‚   β”œβ”€β”€ security/         # Security checks
β”‚   β”œβ”€β”€ market/           # Market data
β”‚   └── social/           # Social sentiment
β”œβ”€β”€ providers/
β”‚   β”œβ”€β”€ coingecko.ts      # CoinGecko API
β”‚   β”œβ”€β”€ defillama.ts      # DefiLlama API
β”‚   β”œβ”€β”€ goplus.ts         # GoPlus Security
β”‚   └── ...
└── utils/
    β”œβ”€β”€ chains.ts         # Chain configurations
    β”œβ”€β”€ abi.ts            # Common ABIs
    └── format.ts         # Formatters

πŸ” Security

Security Model

Feature Description
Read-Only Mode Without PRIVATE_KEY, server only reads blockchain state
No Key Storage Private keys are never stored, only used in memory
Input Validation All inputs validated with Zod schemas
Rate Limiting Built-in rate limiting prevents API abuse
Verified Sources Only uses reputable data providers

Best Practices

  • ⚠️ Never share your PRIVATE_KEY in public configs
  • βœ… Use environment variables or secrets management
  • βœ… Use read-only mode when possible
  • βœ… Always verify token safety before interacting
  • βœ… Review transaction simulations before executing

❓ Troubleshooting

Server won't start
  1. Check Node.js version (requires 18+):
    node --version
    
  2. Clear npx cache:
    npx clear-npx-cache
    
  3. Try installing globally:
    npm install -g @nirholas/bnb-chain-mcp
    
Claude Desktop doesn't see the server
  1. Verify config file location and JSON syntax
  2. Restart Claude Desktop completely
  3. Check logs:
    • macOS: ~/Library/Logs/Claude/mcp*.log
    • Windows: %APPDATA%\Claude\logs\mcp*.log
RPC errors / Rate limiting
  1. Use a dedicated RPC provider (Alchemy, QuickNode, etc.)
  2. Configure custom RPC:
    "env": {
      "CUSTOM_RPC_56": "https://your-dedicated-rpc.com"
    }
    
API key errors
  1. Verify API key is correct (no extra spaces)
  2. Check API key has required permissions
  3. Verify rate limits haven't been exceeded

πŸ—ΊοΈ Roadmap

A comprehensive roadmap of all crypto/blockchain/DeFi/Web3 features to be implemented.

Legend

  • βœ… Implemented
  • 🚧 In Progress
  • πŸ“‹ Planned

πŸ”— Core Blockchain Operations

Network & Chain
Feature Status
Get chain ID, block number, gas price βœ…
Get network status/health βœ…
Switch networks/chains βœ…
Get supported networks list βœ…
Get RPC endpoints βœ…
Estimate block time βœ…
Get chain metadata (name, symbol, explorers) βœ…
Get finality status βœ…
Get mempool/pending transactions βœ…
Get network peers/nodes βœ…
Get gas oracle βœ…
Blocks
Feature Status
Get block by number/hash βœ…
Get latest block βœ…
Get block transactions βœ…
Get block receipts βœ…
Get uncle blocks βœ…
Subscribe to new blocks πŸ“‹
Get block rewards βœ…
Get block gas used/limit βœ…
Get block range βœ…
Get blocks by miner βœ…
Transactions
Feature Status
Send transaction βœ…
Get transaction by hash βœ…
Get transaction receipt βœ…
Get transaction status βœ…
Estimate gas βœ…
Speed up transaction (replace with higher gas) βœ…
Cancel transaction βœ…
Decode transaction input βœ…
Simulate transaction βœ…
Get transaction trace πŸ“‹
Get internal transactions πŸ“‹
Batch transactions βœ…
Get pending transactions βœ…
Get transaction history by address βœ…
Accounts/Wallets
Feature Status
Get balance (native/token) βœ…
Get nonce βœ…
Get transaction count βœ…
Create wallet βœ…
Import wallet (private key/mnemonic) βœ…
Export private key πŸ“‹
Sign message βœ…
Verify signature βœ…
Get address from private key βœ…
Generate mnemonic βœ…
Derive addresses (HD wallet) βœ…
Multi-sig wallet operations πŸ“‹
Get wallet permissions πŸ“‹
Revoke approvals βœ…
Account abstraction (ERC-4337) πŸ“‹
Social recovery πŸ“‹
Hardware wallet integration πŸ“‹
Get wallet portfolio βœ…
Get token approvals βœ…

πŸ’° Token Operations

Native Tokens
Feature Status
Get native balance βœ…
Transfer native tokens βœ…
Wrap/unwrap native tokens (WETH, WBNB) βœ…
ERC-20 (Fungible Tokens)
Feature Status
Get token info (name, symbol, decimals, total supply) βœ…
Get token balance βœ…
Transfer tokens βœ…
Approve spending βœ…
Get allowance βœ…
Transfer from (delegated) βœ…
Burn tokens βœ…
Mint tokens βœ…
Get token holders βœ…
Get token transfers βœ…
Permit (gasless approvals - EIP-2612) βœ…
Batch transfers βœ…
Token snapshots πŸ“‹
Get token supply info βœ…
Check/revoke token approval βœ…
ERC-721 (NFTs)
Feature Status
Get NFT metadata βœ…
Get NFT owner βœ…
Transfer NFT βœ…
Approve NFT βœ…
Set approval for all βœ…
Get NFTs by owner βœ…
Get NFT collection info βœ…
Mint NFT πŸ“‹
Burn NFT πŸ“‹
Get NFT transfer history πŸ“‹
Get NFT traits/attributes βœ…
Get NFT rarity πŸ“‹
Verify NFT authenticity πŸ“‹
Batch transfer NFTs βœ…
Check NFT approval βœ…
Revoke NFT approval βœ…
Approve for marketplace βœ…
Fetch NFT metadata from URI βœ…
ERC-1155 (Multi-Token)
Feature Status
Get token balance (fungible + NFT) βœ…
Batch transfers πŸ“‹
Batch balance queries πŸ“‹
Safe transfer βœ…
Get URI βœ…
Other Token Standards
Feature Status
ERC-777 (advanced fungible) πŸ“‹
ERC-3525 (semi-fungible) πŸ“‹
ERC-4626 (tokenized vaults) πŸ“‹
ERC-6551 (token-bound accounts) πŸ“‹
ERC-404 (hybrid tokens) πŸ“‹
Soulbound tokens (SBTs) πŸ“‹

🏦 DeFi - Decentralized Exchanges (DEX)

Swaps
Feature Status
Get quote/price βœ…
Swap exact tokens for tokens βœ…
Swap tokens for exact tokens βœ…
Multi-hop swaps βœ…
Split route swaps πŸ“‹
Cross-DEX aggregation βœ…
Limit orders πŸ“‹
TWAP orders (time-weighted) πŸ“‹
Stop-loss orders πŸ“‹
Get slippage estimate βœ…
Get price impact βœ…
MEV protection (private transactions) πŸ“‹
DEX Analytics
Feature Status
Get trending pools βœ…
Get new pools βœ…
Get top pools by volume βœ…
Get pool OHLCV data βœ…
Get pool trades βœ…
Get token pools βœ…
Get DEX list βœ…
Search pools cross-chain βœ…
Get token price by contract βœ…
Get pool transactions βœ…
Multi-token price lookup βœ…
Liquidity Provision
Feature Status
Add liquidity βœ…
Remove liquidity βœ…
Get LP token balance βœ…
Get pool reserves βœ…
Get pool APY/APR πŸ“‹
Get impermanent loss estimate πŸ“‹
Concentrated liquidity (Uniswap V3) πŸ“‹
Set price range πŸ“‹
Collect fees πŸ“‹
Rebalance position πŸ“‹
Add liquidity with native token βœ…
Calculate arbitrage opportunities βœ…
AMM Types Support
Feature Status
Constant product (x*y=k) βœ…
Stable swap (Curve) πŸ“‹
Concentrated liquidity πŸ“‹
Order book hybrid πŸ“‹
Virtual AMM (perpetuals) πŸ“‹

🏦 DeFi - Lending & Borrowing

Lending
Feature Status
Supply/deposit assets βœ…
Withdraw assets βœ…
Get supply APY βœ…
Get supplied balance βœ…
Get utilization rate πŸ“‹
Enable/disable as collateral πŸ“‹
Borrowing
Feature Status
Borrow assets βœ…
Repay debt βœ…
Get borrow APY βœ…
Get borrowed balance βœ…
Get health factor βœ…
Get liquidation threshold βœ…
Get max borrowable amount πŸ“‹
Flash loans βœ…
Get borrow limit πŸ“‹
Get flash loan info βœ…
Liquidations
Feature Status
Liquidate unhealthy positions πŸ“‹
Get liquidatable positions βœ…
Get liquidation bonus πŸ“‹
Partial liquidations πŸ“‹
Isolated Markets
Feature Status
Supply to isolated pool πŸ“‹
Borrow from isolated pool πŸ“‹
Get isolation mode debt ceiling πŸ“‹

πŸ₯© DeFi - Staking

Native Staking
Feature Status
Stake native tokens βœ…
Unstake/withdraw βœ…
Claim rewards βœ…
Get staking APY βœ…
Get validator list πŸ“‹
Delegate to validator πŸ“‹
Redelegate πŸ“‹
Get unbonding period πŸ“‹
Liquid Staking
Feature Status
Stake for liquid staking tokens (stETH, rETH) βœ…
Unwrap liquid staking tokens βœ…
Get exchange rate βœ…
Get staking rewards rate βœ…
LP Staking/Farming
Feature Status
Stake LP tokens βœ…
Unstake LP tokens βœ…
Claim farming rewards βœ…
Get farming APY βœ…
Compound rewards πŸ“‹
Get pending rewards βœ…
Boost rewards (veTokens) πŸ“‹
Restaking
Feature Status
Restake assets (EigenLayer) πŸ“‹
Get restaking points πŸ“‹
Choose operators πŸ“‹
Withdraw from restaking πŸ“‹

πŸ“Š DeFi - Derivatives

Perpetual Futures
Feature Status
Open long/short position πŸ“‹
Close position πŸ“‹
Add/remove margin πŸ“‹
Set leverage πŸ“‹
Get funding rate πŸ“‹
Get open interest πŸ“‹
Get liquidation price πŸ“‹
Set stop-loss/take-profit πŸ“‹
Get PnL πŸ“‹
Partial close πŸ“‹
Options
Feature Status
Buy call/put options πŸ“‹
Sell/write options πŸ“‹
Exercise options πŸ“‹
Get option greeks πŸ“‹
Get implied volatility πŸ“‹
Get option chain πŸ“‹
Spread strategies πŸ“‹
Synthetics
Feature Status
Mint synthetic assets πŸ“‹
Burn synthetic assets πŸ“‹
Get collateral ratio πŸ“‹
Get synthetic price feed πŸ“‹
Liquidate synthetic positions πŸ“‹

πŸŒ‰ Cross-Chain & Bridges

Bridging
Feature Status
Bridge tokens cross-chain βœ…
Get bridge quote βœ…
Get bridge status βœ…
Get supported chains βœ…
Get supported tokens βœ…
Claim bridged tokens πŸ“‹
Get bridge fees βœ…
Get estimated time βœ…
Cross-Chain Messaging
Feature Status
Send cross-chain message πŸ“‹
Receive cross-chain message πŸ“‹
LayerZero operations πŸ“‹
Axelar operations πŸ“‹
Wormhole operations πŸ“‹
CCIP (Chainlink) πŸ“‹
Hyperlane operations πŸ“‹
Atomic Swaps
Feature Status
Initiate atomic swap πŸ“‹
Complete atomic swap πŸ“‹
Refund atomic swap πŸ“‹

πŸ—³οΈ Governance

Voting
Feature Status
Create proposal βœ…
Vote on proposal βœ…
Delegate votes βœ…
Get voting power βœ…
Get proposal state βœ…
Queue proposal βœ…
Execute proposal βœ…
Cancel proposal βœ…
Get vote receipt βœ…
Token Locking
Feature Status
Lock tokens for voting (veTokens) πŸ“‹
Extend lock period πŸ“‹
Increase locked amount πŸ“‹
Withdraw unlocked tokens πŸ“‹
Get lock info πŸ“‹
Snapshot (Off-chain)
Feature Status
Create space πŸ“‹
Create off-chain proposal πŸ“‹
Vote off-chain πŸ“‹
Get snapshot results πŸ“‹

πŸ” Security & Analysis

Contract Analysis
Feature Status
Verify contract source βœ…
Get contract ABI βœ…
Check if contract is proxy βœ…
Get implementation address βœ…
Detect honeypots βœ…
Check for rug pull risks βœ…
GoPlus token security check βœ…
GoPlus rug pull detection βœ…
Audit score πŸ“‹
Get contract creator βœ…
Get contract age βœ…
Detect malicious functions βœ…
Token Security
Feature Status
Check token safety βœ…
Get holder distribution βœ…
Check if mintable βœ…
Check if pausable βœ…
Check for hidden fees βœ…
Check liquidity locked βœ…
Get top holders βœ…
Check ownership renounced βœ…
GoPlus NFT security βœ…
GoPlus approval security βœ…
Wallet Security
Feature Status
Get approval list βœ…
Revoke approvals βœ…
Check for drainers βœ…
Simulate transaction safety βœ…
Get wallet risk score πŸ“‹
GoPlus address security βœ…
GoPlus dApp phishing check βœ…
GoPlus signature decode βœ…

πŸ“ˆ Price & Market Data

Price Feeds
Feature Status
Get current price βœ…
Get historical prices βœ…
Get OHLCV data βœ…
Get price from DEX βœ…
Get price from oracle (Chainlink, Pyth) βœ…
Get TWAP price βœ…
Get price across exchanges βœ…
Get volume βœ…
Get market cap βœ…
Get trending coins βœ…
Get token by contract address βœ…
Get exchange rates βœ…
Get coin categories βœ…
Get derivatives data βœ…
Get company BTC/ETH holdings βœ…
Analytics
Feature Status
Get TVL (Total Value Locked) βœ…
Get protocol metrics βœ…
Get yield farming APYs βœ…
Get gas tracker βœ…
Get whale transactions πŸ“‹
Get token flow analysis πŸ“‹
Get DEX volume βœ…
Get lending metrics πŸ“‹
Get DeFi fees & revenue βœ…
Get stablecoin data βœ…
Get bridge volumes βœ…
Get liquidation data βœ…
Get DeFi hacks history βœ…
Get perpetuals data βœ…

πŸ†” Identity & Domains

ENS (Ethereum Name Service)
Feature Status
Register domain βœ…
Resolve name to address βœ…
Reverse resolve address to name βœ…
Set primary name πŸ“‹
Set records (text, address, content hash) βœ…
Transfer domain βœ…
Renew domain βœ…
Get expiry date πŸ“‹
Set subdomains βœ…
Other Name Services
Feature Status
Unstoppable Domains πŸ“‹
Space ID (.bnb) πŸ“‹
Bonfida (.sol) πŸ“‹
ANS (.avax) πŸ“‹
DIDs & Verifiable Credentials
Feature Status
Create DID πŸ“‹
Resolve DID πŸ“‹
Issue verifiable credential πŸ“‹
Verify credential πŸ“‹
Revoke credential πŸ“‹

πŸ–ΌοΈ NFT & Metaverse

NFT Marketplace
Feature Status
List NFT for sale πŸ“‹
Buy NFT πŸ“‹
Make offer πŸ“‹
Accept offer πŸ“‹
Cancel listing πŸ“‹
Auction NFT πŸ“‹
Bid on auction πŸ“‹
Get floor price πŸ“‹
Get collection stats πŸ“‹
NFT Creation
Feature Status
Deploy NFT collection πŸ“‹
Mint NFTs πŸ“‹
Set royalties πŸ“‹
Set metadata πŸ“‹
Reveal NFTs πŸ“‹
Whitelist management πŸ“‹
Airdrop NFTs πŸ“‹
NFT Finance
Feature Status
NFT collateralized loans πŸ“‹
NFT fractionalization πŸ“‹
NFT renting πŸ“‹
NFT staking πŸ“‹
Metaverse
Feature Status
Buy virtual land πŸ“‹
Sell virtual land πŸ“‹
Build on land πŸ“‹
Transfer assets between metaverses πŸ“‹

πŸ”” Events & Subscriptions

Event Listening
Feature Status
Subscribe to contract events πŸ“‹
Subscribe to pending transactions πŸ“‹
Subscribe to new blocks πŸ“‹
Subscribe to logs πŸ“‹
Filter events by topic βœ…
Get historical events βœ…
Decode event logs βœ…
Webhooks & Notifications
Feature Status
Set up webhook for events πŸ“‹
Get transaction notifications πŸ“‹
Get price alerts πŸ“‹
Get whale alerts πŸ“‹
Get governance notifications πŸ“‹

πŸ“œ Smart Contract Interaction

Read Operations
Feature Status
Call view/pure functions βœ…
Get storage at slot βœ…
Get contract bytecode βœ…
Multicall (batch reads) βœ…
Static call simulation βœ…
Write Operations
Feature Status
Send transaction to contract βœ…
Encode function call βœ…
Decode function result βœ…
Estimate gas for call βœ…
Batch transactions βœ…
Contract Deployment
Feature Status
Deploy contract βœ…
Deploy with CREATE2 βœ…
Deploy proxy contract βœ…
Upgrade proxy βœ…
Verify on explorer βœ…

πŸ€– Advanced Features

MEV & Flashbots
Feature Status
Submit private transaction βœ…
Submit bundle βœ…
Get MEV opportunities βœ…
Backrun protection βœ…
Frontrun protection βœ…
Sandwich protection βœ…
Account Abstraction (ERC-4337)
Feature Status
Create smart account πŸ“‹
Execute user operation πŸ“‹
Batch operations πŸ“‹
Sponsor gas (Paymaster) πŸ“‹
Session keys πŸ“‹
Social recovery πŸ“‹
Intents & Solvers
Feature Status
Submit intent πŸ“‹
Get solver quotes πŸ“‹
Execute via solver πŸ“‹
Oracles
Feature Status
Get Chainlink price βœ…
Get Pyth price πŸ“‹
Get Band Protocol price πŸ“‹
Get API3 price πŸ“‹
Request randomness (VRF) πŸ“‹
Request external data πŸ“‹

πŸ› οΈ Utility Functions

Gas
Feature Status
Get gas price βœ…
Get priority fee βœ…
Get base fee βœ…
Get gas history βœ…
Estimate gas for transaction βœ…
Get EIP-1559 fees βœ…
Encoding/Decoding
Feature Status
ABI encode βœ…
ABI decode βœ…
Keccak256 hash βœ…
Pack/unpack data βœ…
Sign typed data (EIP-712) βœ…
Address Utils
Feature Status
Validate address βœ…
Checksum address βœ…
Get address from ENS βœ…
Check if contract βœ…
Get contract type πŸ“‹

πŸ“° Data & Information

News & Social
Feature Status
Get crypto news βœ…
Search crypto news βœ…
Get DeFi news βœ…
Get Bitcoin news βœ…
Get breaking news βœ…
Get social sentiment βœ…
Get influencer rankings βœ…
Get trending topics βœ…
Get coin social metrics βœ…
Get social feed βœ…
Get market sentiment index βœ…
Get Galaxy Score βœ…
Get AltRank βœ…
Get Twitter mentions πŸ“‹
Get Discord activity πŸ“‹
Get GitHub activity πŸ“‹
On-Chain Data
Feature Status
Get token holders πŸ“‹
Get whale wallets πŸ“‹
Get smart money movements πŸ“‹
Get protocol users πŸ“‹
Get daily active addresses πŸ“‹
Get network hash rate πŸ“‹

πŸ›οΈ Institutional & Compliance

KYC/AML
Feature Status
Wallet screening πŸ“‹
Transaction monitoring πŸ“‹
Risk scoring πŸ“‹
Sanctions checking πŸ“‹
Custody
Feature Status
Multi-sig operations πŸ“‹
Cold storage πŸ“‹
Hot wallet management πŸ“‹
Policy enforcement πŸ“‹
Reporting
Feature Status
Tax reporting πŸ“‹
Portfolio tracking βœ…
P&L reporting πŸ“‹
Transaction history export πŸ“‹

Data Sources

This MCP server integrates with the following APIs:

Provider Data Type API Key Required
CoinGecko Market data, prices, OHLCV Optional (free tier)
CoinStats Portfolio, prices, wallets Yes
DefiLlama TVL, yields, fees, protocols No
LunarCrush Social sentiment, influencers Yes
GoPlus Security analysis, honeypot detection No
GeckoTerminal DEX pools, trades, OHLCV No
DexPaprika DEX analytics, pools No
CryptoPanic Crypto news Yes
Alternative.me Fear & Greed Index No

πŸ”— Related MCP Servers

Additional specialized MCP servers in this workspace:

Server Description Tools
binance-mcp-server Binance.com global exchange API 156+ tools
binance-us-mcp-server Binance.US exchange API 71+ tools

Binance.com Server

Full Binance global API coverage including:

  • Spot trading, wallet, staking, mining
  • Convert, Simple Earn, Algo Trading (TWAP/VP)
  • NFT, Pay, Copy Trading, Dual Investment
  • VIP Loans, C2C/P2P, Fiat
{
  "mcpServers": {
    "binance": {
      "command": "npx",
      "args": ["ts-node", "binance-mcp-server/src/index.ts"],
      "env": {
        "BINANCE_API_KEY": "your_key",
        "BINANCE_API_SECRET": "your_secret"
      }
    }
  }
}

Binance.US Server

US-regulated exchange with:

  • Market data, spot trading, wallet
  • Staking, OTC, sub-accounts
  • Custodial solutions (institutional)
{
  "mcpServers": {
    "binance-us": {
      "command": "node",
      "args": ["binance-us-mcp-server/build/index.js"],
      "env": {
        "BINANCE_US_API_KEY": "your_key",
        "BINANCE_US_API_SECRET": "your_secret"
      }
    }
  }
}

🀝 Contributing

We welcome contributions! Here's how to get started:

Development Setup

# Fork and clone
git clone https://github.com/YOUR_USERNAME/bnb-chain-mcp
cd bnb-chain-mcp

# Install dependencies
bun install

# Create feature branch
git checkout -b feature/amazing-feature

# Make changes and test
bun dev
bun test

# Commit and push
git commit -m "feat: add amazing feature"
git push origin feature/amazing-feature

# Open Pull Request

Contribution Guidelines

  • πŸ“ Follow existing code style
  • βœ… Add tests for new features
  • πŸ“– Update documentation
  • πŸ” Run linting before committing

Adding New Tools

  1. Create tool file in src/tools/<category>/
  2. Export tool definition with Zod schema
  3. Add to tool index
  4. Document in README

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Credits

Built by nich (github.com/nirholas)

Special Thanks

🌟 Star us on GitHub!

If you find this project useful, please consider giving it a ⭐️

GitHub stars

Made with ❀️ for the Web3 & AI community

Empowering AI agents to interact with blockchains

MCP Server Β· Populars

MCP Server Β· New

    Blazemeter

    BlazeMeter MCP Server

    Official BlazeMeter MCP Server for AI-driven performance testing

    Community Blazemeter
    nirholas

    Universal Contract AI Interface

    Universal Contract AI Interface (UCAI) πŸ”— ABI to MCP | The open standard for connecting AI agents to blockchain. MCP server generator for smart contracts. Claude + Uniswap, Aave, ERC20, NFTs, DeFi. Python CLI, Web3 integration, transaction simulation. Polygon, Arbitrum, Base, Ethereum EVM chains. Claude, GPT, LLM tooling, Solidity, OpenAI.

    Community nirholas
    Dictation354

    Paper Fetch Skill

    Fetch papers as agent-ready markdown β€” DOI/URL/title in, structured full text out. CLI Β· MCP Β· Skill.

    Community Dictation354
    Kaelio

    ktx

    ktx is the context layer for analytics agents

    Community Kaelio
    Goldentrii

    AgentRecall

    Persistent, correction-driven memory for AI agents. Cross-session, cross-platform (Claude Code, Codex, Gemini β€” any MCP client). Learns from mistakes, compresses context to save tokens, consolidates knowledge overnight. npm: agent-recall-mcp

    Community Goldentrii