Agent♥︎Age
Catalog

io.github.alexsu1212/freebazi

Official

by alexsu1212 · TypeScript

Offline Bazi (八字, Four Pillars) chart: True Solar Time, Ten Gods, Shen Sha, luck pillars.

freebazi MCP Server: Offline Bazi (八字) Four Pillars Chart Computation

This Model Context Protocol (MCP) server computes a complete Chinese Bazi (八字, Four Pillars of Destiny) chart from a birth date, time, and place. It returns elements including True Solar Time, Ten Gods, Shen Sha, and luck pillars, using an offline calculation engine based on freebazi.com.

🛠️ Key Features

  • Offline Bazi chart computation
  • True Solar Time correction (including historical daylight saving)
  • Ten Gods (十神) output
  • Shen Sha output
  • Luck pillars output
  • Provides compute_bazi_chart

🚀 Use Cases

  • Generate a Four Pillars chart from birth moment + city
  • Produce Bazi components such as True Solar Time, Ten Gods, Shen Sha, and luck pillars
  • Run calculations locally without network dependency

⚡ Developer Benefits

  • No API key required
  • No network calls; everything runs locally
  • Wraps the same calculation engine used by freebazi.com
  • Cross-validated against established Bazi libraries

⚠️ Limitations

  • Operates from provided birth date, time, and place inputs; chart computation is tied to these values

Topics

ba-zibazichinese-astrologyday-masterfour-pillarsmcpmodel-context-protocolten-gods