htx-global-crypto-markets-mcp
# 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.
```text
https://htx-global-crypto-markets-mcp.lipmichal.workers.dev/mcp
```
## Available tools
| Tool | Purpose |
| --- | --- |
| `get_htx_merged_ticker` | Fetch a live merged spot ticker with best bid/ask, last price, 24h change, and volume |
| `get_htx_orderbook_depth` | Fetch aggregated L2 orderbook bids, asks, mid-price, and spread in basis points |
| `get_htx_market_klines` | Fetch historical OHLCV candlesticks across minute, hourly, daily, and weekly periods |
| `get_htx_recent_trades` | Fetch recent executed spot trades with UTC timestamp, direction, price, and size |
| `list_htx_all_tickers` | List 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.
```json
{
"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.
```bash
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.
- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.htx-global-crypto-markets-mcp) with hosted commercial servers and priority endpoints.
TDQS
Scored across 5 tools
Each tool targets a distinct data product: single-symbol ticker snapshot, L2 orderbook depth, OHLCV klines, recent fills, and a cross-market ticker listing. The only nearby pair (get_htx_merged_ticker vs list_htx_all_tickers) is clearly separated by 'merged/single pair' versus 'list and filter all tickers' in the descriptions.
All five tools follow a uniform snake_case verb_noun pattern with a shared htx_ namespace prefix (get_htx_*, list_htx_*). No stylistic mixing or vague verbs.
Five tools exactly cover the core market-data primitives (snapshot, depth, candles, fills, screener) without redundancy or bloat. Well within the 3-15 ideal range for this narrow purpose.
The surface covers the full read-only market-data lifecycle from single-pair snapshots to cross-market screening, leaving no obvious workflow dead end. Minor gaps remain: no symbol/exchange metadata lookup (tick size, trading status) and no trades-by-time-range or historical trade query beyond recent fills.