Cryptocurrency Market Data MCP Server

MIT License
13
  • Apple

get-historical-ohlcv

Get historical OHLCV (candlestick) data for a trading pair

Input Schema

NameRequiredDescriptionDefault
days_backNoNumber of days of historical data to fetch (default: 7, max: 30)
exchangeNoExchange to use (supported: binance, coinbase, kraken, kucoin, hyperliquid, huobi, bitfinex, bybit, okx, mexc)binance
symbolYesTrading pair symbol (e.g., BTC/USDT, ETH/USDT)
timeframeNoTimeframe for candlesticks (e.g., 1m, 5m, 15m, 1h, 4h, 1d)1h

Input Schema (JSON Schema)

{ "properties": { "days_back": { "default": 7, "description": "Number of days of historical data to fetch (default: 7, max: 30)", "maximum": 30, "type": "number" }, "exchange": { "default": "binance", "description": "Exchange to use (supported: binance, coinbase, kraken, kucoin, hyperliquid, huobi, bitfinex, bybit, okx, mexc)", "enum": [ "binance", "coinbase", "kraken", "kucoin", "hyperliquid", "huobi", "bitfinex", "bybit", "okx", "mexc" ], "type": "string" }, "symbol": { "description": "Trading pair symbol (e.g., BTC/USDT, ETH/USDT)", "type": "string" }, "timeframe": { "default": "1h", "description": "Timeframe for candlesticks (e.g., 1m, 5m, 15m, 1h, 4h, 1d)", "enum": [ "1m", "5m", "15m", "1h", "4h", "1d" ], "type": "string" } }, "required": [ "symbol" ], "type": "object" }