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 集成