Introduction

DeepSeek Harness (DSH) adopts a plugin architecture, aiming to address capability gaps in specific scenarios. When building agents for financial analysis or automated trading tools, accessing real-time currency exchange rates and oil prices is a common requirement. This article introduces the xby-currency-and-oil plugin, which is based on Zenrus MCP Server and is designed to provide DSH plugins with real-time currency exchange rates and oil price data, along with support for related numerical calculations.

Plugin Positioning

xby-currency-and-oil is a server that provides real-time currency exchange rates and oil prices. It supports multiple calculation functions and is suitable for financial analysis and integration into automated tooling. The plugin is maintained by xby-skill and is released under the MIT License.

Core Features

  1. API Key Management: Supports setting the API key in chat. The system automatically persists the key, so it remains valid after a restart.
  2. Exchange Rate Query: Retrieves the current USD/RUB and EUR/RUB exchange rates from zenrus.ru.
  3. Crude Oil Price Query: Retrieves the current Brent crude oil price from zenrus.ru, supporting both USD/barrel and RUB/barrel units.
  4. Numerical Calculation: Calculates how many barrels of Brent crude oil can be purchased for a given amount in rubles, US dollars, or euros.

Installation and Activation

Install it using the official command-line tool:

dsh plugin --profile web add github:xby_skill/xby-currency-and-oil

After installation, you must first set the API key in chat before using the query features.

Typical Usage

The plugin provides the following function interfaces:

  • get_usd_rate: Retrieves the USD/RUB exchange rate
  • get_brent_usd_rate: Retrieves the Brent crude oil price (USD/barrel)
  • calculate_barrels_for_rub: Calculates how many barrels of Brent crude oil can be purchased with the given amount of rubles

Applicable Scenarios and Notes

This plugin is suitable for automated scenarios that require directly retrieving real-time financial data during conversations and performing simple calculations.

Note:
* Before use, you must visit the Xiaobenyang official website, register, and obtain an API key.
* The plugin runs with the permissions of the current DSH process. It is recommended to review the source code and license before installation.

Summary

xby-currency-and-oil simplifies the process of retrieving exchange rate and oil price data through the Zenrus MCP Server interface, and provides basic purchasing-power calculation capabilities. Developers can call the corresponding interfaces based on their actual requirements.