Skip to main content
Glama
Deriv API MCP Server

Deriv API MCP Server

by raju-deriv

Servidor API de Deriv

Un servidor de Protocolo de Contexto de Modelo (MCP) y un servicio de llamada de funciones OpenAI para interactuar con la API de Deriv.

Características

  • Lista de símbolos activos

  • Obtener el saldo de la cuenta

Related MCP server: Bybit MCP Server

Instalación

Instalación local

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

Instalación de Docker

  1. Construya la imagen de Docker:

docker build -t deriv-api-mcp .

Configuración del entorno

Crea un archivo .env en la raíz de tu proyecto:

DERIV_API_TOKEN=your_api_key_here

Uso con Claude Desktop

Claude Desktop ofrece compatibilidad total con las funciones de MCP. Para usar este servidor:

  1. Instalar Claude Desktop

  2. Añade a tu configuración de Claude Desktop:

    • En macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • En cline VSCode: /Users/raju/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

    • En Windows: %APPDATA%\Claude\claude_desktop_config.json

Para instalación local

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

Para la instalación de Docker

{
  "mcpServers": {
    "deriv-api-mcp": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "deriv-api-mcp"
      ]
    }
  }
}
  1. Reiniciar Claude Desktop

El servidor proporciona las siguientes herramientas:

  • get_active_symbols : Obtener una lista de símbolos comerciales activos

  • get_account_balance : Obtener el saldo actual de la cuenta

Uso con llamadas a funciones de OpenAI

Límites de velocidad

Consulte la documentación de la API de Deriv para conocer los límites de velocidad y las pautas de uso actuales.

Licencia

Instituto Tecnológico de Massachusetts (MIT)

Available Tools

2 tools
get_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

    D1.7/5.0

    Scored across 2 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun pattern with 'get_' prefix and snake_case naming. The naming is perfectly uniform across the set.

    Tool Count2/5

    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.

    Completeness1/5

    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

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A 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.
      8
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      A 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.
      11
      34 npm
      13
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A standalone Model Context Protocol (MCP) server that enables AI assistants to interact with the cTrader trading platform.
      15
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol (MCP) server for the Hyperliquid decentralized exchange, enabling AI assistants to perform trading operations, manage accounts, and retrieve market data.
      38 PyPI
      3
      MIT