Repository avatar
Other Tools
v1.0.1
active

gateio-spot-futures-markets-mcp

io.github.theluckystrike/gateio-spot-futures-markets-mcp

Gate.io v4 spot tickers, USDT perpetual futures contracts, orderbooks, and funding rates.

Documentation

gateio-spot-futures-markets-mcp

Spot market tickers, USDT-margined perpetual futures contracts, L2 orderbook snapshots, and historical funding rates from Gate.io v4 over Model Context Protocol (MCP). Derivatives desks, basis traders, and market analysts can pull live spot and perpetual data 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://gateio-spot-futures-markets-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
get_gateio_spot_tickerFetch a live Gate.io spot market ticker with bid, ask, last price, 24h change, and volume
get_gateio_futures_contractFetch USDT-margined perpetual futures contract specs, mark/index price, funding rate, and margin tiers
list_gateio_futures_contractsList and rank active Gate.io USDT perpetual futures contracts by open position size or funding rate
get_gateio_spot_orderbookFetch Gate.io spot L2 orderbook bids, asks, mid-price, and spread in basis points
get_gateio_funding_rate_historyFetch historical USDT perpetual funding rate settlements and annualized carry rates

Client configuration

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

{
  "mcpServers": {
    "gateio-spot-futures-markets": {
      "url": "https://gateio-spot-futures-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.gateio.ws/api/v4/ with a polite User-Agent header (mcpstamp-gateio-spot-futures-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.