Deriv API MCP Server
The Deriv API MCP Server allows interaction with the Deriv API using Model Context Protocol (MCP) and OpenAI function calling to manage trading activities. You can:
Retrieve a list of active trading symbols using the
get_active_symbolsfunctionFetch the current account balance using the
get_account_balancefunction
Enables function calling with the Deriv API through OpenAI models, offering capabilities to fetch active trading symbols and account balances.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Deriv API MCP Server show me my current account balance"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Deriv API Server
A Model Context Protocol (MCP) server and OpenAI function calling service for interacting with the Deriv API.
Features
Active symbols list
Get Account Balance
Related MCP server: Bybit MCP Server
Installation
Local Installation
curl -LsSf https://astral.sh/uv/install.sh | shDocker Installation
Build the Docker image:
docker build -t deriv-api-mcp .Environment Setup
Create a .env file in your project root:
DERIV_API_TOKEN=your_api_key_hereUsage with Claude Desktop
Claude Desktop provides full support for MCP features. To use this server:
Install Claude Desktop
Add to your Claude Desktop configuration:
On macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonOn cline VSCode:
/Users/raju/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.jsonOn Windows:
%APPDATA%\Claude\claude_desktop_config.json
For Local Installation
{
"mcpServers": {
"deriv-api-mcp": {
"command": "uv",
"args": [
"--directory",
"/Users/raju/Sites/deriv/mcp-deriv-api-server",
"run",
"server.py"
]
}
}
}For Docker Installation
{
"mcpServers": {
"deriv-api-mcp": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"deriv-api-mcp"
]
}
}
}Restart Claude Desktop
The server provides the following tools:
get_active_symbols: Get a list of active trading symbolsget_account_balance: Get the current account balance
Usage with OpenAI Function Calling
Rate Limits
Please refer to the Deriv API documentation for current rate limits and usage guidelines.
License
MIT
Available Tools
2 toolsget_account_balanceD
Inputs: no named parameters.
get_active_symbolsD
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have completely distinct purposes: one retrieves account balance information, while the other fetches available trading symbols. There is no overlap in functionality, making it impossible to confuse them.
Both tools follow a consistent verb_noun pattern with 'get_' prefix and snake_case naming. The naming is perfectly uniform across the set.
With only two tools, the server feels severely under-scoped for a Deriv API integration. A financial trading API would typically require many more operations (e.g., place orders, check positions, view history) to be useful.
The toolset is extremely incomplete for a trading API domain. It lacks core operations like creating trades, managing orders, viewing transaction history, or accessing market data beyond symbols. Agents cannot perform meaningful trading workflows.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
MCP server for OpenMM — exposes market data, account, trading, and strategy tools to AI agents
Trade 16 crypto exchanges + MetaTrader 5 from your AI assistant via one MCP connection.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables LLMs to interact with cryptocurrency exchanges through CCXT, allowing for tasks like fetching balances, market data, creating orders, and trading operations in a standardized way.8MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI coding tools like Claude Code and Cursor to interact with Bybit's trading platform for market data retrieval, account management, and trading operations.1134 npm13MIT
- FlicenseNot gradedqualityDmaintenanceA standalone Model Context Protocol (MCP) server that enables AI assistants to interact with the cTrader trading platform.15-
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server for the Hyperliquid decentralized exchange, enabling AI assistants to perform trading operations, manage accounts, and retrieve market data.38 PyPI3MIT