Why LLMs Keep Hallucinating Chinese BaZi & Astrology — So We Open-Sourced an MCP Server + 459 Static Pages on $0 Cloudflare
f you ask a frontier LLM to calculate a Chinese BaZi (Four Pillars of Destiny) or Zi Wei Dou Shu birth chart from a Gregorian birthday, it will happily write a poetic three-paragraph reading—and get the Day Pillar or Month Pillar completely wrong more than half the time. The reason is simple: Chinese metaphysics runs on exact astronomical 24 Solar Terms (Jieqi), 60-cycle Sexagenary calendar math,…
When querying frontier language models to generate Chinese BaZi or Zi Wei Dou Shu birth charts from Gregorian birthdays, these AI systems frequently produce incorrect results, including the wrong Day or Month Pillar over half the time. This issue arises due to the need for precise astronomical 24 Solar Terms (Jieqi), the 60-cycle Sexagenary calendar system, True Solar Time longitude corrections, and lunar leap-month rules that natural language models struggle to replicate.
The FateSense team, a three-person team, addressed this challenge by releasing open-source code for a deterministic and audit-friendly Model Context Protocol (MCP) server called fatesense-mcp (MIT license). The server, built using Node.js, integrates two reputable MIT astronomical libraries (tyme4ts and iztro) for calculating 24 Solar Terms, True Solar Time, Hidden Stems, Ten Gods, NaYin, and 8 Decadal Luck Pillars.
Additionally, it includes libraries for true-lunar Zi Wei Dou Shu 12 Palaces, Five Elements Bureau, 14 Major Stars, brightness ratings, and Four Transformations. Users can access five reliable, error-free tools directly within Claude Desktop, Cursor, or custom AI agents by adding fatesense-mcp to their configuration files. To complement this technical foundation, the FateSense team also launched a zero-cost, bilingual website (English and Traditional Chinese) on Cloudflare Pages, offering 459 static pages covering Pro BaZi calculators, free compatibility analyses, True-Lunar Zi Wei 12 Palaces charts, daily almanacs, and various fortune systems.
These pages were deployed without user sign-ups or monetization, allowing zero-fee infrastructure. The team further enhanced accessibility by integrating an AI search crawler on Cloudflare that recorded initial engagement from major AI platforms like ClaudeBot and Googlebot, ensuring zero errors while maintaining a $0 monthly infrastructure cost.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to