Skip to main content
Glama
forgequant

CoinGlass MCP Server

by forgequant

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
COINGLASS_PLANNoSubscription tier (hobbyist | startup | standard | professional | enterprise)standard
COINGLASS_API_KEYYesYour CoinGlass API key

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    },
    "prompts": {
      "get": {}
    },
    "resources": {
      "read": {}
    }
  }
}
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
coinglass_market_infoA

Get static market metadata from CoinGlass.

Returns lists of supported coins, trading pairs by exchange, or exchanges. This data is relatively static and cached for 5 minutes.

Examples: - Get all futures coins: action="coins" - Get Binance pairs: action="pairs", exchange="Binance" - List all exchanges: action="exchanges"

coinglass_market_dataA

Get real-time market data summaries from CoinGlass.

Returns aggregated market metrics including price, open interest, volume, and funding rates. Data is updated frequently (30 second cache).

Note: coins_summary requires symbol parameter.

Examples: - BTC metrics: action="coins_summary", symbol="BTC" - All pairs: action="pairs_summary" - Price changes: action="price_changes"

coinglass_price_historyA

Get historical OHLC price data for a specific trading pair.

Returns candlestick data with timestamp, open, high, low, close, and volume. Useful for technical analysis and charting.

Note: Smaller intervals (m1, m5, m15) require Standard+ plan.

Examples: - Hourly BTC: exchange="Binance", pair="BTCUSDT", interval="h1" - Daily ETH: exchange="OKX", pair="ETHUSDT", interval="d1"

coinglass_oi_historyA

Get Open Interest OHLC history.

Open Interest represents the total number of outstanding derivative contracts. Rising OI with rising price = bullish, Rising OI with falling price = bearish.

Required params by action: - pair: exchange + pair - aggregated/stablecoin/coin_margin: symbol

Examples: - BTC OI across all exchanges: action="aggregated", symbol="BTC" - Binance BTCUSDT OI: action="pair", exchange="Binance", pair="BTCUSDT"

coinglass_oi_distributionA

Get Open Interest distribution across exchanges.

Shows how OI is distributed among different exchanges, useful for understanding market concentration and finding arbitrage opportunities.

Examples: - BTC OI by exchange: action="by_exchange", symbol="BTC" - Historical distribution: action="exchange_chart", symbol="BTC", range="24h"

coinglass_funding_historyA

Get funding rate OHLC history.

Funding rates are periodic payments between long and short traders. Positive rate = longs pay shorts (bullish sentiment). Negative rate = shorts pay longs (bearish sentiment).

Required params by action: - pair: exchange + pair - oi_weighted/vol_weighted: symbol

Examples: - BTC OI-weighted funding: action="oi_weighted", symbol="BTC" - Binance BTCUSDT funding: action="pair", exchange="Binance", pair="BTCUSDT"

coinglass_funding_currentA

Get current funding rate data across exchanges.

  • rates: Current funding rates by exchange

  • accumulated: Cumulative funding over time

  • arbitrage: Funding rate arbitrage opportunities between exchanges

Examples: - All current rates: action="rates" - BTC rates only: action="rates", symbol="BTC" - Find arbitrage: action="arbitrage"

coinglass_long_shortA

Get long/short ratio data.

Long/short ratio shows market sentiment:

  • Ratio > 1: More traders are long (bullish sentiment)

  • Ratio < 1: More traders are short (bearish sentiment)

Actions: - global: Overall account ratio - top_accounts: Top traders by number of accounts - top_positions: Top traders by position size - taker_ratio: Taker buy/sell volume ratio

Examples: - BTC L/S on Binance: exchange="Binance", pair="BTCUSDT", action="global"

coinglass_liq_historyA

Get liquidation history data.

Liquidations occur when a trader's position is forcibly closed due to insufficient margin. Large liquidation clusters can indicate support/resistance.

Examples: - BTC liquidations: action="aggregated", symbol="BTC" - All coins summary: action="by_coin" - By exchange: action="by_exchange"

coinglass_liq_ordersA

Get real-time liquidation orders stream.

Returns recent liquidation orders as they happen. Useful for monitoring market stress and potential cascade liquidations.

Note: Requires Standard+ plan.

Examples: - All recent liquidations: (no params) - BTC longs only: symbol="BTC", side="long"

coinglass_liq_heatmapA

Get liquidation heatmap/map visualization data.

Heatmaps show where liquidations are concentrated at different price levels. Useful for identifying potential support/resistance and cascade zones.

Note: Requires Professional+ plan.

Examples: - BTC liquidation heatmap: action="coin_heatmap", symbol="BTC", range="7d"

coinglass_ob_historyA

Get order book depth history.

Shows historical bid/ask depth at various price levels. The bid/ask ratio can indicate buying or selling pressure.

Examples: - BTC depth on Binance: action="pair_depth", exchange="Binance", pair="BTCUSDT" - Aggregated BTC depth: action="coin_depth", symbol="BTC"

coinglass_ob_large_ordersA

Get large limit orders (whale walls).

Detects significant limit orders that may act as support/resistance. Thresholds: BTC >= $1M, ETH >= $500K, others >= $50K.

Examples: - Current whale walls: action="current" - Historical large orders: action="history"

coinglass_whale_positionsA

Track whale activity on Hyperliquid.

Monitor large traders' positions and activity. Useful for following smart money and identifying potential market moves.

Note: Requires Startup+ plan.

Examples: - Recent whale alerts: action="alerts" - Large BTC positions: action="positions", symbol="BTC" - Track specific wallet: action="all_positions", user="0x..."

coinglass_bitfinex_longs_shortsA

Get Bitfinex margin long/short data.

Shows margin positions on Bitfinex exchange. Useful for gauging sentiment among margin traders.

Examples: - BTC margin positions: symbol="BTC" - ETH margin positions: symbol="ETH"

coinglass_takerA

Get taker buy/sell volume data.

Taker volume shows market order activity:

  • Buy ratio > 0.5: More aggressive buying (bullish)

  • Buy ratio < 0.5: More aggressive selling (bearish)

Examples: - BTC taker volume: action="coin_history", symbol="BTC" - By exchange: action="by_exchange", symbol="BTC"

coinglass_spotA

Get spot market data.

Access spot market information including supported coins, trading pairs, market summaries, and historical prices.

Examples: - List spot coins: action="coins" - Spot market data: action="coins_markets" - Price history: action="price_history", exchange="Binance", pair="BTCUSDT", interval="h1"

coinglass_optionsA

Get options market data from Deribit, OKX, Binance, Bybit.

Options data helps understand market expectations:

  • Max pain: Price where most options expire worthless

  • Put/Call ratio: Sentiment indicator

Examples: - BTC max pain: action="max_pain", symbol="BTC" - Options OI: action="info", symbol="ETH"

coinglass_onchainA

Get on-chain exchange data.

Track exchange holdings and flows:

  • Increasing exchange balance: Potential selling pressure

  • Decreasing exchange balance: Accumulation (bullish)

Examples: - All exchange holdings: action="assets" - BTC balances: action="balance_list", asset="BTC" - Balance history: action="balance_chart", asset="BTC", exchange="Binance"

coinglass_etfA

Get crypto ETF data (Bitcoin & Ethereum).

Track institutional flows through ETFs:

  • Positive flows: Institutional buying (bullish)

  • Negative flows: Institutional selling (bearish)

Examples: - List Bitcoin ETFs: action="list", asset="bitcoin" - Daily flows: action="flows", asset="bitcoin" - IBIT premium: action="premium", ticker="IBIT"

coinglass_grayscaleA

Get Grayscale fund data.

Grayscale premium/discount indicates institutional sentiment:

  • Premium: Strong demand (bullish)

  • Discount: Weak demand or selling pressure

Examples: - All Grayscale holdings: action="holdings" - GBTC premium history: action="premium", fund="GBTC", range="90d"

coinglass_indicatorsA

Get market indicators and on-chain metrics.

Indicators help identify market cycles:

  • fear_greed: 0-100 (extreme fear to extreme greed)

  • rainbow: Price band indicator for Bitcoin

  • pi_cycle: Bitcoin cycle top indicator

Most indicators are BTC-only. rsi returns all coins. borrow_rate requires symbol + exchange.

Examples: - Fear & Greed: action="fear_greed" - RSI all coins: action="rsi" - BTC rainbow: action="rainbow"

coinglass_searchA

Search available CoinGlass operations.

Use this to discover which tool and action to use for your task. Returns matching tools with their available actions.

Examples: - Find liquidation tools: query="liquidation" - Find funding data: query="funding rate" - Find whale tracking: query="whale"

coinglass_configA

Get CoinGlass configuration and metadata.

Useful for understanding available options and current limits.

Examples: - List exchanges: action="exchanges" - Check intervals: action="intervals" - See plan features: action="plan_features"

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/forgequant/coinglass-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server