Skip to main content
Glama

Feng Shui MCP Server by RoxyAPI

Server Details

Kua numbers, Eight Mansions, Flying Star charts and annual afflictions for AI agents.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4.3/5.0

Scored across 11 tools

Disambiguation4/5

Most tools target clearly distinct feng shui subsystems, such as annual afflictions, Bagua, flying stars, periods, and Kua calculation. The main overlap is between post_feng_shui_kua and post_feng_shui_eight_mansions, since both can classify all eight compass sectors for a person, though Eight Mansions adds composed readings and ranking. An agent can usually distinguish them, but the boundary is not perfectly sharp.

Naming Consistency5/5

All tool names use a consistent snake_case convention with a clear get_feng_shui_ or post_feng_shui_ prefix. The get/post distinction aligns with lookup versus computed or personalized results, making the naming pattern predictable throughout.

Tool Count5/5

With 11 tools, the server is well-scoped for a feng shui calculation API covering multiple classical systems. Each tool appears to earn its place by covering a distinct method or output, and the count sits comfortably in the 3-15 range.

Completeness4/5

The surface covers the major feng shui systems: Bagua, flying stars (reference, annual, monthly, natal), Kua, Eight Mansions, periods, and annual afflictions. Minor gaps exist, such as no dedicated monthly affliction endpoint or explicit date-selection tool, but agents can work around these using the available annual and monthly calculations.

Available Tools

11 tools
get_feng_shui_afflictions_yearAnnual afflictions - Tai Sui, San Sha and Five Yellow APIA
Read-only
Inspect

Return the four annual feng shui afflictions for a solar year with their exact positions: Tai Sui on the mountain of the year branch, Sui Po on the mountain opposite, the Three Killings across the cardinal span opposite the elemental frame of the year, and the Five Yellow wherever it lands on the annual star plate. Positions come with degree ranges rather than only sector names, because Tai Sui occupies 15 degrees and the neighbouring mountains of the same sector are unaffected. All four move at Li Chun in early February, not at Lunar New Year, and the changeover date is returned. Built for renovation planning, date selection and yearly guidance features.

Inputs: year (required), lang, compact. Returns: year, suiPo, sanSha, taiSui, +3 more

get_feng_shui_baguaList Bagua sectors - Feng shui bagua map APIA
Read-only
Inspect

The nine palaces of the compass Bagua map: the eight trigram sectors plus the centre, each with the life area it governs, its five phase, its colours, and both its Later Heaven and Earlier Heaven trigrams. This is the compass map aligned to true directions, so career is always North and wealth is always Southeast whichever way the entrance faces. Trigram details are served from the same source as the I-Ching trigram endpoints, so the two agree field for field. Built for floor plan overlays, room-by-room guides and any interface that maps a space onto life areas.

Inputs: lang, limit, offset, compact. Returns: limit, total, offset, sectors

get_feng_shui_bagua_idLook up a Bagua sector - Life area reference APIA
Read-only
Inspect

Look up one palace of the compass Bagua map by its life area id, such as wealth, career or love. Returns the compass sector it occupies, its five phase and colours, both trigram arrangements and what the sector governs. The health palace is the centre and carries no direction and no trigram, because the centre of the Lo Shu is not a trigram.

Inputs: id (required), lang, compact. Returns: id, name, focus, colors, +8 more

get_feng_shui_flying_starsList the nine flying stars - Xuan Kong star reference APIA
Read-only
Inspect

The reference catalogue of the nine flying stars: name, Chinese characters, five phase, home palace and trigram, the period each rules, what each means, and which element strengthens or drains it. The remedy element is what the star itself produces, because a harmful star is drained by giving it somewhere to go rather than fought with the phase that controls it. A pure reference endpoint that needs no chart.

Inputs: lang, limit, offset, compact. Returns: limit, stars, total, offset

get_feng_shui_flying_stars_annual_yearAnnual flying stars - Yearly feng shui star chart APIA
Read-only
Inspect

Return the annual flying star plate for a solar year: which of the nine stars occupies each of the nine palaces, what it means there, and which element strengthens or drains it. The annual plate is universal and does not depend on any building, so it is the layer every yearly feng shui guide is built on. The changeover is Li Chun in early February rather than Lunar New Year, and the exact date is returned so a caller can apply the plate on the right day.

Inputs: year (required), lang, compact. Returns: year, palaces, centerStar, changeoverDate

get_feng_shui_flying_stars_monthlyMonthly flying stars - Month by month feng shui overlay APIA
Read-only
Inspect

Return the monthly flying star plate, the faster overlay that sits on top of the annual one. Months here are SOLAR months: month 1 begins at Li Chun in early February and each month begins at the next of the twelve major solar terms, so they never line up with calendar months. Omit both parameters to get the month in progress. Built for monthly guidance features and for timing work around an affliction that only lands for part of the year.

Inputs: lang, year, month, compact. Returns: year, month, palaces, centerStar, +1 more

get_feng_shui_kua_numberLook up a Kua number - Eight Mansions reference APIA
Read-only
Inspect

Look up the reference chart for one Kua number: its trigram, its east or west life group, and how it classifies all eight compass sectors. A pure reference endpoint with no birth data required, for building a lookup table or a picker. Number 5 is served for completeness and is never a computed result, because it belongs to the centre and has no direction of its own: a man whose formula gives 5 reads Kua 2 and a woman reads Kua 8, and the chart returned for 5 is therefore the Kua 2 chart.

Inputs: number (required), lang, compact. Returns: group, number, sectors, trigram

get_feng_shui_periodsList the nine periods - San Yuan period table APIA
Read-only
Inspect

The nine twenty year periods of the 180 year San Yuan cycle from 1864 to 2043, each with its ruling star, five phase, palace and the exact Li Chun date it opened, plus which period is in force on a given date. A building takes the period it was completed in and keeps that period plate for life, so this is the table that decides which natal chart a property gets. Period 9 opened on 4 February 2024, which means a building finished in January 2024 is still a Period 8 building.

Inputs: date, lang, compact. Returns: date, total, periods, cycleEndYear, +2 more

post_feng_shui_eight_mansionsGenerate Eight Mansions map - Ba Zhai lucky direction APIA
Read-only
Inspect

Build the full Eight Mansions (Ba Zhai) map for a person: all eight compass sectors classified into the four favourable stars, Sheng Chi, Tian Yi, Yan Nian and Fu Wei, and the four unfavourable ones, Huo Hai, Wu Gui, Liu Sha and Jue Ming. Sectors come back ordered best to worst with a composed reading each, plus the ranking that decides which affliction to accept when no favourable sector is reachable. Accepts a Kua number directly or derives one from a birth date and sex. Built for bed and desk placement tools, room-by-room reports and floor plan overlays.

Inputs: kua, date, lang, facing, +3 more. Returns: kua, group, sectors, trigram, +4 more

post_feng_shui_flying_stars_natalGenerate flying star natal chart - Xuan Kong Fei Xing APIA
Read-only
Inspect

Cast the Xuan Kong flying star natal chart for a building from its construction period and the direction it faces. Returns all nine palaces with the period star, the mountain star that governs health and relationships and the water star that governs wealth, plus the named formation and a composed reading for every palace, and the classical verdict on how the two prosperous stars landed. Facing is accepted as one of the 24 mountains or as a compass bearing. Built for property analysis tools, floor plan overlays and consultation software.

Inputs: lang, facing, period, compact, +1 more. Returns: facing, period, palaces, sitting, +7 more

post_feng_shui_kuaCalculate Kua number - Feng shui personal direction calculator APIA
Read-only
Inspect

Calculate the Kua number, also called the Ming Gua or life gua, from a birth date and sex. Returns the number, the east or west life group, the personal trigram, and all eight compass sectors classified from best to worst. The Chinese year is resolved at Li Chun by default, so an early February birthday is placed in the correct year rather than the calendar one, and the boundary that decided it is echoed back. Built for room and desk placement features, personalised feng shui reports, and any product that needs a favourable direction per person.

Inputs: date (required), gender (required), lang, compact, +1 more. Returns: kua, group, gender, rawKua, +6 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Provides Chinese metaphysical tools (bazi, qimen, five elements) as MCP tools for AI agents to give personalized advice on timing, compatibility, and daily energy.
      5
      92 npm
      2
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables calculating Chinese astrology charts from birth dates, including BaZi Four Pillars, zodiac years, animal compatibility, five elements, Kua numbers, I Ching readings, Zi Wei Dou Shu charts, and annual Flying Stars.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to calculate deterministic Bazi (Four Pillars) charts with True Solar Time and Earthly Branch interactions, avoiding LLM hallucination of calendrical math.
      6
      161 npm
      162
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to cast deterministic BaZi, Zi Wei Dou Shu, and Western astrology natal charts from birth details, with no setup or API key.
      1
      57 npm
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources