In the plugin-based ecosystem of DeepSeek Harness (DSH), agents often need to invoke external tools to handle specific logic, such as numerical computation. When a model has difficulty directly generating precise floating-point results, calling a dedicated calculator plugin through the Model Context Protocol (MCP) is a common solution.

xby-calculator-kel is a numerical calculator plugin based on the Model Context Protocol (MCP), maintained by developer xby-skill. It addresses precision deviations or calculation errors that may occur when large models handle complex mathematical operations, providing agents with a reliable numerical computation backend.

Core Features

This plugin provides the following core capabilities:

  • set_xby_apikey: Sets the API key in the chat. This setting supports automatic persistence and remains valid after restarting the DSH process.
  • Basic operations: Supports floating-point addition (add), subtraction (subtract), multiplication (multiply), and division (divide).
  • Advanced operations: Supports power operations (power), square root calculation (sqrt), and integer factorial calculation (factorial).

Installation and Activation

Installing this plugin requires the DSH command-line tool. The official repository installation command is recommended:

dsh plugin --profile web add github:xby_skill/xby-calculator-kel

After installation, the plugin will take effect when the DSH process starts.

Typical Usage

Using this plugin usually involves two steps:

  1. Configure the key: In the conversation, call the set_xby_apikey function and enter the key obtained from the Xiao Benyang official website.
  2. Perform calculations: Call the corresponding math function based on your needs. For example, call sqrt when you need to calculate the square root of \(5\), and call power when performing a power operation.

Applicable Scenarios and Notes

This plugin is suitable for scenarios where agents need precise mathematical capabilities, such as automatic financial report generation, scientific computing assistance, or data cleaning scripts.

Notes:
- Before use, visit the Xiao Benyang official website to register and obtain the API key.
- When calling the divide function, the divisor parameter must be non-zero; otherwise, the calculation will fail.
- The plugin runs with the permissions of the current DSH process. It is recommended to review its source code and license (MIT) before installation.
- This plugin is a project listed in the community catalog and has no affiliation with the official DeepSeek team.

xby-calculator-kel provides a lightweight and standard numerical computation solution for the DSH ecosystem. For agent development that requires handling complex mathematical logic, this is a tool that can be integrated directly. For more details, refer to the plugin catalog or the GitHub repository.