Skip to content
MCP server

Prayer times and sun times

Prayer and sunrise/sunset times for 34,000 towns, served to AI agents over MCP

Answered our latest tool-list check 6 hours ago with 3 tools. It will be marked verified after 3 successful checks in 7 days.

Install
Pricing
Free
Platforms
API, Web
Runs
Remotely
Version
1.1.0
Listing updated
1 day ago

Similar MCP servers

About Prayer times and sun times

Prayer times and sun times is a free MCP server for religion. It runs as a hosted remote server, so there is nothing to install locally.

The server returns daily Islamic prayer times (fajr, dhuhr, asr, maghrib, isha) along with sunrise, sunset and twilight, in local time for a named town or a set of coordinates. Lookups can cover a single day or a whole month, and place names are accepted in English or Arabic.

The README and site describe three tools exposed over Streamable HTTP: prayer_times, sun_times and prayer_methods. The same data is available through a free REST JSON API with no key required. Calculation uses standard solar-position formulas, and users can pick from more than 20 methods; when none is chosen, the default follows the country, and the method used is named in each answer.

It suits developers building prayer apps, scheduling tools or assistants that need local timings, and agent builders who want a simple, keyless data source. The site notes that local mosques may differ by a few minutes from computed times, and that place data comes from GeoNames under CC BY 4.0.

Install

Run in a terminal

claude mcp add --transport http prayer-times https://prayer-times.at01.io/mcp

Add to Settings → Connectors → Add custom connector

https://prayer-times.at01.io/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "prayer-times": {
      "url": "https://prayer-times.at01.io/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "prayer-times": {
      "type": "http",
      "url": "https://prayer-times.at01.io/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "prayer-times": {
      "serverUrl": "https://prayer-times.at01.io/mcp"
    }
  }
}

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://prayer-times.at01.io/mcp

Enter a Name (for example "Prayer times and sun times"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "prayer-times": {
      "type": "http",
      "url": "https://prayer-times.at01.io/mcp"
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Tools this server provides (3)

Read directly from the server.

All 3 tools say they're read-only.

From the server's own tool annotations; not verified by us.

prayer_timesSays read-only
Prayer times (imsak, fajr, sunrise, dhuhr, asr, maghrib, isha, midnight) for a town, city or coordinates, in local time, for one day or a timetable of up to 31 days. Covers 34,000 towns worldwide (names in English or Arabic). Calculation method defaults to the usual one for the country (Umm al-Qura in Saudi Arabia, Egyptian in Egypt, Karachi in Pakistan, ISNA in North America, MWL elsewhere) and i
sun_timesSays read-only
Sunrise, sunset, solar noon, day length, and civil, nautical and astronomical dawn and dusk for a town, city or coordinates on a date, in local time.
prayer_methodsSays read-only
The calculation methods available (fajr and isha angles), and the countries where each is the default.

What it does

Prayer times by place
Returns all five daily prayer times plus sunrise for a town name or latitude and longitude.
Sunrise, sunset and twilight
Provides sun times for a given place and date, in local time.
Multiple calculation methods
Offers more than 20 methods, with the default chosen by country and named in each response.
Monthly and multi-day ranges
Can return timings for one day, a week or a full month.
Keyless REST API
A JSON API with an OpenAPI spec and llms.txt is available without an API key.
Arabic and English place names
Lookups accept town names in either language across about 34,000 places.

Good for

  • Showing local prayer times in a mobile or web app
  • Letting an AI assistant answer when Fajr or Maghrib is today
  • Planning Ramadan schedules with monthly timetables
  • Retrieving sunrise and sunset for a location in an agent workflow
  • Comparing calculation methods for a given town

Pricing

Free

Free, no key required, per the site.

Prices change. Check prayer-times.at01.io before you buy.

Prayer times and sun times FAQ

Does it require an API key?

The site describes the service as free with no key needed for the REST API and the MCP endpoint.

Which tools does the MCP server expose?

The site lists three tools: prayer_times, sun_times and prayer_methods.

How are the times calculated?

The site says it uses standard solar-position formulas, with sun angles set by the chosen method, and that local mosques may differ by a few minutes.

Where do the place names come from?

The site credits GeoNames (CC BY 4.0), with a snapshot dated 2026-11-19.

Is Prayer times and sun times free?

Yes. Prayer times and sun times is free to use.

How do I add Prayer times and sun times to Claude Code?

Run this command in your terminal: claude mcp add --transport http prayer-times https://prayer-times.at01.io/mcp

What are the best alternatives to Prayer times and sun times?

The closest alternatives to Prayer times and sun times are Iqamah prayer times, Muslim Prayer Reminder MCP, SalahTable, Qadir and Messe Oggi.

Where this comes from

  • Description: written from the project's website and its MCP Registry entry.
  • Status and tools: checked automatically by AIPoweredBot on 20 November 2026.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers