AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified Apache-2.0 Self-run

Bnbchain Mcp

mcp-nirholas-bnbchain-mcp Β· by nirholas

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

β€” No reviews yet
0 installs
35 views
0.0% view→install

Install

$ agentstack add mcp-nirholas-bnbchain-mcp

βœ“ scanned Β· βœ“ verified, works with Claude Code, Cursor, and more.

Security review

βœ“ Passed

No issues found. Passed automated security review. Β· v0.1.0 How review works β†’

  • βœ“ Prompt-injection patterns
  • βœ“ Secret / credential exfiltration
  • βœ“ Dangerous shell & filesystem operations
  • βœ“ Untrusted network calls
  • βœ“ Known-malicious package signatures

What it can access

  • ● Network access Used
  • βœ“ Filesystem access No
  • βœ“ Shell / process execution No
  • βœ“ Environment & secrets No
  • βœ“ Dynamic code execution No

From automated source analysis of v0.1.0. β€œUsed” means the capability is present in the source β€” more access means more to trust, not that it’s unsafe.

View the full security report β†’

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-nirholas-bnbchain-mcp)

Reliability & compatibility

βœ“ Security review passed
0 installs to date
β€” no reviews yet
β—‹ 4mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work β†’
Are you the author of Bnbchain Mcp? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About


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

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

[](https://opensource.org/licenses/MIT) [](https://modelcontextprotocol.io) [](https://www.typescriptlang.org/) [](https://www.bnbchain.org)

[](https://www.bnbchain.org) [](https://opbnb.bnbchain.org)

> ⭐ If you find this useful, please star the repo! It helps others discover this project.

πŸ“– Documentation β€’ [πŸš€ Quick Start](#-quick-start) β€’ [πŸ› οΈ Features](#-features-overview) β€’ [πŸ“Š Roadmap](#️-roadmap) β€’ [🀝 Contributing](#-contributing)


πŸ“‹ Table of Contents

  • [What is BNB Chain MCP?](#-what-is-bnb-chain-mcp)
  • [Quick Start](#-quick-start)
  • [Features Overview](#-features-overview)
  • [Supported Networks](#-supported-networks)
  • [Installation](#-installation)
  • [Configuration](#-configuration)
  • [Data Sources](#-data-sources)
  • [Example Conversations](#-example-conversations)
  • [Architecture](#-architecture)
  • [Roadmap](#️-roadmap)
  • [Related MCP Servers](#-related-mcp-servers)
  • [Troubleshooting](#-troubleshooting)
  • [Contributing](#-contributing)
  • [License](#-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:

``bash npx @nirholas/bnb-chain-mcp@latest --http ``

  1. In ChatGPT Settings β†’ Apps, click Create app
  2. Enter your server URL: http://localhost:3001/mcp
  3. 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_ | 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 | Cryp

…

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source β€” we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.