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.

Server Mcp Prayer Times pipeworx-io/mcp-prayer-times
Category Read
Risk class Low
Parameters 50 required

What prayer_times does on Mcp Prayer Times

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.

ParameterTypeRequiredDescription
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.

Why prayer_times needs a policy

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...

Questions about prayer_times

What does the prayer_times tool do? +

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.

What parameters does prayer_times accept? +

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.

How do I enforce a policy on prayer_times? +

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.

What risk level is prayer_times? +

prayer_times is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit prayer_times? +

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.

How do I block prayer_times completely? +

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.

What MCP server provides prayer_times? +

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.

// LOOK UP ANOTHER 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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.