baiz
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"Bazi": {
"args": [
"bazi-mcp"
],
"command": "npx",
"description": "八字命理计算服务"
},
"ChineseCalendar": {
"args": [
"chinese-calendar-mcp"
],
"command": "npx",
"description": "中国黄历查询服务"
},
"SolarConverter": {
"args": [
"solar-converter-mcp"
],
"command": "npx",
"description": "公历时间转换服务"
}
}
}
可用工具 (5 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
getBaziDetail 4 个参数 需填 1 项
根据时间(公历或农历)、性别来获取八字信息。solarDatetime和lunarDatetime必须传且只传其中一个。
必填参数:gender
getSolarTimes 1 个参数 需填 1 项
根据八字获取公历时间列表。返回的时间格式为:YYYY-MM-DD hh:mm:ss。例如时间1998年7月31日下午2点整表示为:1998-07-31 14:00:00
必填参数:bazi
getChineseCalendar 1 个参数
获取指定公历时间(默认今天)的黄历信息。
该工具无需必填参数,直接调用即可
buildBaziFromLunarDatetime 3 个参数 需填 2 项
根据农历时间、性别来获取八字信息。
必填参数:lunarDatetime、gender
buildBaziFromSolarDatetime 3 个参数 需填 2 项
根据阳历时间、性别来获取八字信息。
必填参数:solarDatetime、gender
服务介绍
请提供需要翻译的英文技术文档内容。您当前只提供了“bazi”,这不足以进行翻译。如果有具体的文档段落或链接,请分享给我,我将根据您的要求进行翻译。