Labsco
MCP SERVER

Malaysia Prayer Time MCP Server

by amanasmuei

Malaysian prayer times in an assistant: ask by city, by JAKIM zone code, or by coordinates, and get the full daily schedule with the current and next prayer.

Time, Dates & Calculation
Summary
Zone code beats city name when the name is ambiguous.

The data is the official JAKIM set through waktusolat.app, so the value here is purely in the asking: plain language in, the right zone resolved, the current and next prayer out. When a city name does not resolve, list the zones and use the code — that is the documented way through, not a workaround.

What it is

A Python MCP server over the waktusolat.app API, which serves JAKIM-verified prayer times for Malaysia. It resolves a city name, a zone code or a latitude and longitude to the right zone and returns that day's schedule.

What you get
  • `get_prayer_times` — by city name or zone code, for today or a given date
  • `get_prayer_times_by_coordinates` — by latitude and longitude, for today or a given date
  • `list_zones` — every available zone with its code, which is how you resolve an ambiguous place name
  • The full daily set: Imsak where available, Fajr, Syuruk, Dhuhr, Asr, Maghrib and Isha
  • Current and next prayer, so the answer is what you asked rather than a table to read
  • Coverage of all JAKIM zones, with coordinate lookup mapped across the major areas
Requirements

Python 3.10 or higher, and a clone installed with pip or uv into a virtual environment. The client config points at that environment's Python, the main script and the project directory as the working directory — absolute paths, or the client will not start it. Restart the client fully after editing the config. An internet connection is needed, since times come from the upstream API. MIT licensed.