Skip to content
dsh.fish
Bundle

xby-mingli

一个支持多种命理系统(紫微斗数、八字等)的MCP协议服务器,为AI工具提供命理分析与运势查询功能。

Source
xby-skill
License
MIT
Updated
Updated 6 days ago

Readme

# xby-mingli

DeepSeek Harness (DSH) 的插件:命理分析服务

一个支持多种命理系统(紫微斗数、八字等)的MCP协议服务器,为AI工具提供命理分析与运势查询功能。

## 功能

- **set_xby_apikey** — 在聊天中设置 API 密钥(自动持久化,重启有效)
- **get_ziwei_chart** — 获取紫微斗数排盘信息,包含命盘十二宫、主星、辅星、四化等详细信息
- **get_ziwei_fortune** — 获取紫微斗数运势信息,包含大限、流年、流月、流日、流时的运势详情
- **analyze_ziwei_palace** — 分析紫微斗数特定宫位的详细信息
- **list_fortune_systems** — 列出所有可用的命理系统(紫微斗数、八字、占星等)
- **get_bazi_chart** — 获取八字(四柱)排盘信息,包含年月日时四柱、十神、五行、地支藏干等详细信息
- **get_bazi_fortune** — 获取八字运势信息,包含大运、流年等详情
- **analyze_bazi_element** — 分析八字五行强弱,包含五行分数、平衡度、缺失五行等

## 安装

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

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

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

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

### 方式三:通过 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-mingli

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.
  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source