vedaksha-vedic-astrology
v11.1.0Vedic astrology and astronomical ephemeris: kundali, panchanga, dashas, vargas, transits
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
compute_natal_chart
Compute a natal astrological chart for a given time and location. Returns JSON with each body's longitude, latitude, speed, sign, house, dignity and retrograde flag, the house cusps with ascendant and MC, the aspects, and the ayanamsha applied. Pass a sidereal ayanamsha for a Vedic chart (kundali); the default is tropical. To get a property graph, pass this output to emit_graph.
| Parameter | Type | Description |
|---|---|---|
julian_day * | number | Julian Day number in UT1 (Universal Time) — not TT, not TDB. The engine converts to TT internally for the dynamical terms (planetary positions, nutation, obliquity) and evaluates the Earth-rotation… |
latitude * | number | Geographic latitude in degrees [-90, +90] |
longitude * | number | Geographic longitude in degrees [-180, +180], east positive |
ayanamsha | string | Sidereal zodiac system. Eleven systems, each derived forward from a primary source and none tuned to match another implementation. The chart's true_ayanamsha_value output field reports the TRUE ayanam… |
house_system | string | House system: Placidus, Koch, Equal, WholeSign, etc. |
compute_dasha
Compute Vedic dasha (planetary period) sequences. Supports eight classical systems: Vimshottari, Ashtottari, Yogini (Moon-longitude based, require `moon_longitude`); Chara, Narayana (sign based, require BOTH `lagna_sign` AND `graha_signs`, since each sign's period length is counted to the sign its lord occupies in this chart); Sthira, NiryanaShoola (`niryana_shoola` is accepted too) and Maheshwara (Jaimini rashi dashas, require `lagna_sign` AND `graha_longitudes`, since the atmakaraka and the tie-breaks of the strength tests read degrees). `graha_signs` takes the eight `sign_index` values comp…
| Parameter | Type | Description |
|---|---|---|
birth_jd * | number | Birth Julian Day used as the dasha epoch, in UT1 (Universal Time) — not TT, not TDB, i.e. the same scale as compute_natal_chart's julian_day. This epoch is only added to, never converted: every retu… |
antardashas | boolean | Chara only: when true each of the twelve periods carries its twelve antardashas in `antar` (BPHS 51.5-51.9: the stronger of the dasha rashi and its seventh starts, by modality, a twelfth of the period… |
graha_longitudes | object | Sidereal longitudes in degrees [0, 360) of the seven classical grahas plus Rahu, as compute_natal_chart serves them (Rahu from its MeanNode). Required, with lagna_sign, for Sthira, NiryanaShoola and M… |
graha_signs | object | Natal sign positions of the seven classical grahas plus Rahu, 0-11 each (0 = Aries), as served by compute_natal_chart's sign_index. Required for Chara, Narayana, whose period lengths are chart-depende… |
karaka_scheme | string | Which chara karakas name the atmakaraka for Sthira and Maheshwara: "7" (Sun to Saturn) or "8" (adds Rahu), as compute_karakas takes it. Applies to those two systems only. |
lagna_sign | integer | Lagna (ascendant) sign 0–11 (0 = Aries). Required for Chara, Narayana, Sthira, NiryanaShoola, Maheshwara. This is the same 0-indexed convention compute_natal_chart, compute_bhavas and compute_vargas… |
levels | integer | Number of nested dasha levels (1–5). Ignored by the sign-based systems (Chara, Narayana, Sthira, NiryanaShoola, Maheshwara). |
moon_longitude | number | Natal Moon sidereal longitude in degrees [0, 360). Required for Vimshottari, Ashtottari, Yogini. |
rounds | integer | Yogini only: how many whole 36-year rounds of the cycle to produce. Round 1 is the round from birth, whose first maha is the birth yogini's unelapsed share; each later round runs all eight yoginis who… |
system | string | Dasha system selector |
until | number | Yogini only: a horizon as a Julian Day (UT1). Whole rounds are produced until the tree reaches it, at least one and at most the maximum of `rounds`; compare the last maha's end_jd with it to see wheth… |
compute_karakas
Compute Jaimini Chara Karaka assignments from sidereal planet longitudes. Ranks planets by degrees within their current sign: highest = Atmakaraka (soul significator), lowest = Darakaraka (spouse significator). Supports 7-karaka (Sun–Saturn) and 8-karaka (adds Rahu) schemes.
| Parameter | Type | Description |
|---|---|---|
jupiter * | number | Sidereal longitude of Jupiter [0, 360) |
mars * | number | Sidereal longitude of Mars [0, 360) |
mercury * | number | Sidereal longitude of Mercury [0, 360) |
moon * | number | Sidereal longitude of Moon [0, 360) |
saturn * | number | Sidereal longitude of Saturn [0, 360) |
sun * | number | Sidereal longitude of Sun [0, 360) |
venus * | number | Sidereal longitude of Venus [0, 360) |
rahu | number | Sidereal longitude of Rahu [0, 360). Required for scheme '8'. |
scheme | string | Karaka scheme: '7' (default, Sun–Saturn) or '8' (adds Rahu + Pitrikaraka) |
compute_combustion
Compute combustion state for each planet relative to the Sun: principle per BPHS Ch.7 vv.28-29, orbs per Surya Siddhanta IX.6-8 and X.1 (Moon 12, Mars 17, Mercury 14 or 12 retrograde, Jupiter 11, Venus 10 or 8 retrograde, Saturn 15 deg). Returns Combust, DeeplyCombust, or None for Moon, Mars, Mercury, Jupiter, Venus, Saturn with degrees of separation. This is a low-level tool over already-known positions, not a natal-chart tool: call compute_natal_chart first and pass its planets[].longitude (matched by planets[].name) and planets[].retrograde values straight through as this tool's inputs —…
| Parameter | Type | Description |
|---|---|---|
jupiter * | number | Sidereal longitude of Jupiter [0, 360). From compute_natal_chart's planets[] entry where name == "Jupiter", field longitude. |
mars * | number | Sidereal longitude of Mars [0, 360). From compute_natal_chart's planets[] entry where name == "Mars", field longitude. |
mercury * | number | Sidereal longitude of Mercury [0, 360). From compute_natal_chart's planets[] entry where name == "Mercury", field longitude. |
moon * | number | Sidereal longitude of Moon [0, 360). From compute_natal_chart's planets[] entry where name == "Moon", field longitude. |
saturn * | number | Sidereal longitude of Saturn [0, 360). From compute_natal_chart's planets[] entry where name == "Saturn", field longitude. |
sun * | number | Sidereal longitude of Sun [0, 360). From compute_natal_chart's planets[] entry where name == "Sun", field longitude. |
venus * | number | Sidereal longitude of Venus [0, 360). From compute_natal_chart's planets[] entry where name == "Venus", field longitude. |
jupiter_retrograde | boolean | True if Jupiter is retrograde. Accepted for symmetry; Jupiter's orb is 11 deg either way, so this does not change the result. From compute_natal_chart's Jupiter entry, field retrograde. |
mars_retrograde | boolean | True if Mars is retrograde. Accepted for symmetry; Mars's orb is 17 deg either way (Surya Siddhanta IX.6 gives it no retrograde figure), so this does not change the result. From compute_natal_chart's… |
mercury_retrograde | boolean | True if Mercury is retrograde, which narrows its combustion orb from 14 deg to 12 deg (Surya Siddhanta IX.8). From compute_natal_chart's Mercury entry, field retrograde. |
saturn_retrograde | boolean | True if Saturn is retrograde. Accepted for symmetry; Saturn's orb is 15 deg either way, so this does not change the result. From compute_natal_chart's Saturn entry, field retrograde. |
venus_retrograde | boolean | True if Venus is retrograde, which narrows its combustion orb from 10 deg to 8 deg (Surya Siddhanta IX.7). From compute_natal_chart's Venus entry, field retrograde. |
compute_shadbala
Compute the complete six-fold Shadbala of the seven grahas (Sun to Saturn) for a birth moment and place, per BPHS Ch.27, with Ishta and Kashta Phala per Ch.28, in virupas. Pass the moment and the place; the tool casts the chart itself and reads sunrise, sunset and the next sunrise from the engine. Every part is in the output, each in its own field: Sthana (uccha, saptavargaja, ojhayugma, kendradi, drekkana), Dig (continuous, the arc from the weak cusp over 3, 27.7), Kala (nathonnata, paksha, tribhaga, abda, masa, vara, hora, ayana and yuddha, which is signed), Cheshta (the cheshta kendra for M…
| Parameter | Type | Description |
|---|---|---|
ayanamsha * | string | Sidereal zodiac system. Eleven systems, each derived forward from a primary source and none tuned to match another implementation. The chart's true_ayanamsha_value output field reports the TRUE ayanam… |
julian_day * | number | Julian Day number in UT1 (Universal Time) — not TT, not TDB, i.e. the same scale as compute_natal_chart's julian_day. |
latitude * | number | Geographic latitude in degrees, north positive. The Hindu day is reckoned from this place's sunrise. |
longitude * | number | Geographic longitude in degrees, east positive. |
elevation_m | number | Observer elevation in metres above sea level [-500, 9000] (default 0). Lowers the horizon by the dip and so moves sunrise and sunset. |
house_system | string | House system whose first, fourth, seventh and tenth cusps Dig Bala is measured from, and whose house placements give Kendradi Bala: Placidus, Koch, Equal, WholeSign, etc. The same names compute_natal_… |
tz_offset_minutes | integer | Offset of the observer's civil clock from UT, in minutes, in [-720, 840] (UTC-12:00 to UTC+14:00). Names the calendar date of the sunrise that begins the Hindu day, from which the lords of the year, m… |
compute_vargas
Compute Vedic divisional charts (vargas). Given a time and place, returns one chart per requested division: the varga lagna, and for each of the ten bodies compute_natal_chart returns — the seven grahas plus the mean, true and osculating lunar node — its rashi longitude, the sign it occupies within that varga, its dignity in that sign, and its whole-sign bhava counted from the varga lagna. Ketu is not listed separately: it is the node's opposite point, 180 degrees away. The nodes carry no dignity, so that field is absent for them. Supply planet_longitude instead to divide a single longitud…
| Parameter | Type | Description |
|---|---|---|
divisions * | array | Varga division codes to compute, e.g. ["D1", "D9", "D10"] |
julian_day * | number | Julian Day number in UT1 (Universal Time) — not TT, not TDB. Same scale as compute_natal_chart's julian_day: the engine converts to TT internally for the dynamical terms and uses UT1 directly for th… |
latitude * | number | Geographic latitude in degrees [-90, +90] |
longitude * | number | Geographic longitude in degrees [-180, +180], east positive |
ayanamsha | string | Sidereal zodiac system. Eleven systems, each derived forward from a primary source and none tuned to match another implementation. The chart's true_ayanamsha_value output field reports the TRUE ayanam… |
planet_longitude | number | Sidereal longitude of a single body in degrees [0, 360). When supplied, only this longitude is divided and no ephemeris is consulted; the result carries no graha name, dignity or bhava. |
tradition | string | Which Parashari reading to use where the texts diverge. 'modality' (default) starts the division from a movable/fixed/dual sign; 'element' starts it from a fire/earth/air/water sign. This changes D16,… |
emit_graph
Turn a chart into a queryable property graph. Accepts the output of compute_natal_chart directly (pass latitude and longitude alongside it), or an existing ChartGraph. Emits Neo4j Cypher, SurrealDB SurrealQL, JSON-LD, plain JSON, or RAG embedding text.
| Parameter | Type | Description |
|---|---|---|
chart_json * | object | Either the output of compute_natal_chart ({planets, houses, aspects, ...}), which is converted to a graph here, or an existing ChartGraph ({nodes, edges, chart_id, classification}) |
format * | string | Target output format |
classification | string | Optional label or session ID attached to emitted nodes |
latitude | number | Observer latitude, degrees north. Required when chart_json is a computed chart; a chart result does not record where it was cast. Ignored for an existing ChartGraph. |
longitude | number | Observer longitude, degrees east. Required when chart_json is a computed chart. |
compute_transit
Compute transiting planet positions relative to a natal chart at a specific moment. Returns planet longitudes for the transit time alongside natal positions, enabling aspect calculation between transit and natal placements.
| Parameter | Type | Description |
|---|---|---|
natal_jd * | number | Julian Day of the natal chart in UT1 (Universal Time) — not TT, not TDB. The engine converts to TT internally for the dynamical terms. |
natal_lat * | number | Natal geographic latitude in degrees [-90, +90] |
natal_lon * | number | Natal geographic longitude in degrees [-180, +180], east positive |
transit_jd * | number | Julian Day of the transit moment to compute, in UT1 (Universal Time) — not TT, not TDB. The engine converts to TT internally for the dynamical terms. |
search_transits
Search for transiting planet–natal planet aspects within a time window. Supply natal positions and a Julian Day range; receive a list of exact transit moments with aspect type, orb, and applying/separating status.
| Parameter | Type | Description |
|---|---|---|
end_jd * | number | End of the search window as a Julian Day in UT1 (Universal Time) — not TT, not TDB. |
natal_positions * | array | Array of natal planet positions to check transits against |
start_jd * | number | Start of the search window as a Julian Day in UT1 (Universal Time) — not TT, not TDB. The engine converts to TT internally for the dynamical terms; each event's exact_jd is returned on this same UT1… |
aspects | array | Aspect types to filter (e.g. conjunction, opposition, trine). Defaults to major aspects. |
bodies | array | Transiting bodies to include. Defaults to all planets. |
max_orb | number | Maximum orb in degrees (default 1.0) |
search_muhurta
Search for auspicious time windows (muhurta) within a given period for a geographic location. Returns ranked muhurta candidates with quality scores based on tithi, nakshatra, yoga, karana, and planetary positions. The search window is capped at 30 days (see MUHURTA_SEARCH_RANGE_TOO_LARGE), a scope limit; for a longer horizon, issue several searches.
| Parameter | Type | Description |
|---|---|---|
end_jd * | number | End of the search window as a Julian Day in UT1 (Universal Time) — not TT, not TDB. The span from start_jd to end_jd must not exceed 30 days. |
latitude * | number | Geographic latitude in degrees [-90, +90] |
longitude * | number | Geographic longitude in degrees [-180, +180], east positive |
start_jd * | number | Start of the search window as a Julian Day in UT1 (Universal Time) — not TT, not TDB. The engine converts to TT internally for the dynamical terms and uses UT1 directly for sunrise, which each candi… |
elevation_m | number | Observer elevation in metres above sea level [-500, 9000] (default 0). Lowers the horizon by the dip and so moves sunrise, which is what each candidate's vara is reckoned from — at 3650 m (Lhasa) 9.… |
min_quality | number | Minimum quality score [0.0, 1.0] for muhurta inclusion (default 0.5) |
tz_offset_minutes | integer | Offset of the observer's civil clock from UT, in minutes. Names the vara (weekday) reported for each candidate — it does not change which sunrise bounds the vara, only what that vara is called. Defa… |
compute_ashtakavarga
Compute Bhinna Ashtakavarga (raw bindu tables) and Sarvashtakavarga for all 7 planets from sign positions. Source: BPHS Ch.66 vv.13-68. Trikona/Ekadhipatya Shodhana and Pinda Sadhana are not included.
| Parameter | Type | Description |
|---|---|---|
jupiter * | integer | Sign index of Jupiter (0=Aries…11=Pisces) |
lagna * | integer | Sign index of Lagna (Ascendant) |
mars * | integer | Sign index of Mars (0=Aries…11=Pisces) |
mercury * | integer | Sign index of Mercury (0=Aries…11=Pisces) |
moon * | integer | Sign index of Moon (0=Aries…11=Pisces) |
saturn * | integer | Sign index of Saturn (0=Aries…11=Pisces) |
sun * | integer | Sign index of Sun (0=Aries…11=Pisces) |
venus * | integer | Sign index of Venus (0=Aries…11=Pisces) |
compute_gochara
Compute Gochara (transit interpretation) for the seven grahas against a natal reference sign per Phaladeepika ch. 26. Returns favourable/unfavourable verdict, house from natal, and raw vedha (obstruction) candidates per planet. The natal reference sign is the caller's choice — typically the natal Moon's sign (Chandra Gochara) or the natal Lagna's sign. Rahu and Ketu are not included.
| Parameter | Type | Description |
|---|---|---|
jupiter * | integer | Transit sign index of Jupiter |
mars * | integer | Transit sign index of Mars |
mercury * | integer | Transit sign index of Mercury |
moon * | integer | Transit sign index of Moon |
natal_reference_sign * | integer | Sign index of the natal reference point — natal Moon for Chandra Gochara, natal Lagna for Lagna-based Gochara |
saturn * | integer | Transit sign index of Saturn |
sun * | integer | Transit sign index of Sun (0=Aries … 11=Pisces) |
venus * | integer | Transit sign index of Venus |
school | string | Exemption profile applied to the raw vedha candidate list |
vedha_table | string | Vedha pair table source: the vedha places of Phaladeepika ch. 26, which agree with Muhurta Chintamani ch. 4 |
compute_panchanga
Compute the panchanga — the five limbs of the Vedic almanac — for an instant: tithi (lunar day, with paksha and lord), vara (weekday reckoned from local sunrise, with its lord and the Rahu and Gulika Kalam windows as Julian Days), nakshatra (with pada), yoga (one of the 27 nithya yogas, with degrees remaining), and karana (half-tithi). Takes sidereal longitudes; all returned instants are Julian Days (UT). vara.from_sunrise reports HOW the weekday was reckoned: true means it was taken from an actual local sunrise (the Vedic definition); false means no sunrise exists to reckon from — the p…
| Parameter | Type | Description |
|---|---|---|
jd * | number | Julian Day number in UT1 (Universal Time) — not TT, not TDB. The engine converts to TT internally for the dynamical terms and uses UT1 directly for sunrise, which the vara is reckoned from; every re… |
latitude * | number | Observer latitude in degrees. Required — the vara is reckoned from local sunrise, so it depends on the observer. |
longitude * | number | Observer longitude in degrees, east positive. Required. |
moon * | number | Sidereal longitude of Moon [0, 360) |
sun * | number | Sidereal longitude of Sun [0, 360) |
elevation_m | number | Observer elevation in metres above sea level [-500, 9000] (default 0). Lowers the horizon by the dip and so moves sunrise — at 3650 m (Lhasa) 9.2 minutes earlier, enough to change the vara in that w… |
tz_offset_minutes | integer | Offset of the observer's civil clock from UT, in minutes, in [-720, 840] (UTC-12:00 to UTC+14:00). Used only to name the vara's weekday. |
compute_drishti
Compute graha drishti — Vedic sign aspects — for all nine grahas. Unlike Western aspects, drishti is cast from sign to sign and is asymmetric: every graha aspects the 7th from itself, and Mars additionally aspects the 4th and 8th, Jupiter the 5th and 9th, Saturn the 3rd and 10th. Returns each aspect with its graded strength (Full, ThreeQuarter, Half, Quarter) and the house distance.
| Parameter | Type | Description |
|---|---|---|
jupiter * | number | Sidereal longitude of Jupiter [0, 360) |
ketu * | number | Sidereal longitude of Ketu [0, 360) |
mars * | number | Sidereal longitude of Mars [0, 360) |
mercury * | number | Sidereal longitude of Mercury [0, 360) |
moon * | number | Sidereal longitude of Moon [0, 360) |
rahu * | number | Sidereal longitude of Rahu [0, 360) |
saturn * | number | Sidereal longitude of Saturn [0, 360) |
sun * | number | Sidereal longitude of Sun [0, 360) |
venus * | number | Sidereal longitude of Venus [0, 360) |
compute_bhavas
Compute the whole-sign bhava (house) chart from an ascendant. In the Vedic whole-sign system the entire sign containing the ascendant is the 1st bhava, the next sign the 2nd, and so on — houses do not have cusps within signs. Returns the sign of each of the twelve bhavas with its kendra / trikona / dusthana / upachaya classification, and optionally places supplied grahas into their bhavas.
| Parameter | Type | Description |
|---|---|---|
ascendant * | number | Sidereal longitude of the ascendant [0, 360) |
planets | object | Optional map of graha name to sidereal longitude, e.g. {"Mars": 200.4}. Each is placed into its bhava. |
compute_synastry
Compute synastry — the aspects each graha in one chart makes to each graha in another chart. Every graha in chart A is tested against every graha in chart B (the two charts do not need the same graha names), and each hit is returned with its aspect type, orb in degrees and strength (1.0 at exact, falling linearly to 0.0 at the orb boundary). Orbs are the traditional Lilly values — conjunction, trine and opposition 8°, square 7°, sextile 6°, minors 2° — scaled by orb_factor. Longitudes only: this tool needs no birth time, place or ephemeris.
| Parameter | Type | Description |
|---|---|---|
chart_a * | object | Map of graha name to sidereal longitude [0, 360) for the first chart, e.g. {"Sun": 10.0, "Moon": 130.0}. |
chart_b * | object | Map of graha name to sidereal longitude [0, 360) for the second chart. Need not use the same names as chart_a. |
aspect_set | string | 'major' (default) tests the five Ptolemaic aspects; 'all' adds semi-sextile, semi-square, quintile, sesquiquadrate, bi-quintile and quincunx. |
orb_factor | number | Multiplier on the default orbs. 1.0 (default) is standard, 0.5 is tight. Must be greater than 0 and at most 5.0, above which the major-aspect windows cover every separation. |
compute_composite
Compute the midpoint composite chart of two charts: for each graha, the shorter-arc midpoint of its longitude in the two charts, and the arithmetic mean of its two speeds. The two charts must carry the SAME graha names — each graha is paired with its namesake, not with whatever happens to sit at the same position in a list — and a name present in one chart but not the other is an error naming that graha. Longitudes only: this tool needs no birth time, place or ephemeris.
| Parameter | Type | Description |
|---|---|---|
chart_a * | object | Map of graha name to position for the first chart, e.g. {"Sun": {"longitude": 350.0, "speed": 1.0}}. `speed` is optional and defaults to 0. |
chart_b * | object | Map of graha name to position for the second chart. Must have exactly the same graha names as chart_a. |