Skip to main content
Glama
Xuanji Oracle MCP Server

Xuanji Oracle MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

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.

Xuanji Sanctuary provides deterministic true-solar-time Chinese Four Pillars Bazi, Qimen Dunjia, Daily Oracle, and 80-Year Destiny K-Line tools. Never invent Bazi pillars manually—always call cast_bazi_chart or preview_life_kline first.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
cast_bazi_chartB

Calculate an exact deterministic Chinese Four Pillars (Bazi / 八字) natal chart from true solar time, returning Year/Month/Day/Hour pillars, Day Master (日主), Five Elements distribution, Favorable/Unfavorable Elements (喜用神/忌神), and 10-year Dayun luck cycles.

cast_qimen_boardA

Cast a deterministic 9-Palace Qimen Dunjia (奇门遁甲) tactical divination board for a concrete decision, negotiation, career move, or timing question. Returns Ju number, Duty Chief/Envoy, Nine Palaces, Eight Doors, and strategic guidance.

get_daily_oracleA

Retrieve today's Taoist Daily Oracle Slip (今日道谕) from Xuanji Sanctuary, including classical omen, auspicious directions/colors, elemental weather, and practical DO/DON'T micro-actions.

preview_life_klineA

Compute a deterministic 80-year Destiny K-Line (人生K线) overview grounded in Four Pillars Bazi, 10-Year Dayun cycles, and full Branch Interactions (三会/三合/六合/六冲/三刑/六害). Returns decade trajectory summary, past 5-year verification highlights, and next inflection window.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 4 tools

Disambiguation3/5

cast_qimen_board and get_daily_oracle are clearly distinct, but cast_bazi_chart and preview_life_kline both compute Four Pillars, Day Master, and Dayun cycles, so an agent asked for a general 'fortune reading' could reasonably pick either. The descriptions hint at the split (point-in-time natal detail vs. 80-year trajectory), but the boundary and any dependency between them (does kline require the chart first?) is not stated.

Naming Consistency4/5

All names follow a snake_case verb_noun pattern (cast_*, get_*, preview_*), which is readable and predictable. The verbs vary (cast/get/preview) rather than using a single canonical verb set, but this reflects genuine action differences rather than inconsistency.

Tool Count4/5

Four tools is on the lean side but each targets a distinct product (natal chart, tactical board, daily slip, life trajectory) with no throwaway entries. Slightly under-scoped for a divination suite, but not thin enough to be a problem.

Completeness4/5

The surface covers the core lifecycle of a metaphysics consultation: natal analysis, long-range trajectory, tactical decision divination, and daily guidance. Gaps exist for adjacent operations (compatibility/synastry, date selection, targeted year/event forecasts), but an agent can work around them using qimen for specific questions.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues