bazi
# 八字计算器
八字 MCP 是一款基于 AI 的八字计算器,提供精准的八字排盘数据,用于性格分析和命运预测。
Bazi MCP is an AI based Bazi calculator that provides accurate Bazi chart data for personality analysis and destiny prediction.## 工具列表 Tool List
本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。 本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。
| 工具 Tool | 描述 Description |
|-------|--------------------|
| getBaziDetail | 根据时间(公历或农历)、性别来获取八字信息。solarDatetime和lunarDatetime必须传且只传其中一个。 |
| getSolarTimes | 根据八字获取公历时间列表。返回的时间格式为:YYYY-MM-DD hh:mm:ss。例如时间1998年7月31日下午2点整表示为:1998-07-31 14:00:00 |
| getChineseCalendar | 获取指定公历时间(默认今天)的黄历信息。 |
## 检查服务 ## Inspector
工具在线测试: [https://mcp.xiaobenyang.com/inspector/1777316659717123](https://mcp.xiaobenyang.com/inspector/1777316659717123)
Online Tool test [https://mcp.xiaobenyang.com/inspector/1777316659717123](https://mcp.xiaobenyang.com/inspector/1777316659717123)
## 服务配置 MCP Server Config
> #### 如何获取 XBY-APIKEY ? How to get XBY-APIKEY ?
> 访问小笨羊科技网站 [https://xiaobenyang.com](https://xiaobenyang.com),注册用户即可获得APIKEY
> Visit XiaoBenYang website [https://xiaobenyang.com](https://xiaobenyang.com), register and get the APIKEY.
### SSE
```json
{
"mcpServers": {
"八字计算器": {
"headers": {
"XBY-APIKEY": "<YOUR_XBY_APIKEY>"
},
"type": "sse",
"url": "https://mcp.xiaobenyang.com/1777316659717123/sse"
}
}
}
```
### STREAMABLE HTTP
```json
{
"mcpServers": {
"八字计算器": {
"headers": {
"XBY-APIKEY": "<YOUR_XBY_APIKEY>"
},
"type": "streamable_http",
"url": "https://mcp.xiaobenyang.com/1777316659717123/mcp"
}
}
}
```
### STDIO
```json
{
"mcpServers": {
"八字计算器": {
"command": "npx",
"args": [
"-y",
"xiaobenyang-mcp"
],
"env": {
"XBY_APIKEY": "<YOUR_XBY_APIKEY>",
"mcpId": "1777316659717123",
},
"transport": "stdio"
}
}
}
```
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: getBaziDetail retrieves birth chart information, getChineseCalendar provides almanac data, and getSolarTimes converts birth charts to solar times. There is no overlap in functionality, making tool selection unambiguous.
The naming follows a consistent 'get' prefix pattern (getBaziDetail, getChineseCalendar, getSolarTimes), but uses camelCase instead of snake_case. While internally consistent, the deviation from a more common verb_noun pattern is a minor flaw.
With 3 tools, the count is reasonable for a Chinese astrology/calendar server, but it feels slightly thin. A few additional tools, such as for date conversion or more detailed analyses, could enhance coverage without being excessive.
The tools cover core functions like birth chart retrieval, almanac lookup, and time conversion, but there are notable gaps. For example, there is no tool for updating or manipulating data, and advanced features like compatibility analysis or historical date lookups are missing, limiting workflow completeness.