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.
AI agents call prayer_times to retrieve information from Mcp Prayer Times without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
city | string | — | City name, e.g. "London". Requires country. |
method | number | — | Prayer-time calculation method. Default 2 = ISNA (Islamic Society of North America); 3 = MWL (Muslim World League); 4 = Umm al-Qura (Makkah); and others. |
country | string | — | Country name or code, e.g. "UK". Requires city. |
latitude | number | — | Latitude in decimal degrees. Use with longitude as an alternative to city+country. |
longitude | number | — | Longitude in decimal degrees. Use with latitude. |
Parameters from the server's own tool schema.
This is a straightforward data retrieval tool that queries the Aladhan API to fetch Islamic prayer times and related calendar information. It has no side effects, cannot modify data, execute code, or cause financial impact. The only input is location (city/country or coordinates), and the only output is informational. Risk of misuse is negligible.
From the tool's definition Tool retrieves prayer times data for a specified location; provides timings, dates, timezone, and calculation method without modifying any data. Description indicates it "Returns timings...
Attacks that exploit this kind of access
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. It is categorised as a Read tool in the Mcp Prayer Times MCP Server, which means it retrieves data without modifying state.
prayer_times accepts 5 parameters: city, method, country, latitude, longitude. The full parameter table on this page comes from the server's own tool schema.
Register the Mcp Prayer Times MCP server in PolicyLayer and add a rule for prayer_times: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Prayer Times. Nothing to install.
prayer_times is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the prayer_times rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for prayer_times. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
prayer_times is provided by the Mcp Prayer Times MCP server (pipeworx-io/mcp-prayer-times). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →