About cantian-ai/bazi-mcp
cantian-ai/bazi-mcp is an MCP server published by cantian-ai in the Browser category: mCP server for Bazi (八字) information. Conduid read 3 tools from its source: getBaziDetail, getChineseCalendar and getSolarTimes. It is published to npm as bazi-mcp and starts with npx.
The repository has 436 stars and 163 forks, is licensed ISC, and its last commit was on 11 Oct 2025. Conduid has no tagged release on record for it. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Its topics include browser.
Install
claude mcp add bazi-mcp -- npx bazi-mcpnpx bazi-mcpgit clone https://github.com/cantian-ai/bazi-mcpTools (3)
getBaziDetail根据时间(公历或农历)、性别来获取八字信息。solarDatetime和lunarDatetime必须传且只传其中一个。| Parameter | Type | Description |
|---|---|---|
| eightCharProviderSect | number | 早晚子时配置。传1表示23:00-23:59日干支为明天,传2表示23:00-23:59日干支为当天。 |
| gender * | number | 传0表示女性,传1表示男性。 |
| lunarDatetime | string | 农历时间。例如农历2000年5月初五中午12点整表示为:`2000-5-5 12:00:00`。 |
| solarDatetime | string | 用ISO时间格式表示的公历时间. 例如:`2008-03-01T13:00:00+08:00`。 |
getChineseCalendar获取指定公历时间(默认今天)的黄历信息。| Parameter | Type | Description |
|---|---|---|
| solarDatetime | string | 用ISO时间格式表示的公历时间. 例如:`2008-03-01T13:00:00+08:00`。 |
getSolarTimes根据八字获取公历时间列表。返回的时间格式为:YYYY-MM-DD hh:mm:ss。例如时间1998年7月31日下午2点整表示为:1998-07-31 14:00:00| Parameter | Type | Description |
|---|---|---|
| bazi * | string | 八字,按年柱、月柱、日柱、时柱顺序,用空格隔开。例如:戊寅 己未 己卯 辛未 |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.1K words.
- ✓License declaredThe repository declares the ISC license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 8 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPsrc/stdio.ts:3, src/httpServer.ts:1
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- No file writes or deletes
- Lockfile
- package-lock.json
Pattern matches on the source text of 8 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 1.1K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README