Prayer Times

v0.2.1
io.github.pipeworx-io/prayer-times Checked 1 day ago Published 28 days ago

Islamic prayer times & calendar MCP (Aladhan API).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

prayer_times

Islamic prayer times (salah times: Fajr, Sunrise, Dhuhr, Asr, Maghrib, Isha, plus Imsak and Midnight) for a location today. Provide either city+country or latitude+longitude. Returns timings, Gregorian and Hijri (Islamic calendar) dates, timezone, and the calculation method used.

ParameterTypeDescription
citystringCity name, e.g. "London". Requires country.
countrystringCountry name or code, e.g. "UK". Requires city.
latitudenumberLatitude in decimal degrees. Use with longitude as an alternative to city+country.
longitudenumberLongitude in decimal degrees. Use with latitude.
methodnumberPrayer-time calculation method. Default 2 = ISNA (Islamic Society of North America); 3 = MWL (Muslim World League); 4 = Umm al-Qura (Makkah); and others.

qibla

Qibla direction (compass bearing toward the Kaaba in Mecca) for a given latitude/longitude, in degrees from true north.

ParameterTypeDescription
latitude *numberLatitude in decimal degrees.
longitude *numberLongitude in decimal degrees.

convert_to_hijri

Convert a Gregorian date to the Hijri (Islamic) calendar date. Useful for Islamic calendar date conversion.

ParameterTypeDescription
date *stringGregorian date in DD-MM-YYYY format, e.g. "07-06-2026".

hijri_calendar

Monthly Islamic prayer-times calendar for a city: per-day Gregorian and Hijri (Islamic calendar) dates with salah times (Fajr, Dhuhr, Maghrib, Isha).

ParameterTypeDescription
city *stringCity name, e.g. "London".
country *stringCountry name or code, e.g. "UK".
month *numberGregorian month, 1-12.
year *numberGregorian year, e.g. 2026.
methodnumberPrayer-time calculation method. Default 2 = ISNA; 3 = MWL; 4 = Umm al-Qura; and others.