# SalahTable

> SalahTable is a free MCP server for religion. Prayer times for 407 cities with 15 methods, both Asr schools, Qibla and monthly tables. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API, Web
- **Website:** https://salahtable.com/prayer-times-api
- **MCP Registry name:** com.salahtable/prayer-times
- **Categories:** religion
- **Listing updated:** 2026-11-14

## About

The server mirrors SalahTable's free prayer times API, so an assistant can find a city and return the day's times plus the next seven days, with the upcoming prayer highlighted. Times come in the city's local time and as UTC instants.

Calculation can use any of 15 named methods (including Karachi, ISNA, MWL, Umm al-Qura, Diyanet, Egyptian and Jakim) and either the Hanafi or Shafi'i Asr school; if omitted, the country's usual preset applies. Monthly timetables run from two months back to twelve ahead, and an iCalendar feed covers the next 30 days.

Calculated times can differ from a mosque timetable by a few minutes, so congregation times should follow the mosque. The terms ask for a visible credit link to the city page.

## Features

- **City lookup:** Finds a city among 407 supported.
- **Daily and weekly times:** Today and the next 7 days with next prayer.
- **Monthly timetable:** A full month, from two months back to twelve ahead.
- **Qibla direction:** Returns Qibla for a city.
- **Method choice:** 15 calculation methods and two Asr schools.
- **Calendar feed:** An .ics feed for the next 30 days.

## Good for

- Ask for Fajr time in Karachi under the Hanafi school
- Create a monthly prayer timetable
- Compare calculation methods
- Add prayer times to a calendar

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http prayer-times https://salahtable.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://salahtable.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "prayer-times": {
      "url": "https://salahtable.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "prayer-times": {
      "type": "http",
      "url": "https://salahtable.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "prayer-times": {
      "serverUrl": "https://salahtable.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "prayer-times": {
      "type": "http",
      "url": "https://salahtable.com/mcp"
    }
  }
}
```

## Tools

- `find_city`: Look up a supported city by name (e.g. "Lahore", "Birmingham UK", "new york"). Returns slugs for the other tools, coordinates, time zone and the country's default method and Asr school, or close matches for misspellings.
- `get_prayer_times`: Fajr, sunrise, Dhuhr, Asr, Maghrib and Isha for today and the next 7 days in the city's local time, the next prayer, and Asr for the other school.
- `get_monthly_timetable`: Daily prayer times for a whole month, from two months back to twelve months ahead of the city's current month.
- `get_qibla`: Qibla bearing from true north, compass point and great-circle distance to the Kaaba for a city.
- `get_islamic_dates`: Expected dates of Ramadan, Eid al-Fitr, Eid al-Adha, the Day of Arafah, Islamic New Year, Ashura, Mawlid, Isra and Mi‘raj, Shab-e-Barat and Laylat al-Qadr in a Gregorian year (Umm al-Qura), with a note on countries that are often a day later.
- `list_calculation_methods`: The calculation methods (Fajr and Isha angles) and each country's default method and Asr school.

## FAQ

### Is a key required?

No key or sign-up; CORS is enabled.

### Is commercial use allowed?

Yes, with a visible credit link.

### Do times match mosque schedules?

They can differ by a few minutes.

### How many methods?

15.

### Is SalahTable free?

Yes. SalahTable is free to use.

### How do I add SalahTable to Claude Code?

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

### What are the best alternatives to SalahTable?

The closest alternatives to SalahTable are Madeenan Quran and Hadith Sources, Biblical Atlas, RuShiWoWen Buddhist Scripture Tools, Besorah — the Bible in Hebrew, Greek, Aramaic and English and Scriptura.

## Alternatives

- [Madeenan Quran and Hadith Sources](https://ai-powered.com/mcp/madeenan-quran-and-hadith-sources): Madeenan Quran and Hadith Sources is a freemium MCP server for religion.
- [Biblical Atlas](https://ai-powered.com/mcp/biblical-atlas): Biblical Atlas is an open-source MCP server for religion.
- [RuShiWoWen Buddhist Scripture Tools](https://ai-powered.com/mcp/rushiwowen-buddhist-scripture-tools): RuShiWoWen Buddhist Scripture Tools is a free MCP server for religion.
- [Besorah — the Bible in Hebrew, Greek, Aramaic and English](https://ai-powered.com/mcp/besorah-the-bible-in-hebrew-greek-aramaic-and-english): Besorah — the Bible in Hebrew, Greek, Aramaic and English is a free MCP server for religion.
- [Scriptura](https://ai-powered.com/mcp/scriptura): Scriptura is a free MCP server for books and literature.
- [Lamplight Daily Verse](https://ai-powered.com/mcp/lamplight-daily-verse): Lamplight Daily Verse is a freemium MCP server for religion.
- [Christian Pure](https://ai-powered.com/mcp/christian-pure): Christian Pure is a free MCP server for religion.
- [La Iglesia Católica de los Agentes de AI](https://ai-powered.com/mcp/la-iglesia-catolica-de-los-agentes-de-ai): La Iglesia Católica de los Agentes de AI is a free MCP server for religion.

---
Source: https://ai-powered.com/mcp/salahtable
