Muhurat · the engine, in detail

How a verdict is actually computed

Muhurat reads a moment the way the classical texts do: from astronomy, not from a scraped almanac. This is the whole machinery, honestly, for people who want to see it.

गणित फिर फलित ganita, then phalita. Get the mathematics right first; the reading is built on it.
Open Muhurat → MCP endpoint
1inputs

What goes in

Everything is derived per request. Nothing about you is stored; the engine is stateless.

Date required

A civil date. The day is framed sunrise-to-sunrise, not midnight-to-midnight.

Place required

Latitude, longitude, timezone. Every time on the page is computed for this exact spot, with no lookup table.

Birth optional

Date, time, place. Derives your janma nakshatra and rashi to unlock the personal factors (Tarabala, Chandrashtama). Everything works without it.

2astronomy

The sky, computed two ways

Two independent tiers. The cheap one needs only the sun's geometry; the exact one needs the planets' real positions.

Tier A · sunrise geometry stdlib

The NOAA sunrise algorithm at zenith 90.833°. No ephemeris needed, just the sun's declination and the observer's latitude.

  • Sunrise and sunset
  • The five kaalas: Rahu, Gulika, Yamaganda, Ardhaprahara, Kala
  • Hora, the planetary hours, day and night
  • Abhijit, the victorious muhurta around solar noon
  • Choghadiya, the almanac's day slots (convention, flagged as such)

Tier B · ephemeris Skyfield + DE421

Real graha positions from the bundled JPL DE421 ephemeris, with no runtime download. Sidereal longitudes via a derived ayanamsa.

  • Tithi and karana, the lunar day and its halves
  • Nakshatra, the Moon's mansion (1 of 27)
  • Yoga, the Sun-and-Moon combination (1 of 27)
  • Rashi and lagna, the Moon-sign and rising chart

The zero-point ayanamsa

The sidereal zodiac needs an origin. Muhurat derives its own rather than borrowing one: the star Chitra (Spica) held at exactly 180° on the geometric mean ecliptic, recomputed from modern astrometry (Hipparcos, van Leeuwen), which lands within 0.12″ of Lahiri's own 1940 value. Every reading names the frame it used; chitra (default), lahiri and drik are one parameter away.

3factors

The factor families

Each family is a rule read from a primary text and tagged with the tier it fires at. Some bar a moment, some only weigh on it, some lift it. The dot marks the sharpest tier the family can reach.

KaalasRahu hard; Yamaganda and Kala strong; Gulika, Ardhaprahara soft
TithiAmavasya blocks; Rikta and Paksha-Chhidra by the stakes
YogaVyatipata and Vaidhriti block; partials warn
KaranaVishti (Bhadra) and the four fixed karanas
Gandantatithi, nakshatra, lagna junctions and their covers
Sankrantithe pause around the Sun's ingress into a sign
Grahanaeclipse span and sutak, only where visible
Combustion, retroa karaka too close to the Sun, or moving backward
Lagna-shuddhithe rising chart: malefics in angles, weak lords
Chandrabalathe Moon's strength for the day
Weekday × nakshatraDagdha and Mrityu avoid; Ravi yoga wipes them
Weekday × tithiKrakacha, Samvartaka, Visha, Hutashana
Mukha, Pushkaradirection-facing stars and the auspicious yogas
TravelDisha Shool and Panchaka-South, by direction
PersonalTarabala and Chandrashtama, from your birth star
4verdict

The verdict cascade

A moment falls through gates in order. This is lexicographic, not additive: a higher gate settles the verdict on its own, and no pile of good factors argues past it. A number that can read positive inside Rahu Kaal is worse than no number, so there is no number.

T0Niṣiddhaa hard stop: Rahu Kaal, Amavasya, Vishti, an eclipse in progress, a gandanta seam
→ AVOID
↓ else
T1Varjyaa strong avoid: Yamaganda, a combust karaka, a strong Sankranti band
→ AVOID (strong)
↓ else
T1·capDay-capa day-long caution on a routine act (a Rikta tithi, say) caps the ceiling
≤ WORKABLE
↓ else, the moment is clean; now weigh it
ΣŚubha − Doṣasupports minus cautions. Abhijit and Ravi yoga count as two
→ GRADE
Excellent Good Workable Neutral Avoid
Parihāra, the texts' own mercy. When a classical cover holds (Abhijit over a gandanta, a benefic on the rising sign, a cancelled Chandrashtama), the caution is recorded and set aside on the text's authority, shown struck through rather than hidden. Where two classical tables disagree about a day, the app says so and resolves it the way the texts direct: through your personal Tara.
5surfaces

One engine, two surfaces

The same computation answers everywhere. The surfaces only phrase it.

MCP AI tools

Nine tools over streamable-HTTP for Claude and other MCP clients. Returns prose verdicts, not raw numbers.

Web PWA

The site at muhurat.day: Today, Check, Explain, and the full Panchang, in eight languages.

✶rigour

Why you can trust it

The two things a timing tool lives or dies by: where its rules come from, and whether the numbers are right.

Sourced from the mūla

Every rule traces to a primary text, and the load-bearing ones were read from the Sanskrit, which caught real errors in widely copied English summaries.

  • Kalaprakasika (Iyer, 1917): the primary muhurta reference
  • Muhūrtacintāmaṇi: canonical muhurta
  • Hora Sara: friendships and the fatal-degree tables
  • Surya Siddhanta: the astronomy
  • Brihat Samhita: graha natures
  • rule: at least two witnesses; mūla outranks translation

Verified, not asserted

The astronomy is cross-checked against independent oracles, and the whole rulebook is pinned by tests that run on every change.

  • Oracles: astropy and pyerfa offline, vedastro and drik online
  • Eclipses against NASA's canon: 38 cases
  • 336 engine regression tests
  • Byte-identical parity: every surface says the same thing
  • never one oracle; never from model knowledge