Skip to main content
Glama
raju-deriv

Deriv API MCP Server

by raju-deriv

Deriv API サーバー

Deriv API と対話するためのモデル コンテキスト プロトコル (MCP) サーバーおよび OpenAI 関数呼び出しサービス。

特徴

  • アクティブシンボルリスト

  • アカウント残高を取得する

Related MCP server: Bybit MCP Server

インストール

ローカルインストール

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

Dockerのインストール

  1. Docker イメージをビルドします。

docker build -t deriv-api-mcp .

環境設定

プロジェクト ルートに.envファイルを作成します。

DERIV_API_TOKEN=your_api_key_here

Claude Desktopでの使用

Claude DesktopはMCP機能を完全にサポートしています。このサーバーを使用するには、以下の手順に従ってください。

  1. Claude Desktopをインストールする

  2. Claude Desktop 構成に追加:

    • macOSの場合: ~/Library/Application Support/Claude/claude_desktop_config.json

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

    • Windows の場合: %APPDATA%\Claude\claude_desktop_config.json

ローカルインストールの場合

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

Dockerのインストール

{
  "mcpServers": {
    "deriv-api-mcp": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "deriv-api-mcp"
      ]
    }
  }
}
  1. Claudeデスクトップを再起動します

サーバーは次のツールを提供します。

  • get_active_symbols : アクティブな取引シンボルのリストを取得する

  • get_account_balance : 現在の口座残高を取得する

OpenAI関数呼び出しでの使用

レート制限

現在のレート制限と使用ガイドラインについては、 Deriv API ドキュメントを参照してください。

ライセンス

マサチューセッツ工科大学

Available Tools

2 tools
get_account_balanceD
ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

D1/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Tool has no description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness1/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Tool has no description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool has no description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Tool has no description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

Tool has no description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Tool has no description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_active_symbolsD
ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

D1/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Tool has no description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness1/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Tool has no description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool has no description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Tool has no description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

Tool has no description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Tool has no description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updates
    • First observedget_account_balance
    • First observedget_active_symbols

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.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    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
    20 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.
    14
    -
  • A
    license
    Not graded
    quality
    C
    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.
    35 PyPI
    3
    MIT