# coinex_mcp_server

# CoinEx MCP Server

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y smithery mcp add helix-song/coinex_mcp_server

# Browse available tools
npx -y smithery tool list helix-song/coinex_mcp_server

# Get full schema for a tool
npx -y smithery tool get helix-song/coinex_mcp_server get_ticker

# Call a tool
npx -y smithery tool call helix-song/coinex_mcp_server get_ticker '{}'
```

## Direct MCP Connection

Endpoint: `https://coinex_mcp_server--helix-song.run.tools`

## Tools (12)

- `get_ticker` — Get trading pair's recent price, 24h price and volume information (spot).
- `get_orderbook` — Get order book (depth) information (supports spot/futures).
- `get_kline` — Get K-line data (supports spot/futures).
- `list_markets` — List market status (spot/futures).
- `get_deals` — Get recent trades (deals).
- `get_index_price` — Get market index price (spot/futures). Supports batch; returns top N entries when base not provided.
- `get_funding_rate` — Get current funding rate (futures only).
- `get_funding_rate_history` — Get funding rate history (futures only).
- `get_premium_index_history` — Get premium index history (futures only).
- `get_basis_history` — Get basis history (futures only).
- `get_margin_tiers` — Get margin tiers/ position levels (futures only).
- `get_liquidation_history` — Get liquidation history (futures only).

```bash
# Get full input/output schema for a tool
npx -y smithery tool get helix-song/coinex_mcp_server <tool-name>
```
