{"_id":"@snjyor/binance-mcp","_rev":"2-e9cdb35b7855ba42f47ce1c8fb7c1e5a","name":"@snjyor/binance-mcp","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@snjyor/binance-mcp","version":"1.0.0","keywords":["cryptocurrency","binance","api","mcp","modelcontextprotocol","ai-tools","cursor-ide","claude","crypto-api"],"author":{"name":"snjyor"},"license":"MIT","_id":"@snjyor/binance-mcp@1.0.0","maintainers":[{"name":"snjyor","email":"snjyor@gmail.com"}],"homepage":"https://github.com/snjyor/binance-mcp#readme","bugs":{"url":"https://github.com/snjyor/binance-mcp/issues"},"bin":{"binance-mcp":"dist/index.js"},"dist":{"shasum":"f30d92e93e4b59e7facaefff6cab73658f4eff9a","tarball":"https://registry.npmjs.org/@snjyor/binance-mcp/-/binance-mcp-1.0.0.tgz","fileCount":11,"integrity":"sha512-ZmFjdivGUrJG3fA+Pfc/tjDJqOl+n4FpfDk+FrPY+d7hn2GbbhhP8k2sWHo+CWqWoWbLjlLzEE0IwKVZZLkK1w==","signatures":[{"sig":"MEUCIDJb3iTAK6ZFmCwUq2rrAoLHD6XzM3M61oZpVtnnypfQAiEArDkXrc3xMZtRdcca5fjrEtJ0zPzivdZcaj7NwF559pY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56240},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"2c29de245858795c39317ae3cc75d0fbfa71aa1c","scripts":{"dev":"node --loader ts-node/esm src/index.ts","demo":"node --loader ts-node/esm src/demo.ts","build":"tsc","start":"node dist/index.js","inspector":"npx @modelcontextprotocol/inspector node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"snjyor","email":"snjyor@gmail.com"},"repository":{"url":"git+https://github.com/snjyor/binance-mcp.git","type":"git"},"_npmVersion":"10.8.2","description":"Binance Cryptocurrency Market Data MCP Service","directories":{},"_nodeVersion":"22.6.0","dependencies":{"zod":"^3.22.4","axios":"^1.6.7","@modelcontextprotocol/sdk":"^1.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/binance-mcp_1.0.0_1744133710401_0.7780306683103408","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@snjyor/binance-mcp","version":"1.0.1","description":"Binance Cryptocurrency Market Data MCP Service","main":"dist/index.js","bin":{"binance-mcp":"dist/index.js"},"type":"module","scripts":{"dev":"node --loader ts-node/esm src/index.ts","demo":"node --loader ts-node/esm src/demo.ts","build":"tsc","prepublishOnly":"npm run build","start":"node dist/index.js","inspector":"npx @modelcontextprotocol/inspector node dist/index.js"},"keywords":["cryptocurrency","binance","api","mcp","modelcontextprotocol","ai-tools","cursor-ide","claude","crypto-api"],"author":{"name":"snjyor"},"license":"MIT","dependencies":{"@modelcontextprotocol/sdk":"^1.9.0","axios":"^1.6.7","zod":"^3.22.4"},"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.3"},"engines":{"node":">=18"},"repository":{"type":"git","url":"git+https://github.com/snjyor/binance-mcp.git"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/snjyor/binance-mcp/issues"},"homepage":"https://github.com/snjyor/binance-mcp#readme","_id":"@snjyor/binance-mcp@1.0.1","gitHead":"7a0d8fc0054b637f5bf639285b16967907bc0374","types":"./dist/index.d.ts","_nodeVersion":"22.6.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-CfDrIjXaiOwVXYr8JHKzk6+/kiajKpPT1EORxPYH7aYHWHouwPQ0llMZyRrbG3GGBPPn65mT76Vj5NA9NGJlMQ==","shasum":"8b429220860114bd0a80a6fcb70985c059c883f2","tarball":"https://registry.npmjs.org/@snjyor/binance-mcp/-/binance-mcp-1.0.1.tgz","fileCount":11,"unpackedSize":56177,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE5IL5nTnTt82WWgg1McNt5+ClUjOWkXAfbZY07OcNpqAiEA3v4k6LzAO1FTklbKQU6lD+VGkopTZQaIbu5Eh3ly83I="}]},"_npmUser":{"name":"snjyor","email":"snjyor@gmail.com"},"directories":{},"maintainers":[{"name":"snjyor","email":"snjyor@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/binance-mcp_1.0.1_1744134082062_0.18437375105435305"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-08T17:35:10.331Z","modified":"2025-04-08T17:41:22.449Z","1.0.0":"2025-04-08T17:35:10.598Z","1.0.1":"2025-04-08T17:41:22.244Z"},"bugs":{"url":"https://github.com/snjyor/binance-mcp/issues"},"author":{"name":"snjyor"},"license":"MIT","homepage":"https://github.com/snjyor/binance-mcp#readme","keywords":["cryptocurrency","binance","api","mcp","modelcontextprotocol","ai-tools","cursor-ide","claude","crypto-api"],"repository":{"type":"git","url":"git+https://github.com/snjyor/binance-mcp.git"},"description":"Binance Cryptocurrency Market Data MCP Service","maintainers":[{"name":"snjyor","email":"snjyor@gmail.com"}],"readme":"# Binance Cryptocurrency MCP\n\n[Model Context Protocol](https://modelcontextprotocol.io) service for accessing Binance cryptocurrency market data.\n\n**Cursor IDE Demo**\n\n(Add your demo video link here)\n\n## Overview\n\nThis MCP service allows AI agents (such as Claude, Cursor, Windsurf, etc.) to execute Binance API calls and obtain real-time data from the cryptocurrency market, including prices, candlestick charts, order books, and more.\n\n**Purpose**\nYou can directly ask AI about the latest cryptocurrency prices, trading volume, price trends, and other information, without having to check the Binance website or use other tools.\n\n**Available Information**\n\nThrough this MCP service, you can obtain the following information:\n\n- Current price information - Get real-time prices for specified cryptocurrencies\n- Order book data - View buy and sell order depth\n- Candlestick chart data - Obtain candlestick data for different time periods\n- 24-hour price changes - View price changes within 24 hours\n- Trading history - View recent trading records\n- Price statistics - Get price statistics for various time windows\n\n## Available Tools\n\n| Tool                       | Description                                    |\n| -------------------------- | ----------------------------------------------- |\n| `get_price`                | Get current price for specified cryptocurrency  |\n| `get_order_book`           | Get order book data                            |\n| `get_recent_trades`        | Get list of recent trades                      |\n| `get_historical_trades`    | Get historical trade data                      |\n| `get_aggregate_trades`     | Get list of aggregate trades                   |\n| `get_klines`               | Get K-line/candlestick data                    |\n| `get_ui_klines`            | Get UI-optimized K-line data                   |\n| `get_avg_price`            | Get current average price                      |\n| `get_24hr_ticker`          | Get 24-hour price change statistics            |\n| `get_trading_day_ticker`   | Get trading day market information             |\n| `get_book_ticker`          | Get order book ticker                          |\n| `get_rolling_window_ticker` | Get rolling window price change statistics    |\n\n## Using in Cursor\n\n**Global Installation**\n\nUse npx to run the MCP service:\n\n```bash\nnpx -y @snjyor/binance-mcp@latest\n```\n\nIn Cursor IDE:\n\n1. Go to `Cursor Settings` > `MCP`\n2. Click `+ Add New MCP Service`\n3. Fill in the form:\n   - Name: `Binance` (or any name you prefer)\n   - Type: `command`\n   - Command: `npx -y @snjyor/binance-mcp@latest`\n\n**Project Installation**\n\nAdd a `.cursor/mcp.json` file to your project:\n\n```json\n{\n  \"mcpServers\": {\n    \"binance\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@snjyor/binance-mcp@latest\"\n      ]\n    }\n  }\n}\n```\n\n**Usage**\n\nAfter configuration, the Binance market data tools will be automatically available to Cursor AI agents:\n\n1. The tool will be listed under `Available Tools` in the MCP settings\n2. Agents will automatically use it when relevant\n3. You can explicitly ask agents to use these tools\n\n## Using in Other MCP-Compatible Environments\n\n```json\n{\n  \"mcpServers\": {\n    \"binance\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@snjyor/binance-mcp@latest\"\n      ]\n    }\n  }\n}\n```\n\n## Usage Examples\n\nHere are some usage examples:\n\n**Query Bitcoin Price**\n```\nPlease tell me the current price of Bitcoin\n```\n\n**View Ethereum's 24-hour Price Movement**\n```\nHow has Ethereum's price changed in the past 24 hours?\n```\n\n**Get BNB's K-line Data**\n```\nShow me the daily K-line data for BNB over the last 5 days\n```\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Build\nnpm run build\n\n# Local testing\nnpm run start\n```\n\n## Debugging Server\n\nTo debug your server, you can use [MCP Inspector](https://github.com/modelcontextprotocol/inspector).\n\nFirst build the server\n\n```\nnpm run build\n```\n\nRun the following command in terminal:\n\n```\n# Start MCP Inspector and server\nnpx @modelcontextprotocol/inspector node dist/index.js\n```\n\n## License\n\n[MIT](LICENSE) ","readmeFilename":"README.md"}