MCP.Market

Okx MCP server

online · 100% uptime
by pipeworx-io·io.github.pipeworx-io/okx·v0.2.1

OKX v5 public MCP.

A87/100grade A
What users say
No reviews yet
Be the first
Safety scan
A87/100

not scanned yet

Adoption
Growing

0 stars

Reviews

Write one

Nobody has reviewed Okx yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Okx tools

Tool list not cached yet. `describe` through the gateway fetches it live.

Not scanned yet. New listings are scanned within a day or two of arriving.

How Okx compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
87/100
higher than 73% of 48,255 servers
Uptime
100%
of our recent checks; the typical remote server answers 100%
Response time
62 ms
faster than 91% of 30,031 servers

Release history: 6 versions in the registry since 2026-05-24, latest 2026-11-03, typically one every 6 days.

Install Okx in Claude Code, Cursor or VS Code

claude mcp add --transport http okx https://gateway.pipeworx.io/okx/mcp
Add to Cursor

What the publisher says

From the Okx repository's README, as published. We do not edit it. Read it on GitHub

@pipeworx/okx

OKX v5 MCP — keyless public market endpoints.

Part of Pipeworx — an MCP gateway connecting AI agents to 1679+ live data sources.

Tools

  • instruments(instType, uly?, instFamily?, instId?) — list instruments (SPOT|MARGIN|SWAP|FUTURES|OPTION)
  • ticker(instId) — single ticker (e.g. BTC-USDT)
  • tickers(instType, uly?, instFamily?) — tickers by type
  • order_book(instId, sz?) — orderbook
  • candles(instId, bar?, after?, before?, limit?) — OHLC (bar 1m|3m|5m|15m|30m|1H|2H|4H|6H|12H|1D|1W|1M|3M)
  • trades(instId, limit?) — recent trades
  • market_24hr(instId) — 24h ticker
  • index_tickers(quoteCcy?, instId?) — index tickers
  • funding_rate(instId) — current funding (perpetual swaps)
  • fundingratehistory(instId, before?, after?, limit?) — historical funding
  • mark_price(instType, uly?, instId?) — mark price
  • perp_metrics(instId, period?, buckets?) — one call for funding rate + open interest + taker buy/sell (CVD) + long/short account ratio

Data source

https://www.okx.com/api/v5/public and /market

Symbols

The four derivatives tools above accept a perpetual written in any common house style — MASKUSDT (Binance style), MASK, MASK/USDT, MASK-USDT and MASK-USDT-SWAP all resolve to the OKX contract MASK-USDT-SWAP. Every response names the venue and the resolved instId, because a coin quoted on Binance or Bybit is answered here with OKX's own contract and the numbers differ between venues. Binance's perpetual endpoints refuse requests from Cloudflare egress (403), so a Binance-specific taker buy/sell breakdown is not available from us.

An unknown contract comes back as {found: false, reason: "instrumentnotfound"} with the resolved instId and a hint, rather than an empty success — OKX itself answers a bad instrument with HTTP 200 and code: "51001".

Column order (taker volume)

/rubik/stat/taker-volume-contract returns [ts, sellVol, buyVol] — sell first. Verified 2026-08-22 by bucketing the live /market/trades tape for MASK-USDT-SWAP into 5-minute bins and matching it against the endpoint exactly. Reading the columns the other way round silently inverts the sign of CVD.

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "okx": {
      "url": "https://gateway.pipeworx.io/okx/mcp"
    }
  }
}

What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/okx/mcp returns the tools in the table above plus the shared Pipeworx meta-tools — askpipeworx, discovertools, search_within, remember/recall and the rest of the gateway-wide set. So the tool count you see is larger than this table: a single-pack endpoint currently lists roughly 30 shared tools alongside the pack's own. The connection's initialize response states its exact scope, and is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a scoped connection answer a question this pack does not cover — via ask_pipeworx, which routes across the whole catalog — without you adding a second MCP server. There is currently no way to mount a pack endpoint without them; if the extra schemas cost you more context than the routing is worth, connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Okx: common questions

Is Okx MCP server safe?
Yes, by our scan: it is graded A (87/100). Read the Okx safety report
How do I install Okx?
It runs remotely at gateway.pipeworx.io. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
Does Okx need an API key?
Yes. The registry entry asks for PIPEWORX_API_KEY.
Is Okx maintained?
The last commit was 41 days ago (2026-09-25). The latest release is v0.2.1.
Is Okx up?
100% of our last 28 checks got an answer. We check remote servers about four times a day.
How does Okx compare with other MCP servers?
safety score 87/100 (higher than 73% of 48,255 servers); uptime 100% (of our recent checks; the typical remote server answers 100%); response time 62 ms (faster than 91% of 30,031 servers). Full comparison.

More from pipeworx-io →