{"_id":"@daniyal0100101/binance-mcp-server","name":"@daniyal0100101/binance-mcp-server","dist-tags":{"latest":"1.1.2"},"versions":{"1.1.2":{"name":"@daniyal0100101/binance-mcp-server","version":"1.1.2","description":"MCP server for Binance market data and trading integration","main":"dist/index.js","bin":{"binance-mcp-server":"dist/index.js"},"scripts":{"build":"tsc","start":"node dist/index.js","dev":"tsx src/index.ts","watch":"nodemon --exec tsx src/index.ts","lint":"eslint src/**/*.ts","typecheck":"tsc --noEmit"},"keywords":["binance","mcp","claude","trading","api"],"author":{"name":"Ethan"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ethancod1ng/binance-mcp-server.git"},"homepage":"https://github.com/ethancod1ng/binance-mcp-server#readme","bugs":{"url":"https://github.com/ethancod1ng/binance-mcp-server/issues"},"dependencies":{"@modelcontextprotocol/sdk":"^0.4.0","binance-api-node":"^0.12.6","dotenv":"^16.3.1","zod":"^3.22.4"},"devDependencies":{"@types/node":"^20.10.0","@typescript-eslint/eslint-plugin":"^6.13.0","@typescript-eslint/parser":"^6.13.0","eslint":"^8.54.0","nodemon":"^3.0.1","tsx":"^4.6.0","typescript":"^5.3.0"},"engines":{"node":">=18.0.0"},"directories":{"doc":"docs"},"types":"./dist/index.d.ts","_id":"@daniyal0100101/binance-mcp-server@1.1.2","gitHead":"a54b989b81638164f2323e9510145e587f70e95f","_nodeVersion":"22.23.0","_npmVersion":"10.9.8","dist":{"integrity":"sha512-EFbKcIno4GCwDNP/9aoXDVqYswvz5rdl2DW0Es1QbL6BGzSh3b+yrEWz2ZoFEgS4FH5Uejx/1kDOpdkU+weY/w==","shasum":"62d570e8dedf525c2c6fc0b09f0e6ece9c8601e4","tarball":"https://registry.npmjs.org/@daniyal0100101/binance-mcp-server/-/binance-mcp-server-1.1.2.tgz","fileCount":55,"unpackedSize":155981,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBA97hO5yo6dFc/sGMot54XM/NffGEIpV8G9e7ksljdJAiEA50A6oKQB30KifBocf6Tc7XgOyBgWupFvgUx6R/XAmNk="}]},"_npmUser":{"name":"daniyal0100101","email":"dasif1477@gmail.com"},"maintainers":[{"name":"daniyal0100101","email":"dasif1477@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/binance-mcp-server_1.1.2_1784201618406_0.10244442119869812"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-16T11:33:38.275Z","1.1.2":"2026-07-16T11:33:38.543Z","modified":"2026-07-16T11:33:38.747Z"},"maintainers":[{"name":"daniyal0100101","email":"dasif1477@gmail.com"}],"description":"MCP server for Binance market data and trading integration","homepage":"https://github.com/ethancod1ng/binance-mcp-server#readme","keywords":["binance","mcp","claude","trading","api"],"repository":{"type":"git","url":"git+https://github.com/ethancod1ng/binance-mcp-server.git"},"author":{"name":"Ethan"},"bugs":{"url":"https://github.com/ethancod1ng/binance-mcp-server/issues"},"license":"MIT","readme":"# Binance MCP Server\n\n<a href=\"https://www.npmjs.com/package/binance-mcp-server\" target=\"_blank\" rel=\"noopener noreferrer\">\n  <img src=\"https://img.shields.io/npm/dt/binance-mcp-server?logo=npm\" alt=\"npm\">\n</a>\n\n> **Multi-language Documentation**\n> - [English](README.md) (current)\n> - [中文](docs/README_zh.md)\n> - [日本語](docs/README_ja.md)\n\nA Model Context Protocol (MCP) server that provides Claude Code with Binance exchange API functionality.\n\n## Quick Start\n### 📹 Video Tutorial\nWatch our comprehensive MCP usage tutorial to get started quickly:\n![MCP Usage Tutorial](docs/mcp-usage-tutorial.gif)\n\n\n### Installation\n\n```bash\nnpm install -g binance-mcp-server\n```\n\n### Configuration\n\nThis MCP server can be used with various AI tools that support MCP:\n\n[![Claude](https://img.shields.io/badge/Claude-FF6B35?style=for-the-badge&logo=anthropic&logoColor=white)](https://claude.ai)\n[![Cursor](https://img.shields.io/badge/Cursor-000000?style=for-the-badge&logo=cursor&logoColor=white)](https://cursor.com)\n[![Trae](https://img.shields.io/badge/Trae-00C851?style=for-the-badge&logo=ai&logoColor=white)](https://trae.ai)\n\n#### MCP Configuration\n\nAdd the following configuration to your MCP settings file:\n```json\n{\n  \"mcpServers\": {\n    \"binance\": {\n      \"command\": \"npx\",\n      \"args\": [\"binance-mcp-server\"],\n      \"env\": {\n        \"BINANCE_API_KEY\": \"your_api_key\",\n        \"BINANCE_API_SECRET\": \"your_api_secret\",\n        \"BINANCE_TESTNET\": \"false\"\n      }\n    }\n  }\n}\n```\n\n> **Note**: Set `BINANCE_TESTNET` to `\"true\"` if you want to use the Binance testnet for development and testing.\n\n#### One-Click Setup with Claude Code\n\n```bash\nclaude mcp add binance --env BINANCE_API_KEY=YOUR_API_KEY --env BINANCE_API_SECRET=YOUR_API_SECRET --env BINANCE_TESTNET=false -- npx -y binance-mcp-server\n```\n\n\n### Environment Setup\n\n#### Getting API Keys\n\n**For Testnet (Recommended for Development):**\n1. Visit [Binance Testnet](https://testnet.binance.vision/)\n2. Create a testnet account (no real verification required)\n3. Go to API Management in your testnet account\n4. Create a new API key with trading permissions\n5. Note: Testnet uses virtual funds - completely safe for testing\n\n**For Mainnet (Production):**\n1. Create a verified account on [Binance](https://www.binance.com/)\n2. Complete KYC verification\n3. Go to API Management in your account settings\n4. Create a new API key with required permissions\n5. ⚠️ **Warning: Mainnet uses real money - be very careful!**\n\n#### Configuration\n\nCreate `.env` file:\n```env\nBINANCE_API_KEY=your_api_key_here\nBINANCE_API_SECRET=your_api_secret_here\nBINANCE_TESTNET=true  # Set to false for mainnet (REAL money)\n```\n\n## Available Tools\n\n### Market Data\n- `get_price` - Get current price for trading pair\n- `get_orderbook` - Get order book depth data\n- `get_klines` - Get K-line/candlestick data\n- `get_24hr_ticker` - Get 24-hour price statistics\n\n### Account\n- `get_account_info` - Get account information and balances\n- `get_open_orders` - Get current open orders\n- `get_order_history` - Get historical orders\n\n### Trading (Mainnet & Testnet)\n- `place_order` - Place a new order (supports both mainnet and testnet)\n- `cancel_order` - Cancel specific order (supports both mainnet and testnet)\n- `cancel_all_orders` - Cancel all open orders (supports both mainnet and testnet)\n\n## Usage Examples\n\nAsk Claude to:\n- \"Get the current price of Bitcoin\"\n- \"Show me the order book for ETHUSDT\"\n- \"Check my account balance\"\n- \"Place a limit buy order for 0.001 BTC at $50,000\"\n\n## Security\n\n⚠️ **Important**: \n- Set `BINANCE_TESTNET=true` for safe testing with virtual funds\n- Set `BINANCE_TESTNET=false` or omit for mainnet trading with REAL money\n- Mainnet trading will display warnings before executing orders\n\n## Development\n\n```bash\nnpm run build    # Compile TypeScript\nnpm run dev      # Development mode\nnpm run lint     # Run linting\n```","readmeFilename":"README.md","_rev":"1-a5d06f40fb29db4733e5c66b4cb57a4f"}