MCP server · Research
White Whale Bazi MCP server
Let your AI build accurate Four Pillars charts using true solar time and look up classical texts.
This is a small helper program that lets your AI do Chinese Four Pillars (Bazi) charts and Liuyao hexagram readings the careful way. It fixes the sun time for your city, handles old daylight saving rules, and pulls the exact lines from old books like Di Tian Sui and Qiong Tong Bao Jian. It is handy for anyone who studies Bazi or Liuyao and wants answers grounded in real calculations instead of guesses.
What is an MCP server? The 30-second version
On its own, your AI can only chat. An MCP server is a small helper program that gives your AI a new skill or a connection to a tool. This one connects your AI to a Bazi and Liuyao engine, so when you ask for a chart or a hexagram, the AI can actually run the math and look up the old texts for you. You do not need to understand how it works inside.
What this MCP server does
You tell your AI your birth date, time, city, and gender. The AI sends that to this helper. The helper corrects the clock time to true solar time for your city, including old daylight saving rules in China from 1986 to 1991. Then it builds the Four Pillars, the hidden stems, the ten gods, the luck cycles, and matches lines from classical books. For Liuyao, it takes your six coin tosses and lays out the hexagram with all the details. You get the results back in your chat.
What you can do with it
- Get an accurate Four Pillars chart with true solar time correction
- See how much the chart changes when the clock time is not corrected
- Look up matching lines from Di Tian Sui and Qiong Tong Bao Jian
- Cast a Liuyao hexagram from six coin tosses and see the full plate
- Compare two cities or two times to check the day and hour pillars
- Get the ten-year luck cycles and the yearly and monthly timing
Try asking your AI
- “Build my Four Pillars chart. I was born 1988-07-15 at 00:30 in Urumqi, female.”
- “Show me how the day pillar changes if we do not correct for true solar time for that same birth.”
- “Cast a Liuyao hexagram for my question about the project launch. My six tosses are 7, 8, 9, 7, 6, 8. Today is 2026-11-15 at 14:20 in Beijing.”
- “Which lines from Qiong Tong Bao Jian match a Geng metal day master born in the Wei month?”
What it gives back to you
You get back a clear chart with the year, month, day, and hour pillars, plus hidden stems, ten gods, spirits, and the ten-year luck cycles. It also shows a warning if the true solar time correction flips the day or hour pillar. For Liuyao, you get the main hexagram, the changing hexagram, the world and response lines, the six relatives, and the old Zhou Yi text. Everything appears in your chat as text you can read and copy.
Before you start
What you need
- Python 3.10 or newer on your computer
- The white-whale-bazi folder cloned from GitHub
- The Claude desktop app or another AI tool that supports MCP servers
Good to know
This tool gives traditional Bazi and Liuyao readings for study and reflection, not medical, legal, or financial advice.
Install it with your AI
Add White Whale Bazi MCP server to your AI, no technical skills needed
You don't install anything by hand. You copy one prompt, paste it into an AI that can work on your computer, and it checks, installs and connects the server for you, asking you when it needs something.
Sign in to get the install prompt
Members get a ready-made prompt that lets the Claude desktop app check White Whale Bazi MCP server, install it and connect it for them, step by step. You don't need any technical skills: you copy, paste and answer a few questions. Your connected AI can also find and install any of the 5,046 MCP servers here for you.
Who it's for
People who study Bazi or Liuyao and want their AI to calculate charts and look up classical texts accurately, without needing to be technical.





