freebazi-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| compute_bazi_chartA | Compute a full Chinese Bazi (八字, Four Pillars of Destiny) chart from a birth date, time, and place. Returns the four pillars, Day Master, Ten Gods, Hidden Stems, Five Elements, Na Yin, Growth Stages, Shen Sha, branch relations, Luck Pillars, and the current year, computed with True Solar Time and historical daylight-saving handling. Provide a birth city (use search_cities to resolve it) for accurate true solar time, or pass longitude and utcOffset directly. |
| search_citiesA | Search the built-in city list (about 490 major world cities) by English or Chinese name. Returns matches with their country, longitude, and IANA time zone, so you can pass an exact city to compute_bazi_chart for accurate True Solar Time. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
The two tools have completely distinct purposes: one searches for cities and the other computes a Bazi chart. There is no overlapping functionality, and the reference from compute_bazi_chart to search_cities makes the intended workflow clear.
Both tool names follow a consistent snake_case verb_noun pattern: search_cities and compute_bazi_chart. The names are descriptive, predictable, and aligned with their actions.
Two tools is slightly below the typical 3-15 range, but the narrow domain of Bazi chart computation is well served by a single core computation tool plus a supporting city search utility. The count feels minimal but not inadequate for this purpose.
The tool surface fully covers the stated purpose: resolving a birth location via search_cities and computing a comprehensive Bazi chart via compute_bazi_chart. The returned chart includes the major Bazi components, luck pillars, and current year, leaving no obvious dead ends or missing core capabilities.