
Research
/Security News
CanisterWorm: npm Publisher Compromise Deploys Backdoor Across 29+ Packages
The worm-enabled campaign hit @emilgroup and @teale.io, then used an ICP canister to deliver follow-on payloads.
@nirholas/binance-mcp-server
Advanced tools
MCP server for Binance exchange - spot trading, staking, wallet, NFT, pay, mining, and more
The most comprehensive Model Context Protocol server for Binance — 478+ tools covering the entire Binance.com API
Quick Start • Features • Configuration • Documentation • Contributing
Binance MCP Server enables AI assistants like Claude, ChatGPT, and other MCP-compatible clients to interact directly with the Binance cryptocurrency exchange. Execute trades, manage portfolios, analyze markets, and automate strategies through natural language.
Trading & Markets
|
Earn & Invest
|
Wallet & Transfers
|
Additional Services
|
# Clone the repository
git clone https://github.com/nirholas/Binance-MCP.git
cd Binance-MCP
# Install dependencies
npm install
# Build the project
npm run build
Run the setup wizard to configure your environment:
npm run init
This will guide you through:
Create a .env file in the project root:
BINANCE_API_KEY=your_api_key_here
BINANCE_API_SECRET=your_api_secret_here
🔒 Security Note: Never commit your
.envfile. It's already in.gitignore.
npm run start
npm run start:sse
npm run dev # STDIO
npm run dev:sse # SSE
Add to your claude_desktop_config.json:
{
"mcpServers": {
"binance": {
"command": "node",
"args": ["/absolute/path/to/Binance-MCP/build/index.js"],
"env": {
"BINANCE_API_KEY": "your_api_key",
"BINANCE_API_SECRET": "your_api_secret"
}
}
}
}
Add to your Cursor MCP settings:
{
"binance": {
"command": "node",
"args": ["/absolute/path/to/Binance-MCP/build/index.js"],
"env": {
"BINANCE_API_KEY": "your_api_key",
"BINANCE_API_SECRET": "your_api_secret"
}
}
}
npm run start:ssehttp://localhost:3000/sse"What's my current Binance account balance?"
"Buy 0.01 BTC at market price"
"Show me the order book for BTCUSDT with 20 levels"
"Create a daily auto-invest plan to buy $100 of ETH"
"Open a 5x long position on ETHUSDT futures with $1000"
| Module | Tools | Description |
|---|---|---|
| Wallet | 40+ | Deposits, withdrawals, transfers, asset management |
| Spot | 35+ | Market data, trading, order management |
| Futures (USD-M) | 40+ | Perpetual futures, positions, leverage |
| Futures (COIN-M) | 35+ | Coin-margined futures contracts |
| Margin (Cross) | 26 | Cross-margin trading and borrowing |
| Margin (Isolated) | 15 | Isolated margin pairs |
| Options | 27 | European-style options trading |
| Portfolio Margin | 15 | Unified margin account management |
| Sub-Account | 22 | Sub-account creation and management |
| Staking | 22+ | ETH, SOL, and other staking products |
| Simple Earn | 15+ | Flexible and locked savings products |
| Auto-Invest | 13 | DCA and recurring purchase plans |
| Mining | 13+ | Mining pool statistics and earnings |
| Algo Trading | 11+ | TWAP, VP, and algorithmic orders |
| VIP Loan | 9+ | Institutional lending services |
| Convert | 9+ | Instant asset conversion |
| Dual Investment | 10+ | Structured yield products |
| NFT | 10+ | NFT marketplace operations |
| Gift Card | 8 | Gift card creation and redemption |
| Copy Trading | 10+ | Lead trader and copy features |
| Crypto Loans | 12+ | Flexible rate crypto loans |
| Fiat | 5+ | Fiat deposit and withdrawal |
| Pay | 5+ | Binance Pay transactions |
| C2C/P2P | 5+ | Peer-to-peer trading |
| Rebate | 5+ | Referral rebate tracking |
Total: 478+ tools
Binance-MCP/
├── src/
│ ├── index.ts # Entry point
│ ├── binance.ts # Module registration
│ ├── init.ts # Setup wizard
│ ├── config/
│ │ ├── binanceClient.ts # API clients with signing
│ │ └── client.ts # HTTP utilities
│ ├── server/
│ │ ├── base.ts # Base MCP server
│ │ ├── stdio.ts # STDIO transport
│ │ └── sse.ts # SSE transport
│ ├── modules/ # API module definitions
│ │ ├── spot/
│ │ ├── margin/
│ │ ├── futures-usdm/
│ │ ├── futures-coinm/
│ │ └── ... (24 modules)
│ ├── tools/ # Tool implementations
│ │ ├── binance-spot/
│ │ ├── binance-margin/
│ │ ├── binance-futures-usdm/
│ │ └── ... (24 tool sets)
│ └── utils/
│ └── logger.ts
├── docs/
│ ├── QUICK_START.md # Getting started guide
│ └── TOOLS_REFERENCE.md # Complete tool documentation
├── build/ # Compiled JavaScript
├── package.json
├── tsconfig.json
└── config.json # Runtime configuration
npm run build
npx tsc --noEmit
npm run test
src/tools/binance-{module}/index.tssrc/binance.ts| Resource | Description |
|---|---|
| Quick Start Guide | Get running in 5 minutes |
| Tools Reference | Complete API for all 478+ tools |
| Binance API Docs | Official Binance documentation |
| MCP Specification | Model Context Protocol spec |
This software is provided for educational and informational purposes only.
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
nich — @nichxbt
FAQs
MCP server for Binance exchange - spot trading, staking, wallet, NFT, pay, mining, and more
We found that @nirholas/binance-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
The worm-enabled campaign hit @emilgroup and @teale.io, then used an ICP canister to deliver follow-on payloads.

Research
/Security News
Attackers compromised Trivy GitHub Actions by force-updating tags to deliver malware, exposing CI/CD secrets across affected pipelines.

Security News
ENISA’s new package manager advisory outlines the dependency security practices companies will need to demonstrate as the EU’s Cyber Resilience Act begins enforcing software supply chain requirements.