FateStar Ziwei
Zi Wei Dou Shu for AI agents: free natal charts, six transit levels, and optional readings.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"fatestar-ziwei": {
"url": "https://www.fatestar.top/api/mcp"
}
}
}Remote endpoints
https://www.fatestar.top/api/mcpstreamable-httpWhat it can do
Tool inventory
Tools (3)
🟢ziwei_chart(year, month, day, hour, gender, ...)
生成紫微斗数 (Zi Wei Dou Shu / Purple Star Astrology) 完整本命盘。输入阳历或农历出生信息, 返回: 五行局/阴阳/命主身主、十二宫 (主星辅星煞星杂曜+庙旺亮度+生年四化+空宫借星+大限年龄+长生十二神)、生年四化所在宫、格局识别 (30+ 经典格局含古籍出处)、夹宫扫描、真实出生四柱 (万年历按节气)。引擎为 FateStar 自建 (102 颗星, 三合派四化, 真太阳时修正), 0 第三方排盘库。⚠️ 三合派庚干: 化科=天同 / 化忌=太阴。
Input Schema
{
"type": "object",
"properties": {
"year": {
"type": "integer",
"minimum": 1900,
"maximum": 2100,
"description": "出生年 (阳历; calendarType=lunar 时填农历年)"
},
"month": {
"type": "integer",
"minimum": 1,
"maximum": 12,
"description": "出生月 (1-12)"
},
"day": {
"type": "integer",
"minimum": 1,
"maximum": 31,
"description": "出生日 (1-31)"
},
"hour": {
"type": "integer",
"minimum": 0,
"maximum": 23,
"description": "出生小时 0-23 (24 小时制, 非时辰地支)"
},
"gender": {
"type": "string",
"enum": [
"male",
"female"
],
"description": "性别"
},
"minute": {
"type": "integer",
"minimum": 0,
"maximum": 59,
"description": "出生分钟 (默认 0; 配合 longitude 做真太阳时精修)"
},
"calendarType": {
"type": "string",
"enum": [
"solar",
"lunar"
],
"default": "solar",
"description": "历法: solar=公历(默认) / lunar=农历"
},
"isLeapMonth": {
"type": "boolean",
"description": "是否闰月 (仅 calendarType=lunar 有效)"
},
"longitude": {
"type": "number",
"description": "出生地经度 (东经正/西经负). 传了即启用真太阳时修正"
},
"timezoneOffset": {
"type": "number",
"description": "时区偏移 (UTC+8=8, UTC-5=-5). 需配合 longitude"
}
},
"required": [
"year",
"month",
"day",
"hour",
"gender"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"service": {
"type": "string"
},
"输入": {
"type": "object",
"additionalProperties": true
},
"基础": {
"type": "object",
"additionalProperties": true
},
"十二宫": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"本命四化": {
"type": "object",
"additionalProperties": true
},
"格局": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"夹宫": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
}
},
"required": [
"service",
"输入",
"基础",
"十二宫",
"本命四化",
"格局",
"夹宫"
],
"additionalProperties": false
}🟢ziwei_transits(year, month, day, hour, gender, ...)
在本命盘基础上计算 6 层运限: 大限 (10 年运, 含全部 13 段列表) / 小限 (1 年) / 流年 / 流月 / 流日 / 流时。每层返回该层命宫地支 + 四化 (化禄/化权/化科/化忌) + 双轨干支 (真实干支 vs 宫位编号)。不传 target* 则默认: 当前农历年月日 + 出生时辰。⚠️ 双轨干支铁律: 对外讲「X 日签约 / X 月运势」必用「真实干支」, 严禁用「宫位编号」当日子说。
Input Schema
{
"type": "object",
"properties": {
"year": {
"type": "integer",
"minimum": 1900,
"maximum": 2100,
"description": "出生年 (阳历; calendarType=lunar 时填农历年)"
},
"month": {
"type": "integer",
"minimum": 1,
"maximum": 12,
"description": "出生月 (1-12)"
},
"day": {
"type": "integer",
"minimum": 1,
"maximum": 31,
"description": "出生日 (1-31)"
},
"hour": {
"type": "integer",
"minimum": 0,
"maximum": 23,
"description": "出生小时 0-23 (24 小时制, 非时辰地支)"
},
"gender": {
"type": "string",
"enum": [
"male",
"female"
],
"description": "性别"
},
"minute": {
"type": "integer",
"minimum": 0,
"maximum": 59,
"description": "出生分钟 (默认 0; 配合 longitude 做真太阳时精修)"
},
"calendarType": {
"type": "string",
"enum": [
"solar",
"lunar"
],
"default": "solar",
"description": "历法: solar=公历(默认) / lunar=农历"
},
"isLeapMonth": {
"type": "boolean",
"description": "是否闰月 (仅 calendarType=lunar 有效)"
},
"longitude": {
"type": "number",
"description": "出生地经度 (东经正/西经负). 传了即启用真太阳时修正"
},
"timezoneOffset": {
"type": "number",
"description": "时区偏移 (UTC+8=8, UTC-5=-5). 需配合 longitude"
},
"targetYear": {
"type": "integer",
"minimum": 1900,
"maximum": 2100,
"description": "流年目标年 (默认当前农历年)"
},
"targetMonth": {
"type": "integer",
"minimum": 1,
"maximum": 12,
"description": "流月目标农历月 (默认当前农历月)"
},
"targetDay": {
"type": "integer",
"minimum": 1,
"maximum": 30,
"description": "流日目标农历日 (默认当前农历日)"
},
"targetHour": {
"type": "integer",
"minimum": 0,
"maximum": 23,
"description": "流时目标小时 0-23 (默认出生时辰)"
}
},
"required": [
"year",
"month",
"day",
"hour",
"gender"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"service": {
"type": "string"
},
"流运目标": {
"type": "object",
"additionalProperties": true
},
"大限列表": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"小限": {
"type": "object",
"additionalProperties": true
},
"流年": {
"type": "object",
"additionalProperties": true
},
"流月": {
"type": "object",
"additionalProperties": true
},
"流日": {
"type": "object",
"additionalProperties": true
},
"流时": {
"type": "object",
"additionalProperties": true
},
"双轨干支提示": {
"type": "string"
}
},
"required": [
"service",
"流运目标",
"大限列表",
"小限",
"流年",
"流月",
"流日",
"流时",
"双轨干支提示"
],
"additionalProperties": false
}⚪ziwei_reading(year, month, day, hour, gender, ...)
调 FateStar「郑大钱」AI 命理师 —— 知识引擎 + 郑大钱人格深度解读命盘、回答命理问题 (感情/事业/财运/健康等)。解读会结合 FateStar 知识引擎与古籍检索上下文;排盘事实仍由确定性工具提供。【调用条件】仅在用户明确选择托管解读并确认可能扣积分后调用。普通命理问题默认先用免费排盘数据。⚠️ 付费: 按问题长度/模式扣积分 (短问免费), 需 FSFSKey 开发者 Key。【没 Key】引导用户去 https://www.fatestar.top 注册免费会员 → 做新手任务领积分 → 开发者中心拿 FSFSKey Key → 配进 MCP (环境变量 FATESTAR_API_KEY 或 apiKey 参数)。【积分用完 (402)】告知用户「已切回你自己的 LLM 解读, 请去 fatestar.top 充值或等北京时间 21:00 免费重置」, 然后改用 ziwei_chart 拿命盘数据 + 你自己解读。
Input Schema
{
"type": "object",
"properties": {
"year": {
"type": "integer",
"minimum": 1900,
"maximum": 2100,
"description": "出生年 (阳历; calendarType=lunar 时填农历年)"
},
"month": {
"type": "integer",
"minimum": 1,
"maximum": 12,
"description": "出生月 (1-12)"
},
"day": {
"type": "integer",
"minimum": 1,
"maximum": 31,
"description": "出生日 (1-31)"
},
"hour": {
"type": "integer",
"minimum": 0,
"maximum": 23,
"description": "出生小时 0-23 (24 小时制, 非时辰地支)"
},
"gender": {
"type": "string",
"enum": [
"male",
"female"
],
"description": "性别"
},
"minute": {
"type": "integer",
"minimum": 0,
"maximum": 59,
"description": "出生分钟 (默认 0; 配合 longitude 做真太阳时精修)"
},
"calendarType": {
"type": "string",
"enum": [
"solar",
"lunar"
],
"default": "solar",
"description": "历法: solar=公历(默认) / lunar=农历"
},
"isLeapMonth": {
"type": "boolean",
"description": "是否闰月 (仅 calendarType=lunar 有效)"
},
"longitude": {
"type": "number",
"description": "出生地经度 (东经正/西经负). 传了即启用真太阳时修正"
},
"timezoneOffset": {
"type": "number",
"description": "时区偏移 (UTC+8=8, UTC-5=-5). 需配合 longitude"
},
"question": {
"type": "string",
"description": "要问郑大钱的问题 (如「今年事业运如何」「该不该换工作」)"
},
"apiKey": {
"type": "string",
"description": "FSFSKey 开发者 Key (也可由 MCP server 环境变量 FATESTAR_API_KEY 提供; 旧 fs_live_ 仍兼容)"
}
},
"required": [
"year",
"month",
"day",
"hour",
"gender",
"question"
],
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"郑大钱解读": {
"type": "string"
},
"扣除积分": {
"type": "number"
},
"剩余积分": {
"type": "number"
},
"运限": {
"type": "object",
"additionalProperties": true
},
"需注册": {
"type": "boolean"
},
"积分不足": {
"type": "boolean"
},
"提示": {
"type": "string"
},
"需积分": {
"type": "number"
},
"现有积分": {
"type": "number"
}
},
"additionalProperties": false
}Community
Evidence