deriv-market-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DERIV_WS_URL | No | WebSocket endpoint. Defaults to Deriv's public options feed. | |
| DERIV_MIN_INTERVAL_MS | No | Minimum gap between two requests to Deriv. | 500 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Live market data from Deriv's public feed: currencies, stock indices, commodities, crypto and Deriv synthetic indices. Read only; it cannot trade. Times are UTC. Call list_markets first if you are unsure of a symbol. The feed is rate limited per IP address, so prefer one get_candles call over many get_price calls, and do not retry a rate-limit error straight away.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_marketsA | List the symbols Deriv's public feed offers, with whether each market is open now. Filter by market group (for example forex, indices, commodities, cryptocurrency, synthetic_index) or by a search word. |
| get_priceB | The latest quoted price for one symbol, with the time it was quoted (UTC). |
| get_pricesA | Latest prices for up to 10 symbols in one call. Requests are paced to respect the feed's rate limit, so 10 symbols take about 5 seconds. A symbol that fails is reported in errors and does not fail the others. |
| get_candlesA | OHLC candles for one symbol, oldest first. Buckets are aligned to UTC (daily bars start at 00:00 UTC). The last candle may still be forming; lastCandleForming says so. Deriv keeps about a year of daily bars and about 700 bars of intraday history. |
| get_trading_hoursA | Today's opening and closing times (UTC), trading days and upcoming holidays or early closes for one symbol. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool targets a distinct operation: listing markets, single quote, batched quotes, candles, and trading hours. The only near-collision is get_price vs get_prices, but the descriptions explicitly differentiate single-symbol vs up-to-10 batch with rate-limit pacing, so an agent can choose correctly.
All five tools follow a consistent snake_case verb_noun pattern (list_markets, get_price, get_prices, get_candles, get_trading_hours). The singular/plural distinction on get_price(s) is a natural, readable variation rather than a convention break.
Five tools is well-scoped for a read-only market data server; each covers a distinct data type (symbols, spot quotes, batch quotes, OHLC history, session hours) with no filler. The batch variant is justified by rate-limit handling rather than redundancy.
The core read surface for a public feed is covered: discovery, current prices (single and batch), historical candles, and trading hours. Minor gaps remain, such as symbol metadata/contract specs (pip size, min stake, market type) and any notion of quote subscriptions, which agents would have to work around.