RoxyAPI MCP server
Commit 5 Nov 2026Provides an extensive suite of astrology, tarot, numerology, and spiritual data through a single Python SDK.
Juga dikenal sebagai RoxyAPI/sdk-python
- Stars
- 0
- Tools
- —
- Unduhan, 30 hari
- —
- Versi terbaru
- —
- Commit terakhir
- 5 Nov 2026
- Lisensi
- MIT
Apa itu RoxyAPI MCP?
RoxyAPI adalah MCP server. Provides an extensive suite of astrology, tarot, numerology, and spiritual data through a single Python SDK.
Ringkasan dibuat dari README proyek
Tentang RoxyAPI MCP server
This Python SDK provides a comprehensive suite of spiritual and astrological data for developers building agentic AI or specialized applications. It integrates over 18 different domains into a single interface, allowing users to access Western astrology, Vedic astrology, tarot, numerology, and human design through one API key. The library supports both synchronous and asynchronous methods, making it compatible with modern web frameworks like FastAPI, Django, and Flask.
Developers can use the location tool to geocode cities and retrieve the necessary latitude, longitude, and timezone data required for precise astronomical calculations. The SDK includes specialized tools for diverse traditions, such as Chinese astrology, Feng Shui, Mesoamerican astrology, and Kabbalah. It also offers practical features like dream interpretation, crystal healing information, and I-Ching hexagrams. All astrological data is verified against NASA JPL Horizons to ensure accuracy for natal charts and transit forecasts.
Apa yang bisa Anda lakukan dengannya
- 1Generate Western natal chartsAn AI client can use the astrology module to create a full natal chart including planet signs, houses, and aspects for a specific birth moment.
- 2Perform Vedic matrimonial matchingA developer can implement Kundli matching or Guna Milan to check compatibility between two individuals using Vedic astrology.
- 3Provide daily horoscope contentAn application can fetch daily, weekly, or monthly horoscopes for specific zodiac signs to drive user engagement.
- 4Conduct tarot readingsAn AI agent can simulate a tarot spread using the complete 78-card Rider-Waite-Smith deck and specific card meanings.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
README
Lihat di GitHubroxy-sdk
Python SDK for astrology, Vedic astrology, tarot, numerology, and more.
One API key. Sync and async (every method has an _async suffix). Verified against NASA JPL Horizons.
The fastest way to add natal charts, daily horoscopes, synastry, Vedic kundli, tarot spreads, numerology, human design bodygraphs, and transit forecasts to FastAPI, Django, Flask, or any Python project. 18+ domains behind a single Roxy subscription, interpretations in 10+ languages.
Install
pip install roxy-sdk
Start with one call
Get real product value with a single typed call. No setup beyond your API key.
from roxy_sdk import create_roxy
roxy = create_roxy("your-api-key")
horoscope = roxy.astrology.get_daily_horoscope(sign="aries")
print(horoscope["overview"], horoscope["love"], horoscope["luckyNumber"])
Then expand into charts, compatibility, tarot, numerology, and more.
Quick start
from roxy_sdk import create_roxy
# Retries 429, 500, 502, 503 and 504 by default. Optional settings, shown with their defaults:
# create_roxy(key, timeout=30.0, max_retries=2, initial_delay=0.5, max_delay=30.0)
roxy = create_roxy("your-api-key")
# Step 1: geocode the birth city (required for any chart endpoint)
result = roxy.location.search_cities(q="London, UK")
city = result["cities"][0]
lat, lng, tz = city["latitude"], city["longitude"], city["timezone"]
# Step 2: Western natal chart. `timezone` can be the IANA string ("Europe/London").
# The server resolves it to the DST-correct offset for the date of the chart.
natal = roxy.astrology.generate_natal_chart(
date="1990-01-15",
time="14:30:00",
latitude=lat,
longitude=lng,
timezone=tz,
)
# Vedic kundli takes the same inputs (timezone optional, defaults to 5.5 IST).
kundli = roxy.vedic_astrology.generate_birth_chart(
date="1990-01-15",
time="14:30:00",
latitude=lat,
longitude=lng,
timezone=tz,
)
Domains
| Domain | Property | Methods | What it covers |
|---|---|---|---|
| Western Astrology | roxy.astrology |
39 | Western astrology API for natal birth charts, daily, weekly, monthly, and yearly horoscopes with unique content per s... |
| Vedic Astrology | roxy.vedic_astrology |
58 | Vedic astrology (Jyotish) and KP API for kundli generation with the sixteen Shodasavarga divisional charts (D1 to D60... |
| Forecast | roxy.forecast |
5 | Astrology forecast API that merges upcoming transit aspects, sign ingresses, retrograde stations, new and full moons,... |
| Human Design | roxy.human_design |
12 | Human Design API that generates the full bodygraph from a birth moment: type, strategy, inner authority, profile, def... |
| Chinese Astrology | roxy.chinese_astrology |
16 | Chinese zodiac and BaZi astrology API: Four Pillars charts, Chinese zodiac signs and the Chinese lunisolar calendar f... |
| Feng Shui | roxy.feng_shui |
11 | Compute classical feng shui from one API: Xuan Kong flying star natal charts for any of the nine periods and 24 mount... |
| Mesoamerican Astrology | roxy.mesoamerican_astrology |
18 | Calculate Mayan astrology day signs, the Tzolkin sacred round, the Haab year, the full Long Count and the Aztec tonal... |
| Vastu | roxy.vastu |
10 | Vastu Shastra API for directional home and plot analysis: entrance padas with the classical effect of each of the 32... |
| Numerology | roxy.numerology |
20 | Numerology API for life path numbers, complete numerology charts and compatibility, in both Pythagorean and Chaldean... |
| Kabbalah | roxy.kabbalah |
12 | Kabbalah API for gematria, the 72 names, the Tree of Life and the Hebrew birthday |
| Tarot | roxy.tarot |
10 | Tarot reading API with the complete 78-card Rider-Waite-Smith deck and card meanings for love, career, health, and sp... |
| Biorhythm | roxy.biorhythm |
6 | Biorhythm API for entertainment and reflection, with 10 model cycle types across 3 primary (physical, emotional, inte... |
| Ayurveda | roxy.ayurveda |
8 | Ayurveda API for dosha profiles, the dinacharya daily routine and the ritucharya seasonal regimen, with a verse cited... |
| I-Ching | roxy.iching |
9 | I-Ching oracle API with all 64 hexagrams, 384 changing lines, 8 trigrams, and modern interpretations for love, career... |
| Crystals and Healing Stones | roxy.crystals |
12 | Crystal healing API covering the most popular and widely-searched healing crystals and gemstones, from Amethyst and R... |
| Dreams | roxy.dreams |
5 | Dream interpretation API with a 2,200+ symbol dream dictionary and psychological meanings covering animals, objects,... |
| Angel Numbers | roxy.angel_numbers |
4 | Angel numbers API with meanings for 111, 222, 333, 444, 555, 666, 777, 888, 999, 1111, and 75+ sequences covering eve... |
| Location and Timezone | roxy.location |
3 | Timezone and location API with city search and geocoding across 5,180,000+ cities, towns and villages in 240+ countri... |
| Usage | roxy.usage |
1 | Monitor your API usage, check rate limits, and track request consumption |
| Reports | roxy.reports |
9 | Branded reports built from the API: a natal chart and more as a print-ready PDF, self-contained HTML or Markdown, whi... |
| Languages | roxy.languages |
2 | List the response languages accepted by the lang query parameter on every i18n-aware endpoint |
Most-used endpoints
The highest-demand endpoints by domain, in the order you are most likely to ship them. Every example below reads the same birth through a different domain, and every coordinate comes from one location lookup at the top: one API key, one lookup, and eighteen domains that compose into a single product instead of eighteen separate ones. Full catalog in the API reference.
Location first: one lookup feeds every chart
Every chart, horoscope, panchang, dasha, dosha, synastry and compatibility endpoint needs latitude, longitude and timezone. Never ask users to type coordinates. Look the city up once and reuse the result in every domain below.
# One lookup feeds every chart below. `timezone` is the IANA name from the city
# record; the server resolves it to the DST-correct offset for the date of each chart.
place = roxy.location.search_cities(q="New York")
city = place["cities"][0]
latitude, longitude, timezone = city["latitude"], city["longitude"], city["timezone"]
birth = {"date": "1990-01-15", "time": "14:30:00", "latitude": latitude, "longitude": longitude, "timezone": timezone}
# A second person for the two-chart calls (synastry, Guna Milan, Human Design connection).
london = roxy.location.search_cities(q="London")
london_city = london["cities"][0]
lat2, lon2, tz2 = london_city["latitude"], london_city["longitude"], london_city["timezone"]
partner = {"date": "1992-07-22", "time": "09:00:00", "latitude": lat2, "longitude": lon2, "timezone": tz2}
1. Western astrology API (natal chart, daily horoscope, synastry)
Natal chart products, daily horoscope features, dating and compatibility apps, and lunar-cycle wellness apps start here.
# Natal chart. The most requested Western call, run once at onboarding.
# `birth` carries the latitude, longitude and timezone from the location lookup above.
natal = roxy.astrology.generate_natal_chart(**birth)
# natal["planets"][n]["name"], ["sign"], ["house"], ["interpretation"]["summary"]; natal["ascendant"]["sign"]; natal["aspects"]
# Daily horoscope. The highest per-user call frequency in the catalog: daily content, streaks, push.
horoscope = roxy.astrology.get_daily_horoscope(sign="aries")
# horoscope["overview"], horoscope["love"], horoscope["career"], horoscope["column"], horoscope["events"], horoscope["luckyNumber"]
# Synastry. Full inter-aspect analysis between two charts, the relationship feature of dating apps.
synastry = roxy.astrology.calculate_synastry(person1=birth, person2=partner)
# synastry["compatibilityScore"], synastry["interAspects"], synastry["analysis"]["strengths"]
# Moon phase. A zero-setup call for wellness, cycle-tracking and meditation apps.
moon = roxy.astrology.get_current_moon_phase()
# moon["phase"], moon["illumination"], moon["sign"], moon["meaning"]["description"]
2. Vedic astrology API (kundli, panchang, dasha, Guna Milan, KP)
Kundli generators, matrimonial matching, muhurta and panchang apps, and KP practitioners. The same birth object, read sidereally.
# Vedic kundli. The same birth read sidereally: `birth` reuses the location lookup above.
kundli = roxy.vedic_astrology.generate_birth_chart(**birth)
# kundli["meta"]["Moon"]["rashi"] (a string), kundli["meta"]["Moon"]["nakshatra"]["name"] (nakshatra is an object with name, pada, lord), kundli["houses"], kundli["combustion"]
# Detailed panchang. Tithi, nakshatra, yoga, karana, rahu kaal and the muhurtas for a date and place.
panchang = roxy.vedic_astrology.get_detailed_panchang(date="2026-10-01", latitude=latitude, longitude=longitude, timezone=timezone)
# panchang["tithi"], panchang["nakshatra"], panchang["rahuKaal"], panchang["abhijitMuhurta"]
# Vimshottari dasha. The mahadasha, antardasha and pratyantardasha running right now.
dasha = roxy.vedic_astrology.get_current_dasha(**birth)
# dasha["mahadasha"], dasha["antardasha"], dasha["remainingInMahadasha"]
# Mangal Dosha. The most asked matrimonial check.
dosha = roxy.vedic_astrology.check_manglik_dosha(**birth)
# dosha["present"]; dosha["severity"] and dosha["remedies"] are set only when present is true
# Guna Milan. The 36-point Ashtakoota score behind kundli matching, both people from the lookups above.
milan = roxy.vedic_astrology.calculate_gun_milan(person1=birth, person2=partner)
# milan["total"], milan["percentage"], milan["isCompatible"], milan["breakdown"]
# KP ruling planets. Horary answers at the moment of the question, for the place looked up above.
kp = roxy.vedic_astrology.get_kp_ruling_planets(latitude=latitude, longitude=longitude, timezone=timezone)
# kp["dayLord"], kp["moonSublord"], kp["rulingPlanets"]
3. Astrology forecast API (transit forecast, cross-domain timeline)
Forecast feeds, transit alerts and timing tools. One call returns a dated, significance-scored event list; the timeline variant merges Vedic dasha boundaries and biorhythm critical days into the same list, which no single-domain API can do.
# Transit forecast. Transit-to-natal aspects, sign ingresses and retrograde stations over a window.
# `birth_data` is the same `birth` object: date, time, latitude, longitude, timezone.
transits = roxy.forecast.forecast_transits(birth_data=birth, start_date="2026-10-01", end_date="2026-10-31")
# transits["count"], transits["events"][n]["date"], ["type"], ["body"], ["target"], ["aspect"], ["significance"]
# Cross-domain timeline. The same window with Vedic dasha boundaries and biorhythm critical days merged in.
timeline = roxy.forecast.generate_timeline(birth_data=birth, start_date="2026-10-01", end_date="2026-10-31")
# timeline["events"][n]["domain"] ("western" | "vedic" | "biorhythm"), ["description"], ["significance"]
4. Human Design API (bodygraph, connection)
Self-discovery apps, coaching bots and compatibility products. The full bodygraph is one call, and the Design side is solved on the exact 88-degree solar arc rather than approximated as calendar days.
# Bodygraph. Type, strategy, authority, profile, definition, centers, channels and all 26 gates in one call.
# Human Design needs only the birth instant, so it takes the date, time and timezone from the lookup above.
hd = roxy.human_design.generate_bodygraph(date=birth["date"], time=birth["time"], timezone=birth["timezone"])
# hd["type"], hd["strategy"], hd["authority"], hd["profile"], hd["definition"], hd["incarnationCross"]["name"], hd["centers"], hd["channels"], hd["gates"]
# Connection. Two bodygraphs combined, each of the 36 channels classified by how the pair forms it.
connection = roxy.human_design.calculate_connection(
person_a={"date": birth["date"], "time": birth["time"], "timezone": birth["timezone"]},
person_b={"date": partner["date"], "time": partner["time"], "timezone": partner["timezone"]},
)
# connection["totalChannels"], connection["summary"]["electromagnetic"], connection["combinedDefinition"]
5. Chinese zodiac API (BaZi four pillars, zodiac animal, almanac)
BaZi readings, zodiac content and Tong Shu date pages. The school splits that make two calculators disagree (day_boundary, year_boundary, hour_clock) are typed keyword arguments with named defaults.
# BaZi Four Pillars. The anchor call of the domain, from the same birth instant as every chart above.
# Each response echoes the `conventions` it was computed under, so a chart can be reproduced, not guessed.
bazi = roxy.chinese_astrology.generate_bazi_chart(date=birth["date"], time=birth["time"], timezone=birth["timezone"])
# bazi["pillars"][n]["position"] ("year" | "month" | "day" | "hour"), ["stem"]["element"], ["branch"]["animal"], ["tenGod"]["name"]
# bazi["dayMaster"]["element"], bazi["zodiacAnimal"], bazi["fiveElements"], bazi["conventions"]
# Chinese zodiac animal. Defaults `year_boundary` to the Lunar New Year, the folk rule people mean
# when they ask which animal they are. Pass "li-chun" for the classical BaZi boundary.
animal = roxy.chinese_astrology.calculate_zodiac_animal(date=birth["date"])
# animal["animal"]["name"], animal["animal"]["element"], animal["element"] (the year stem element), animal["interpretation"]
# Almanac day. The Tong Shu view of a date: day officer, mansion, clash animal, favours and avoids.
almanac = roxy.chinese_astrology.get_almanac_day(date="2026-10-01")
# almanac["dayPillar"], almanac["dayOfficer"], almanac["clashAnimal"], almanac["favours"], almanac["avoids"]
6. Feng shui API (Kua number, flying star chart)
Kua numbers with the Eight Mansions map, Xuan Kong flying star charts for any of the nine periods and 24 mountains, annual and monthly star plates, and the annual afflictions.
# Kua number. One birth date and a gender give the personal directions everything else reads off.
kua = roxy.feng_shui.calculate_kua_number(date=birth["date"], gender="female")
# kua["kua"], kua["group"] ("east" | "west"), kua["trigram"]["english"], kua["sectors"][n]["direction"], ["nature"], ["rank"]
# Flying star natal chart. Period plus facing gives the nine palaces with base, mountain and water stars.
# Send `facing` (a mountain id like "bing" or a compass label like "S2") or `facing_degrees`, not neither.
stars = roxy.feng_shui.generate_flying_star_chart(period=9, facing="S2")
# stars["facing"]["label"], stars["sitting"]["label"], stars["structure"]["name"], stars["palaces"][n]["palace"], ["base"], ["mountain"], ["water"], ["reading"]
7. Mayan astrology API (Tzolkin day sign, full Maya chart)
Maya day signs, the Haab and Long Count, and the Aztec tonalpohualli, every value a function of the date under a typed correlation convention echoed back in conventions.
# Tzolkin day sign. The most asked Maya question, answered from a date alone.
tzolkin = roxy.mesoamerican_astrology.calculate_tzolkin(date=birth["date"])
# tzolkin["daySign"], tzolkin["daySignName"], tzolkin["number"], tzolkin["trecena"], tzolkin["reading"]
# Full Maya chart. Tzolkin, Haab, Long Count, Calendar Round, Lord of the Night, Year Bearer and the Cruz Maya.
maya = roxy.mesoamerican_astrology.generate_mayan_chart(date=birth["date"])
# maya["tzolkin"], maya["haab"], maya["longCount"], maya["calendarRound"], maya["yearBearer"], maya["cross"], maya["conventions"]["correlation"]
8. Vastu Shastra API (entrance analysis, room compliance)
Home and plot analysis from typed geometry. Every verdict carries a source object naming the text, chapter and verse it rests on, or a convention label where the texts are silent.
# Entrance analysis. Plot, facing and door in; the pada, its devata, the classical effect and the recommended padas out.
entrance = roxy.vastu.calculate_entrance_pada(
plot={"width": 30, "depth": 40, "unit": "feet"}, facing="North", door_position=0.4,
)
# entrance["pada"], entrance["devata"], entrance["effect"], entrance["auspiciousness"], entrance["recommendedPadas"], entrance["source"]
# Room compliance. A verdict per room with the verse or the convention it rests on, and a scored composite.
rooms = roxy.vastu.calculate_room_compliance(
plot={"width": 30, "depth": 40, "unit": "feet"},
facing="North",
rooms=[
{"type": "kitchen", "direction": "Southeast"},
{"type": "master-bedroom", "direction": "Southwest"},
{"type": "puja", "direction": "Northeast"},
],
)
# rooms["score"], rooms["rooms"][n]["type"], ["verdict"], ["idealDirections"], ["source"]
9. Numerology API (life path, full chart, personal year)
Works from the birth date and name alone, no coordinates, which makes it the easiest domain to integrate.
# Life Path. The most searched numerology number, from the birth date alone.
life_path = roxy.numerology.calculate_life_path(year=1990, month=1, day=15)
# life_path["number"], life_path["type"] ("single" | "master"), life_path["meaning"]
# Full numerology chart. All six core numbers plus karmic lessons, pinnacles and the personal year in one call.
numerology = roxy.numerology.generate_numerology_chart(full_name="Jane Smith", year=1990, month=1, day=15)
# numerology["coreNumbers"]["lifePath"], ["expression"], ["soulUrge"], numerology["additionalInsights"]["personalYear"]
# Personal Year. The annual theme, the January feature of every numerology app.
personal_year = roxy.numerology.calculate_personal_year(month=1, day=15, year=2026)
# personal_year["personalYear"], personal_year["theme"], personal_year["advice"]
10. Kabbalah API (gematria, birth profile)
Gematria of a Latin name under a declared transliteration convention, the 72 names, the Tree of Life, and a Hebrew birthday computed from the same birth instant as every chart above.
# Gematria. A Latin name transliterated under a declared convention, ten ciphers, each with its tradition and source.
gematria = roxy.kabbalah.calculate_gematria(text="Sarah")
# gematria["chosen"]["hebrew"], gematria["values"][n]["id"], ["name"], ["value"], ["tradition"]; gematria["matches"], gematria["conventions"]
# Birth profile. The Hebrew date and birthday, the three birth angels and the birth sephirah from the instant above.
kabbalah = roxy.kabbalah.generate_birth_profile(date=birth["date"], time=birth["time"], timezone=birth["timezone"])
# kabbalah["hebrewDate"], kabbalah["hebrewBirthday"], kabbalah["angels"], kabbalah["sephirah"]
11. Tarot API (daily card, three-card, Celtic Cross, yes or no)
The complete 78-card deck with meanings for love, career, health and spirit. Pass a seed per user for deterministic once-per-day draws.
# Daily card. Deterministic per (seed, date), so one user sees one card per day.
card = roxy.tarot.get_daily_card(seed="user-42")
# card["card"]["name"], card["card"]["reversed"], card["card"]["imageUrl"], card["dailyMessage"]
# Three-card spread. Past, present, future: the most drawn spread on every tarot platform.
three = roxy.tarot.cast_three_card(question="My next quarter", seed="user-42")
# three["positions"][n]["name"], ["card"]["name"], ["interpretation"]; three["summary"]
# Celtic Cross. The ten-position professional reading.
celtic = roxy.tarot.cast_celtic_cross(question="What should I focus on?", seed="user-42")
# celtic["positions"][n]["name"], ["card"]["name"], ["interpretation"]; celtic["summary"]
# Yes or no. One card, one answer, with its strength.
answer = roxy.tarot.cast_yes_no(question="Should I take the offer?")
# answer["answer"] ("Yes" | "No" | "Maybe"), answer["strength"], answer["card"]["name"]
12. Biorhythm API (reading, forecast)
Ten cycle types across primary, secondary and extended cycles, for wellness, productivity, sports and couples apps.
# Biorhythm reading. All ten cycles for a date, from the same birth date as every chart above.
bio = roxy.biorhythm.get_reading(birth_date=birth["date"], target_date="2026-10-01")
# bio["cycles"]["physical"]["value"], ["phase"]; bio["energyRating"], bio["overallPhase"], bio["criticalAlerts"], bio["interpretation"]
# Forecast. Every cycle for every day of a window, with the best and worst days named.
bio_forecast = roxy.biorhythm.get_forecast(birth_date=birth["date"], start_date="2026-10-01", end_date="2026-10-31")
# bio_forecast["summary"]["bestDay"], ["worstDay"], ["averageEnergy"]; bio_forecast["days"][n]["date"], ["physical"], ["emotional"], ["intellectual"], ["isCritical"]
13. Ayurveda API (dosha constitution, dinacharya)
The dosha profile read from a verified sidereal chart with the verse on each factor, a daily routine anchored on the local sunrise, and the six seasons from real solar ingresses. Every response carries meta.disclaimer.
# Constitution. The dosha profile read from the sidereal chart of the same birth, each factor with its verse.
constitution = roxy.ayurveda.calculate_ayurvedic_constitution(**birth)
# constitution["composite"], constitution["factors"][n]["id"], ["doshas"], ["source"], constitution["meta"]["disclaimer"]
# Dinacharya. Brahma muhurta, the dosha periods and the routine for a date at the place looked up above.
dinacharya = roxy.ayurveda.get_dinacharya_schedule(date="2026-10-01", latitude=latitude, longitude=longitude, timezone=timezone)
# dinacharya["brahmaMuhurta"], dinacharya["doshaPeriods"], dinacharya["routine"]
14. I Ching API (cast a reading, hexagram catalog)
All 64 hexagrams, 384 changing lines and 8 trigrams, for meditation apps, decision tools and wisdom chatbots.
# Cast a reading. Three coins six times: the primary hexagram, the changing lines and the resulting hexagram.
reading = roxy.iching.cast_reading(seed="user-42")
Pertanyaan tentang RoxyAPI MCP
Does the SDK support both synchronous and asynchronous calls?
Yes, the SDK supports both sync and async operations, with every method having an _async suffix.
How do I handle location and timezone requirements for charts?
You can use the location search endpoint to geocode a city, which provides the latitude, longitude, and IANA timezone string required for chart endpoints.
Is the astrology data verified?
Yes, the data is verified against NASA JPL Horizons.