
Okx
Keyless OKX market data tools for prices, order books, candles and derivatives metrics
- Pricing
- Freemium
- Platforms
- API, CLI, self-hosted
- Runs
- Locally or Remotely
- Version
- 0.2.1
- Listing updated
- today
Similar MCP servers
About Okx
Okx is a freemium MCP server for finance and payments. It can run locally on your machine or as a hosted remote server.
The README says this server wraps OKX's v5 public market endpoints so an AI client can pull spot, margin, swap, futures and option data without its own exchange credentials. Tools cover instrument lists, tickers, order books, recent trades, OHLC candles from 1 minute to 1 month, index prices, and mark prices.
For perpetual swaps it adds funding rate and funding history, open interest, taker buy/sell volume with cumulative volume delta, and long/short account ratios. Symbols can be written in several house styles, and responses name the OKX contract they resolved to, since figures differ between venues.
It is aimed at developers and analysts who want live or historical OKX market context inside an agent workflow. The server is an unofficial integration that runs through the Pipeworx gateway, so calls are metered by that gateway.
Install
Run in a terminal
claude mcp add --transport http okx https://gateway.pipeworx.io/okx/mcpAdd to Settings → Connectors → Add custom connector
https://gateway.pipeworx.io/okx/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"okx": {
"url": "https://gateway.pipeworx.io/okx/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"okx": {
"type": "http",
"url": "https://gateway.pipeworx.io/okx/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"okx": {
"serverUrl": "https://gateway.pipeworx.io/okx/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"okx": {
"type": "http",
"url": "https://gateway.pipeworx.io/okx/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
PIPEWORX_API_KEYOptional Pipeworx API key. Without it calls are anonymous and capped daily; a free key raises the cap.
Tools this server provides (17)
Taken from the project documentation; the running server may differ.
- instruments
- List instruments by type.
- ticker
- Single instrument ticker.
- tickers
- Bulk tickers by instrument type.
- order_book
- Order book depth for an instrument.
- candles
- OHLC candles for an instrument.
- trades
- Recent trade tape for an instrument.
- market_24hr
- 24-hour rolling stats for an instrument.
- index_tickers
- Index tickers filtered by quote currency or instId.
- funding_rate
- Current perpetual swap funding rate.
- funding_rate_history
- Historical perpetual swap funding rates.
- mark_price
- Mark price for derivatives.
- perp_metrics
- Funding, open interest, taker volume and long/short ratio in one call.
- open_interest
- Open interest for a perpetual or dated futures contract.
- taker_volume
- Taker buy vs sell volume with CVD.
- long_short_ratio
- Long/short account ratio for a perpetual contract.
- time
- OKX server time in Unix milliseconds.
- status
- OKX system status and maintenance windows.
What it does
- Live tickers and order books
- Fetches single or bulk tickers and bid/ask depth for OKX instruments.
- Historical candles
- Returns OHLC bars from 1 minute to 1 month for charting and backtesting.
- Perpetual funding data
- Provides current and historical funding rates for perpetual swaps.
- Derivatives positioning metrics
- Covers open interest, taker buy/sell volume with CVD, and long/short account ratios.
- Mark and index prices
- Exposes mark prices used for P&L and liquidation maths, plus index tickers.
- Exchange status checks
- Offers server time and system maintenance status for connectivity checks.
Good for
- Pull current OKX prices and depth for a trading dashboard
- Backtest strategies against historical OKX candles
- Track perpetual funding costs over time
- Monitor open interest and taker flow on a perpetual contract
- Check OKX maintenance windows before running automated jobs
Pricing
Freemium, from $49 a month
Free anonymous and free registered tiers; paid credits and subscriptions for higher use.
Prices change. Check pipeworx.io before you buy.
Okx FAQ
Does it need an OKX API key?
The README describes the market endpoints as keyless. An optional Pipeworx API key raises the daily call cap.
How many calls can an anonymous user make per day?
The README says anonymous calls are capped at 50 per day, and a free account raises that to 200.
Is it an official OKX product?
No. The README says it is an independent, unofficial integration not endorsed by OKX.
Is Okx free?
Okx has a free plan, with paid plans for more usage or features. Paid plans start at $49 a month.
How do I add Okx to Claude Code?
Run this command in your terminal: claude mcp add --transport http okx https://gateway.pipeworx.io/okx/mcp
What are the best alternatives to Okx?
The closest alternatives to Okx are OKX MCP Server, Kraken, ApexTick Market Data & Options MCP, Crypto Derivatives Data API and Twelvedata.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
