Skip to content
dsh.fish
Bundle

xby-mathematics

MCP Mathematics 是一个全面的数学计算服务器,可将任何AI助手转变为强大的数学计算引擎,提供高级数学函数、单位转换和财务计算等功能。

Source
xby-skill
License
MIT
Updated
Updated 2 days ago

Readme

# xby-mathematics

DeepSeek Harness (DSH) 的插件:数学计算引擎

MCP Mathematics 是一个全面的数学计算服务器,可将任何AI助手转变为强大的数学计算引擎,提供高级数学函数、单位转换和财务计算等功能。

## 功能

- **set_xby_apikey** — 在聊天中设置 API 密钥(自动持久化,重启有效)
- **performance_metrics** — Get performance metrics
- **security_status** — Get security status
- **memory_statistics** — Get memory statistics
- **calculate_expression** — Evaluate math expression
- **batch_calculate** — Batch calculate expressions
- **calculate_statistics** — Calculate statistics
- **matrix_operation** — Matrix operations
- **convert_units** — Unit conversion
- **convert_natural_language** — Natural language conversion
- **analyze_number_theory** — Number theory operations
- **create_session** — Create session
- **session_calculate** — Session calculation
- **list_session_variables** — List session variables
- **delete_session** — Delete session
- **get_calculation_history** — Get calculation history
- **clear_history** — Clear history
- **optimize_memory** — Optimize memory
- **list_functions** — List functions

## 安装

### 方式一:从 GitHub 直接安装(推荐)

```bash
# 格式: dsh plugin --profile <profile> add github:<owner>/<repo>
dsh plugin --profile web add github:xby_skill/xby-mathematics
```

### 方式二:从本地目录安装(开发模式)

```bash
# 仅用于本地开发调试
dsh plugin --profile web add /absolute/path/to/xby-mathematics
```

### 方式三:通过 cordis.patch.yml 开发调试

```bash
dsh web --profile web --patch /absolute/path/to/dsh-ocr-plugin/cordis.patch.yml
```



## 配置

### 获取 API 密钥

前往 [小笨羊官网](https://xiaobenyang.com) 注册并获取 API 密钥。

Install

dsh plugin --profile web add github:xby-skill/xby-mathematics#4c4aff4424b716cc3a89306a8b6d7fa47d6463e2

Profile: web

  • This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
Source