binance-claude-mcp

jaturapornchai/binance-claude-mcp

3.1

If you are the rightful owner of binance-claude-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

Binance Claude MCP Server is a comprehensive Model Context Protocol server designed for cryptocurrency trading analysis on Binance, seamlessly integrated with Claude Desktop.

Tools
13
Resources
0
Prompts
0

Binance Claude MCP Server v3.0 - Enhanced Trading Analysis

A comprehensive Model Context Protocol (MCP) server that integrates Binance trading data with Claude Desktop, providing 27 advanced trading analysis functions for professional cryptocurrency trading.

✨ What's New in v3.0

🔥 10 NEW Advanced Trading Functions Added!

  • 🎯 Pattern Recognition - Candlestick pattern detection with strength scoring
  • 📏 Fibonacci Analysis - Automatic retracement/extension level calculation
  • 💹 Order Flow Analysis - Institutional vs retail activity detection
  • 🏗️ Market Microstructure - Liquidity, spreads, and market depth analysis
  • 🎯 Advanced Support/Resistance - Pivot points with strength analysis
  • 📊 Correlation Analysis - Multi-asset relationship analysis
  • ⚠️ Risk Management - Position sizing with VaR and Kelly Criterion
  • 📈 Volatility Analysis - Comprehensive risk metrics and forecasting
  • 🤖 AI Predictions - ML-based price forecasting with confidence
  • 😊 Advanced Sentiment - Market psychology and Fear & Greed analysis

🎯 Complete Feature Set (27 Functions)

📊 Original Functions (17)

  • Account Management: Spot & Futures account information
  • Price Data: Real-time prices for both Spot and Futures markets
  • Technical Analysis: RSI, MACD, SMA, EMA, Bollinger Bands
  • Volume Analysis: VWAP, volume trends, and signals
  • Market Sentiment: Multi-asset sentiment analysis
  • Futures Trading: Positions, funding rates, leverage brackets
  • Market Scanner: Advanced scanning with scoring system

Advanced Analysis (10 New)

  • Pattern Recognition & Chart Analysis (2 functions)
  • Market Microstructure & Order Flow (2 functions)
  • Advanced Support & Resistance (1 function)
  • Multi-Asset Analysis (1 function)
  • Risk & Volatility Analysis (2 functions)
  • Market Psychology & Sentiment (1 function)
  • AI-Powered Predictions (1 function)

Installation

  1. Clone this repository:
git clone <repository-url>
cd binance-claude-mcp
  1. Install dependencies:
npm install
  1. Create a .env file with your Binance API credentials:
BINANCE_API_KEY=your_binance_api_key
BINANCE_SECRET_KEY=your_binance_secret_key
  1. Build the project:
npm run build

Configuration for Claude Desktop

Add the following configuration to your Claude Desktop config file:

{
  "mcpServers": {
    "binance-claude-mcp": {
      "command": "node",
      "args": ["path/to/binance-claude-mcp/dist/index.js"],
      "env": {
        "BINANCE_API_KEY": "your_binance_api_key",
        "BINANCE_SECRET_KEY": "your_binance_secret_key"
      }
    }
  }
}

Available Tools

Basic Market Data

get_account_info

Get Binance account information including balances.

get_ticker_price

Get current price for a trading symbol.

  • symbol: Trading pair symbol (e.g., BTCUSDT)

get_24hr_ticker

Get 24hr ticker price change statistics.

  • symbol: Trading pair symbol (optional)

get_order_book

Get order book for a symbol.

  • symbol: Trading pair symbol (e.g., BTCUSDT)
  • limit: Number of entries to return (5, 10, 20, 50, 100, 500, 1000, 5000)

get_klines

Get Kline/candlestick data for a symbol.

  • symbol: Trading pair symbol (e.g., BTCUSDT)
  • interval: Kline interval (1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M)
  • limit: Number of klines to return (max 1000)

get_open_orders

Get all open orders for account.

  • symbol: Trading pair symbol (optional)

get_order_history

Get order history for account.

  • symbol: Trading pair symbol (e.g., BTCUSDT)
  • limit: Number of orders to return (max 1000)

Advanced Technical Analysis

get_technical_analysis

Get comprehensive technical analysis including indicators like SMA, EMA, RSI, MACD, Bollinger Bands, Support/Resistance levels.

  • symbol: Trading pair symbol (e.g., BTCUSDT)
  • interval: Time interval (1m, 5m, 15m, 1h, 4h, 1d, 1w)

Returns:

  • Moving Averages (SMA20, SMA50, EMA12, EMA26)
  • RSI (Relative Strength Index)
  • MACD (Moving Average Convergence Divergence)
  • Bollinger Bands (Upper, Middle, Lower)
  • Support and Resistance levels
  • Trading signals and trend analysis

get_volume_analysis

Get detailed volume analysis including VWAP, volume trends, and volume-based signals.

  • symbol: Trading pair symbol (e.g., BTCUSDT)
  • interval: Time interval for analysis
  • limit: Number of periods to analyze

Returns:

  • Volume-Weighted Average Price (VWAP)
  • Average volume and volume ratios
  • Volume trend analysis
  • High volume activity detection
  • Volume-based trading signals

get_market_sentiment

Analyze market sentiment across multiple cryptocurrencies.

  • symbols: Array of trading pair symbols to analyze (optional)

Returns:

  • Overall market sentiment score
  • Individual cryptocurrency sentiment analysis
  • Bullish/Bearish/Neutral counts
  • RSI and price change based sentiment calculation

get_price_alerts

Check price alerts and technical indicators for potential trading signals.

  • symbol: Trading pair symbol (e.g., BTCUSDT)
  • support: Support level to monitor (optional)
  • resistance: Resistance level to monitor (optional)
  • rsiOverbought: RSI overbought threshold (default 70)
  • rsiOversold: RSI oversold threshold (default 30)

Returns:

  • Active alerts for support/resistance breaks
  • RSI overbought/oversold alerts
  • Current price and RSI levels
  • Alert severity levels

Multi-Timeframe Analysis

get_multi_timeframe_analysis

Get comprehensive analysis across all major timeframes (1m, 5m, 15m, 1h, 4h, 1d, 1w) with consensus view.

  • symbol: Trading pair symbol (e.g., BTCUSDT)

Returns:

  • Analysis for each timeframe (1m to 1w)
  • Technical indicators for all timeframes
  • Consensus analysis across timeframes
  • Overall trend and signal confirmation
  • Trading recommendations based on multi-timeframe alignment
  • Confidence levels and market conditions

get_market_scanner

Advanced market scanner analyzing multiple cryptocurrencies across timeframes with scoring system.

  • symbols: Array of trading pair symbols to scan (optional)

Returns:

  • Comprehensive scoring system (Technical, Momentum, Volume scores)
  • Multi-timeframe analysis for each symbol
  • Top and bottom performers ranking
  • Market overview statistics
  • Trading alerts and signals
  • Buy/Sell/Hold ratings (STRONG_BUY to STRONG_SELL)
  • Volume analysis and anomaly detection

Features:

  • Smart Scoring: Technical (50%), Momentum (30%), Volume (20%) weighted scoring
  • Multi-Timeframe Consensus: Hourly, Daily, Weekly trend alignment detection
  • Alert System: Automatic detection of significant market conditions
  • Performance Ranking: Top/bottom performers identification
  • Market Overview: Overall market sentiment and statistics

Testing

You can test the server by running:

npm run dev

Security Notes

  • Keep your API keys secure and never commit them to version control
  • Use environment variables or secure config files for API credentials
  • Consider using API keys with read-only permissions for safety

License

MIT