Repository avatar
Other Tools
v1.0.1
active

htx-global-crypto-markets-mcp

io.github.theluckystrike/htx-global-crypto-markets-mcp

HTX Global spot tickers, L2 orderbook depth, klines, recent trades, and market tickers.

Documentation

htx-global-crypto-markets-mcp

Live spot merged tickers, aggregated L2 orderbook depth, OHLCV klines, executed trades, and full market ticker rankings from HTX Global over Model Context Protocol (MCP). Execution desks, crypto analysts, and liquidity monitors can query live HTX market books without an API key or account. It works right out of the box.

Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

https://htx-global-crypto-markets-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
get_htx_merged_tickerFetch a live merged spot ticker with best bid/ask, last price, 24h change, and volume
get_htx_orderbook_depthFetch aggregated L2 orderbook bids, asks, mid-price, and spread in basis points
get_htx_market_klinesFetch historical OHLCV candlesticks across minute, hourly, daily, and weekly periods
get_htx_recent_tradesFetch recent executed spot trades with UTC timestamp, direction, price, and size
list_htx_all_tickersList and rank all HTX spot market tickers by quote volume, base volume, or trade count

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "htx-global-crypto-markets": {
      "url": "https://htx-global-crypto-markets-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries api.huobi.pro/market/ with a polite User-Agent header (mcpstamp-htx-global-crypto-markets/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.