Skip to main content
Glama
QuantXData MCP Server

QuantXData MCP Server

by appydam

QuantXData MCP Server

Model Context Protocol (MCP) server for QuantXData API - the first institutional crypto data provider with AI-native access.

What is This?

This MCP server exposes all QuantXData market data APIs to AI assistants like Claude Desktop, allowing you to query institutional-grade crypto data using natural language - no coding required.

Example queries:

  • "Get 24h volume for BTC/USDT on Binance"

  • "Show me order book depth for ETH across top 5 exchanges"

  • "Compare funding rates for BTC perpetuals on Binance and Deribit"

  • "Fetch daily OHLCV for SOL/USDT since January 2024"

Related MCP server: okx-trade-mcp

Features

  • 12 API Tools: Complete access to QuantXData's market data endpoints

  • AI-Native: Query crypto data using natural language via Claude, ChatGPT, or any MCP-compatible tool

  • Institutional Grade: Full tick history, sub-millisecond timestamps, 120+ exchanges

  • Zero Code: No API integration required - just ask your AI assistant

Supported Data

  • Trades: Historical trade executions with microsecond precision

  • Order Books: L1 top-of-book and L2 snapshots

  • OHLCV: Aggregated candlestick data (1m, 15m, 1h, 1d)

  • Options: Greeks (delta, gamma, vega, theta) and implied volatility

  • Multi-Exchange: Consolidated data across 120+ venues

  • Real-Time: WebSocket-style streams (polling-based)

Installation

Prerequisites

  • Node.js 18+

  • QuantXData API credentials (email + signing key)

Quick Start with Claude Desktop

  1. Install the server:

npx -y @quantxdata/mcp-server
  1. Configure Claude Desktop:

On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

On Windows: %APPDATA%\Claude\claude_desktop_config.json

Add this configuration:

{
  "mcpServers": {
    "quantxdata": {
      "command": "npx",
      "args": ["-y", "@quantxdata/mcp-server"],
      "env": {
        "QUANTXDATA_EMAIL": "your-email@example.com",
        "QUANTXDATA_SIGNING_KEY": "your-signing-key-here"
      }
    }
  }
}
  1. Restart Claude Desktop

  2. Test it:

Ask Claude: "Use QuantXData to get the last 10 BTC/USDT trades from Binance"

API Credentials

Get your API credentials at quantxdata.ai:

  1. Sign up for a free account

  2. Generate your API signing key

  3. Add your email and key to the MCP config

Available Tools

1. get_instruments

List all supported exchanges and trading pairs (no auth required)

2. get_trades

Get historical trade executions

  • Parameters: exchange, instrument, from, to, limit

  • Example: "Get BTC/USDT trades from Binance for the last hour"

3. get_orderbooks

Get L1/L2 order book snapshots

  • Parameters: exchange, instrument, from, limit

  • Example: "Show order book depth for ETH/USD on Coinbase"

4. get_ohlcv

Get aggregated OHLCV candlestick data

  • Parameters: exchange, instrument, aggregation (1m/15m/1h/1d), from, to, limit

  • Example: "Get hourly candles for SOL/USDT on Binance"

5. get_multi_trades

Get consolidated trades across multiple exchanges

  • Parameters: exchanges, base_currencies, quote_currencies, from, to, limit

  • Example: "Compare BTC volume across Binance, Coinbase, and Kraken"

6. get_option_quotes

Get options Greeks and implied volatility

  • Parameters: exchange, instrument, from, to

  • Example: "Get BTC options data from Deribit"

7-9. get_histoday / get_histohour / get_histominute

Get historical OHLCV data (CryptoCompare-compatible format)

  • Parameters: fsym, tsym, e (exchange), aggregate, toTs, limit

10. get_ob_l1_top

Get L1 order book top-of-book (best bid/ask)

11. get_ob_l2_snapshot

Get L2 order book snapshot with configurable depth

12. stream_realtime

Get real-time market data (polling-based)

  • Parameters: exchange, instrument, stream_time (1-120 seconds)

VS Code / Cursor / Cline

Add to your MCP settings:

{
  "mcpServers": {
    "quantxdata": {
      "command": "npx",
      "args": ["-y", "@quantxdata/mcp-server"],
      "env": {
        "QUANTXDATA_EMAIL": "your-email@example.com",
        "QUANTXDATA_SIGNING_KEY": "your-signing-key-here"
      }
    }
  }
}

Authentication

The MCP server uses HMAC-SHA256 signing (same as QuantXData REST API):

  • Requests are signed with your email + signing key

  • Signatures are automatically generated for each API call

  • No manual token management required

Pricing

  • Free Tier: 1,000 API calls/month

  • Starter: $99/month, 100,000 calls

  • Pro: $499/month, 1M calls

  • Enterprise: Custom pricing, unlimited

See quantxdata.ai/pricing

Response Format

All tools return data in the same format as the QuantXData REST API:

  • Trades: space-delimited format for efficiency

  • OHLCV: JSON with open/high/low/close/volume

  • Order books: bids/asks arrays with price/quantity

  • Options: Greeks + IV in structured JSON

Examples

Cross-Exchange Volume Comparison

"Compare 24h BTC/USDT volume across Binance, Coinbase, and Kraken"

Funding Rate Analysis

"Get BTC perpetual funding rates from Binance and Deribit for the last 7 days"

Order Book Depth

"Show me L2 order book for ETH/USDT on Binance with 20 levels"

Options Analysis

"Get delta and IV for BTC options expiring this week on Deribit"

Troubleshooting

"Authentication failed"

  • Verify your email and signing key in the config

  • Check that your QuantXData account is active

"Rate limit exceeded"

  • Check your plan limits at quantxdata.ai/pricing

  • Upgrade your plan if needed

"Tool not found"

  • Restart your MCP client (Claude Desktop, VS Code, etc.)

  • Verify the server is running: check logs in the MCP client

Development

# Clone the repo
git clone https://github.com/appydam/quantxdata-mcp
cd quantxdata-mcp

# Install dependencies
npm install

# Build
npm run build

# Test locally
npm link

Support

License

MIT


Built for: Quant traders, algo developers, AI researchers
Maintained by: QuantXData
Learn more: quantxdata.ai

Available Tools

12 tools
get_histodayA

Get daily OHLCV data (CryptoCompare-compatible format)

Inputs: e (required), fsym (required), tsym (required), toTs, +2 more.

get_histohourB

Get hourly OHLCV data (CryptoCompare-compatible format)

Inputs: e (required), fsym (required), tsym (required), toTs, +2 more.

get_histominuteA

Get minute-level OHLCV data (CryptoCompare-compatible format)

Inputs: e (required), fsym (required), tsym (required), toTs, +2 more.

get_instrumentsA

List all supported exchanges and trading pairs. No authentication required.

Inputs: no named parameters.

get_multi_tradesA

Get consolidated trade data across multiple exchanges

Inputs: exchanges (required), to, from, limit, +2 more.

get_ob_l1_topB

Get L1 order book top-of-book (best bid/ask)

Inputs: e (required), fsym (required), tsym (required), toTs, +1 more.

get_ob_l2_snapshotB

Get L2 order book snapshot with configurable depth

Inputs: e (required), fsym (required), tsym (required), toTs, +1 more.

get_ohlcvC

Get aggregated OHLCV candlestick data (1m, 15m, 1h, 1d intervals)

Inputs: exchange (required), instrument (required), aggregation (required), to, +2 more.

get_option_quotesA

Get options market data including Greeks (delta, gamma, vega, theta) and implied volatility

Inputs: exchange (required), instrument (required), to, from.

get_orderbooksC

Get historical order book snapshots (L1 top-of-book or L2 depth)

Inputs: exchange (required), instrument (required), from, limit.

get_tradesC

Get historical trade executions from an exchange

Inputs: exchange (required), instrument (required), to, from, +1 more.

stream_realtimeB

Get real-time market data stream (polling-based, returns recent data)

Inputs: exchange (required), instrument (required), stream_time.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 12 tools

    Disambiguation2/5

    Multiple tools overlap significantly: get_orderbooks, get_ob_l1_top, and get_ob_l2_snapshot all provide order book data, while get_ohlcv, get_histoday, get_histohour, and get_histominute all return OHLCV data at different intervals. get_trades and get_multi_trades also overlap, making it unclear which tool to select without reading detailed descriptions.

    Naming Consistency3/5

    All tools use the get_ prefix, which is consistent, but the object naming is inconsistent: get_ohlcv versus get_histoday/hour/minute, get_orderbooks versus get_ob_l1_top, and get_trades versus get_multi_trades. The abbreviations (ob, l1, l2) and inconsistent use of 'multi_' create mixed conventions that are readable but not uniform.

    Tool Count4/5

    With 12 tools, the count is within the typical well-scoped range for a market data server. However, several tools duplicate functionality (e.g., order book variants, OHLCV variants), which makes the count feel slightly inflated—a leaner set of 8-9 tools would be more appropriate.

    Completeness4/5

    The surface covers the major data types: instruments, trades, order books, OHLCV, options quotes, and real-time streaming. There are no obvious dead ends for historical or real-time market data, though the duplication of OHLCV and order book tools suggests the API is not optimally organized.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A comprehensive cryptocurrency market-data MCP server with 49 tools across six data sources, enabling LLMs to answer market questions via natural language.
      49
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server connecting AI assistants to OKX exchange, enabling trading, market data, account management, and more via 150+ tools across 11 modules.
      510
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP-compatible AI clients to access live crypto market data and AI-driven quantitative analysis, with structured outputs and full observability.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for cryptocurrency trading across multiple exchanges (Bybit, Binance, KuCoin, etc.) with real-time price data, comparison, and natural language query support. Integrates with AI assistants via the Model Context Protocol.
      MIT