MCP.Market

Ba-Zi.ai Chinese Astrology MCP server

by xlw-pro·io.github.xlw-pro/chinese-astrology-skill·v1.0.1·2 stars

BaZi Four Pillars charts, bone weight fortune (称骨) and Chinese almanac (黄历) by Ba-Zi.ai.

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

full report

Adoption
Growing

2 stars61 downloads/wk

Reviews

Write one

Nobody has reviewed Ba-Zi.ai Chinese Astrology yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Ba-Zi.ai Chinese Astrology tools (4)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • calculateBoneWeight

    Calculate bone weight fortune (秤骨算命) using Yuan Tiangang's ancient Tang Dynasty method. Assigns weight values to birth year/month/day/hour and returns a destiny poem with interpretation. This tool is exclusive to chinese-astrology-skill. 袁天罡秤骨算命法,根据出生时间计算骨重与命运诗。

  • findBirthDates

    Find possible birth dates from a BaZi string. Returns all matching solar datetimes from 1700 to present. 根据八字反查公历出生时间。

  • getAlmanac

    Get Chinese almanac (黄历) for a specific date. Returns lunar date, auspicious/inauspicious activities, directional gods, and more. 获取指定日期的黄历信息。

  • getBaziChart

    Calculate a complete BaZi (Four Pillars of Destiny) chart from birth datetime. Returns the eight characters, Five Elements, Ten Gods, Hidden Stems, Decade Fortune, and more. 根据出生时间计算完整八字命盘。

Public scan report

scanner v0.1.10 · 2026-10-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan30 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 8 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 92/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Ba-Zi.ai Chinese Astrology compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
92/100
higher than 95% of 48,255 servers
Tools
4
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
2
more than 75% of 28,688 servers
Downloads a week
61
more than 49% of 12,191 servers with a package

What its tools let an agent do: 4 read

Install Ba-Zi.ai Chinese Astrology in Claude Code, Cursor or VS Code

Runs npx -y chinese-astrology-skill on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add chinese-astrology-skill -- npx -y chinese-astrology-skill
Add to Cursor

What the publisher says

From the Ba-Zi.ai Chinese Astrology repository's README, as published. We do not edit it. Read it on GitHub

Chinese Astrology Skill 🔮

The most comprehensive Chinese astrology AI skill — 4 tools covering BaZi (Four Pillars of Destiny), bone weight fortune telling, and Chinese almanac. Available as an Agent Skill (SKILL.md) and MCP server.

Built by Ba-Zi.ai — Free AI-powered BaZi calculator and Chinese astrology platform.

Features

What makes this different?

  • Bone Weight Fortune (秤骨算命) — The only MCP/Skill that includes Yuan Tiangang's 1,300-year-old bone weight calculation with all 52 classical poems and modern interpretations
  • Bilingual descriptions — All tool descriptions in both English and Chinese
  • Accurate calculations — Powered by tyme4ts, the most precise Chinese calendar library

Quick Start

Claude Desktop / Claude Code

Add to your MCP config:

{
  "mcpServers": {
    "chinese-astrology": {
      "command": "npx",
      "args": ["-y", "chinese-astrology-skill"]
    }
  }
}

Stdio Transport

npx chinese-astrology-skill

HTTP Transport

git clone https://github.com/xlw-pro/chinese-astrology-skill.git
cd chinese-astrology-skill
npm install
npm start
# Server runs at http://localhost:3000/mcp

Tools

1. getBaziChart — BaZi Chart Calculation (八字排盘)

Calculate a complete Four Pillars of Destiny chart from birth datetime.

Input:

{
  "solarDatetime": "2000-01-15T12:00:00+08:00",
  "gender": 1
}

Returns: Complete BaZi chart including:

  • Four Pillars (年柱/月柱/日柱/时柱) with Heavenly Stems & Earthly Branches
  • Five Elements (五行) for each position
  • Ten Gods (十神) relationships
  • Hidden Stems (藏干) — main, middle, and residual qi
  • Nayin (纳音), Void (空亡), Terrain (星运)
  • Decade Fortune (大运) — 10 periods with start ages
  • Gods & Spirits (神煞) for all four pillars
  • Branch Relations (刑冲合会) — clashes, combinations, penalties

2. findBirthDates — Reverse BaZi Lookup (八字反查)

Find all possible birth dates (from 1700 to present) that match a given BaZi string.

Input:

{
  "bazi": "戊寅 己未 己卯 辛未"
}

Returns: Array of matching solar datetimes.

3. getAlmanac — Chinese Almanac (黄历)

Get Chinese almanac information for any date.

Input:

{
  "solarDatetime": "2026-04-06T00:00:00+08:00"
}

Returns: Lunar date, zodiac, Nayin, solar terms, 28 mansions, Peng Zu taboos, directional gods (Joy/Yang Noble/Yin Noble/Mascot/Wealth), auspicious & inauspicious activities, clash info.

4. calculateBoneWeight — Bone Weight Fortune (秤骨算命) ⭐

Calculate bone weight fortune using Yuan Tiangang's ancient Tang Dynasty method (c. 600 CE).

Input:

{
  "solarDatetime": "1990-06-15T14:00:00+08:00"
}

Returns:

{
  "totalWeight": 4.8,
  "unit": "两 (liǎng)",
  "percentile": 54,
  "breakdown": {
    "year": { "ganzhi": "庚午", "weight": 0.9 },
    "month": { "lunarMonth": 5, "weight": 0.5 },
    "day": { "lunarDay": 23, "weight": 0.8 },
    "hour": { "earthBranch": "未", "weight": 0.8 }
  },
  "poem": "初年运道未曾亨...",
  "interpretation": "Late success through independence..."
}

Weight ranges from 2.1 to 7.2 liǎng across 52 destiny types. Learn more about bone weight fortune →

Use Cases

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Ba-Zi.ai Chinese Astrology: common questions

Is Ba-Zi.ai Chinese Astrology MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the Ba-Zi.ai Chinese Astrology safety report
How do I install Ba-Zi.ai Chinese Astrology?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Ba-Zi.ai Chinese Astrology need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Ba-Zi.ai Chinese Astrology maintained?
The last commit was 16 days ago (2026-10-19). The latest release is v1.0.1.
How does Ba-Zi.ai Chinese Astrology compare with other MCP servers?
safety score 92/100 (higher than 95% of 48,255 servers); tools 4 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.