Deriv API Server
An MCP server and OpenAI function calling service for interacting with the Deriv API.
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
Installation
Local Installation
curl -LsSf https://astral.sh/uv/install.sh | sh
Docker 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_here
Usage 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.json - On cline VSCode:
/Users/raju/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json - On Windows:
%APPDATA%\Claude\claude_desktop_config.json
- On macOS:
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
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Dart MCP
An example MCP server built with Dart and deployed on Cloudflare Workers.
NEI MCP Server
A server for interacting with the NEI platform to query project resources.
Everything MCP Server
A test server that demonstrates all features of the MCP protocol, including prompts, tools, resources, and sampling.
shadcn/ui MCP
Provides context about shadcn/ui components, including structure, usage, and installation for React, Svelte, and Vue.
BAMM
Interact with the Borrow Automated Market Maker (BAMM) protocol on the Fraxtal blockchain.
GitLab MR & Confluence Linker
Analyzes GitLab merge requests and links them to Confluence documentation.
Jakarta Migration MCP
Specialized tools for analyzing and migrating Java applications from Java EE 8 (javax.*) to Jakarta EE 9+ (jakarta.*).
DevRev MCP Server
Access DevRev's APIs to manage work items, parts, search, and user information.
MCP Chain
A composable middleware framework for building sophisticated MCP server chains, inspired by Ruby Rack.
Starwind UI
A server providing tools for developers working with Starwind UI components.