Skip to content

Commit fa80a12

Browse files
committed
chore: bump version to 0.1.3
- 更新版本号从 0.1.2 到 0.1.3 - 更新 README 文档: - 修改中文输出说明为"以简体为主,术语保持传统" - 新增 qimen_yongshen 和 qimen_zeri 工具说明 - 扩充奇门遁甲支持说明(时/日/月/年盘、转盘/飞盘) - 新增 minute、panStyle 参数文档 - 添加用神分析指南文档引用
1 parent 9ce1b1c commit fa80a12

4 files changed

Lines changed: 25 additions & 19 deletions

File tree

README.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# 命盘 MCP Server
22

3-
[![Version](https://img.shields.io/badge/version-0.1.2-blue.svg)](https://github.com/ChesterRa/mingpan)
3+
[![Version](https://img.shields.io/badge/version-0.1.3-blue.svg)](https://github.com/ChesterRa/mingpan)
44
[![License](https://img.shields.io/badge/license-Apache%202.0-green.svg)](LICENSE)
55

66
**命盘(Mingpan)** 是一个中华传统术数 MCP 服务,为 Claude 等 AI 应用提供命理排盘与占卜起卦的计算能力。
77

88
## 特性
99

1010
- **MCP 原生**:无缝集成 Claude Desktop 及 Claude Code
11-
- 🌏 **繁体中文输出**符合传统术数的专业术语
11+
- 🌏 **中文输出**以简体为主,术语保持传统
1212
- 📊 **结构化文本**:便于 AI 理解与分析的格式
1313

1414
## 配置方法
@@ -109,11 +109,15 @@ claude mcp add mingpan -- npx -y mingpan
109109

110110
#### 奇门遁甲
111111

112-
| 工具 | 说明 |
113-
| ------------- | ---------------------------------------------------------- |
114-
| `qimen_basic` | 奇门遁甲排盘(九宫布局、三奇六仪、八门九星八神、格局判断) |
112+
| 工具 | 说明 |
113+
| --------------- | ---- |
114+
| `qimen_basic` | 奇门遁甲排盘(九宫布局、三奇六仪、八门九星八神、格局判断) |
115+
| `qimen_yongshen`| 奇门用神分析(按事类选取用神,含主客、旺衰、空亡、入墓等) |
116+
| `qimen_zeri` | 奇门择日(指定日期区间内筛选相对更佳的时机) |
115117

116-
奇门遁甲为三式之一,支持时盘和日盘两种盘式,支持拆补法和茅山法两种置闰算法。
118+
奇门遁甲为三式之一,盘式与规则主要参考张志春《神奇之门》,支持:时盘/日盘/月盘/年盘、转盘/飞盘、拆补法/茅山法。
119+
120+
更多说明见:`docs/qimen-yongshen-guide.md`
117121

118122
## 输入参数
119123

@@ -136,14 +140,16 @@ claude mcp add mingpan -- npx -y mingpan
136140

137141
### 奇门遁甲工具
138142

139-
| 参数 | 类型 | 必填 | 说明 |
140-
| ------------ | ------- | ---- | ------------------------------------------------------ |
141-
| year | number || 起盘年份(1900-2100) |
142-
| month | number || 起盘月份(1-12) |
143-
| day | number || 起盘日期(1-31) |
144-
| hour | number || 起盘时辰(0-23) |
145-
| isLunar | boolean | | 是否为农历输入,默认 false |
146-
| panType | string | | `时盘` / `日盘`,默认 `时盘` |
143+
| 参数 | 类型 | 必填 | 说明 |
144+
| ------------ | ------- | ---- | ---- |
145+
| year | number || 起盘年份(1900-2100) |
146+
| month | number || 起盘月份(1-12) |
147+
| day | number || 起盘日期(1-31) |
148+
| hour | number || 起盘时辰(0-23) |
149+
| minute | number | | 分钟(0-59),默认 0 |
150+
| isLunar | boolean | | 是否为农历输入,默认 false |
151+
| panType | string | | `时盘` / `日盘` / `月盘` / `年盘`,默认 `时盘` |
152+
| panStyle | string | | `转盘` / `飞盘`,默认 `转盘` |
147153
| zhiRunMethod | string | | `chaibu`(拆补法)/ `maoshan`(茅山法),默认 `chaibu` |
148154

149155
## 月份基准说明

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mingpan",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "MCP service for accurate Bazi and Ziwei chart calculations",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ const ZiweiLiuRiListSchema = BaseBirthInfoSchema.extend({
349349
const server = new Server(
350350
{
351351
name: "mingpan",
352-
version: "0.1.2",
352+
version: "0.1.3",
353353
},
354354
{
355355
capabilities: {
@@ -1887,7 +1887,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
18871887
async function main() {
18881888
const transport = new StdioServerTransport();
18891889
await server.connect(transport);
1890-
logger.info("Mingpan MCP server started (v0.1.2)");
1890+
logger.info("Mingpan MCP server started (v0.1.3)");
18911891
}
18921892

18931893
main().catch((error) => {

0 commit comments

Comments
 (0)