Model Context Protocol (MCP) server for BNB Chain - BSC EVM and Greenfield decentralized storage
npm install @nirholas/bnbchain-mcpCapabilities documented in this repository.
See the full documentation for details.
See the full documentation for details.
See the full documentation for details.
See the full documentation for details.
See the full documentation for details.
See the full documentation for details.
Install it, then run your first command.
npm install @nirholas/bnbchain-mcp
| Command | Runs |
|---|---|
npm run build | tsup |
npm run dev | ts-node src/index.ts |
npm run start | node build/index.js |
npm run test | vitest |
npm run lint | eslint src/ |
npm run typecheck | tsc --noEmit |
Taken directly from this repository's documentation.
<h1>BNB Chain MCP Server</h1>
<p><strong>The most comprehensive Model Context Protocol server for BNB Chain & EVM blockchains</strong></p>
<p>Enable AI agents to interact with BNB Chain, opBNB, and other EVM networks through natural language</p>
[](https://modelcontextprotocol.io)
[](https://www.typescriptlang.org/)
[](https://www.bnbchain.org)
<br/>
[](https://www.bnbchain.org)
[](https://opbnb.bnbchain.org)
<br/>
<!-- Animated Demo -->
<img src="assets/demo.svg" alt="BNB Chain MCP Demo" width="800">
<br/><br/>
> ⭐ **If you find this useful, please star the repo!** It helps others discover this project.
<br/>
[📖 Documentation](https://bnbchain-mcp-docs-lp642k3kpa-uc.a.run.app) • [🚀 Quick Start](#-quick-start) • [🛠️ Features](#-features-overview) • [📊 Roadmap](#️-roadmap) • [🤝 Contributing](#-contributing)
</div>
---
## 📋 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?### 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
<details>
<summary><strong>🔍 Research & Analysis</strong></summary>
- 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
</details>
<details>
<summary><strong>💹 Trading & DeFi</strong></summary>
- 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
</details>
<details>
<summary><strong>🛡️ Security & Compliance</strong></summary>
- Detect honeypot tokens
- Check for rug pull risks
- Verify smart contract safety
- Screen wallet addresses
- Check token holder distribution
</details>
<details>
<summary><strong>👨💻 Development</strong></summary>
- Deploy and verify smart contracts
- Query contract state and events
- Test transactions before execution
- Manage multi-sig operations
- Debug failed transactions
</details>
<br/>
<div align="center">
<img src="assets/demo-defi.svg" alt="BNB Chain MCP DeFi Demo" width="800">
<p><em>DeFi tools in action: swap quotes, TVL tracking, and more</em></p>
</div>
---
## 🚀 Quick Start
Get up and running in under 60 seconds!
### Option 1: Claude Desktop (Recommended)
Add to your `claude_desktop_config.json`:<details>
<summary>📁 Config file locations</summary>
| 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` |
</details>
### Option 2: Cursor / VS Code
Add to your MCP settings: