trackmcp
Back to directory
raju-deriv

mcp-deriv-api-server

View on GitHub
0 stars PythonServers & Infrastructure Updated Jan 7, 2025

Documentation

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

bash
curl -LsSf https://astral.sh/uv/install.sh | sh

Docker Installation

1. Build the Docker image:

bash
docker build -t deriv-api-mcp .

Environment Setup

Create a `.env` file in your project root:

env
DERIV_API_TOKEN=your_api_key_here

Usage with Claude Desktop

Claude Desktop provides full support for MCP features. To use this server:

1. Install Claude Desktop

2. Add to your Claude Desktop configuration:

    For Local Installation

    json
    {
      "mcpServers": {
        "deriv-api-mcp": {
          "command": "uv",
          "args": [
            "--directory",
            "/Users/raju/Sites/deriv/mcp-deriv-api-server",
            "run",
            "server.py"
          ]
        }
      }
    }

    For Docker Installation

    json
    {
      "mcpServers": {
        "deriv-api-mcp": {
          "command": "docker",
          "args": [
            "run",
            "--rm",
            "-i",
            "deriv-api-mcp"
          ]
        }
      }
    }

    3. Restart Claude Desktop

    The server provides the following tools:

    • `get_active_symbols`: Get a list of active trading symbols
    • `get_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

    Frequently asked questions

    What is mcp-deriv-api-server?

    mcp-deriv-api-server is a Model Context Protocol (MCP) server listed in the TrackMCP directory.

    How do I install mcp-deriv-api-server?

    Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

    Is mcp-deriv-api-server open source?

    Yes — it is hosted on GitHub at https://github.com/raju-deriv/mcp-deriv-api-server.

    Related MCP tools

    Run your own MCP server? See who uses it and what to fix.

    Measure it with TrackMCP