MCP Hub
Back to servers

Derive MCP Server

Provides market data from Derive.xyz, allowing users to query currencies, instruments, tickers, and historical price information. This server enables access to real-time and historical financial data through the Derive public REST API with no authentication required.

glama
Forks
1
Updated
Mar 3, 2026

Derive MCP Server

An MCP (Model Context Protocol) server that provides market data from Derive.xyz (formerly Lyra Finance). All endpoints are public — no authentication required.

Tools

ToolDescription
get_all_currenciesList all available currencies
get_currencyDetails for a specific currency
get_all_instrumentsList instruments (options, perps, ERC20)
get_instrumentDetails for a specific instrument
get_tickerCurrent price, volume, bid/ask for an instrument
get_tickersTickers for all instruments of a given type
get_spot_feed_historyHistorical spot prices
get_spot_feed_history_candlesOHLC candlestick data
get_funding_rate_historyPerpetual funding rate history
get_interest_rate_historyBorrowing interest rate history
get_option_settlement_historyOption settlement history
get_latest_signed_feedsCurrent oracle price feeds
get_liquidation_historyLiquidation events
get_marginMargin requirement simulation
get_statisticsPlatform volume and open interest stats

Setup

git clone https://github.com/aadarshvelu/derive-mcp.git
cd derive-mcp
npm install

Usage

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "derive": {
      "command": "node",
      "args": ["/path/to/derive-mcp/server.mjs"]
    }
  }
}

Restart Claude Desktop. The 15 market data tools will be available.

Claude Code

Add to your project's .mcp.json:

{
  "mcpServers": {
    "derive": {
      "command": "node",
      "args": ["/path/to/derive-mcp/server.mjs"]
    }
  }
}

Or run directly:

claude mcp add derive node /path/to/derive-mcp/server.mjs

MCP Inspector (debugging)

npx @modelcontextprotocol/inspector node server.mjs

Tests

node test-mcp.mjs

Runs 16 tests against the live Derive API (15 tool calls + tool listing).

API Reference

All tools call the Derive public REST API at https://api.lyra.finance. No API keys or authentication needed.

Reviews

No reviews yet

Sign in to write a review