Chinese Astrology MCP Server by RoxyAPI

com.roxyapi由 roxyapi.com 發布官方發布者v1.0.1更新於 Oct 24, 2026

BaZi four pillars, Chinese zodiac, lunisolar calendar and almanac days for AI agents.

發布方自己的服務:Angel Numbers MCP Server by RoxyAPI

已驗證Streamable HTTP可網頁執行位置與生活知識與記憶

概覽

AI 產生的概覽

讓助理透過託管 API 計算八字四柱命盤、生肖檔案與配對,以及陰陽曆和每日黃曆資訊。

可以做什麼
共十六個工具,涵蓋中國命理與曆法:依出生時刻產生完整八字命盤、大運十年柱、日主強弱評估、兩張命盤配對以及流年運勢。生肖工具列出十二生肖、將出生日期解析為生肖與年柱、為兩個生肖配對評分,並提供每日運勢。曆法工具回傳二十四節氣、國曆與農曆日期互轉、單日或整月黃曆、吉日查詢,以及五行說明。
適用情境
當助理需要結構化的中國命理或陰陽曆結果時使用,例如命盤分析、生肖配對、每日或流年解讀、農曆日期換算,或為某項活動挑選吉日。適合希望取得計算結果而非固定文案的應用程式。
執行需求
使用 roxyapi.com 上的遠端 streamable HTTP 端點,無需在本機執行。需要 RoxyAPI 帳戶和 API 金鑰,透過 X-API-Key 標頭傳送。需要能連線至該服務商的網路。
安裝前請注意
X-API-Key 標頭中的 API 金鑰屬於機密,應避免出現在日誌和共享紀錄中。用於排盤的出生日期與時間會傳送給第三方服務商。解讀內容屬於命理詮釋,並非事實性結論或醫療建議。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Chinese Astrology MCP Server by RoxyAPI,將其新增到工作區。
  2. 連接 X-API-Key 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.roxyapi%2Fchinese-astrology/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "chinese-astrology-by-roxyapi": {
      "type": "http",
      "url": "https://roxyapi.com/mcp/chinese-astrology",
      "headers": {
        "X-API-Key": "<YOUR_API_KEY>"
      }
    }
  }
}

工具

16

post_chinese_astrology_bazi_chart

Generate BaZi chart - Four Pillars of Destiny calculator API

Calculate a complete BaZi chart, the Four Pillars of Destiny, from a birth moment. Returns the year, month, day and hour pillars with every Heavenly Stem and Earthly Branch, the stems hidden inside each branch, the Ten God relation each one holds to the Day Master, the Na Yin sound element of each pair, the five-element balance across the chart, and the combinations and clashes running between the pillars. The day boundary, year boundary and hour clock are all selectable and the applied conventions come back on every response, so a chart is self-describing. Built for astrology apps, matchmaking services, and agents that need a Four Pillars reading they can reproduce.

輸入參數date必填langtime必填compactlatitudetimezone必填hourClocklongitudedayBoundaryyearBoundary

post_chinese_astrology_bazi_luck_pillars

Calculate luck pillars - BaZi Da Yun ten-year cycle API

Calculate the da yun luck pillars, the ten-year periods a BaZi chart walks through after birth. Returns the direction the sequence runs, the age it begins at with the day count behind that age, each ten-year pillar with the Ten God relation its stem holds to the natal Day Master, and an optional year-by-year annual overlay. Direction follows the classical rule: a male born in a yang-stem year and a female born in a yin-stem year run forward through the sexagenary cycle, the other two combinations run backward. Built for astrology apps, life-timing features, and agents that need a reproducible forecast spine.

輸入參數date必填langtime必填countgender必填compactlatitudetimezone必填hourClocklongitudeannualYearsdayBoundary另有 2 個

post_chinese_astrology_bazi_day_master

Calculate Day Master strength - BaZi favorable element API

Assess how well the Day Master is supported by the rest of a BaZi chart, and which of the five elements help it. Uses the classical three-factor method: whether the birth month season backs the Day Master element, whether any branch stores a root for it, and whether the other stems and the branches outside the month help or spend it. Returns the verdict, an auditable score with each factor contribution, the seasonal state, the root count, the element headcount, and the favorable and unfavorable element lists that follow from the verdict. Built for chart readers, remedy features, and agents that need the usable half of a Four Pillars reading.

輸入參數date必填langtime必填compactlatitudetimezone必填hourClocklongitudedayBoundaryyearBoundary

post_chinese_astrology_bazi_compatibility

Calculate BaZi compatibility - Four Pillars matchmaking API

Compare two BaZi charts pillar by pillar, the Chinese astrology reading of how two people match. Returns both resolved charts, how the two Day Masters stand to each other on the five-phase cycle, and every combination, clash, harm and punishment that crosses between them, each naming the two positions it joins. A tallied score summarises the balance and the interaction list behind it is returned in full, so a caller that disagrees with the weighting can recompute its own. Built for matchmaking products, relationship features, and agents that need a defensible two-chart reading.

輸入參數langcompactpersonA必填personB必填

post_chinese_astrology_bazi_annual_forecast

Calculate BaZi annual forecast - Liu Nian yearly pillar API

Read one Gregorian year against a natal BaZi chart. Returns the annual pillar for that year, the Ten God relation its stem holds to the natal Day Master, the same reading for the hidden stem of its branch, how the annual branch stands to the natal year branch including the ben ming nian return of the birth animal, and every combination, clash, harm and punishment the annual pillar forms with each of the four natal pillars. Built for yearly horoscope features, timing tools, and agents that need a year read against a specific chart rather than against an animal sign.

輸入參數date必填langtime必填year必填compactlatitudetimezone必填hourClocklongitudedayBoundaryyearBoundary

get_chinese_astrology_zodiac_animals

List the 12 Chinese zodiac animals - Sheng Xiao sign catalogue

Retrieve all twelve Chinese zodiac animals in cycle order, from Rat through Pig. Each entry returns the machine id, the Chinese character and tone-marked pinyin for the animal, its Earthly Branch, the fixed Five Element phase and yin or yang polarity of that branch, and a set of trait keywords. Built for sign pickers, zodiac cards and compatibility widgets that need the whole set in one call.

輸入參數langlimitoffsetcompact

get_chinese_astrology_zodiac_animals_id

Get one Chinese zodiac animal - Full sign profile with compatibility partners

Retrieve the complete profile of one Chinese zodiac animal: character summary, strengths, weaknesses, trait keywords, the double-hour its Earthly Branch governs, and its five element variants with the Gregorian years that carry each one. Also returns the four classical branch relationships, the three-harmony trine it belongs to, its six-harmony secret friend, its clashing opposite and its harming partner. Built for sign detail pages and compatibility features.

輸入參數id必填langcompact

post_chinese_astrology_zodiac_sign

Find the Chinese zodiac animal for a birth date - Sheng Xiao calculator

Resolve a birth date to its Chinese zodiac animal, the sexagenary year pillar behind it, and the Five Element phase of that year, so a 1990 birth returns Horse as a Metal Horse rather than merely a Horse. The year boundary is a request parameter because the two schools genuinely disagree for dates in January and early February, and the resolved convention is echoed back so the answer is self-describing. Built for sign lookups, onboarding forms and birthday features.

輸入參數date必填langcompactyearBoundary

get_chinese_astrology_zodiac_compatibility_sign1_sign2

Chinese zodiac compatibility - Trine, six harmony, clash and harm analysis

Score and explain the relationship between two Chinese zodiac animals from the classical branch relations rather than from a lookup table of opinions. Returns which of the six relations the pair stands in, a score out of 100, the phase the two branches combine into where they combine at all, and a composed reading with strengths, frictions and advice. The six relations are mutually exclusive by construction, so exactly one applies to any pair. Built for matchmaking features, relationship reports and compatibility widgets.

輸入參數langsign1必填sign2必填compact

get_chinese_astrology_zodiac_id_daily

Daily Chinese zodiac reading - Day pillar forecast by animal sign

Get the daily reading for one Chinese zodiac animal, built from the sexagenary day pillar rather than from a rotation of stock text. The day carries its own Earthly Branch, that branch stands in exactly one of six classical relations to the requested sign, and the reading is that relation applied to the sign temperament. Returns the day pillar, the relation, an energy rating, overview, love and career guidance, advice, and the sexagenary year in force with its Ben Ming Nian flag. Content is fixed for a given date and rolls over at midnight, by default UTC.

輸入參數id必填datelangcompacttimezone

get_chinese_astrology_calendar_solar_terms_year

List the 24 solar terms - Jie Qi calendar API with exact instants

Return all 24 solar terms of a year as astronomical instants rather than dates, each computed from the moment the sun reaches its exact apparent longitude at 15 degree steps. The year is the SOLAR year, which opens at Li Chun in early February, so Minor Cold and Major Cold, the last two terms, are dated in the January of the following Gregorian year. Every instant is returned twice, once in UTC and once at the UTC+8 reference meridian the Chinese calendar is defined on. Built for calendar apps, festival scheduling, and any BaZi feature that has to place a birth on the correct side of a term boundary.

輸入參數langyear必填compact

post_chinese_astrology_calendar_lunar_date

Convert lunar and Gregorian dates - Chinese lunisolar calendar API

Convert a Gregorian date to the Chinese lunisolar calendar or convert a lunar date back, in one endpoint. The calendar is computed at the UTC+8 reference meridian with the month containing the winter solstice fixed as month 11 and the leap month placed as the first month of the cycle carrying no major solar term, so a lunar date is the same worldwide rather than shifting with the caller timezone. The response reports the length of the lunar month, whether the date sits in a leap month, and which month the year doubles if any. Built for festival calendars, birthday features that follow the lunar date, and any app that has to survive a leap month without shifting every date after it.

輸入參數datelangcompactlunarDaylunarYearlunarMonthisLeapMonth

get_chinese_astrology_calendar_day_date

Get the almanac for a day - Tong Shu API with day officers and mansions

Return the full almanac reading of one day: its lunisolar date, the year, month and day pillars with their Na Yin, the day officer from the twelve jian chu sequence, the lunar mansion on duty, the zodiac animal the day clashes with, and the activities the officer favours or opposes. The day officer is the layer a printed almanac reaches its verdict from first, and the response says exactly what it rules on rather than reducing the day to a single score. The year and month pillars here are attributed by whole days, which is what an almanac prints: the day a solar term falls on belongs to the new period for its whole length, however late in the day the term arrives. Built for date pickers, daily calendar widgets, and wedding or opening date tools.

輸入參數date必填langcompact

get_chinese_astrology_calendar_monthly

Get a month of almanac days - Chinese calendar month view API

Return every day of one Gregorian month of the Chinese almanac with its lunisolar date, its three pillars, its day officer, its lunar mansion and its clash animal, plus the solar terms that fall inside the month. This is the month view a calendar widget renders in one call rather than thirty one. Omit the year and month to get the month in progress. Built for calendar UIs, almanac pages, and planning tools that show a whole month at a glance.

輸入參數langyearmonthcompact

post_chinese_astrology_calendar_auspicious_days

Find auspicious days - Chinese date selection API for weddings and openings

Search a date range for the days a chosen activity is favoured on, ranked by the jian chu day officer and filtered against a zodiac animal to protect. Every candidate day comes back with its officer, its pillars, its lunar date and the animal it clashes with, so a caller can show the reasoning rather than a bare verdict. The range is capped at 93 days, which is a quarter, because date selection is done inside a planning window rather than across a lifetime. Built for wedding planners, business opening tools, and moving and travel date pickers.

輸入參數langcompactendDate必填activity必填startDate必填avoidAnimal

get_chinese_astrology_elements

List the five elements - Wu Xing API with generating and controlling cycles

Return the five phases of Wu Xing with the Chinese character, the season and direction each governs, the Heavenly Stems and Earthly Branches that carry it, and both of the cycles that connect them. The generating cycle and the controlling cycle are returned as ordered rings as well as on each phase, so a caller can render either without deriving it. This is the one place the five phase vocabulary is defined: BaZi charts, Na Yin, zodiac element variants and every feng shui star reuse these identifiers rather than restating them.

輸入參數langlimitoffsetcompact

版本歷史

2
  1. v1.0.1最新Sep 25, 2026
  2. v1.0.0Sep 16, 2026

評分

已滿足適用檢查項的 83%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。

其他 Roxyapi 整合