# MCP for developers: Suite MCP server tools: Quran, prayer, adhkar, audio

Source: https://qurangallery.com/docs/mcp/suite-server-tools

> The 20 tools of the Quran Gallery suite MCP server, with their arguments and real answers: Quran, tafsir, prayer times, recitations, adhkar, inheritance.

The suite server has **20 tools**, all read-only, behind one sign-in ([connect it](https://qurangallery.com/docs/mcp/suite-server-connect)). Most answers are Markdown that ends with, or carries, the matching qurangallery.com page, plus the same data as structured content; prayer times for a place with no city page, and Hijri dates outside the calendar pages, come without a link.

Most tools take `language`: `en` (the default), `ar`, `ur`, `bn`, `fr`, `id` or `tr`. It sets the default translation and tafsir, and the language of the links. Required arguments are in **bold**.

## Quran

| Tool                  | What it returns                                                                                            | Arguments                                                                                          |
| --------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| `quran_list_surahs`   | The 114 surahs: number, name, meaning, ayat, where revealed, page link                                     | `language`                                                                                         |
| `quran_read`          | The Arabic (Uthmani) text of a passage with one to three translations, up to 50 ayat a call                | **`surah`** (1–114), **`from_ayah`**, `to_ayah`, `translations` (ids, comma-separated), `language` |
| `quran_tafsir`        | The published tafsir of one ayah, in the language's edition or the one named; long commentary is cut at 6,000 characters, with a note | **`surah`**, **`ayah`**, `tafsir` (id or slug), `language`                                         |
| `quran_search`        | Ayat containing a word or phrase, in a translation or in Arabic, with the search page link                 | **`query`**, `translation`, `limit` (1–20, default 10), `page`, `language`                         |
| `quran_list_editions` | Translation or tafsir editions with their ids, authors and languages                                       | `kind` (`translation` or `tafsir`), `language`                                                     |
| `quran_word_analysis` | Each word of an ayah: root, lemma, part of speech and grammatical role (iʿrab), with the grammar page link | **`surah`**, **`ayah`**, `language`                                                                |

```text
quran_read { "surah": 1, "from_ayah": 1, "to_ayah": 3 }

## Al-Fatihah (1), ayat 1–3

Read on Quran Gallery: https://qurangallery.com/quran/al-fatihah/1

**1:1** بِسْمِ ٱللَّهِ ٱلرَّحْمَـٰنِ ٱلرَّحِيمِ
- M.A.S. Abdel Haleem (english): In the name of God, the Lord of Mercy, the Giver of Mercy!

**1:2** ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَـٰلَمِينَ
- M.A.S. Abdel Haleem (english): Praise belongs to God, Lord of the Worlds,
…
```

The tafsir is published text only. A commentary written for a whole passage sits on the passage's first ayah, and the answer says so.

## Prayer

| Tool                | What it returns                                                                                                       | Arguments                                                                                      |
| ------------------- | --------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `prayer_times`      | Fajr, Sunrise, Dhuhr, Asr, Maghrib and Isha for one day, the Gregorian and Hijri date, the method, the city page link | `city` and `country`, or `latitude` and `longitude`; `date` (YYYY-MM-DD), `method`, `language` |
| `prayer_qibla`      | The bearing from true north to the Kaaba, its compass word and the distance to Makkah                                 | `city` and `country`, or `latitude` and `longitude`; `language`                                |
| `prayer_hijri_date` | A Gregorian date in the Hijri calendar or back, with the Islamic events of the day                                    | `date`, or `hijri_year` (1300–1500), `hijri_month`, `hijri_day`; `language`                    |

```text
prayer_times { "city": "Istanbul", "date": "2026-12-02" }

## Prayer times: Istanbul, Republic of Türkiye

**Date:** Wednesday, December 2, 2026 (22 Jumada al-Thani 1448 AH)
**Timezone:** Europe/Istanbul

| Prayer | Time |
| --- | --- |
| Fajr | 06:33 |
| Sunrise | 08:03 |
| Dhuhr | 12:59 |
| Asr | 15:22 |
| Maghrib | 17:44 |
| Isha | 19:09 |

**Method:** Diyanet İşleri Başkanlığı · **Asr school:** Standard · **High-latitude rule:** none
```

Times follow the rules of the qurangallery.com prayer pages: the place's default method, Asr school and high-latitude rule, in its own timezone. `method` takes a code such as `mwl`; an unknown code answers with the valid ones. The Hijri date uses the Umm al-Qura calendar, so a local moon sighting may differ by a day; with no date it gives today in Makkah.

## Listen

| Tool                  | What it returns                                                                                 | Arguments                                                      |
| --------------------- | ----------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| `listen_find_reciter` | Reciters whose name matches, in Arabic or Latin letters, with their recordings and listen pages | **`query`**, `riwayah`, `limit` (1–20, default 10), `language` |
| `listen_surah_audio`  | A direct MP3 link for one surah by one reciter, with the riwayah and the listen page; Hafs by default, where the reciter has it | **`reciter`** (id or slug), **`surah`**, `riwayah`, `language` |
| `listen_list_radios`  | The live Quran radio streams, each with its stream URL and its page                             | `language`                                                     |

```text
listen_surah_audio { "reciter": "mishary-alafasi", "surah": 36 }

## Ya-Sin — Mishary Alafasi

Recording: Rewayat Hafs A'n Assem · Rewayat Hafs A'n Assem - Murattal · [Listen on the page](https://qurangallery.com/listen/reciter/mishary-alafasi/ya-sin)

Direct MP3: [Ya-Sin (36)](https://cdn.mp3quran.net/audio/mishary-alafasy/r1/036.mp3)
```

Find the reciter's slug with `listen_find_reciter` first. If a name finds nothing, try it in the other script or a shorter part of it.

## Maktabah

| Tool              | What it returns                                                                                | Arguments                                                  |
| ----------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| `maktabah_search` | Passages from the Shamela library: book, author, printed page, a snippet and the page link     | **`query`** (Arabic), `book_id`, `limit` (1–10, default 5) |
| `maktabah_read`   | One page: its text and footnotes kept apart, the printed page, and the previous and next pages; a long page shows its first 4 parts and says so | **`book_id`**, **`page_id`**                               |

These two tools search and read single pages. For scoped search by shelf, citations of the printed page, isnād and narrators, add the library server as well ([which one to use](https://qurangallery.com/docs/mcp/two-servers-which-to-use)).

## Inheritance

| Tool               | What it returns                                                                                                       | Arguments                                                                                                                                                                                              |
| ------------------ | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `mirath_calculate` | Each heir's share as a fraction, a percent and an amount, under one school or all four, with a link to the calculator; the estate is a whole number from 1 to 999,999,999,999 | **`estate`** (whole number in the smallest currency unit, after debts, funeral costs and any bequest), `madhab` (`all`, `hanafi`, `maliki`, `shafii`, `hanbali`), and how many of each heir are living |

```text
mirath_calculate { "estate": 12000000, "wife": 1, "son": 1, "daughter": 2 }

## Inheritance across the four schools

Estate 12,000,000, worked through all four schools.

All four schools give the same shares.

| Heir | Heirs | Share | Percent | Amount |
| --- | --- | --- | --- | --- |
| Wife | 1 | 1/8 | 12.5% | 1,500,000 |
| Son | 1 | 7/16 | 43.75% | 5,250,000 |
| Daughter | 2 | 7/16 | 43.75% | 5,250,000 |

Open the calculator with these inputs: https://qurangallery.com/mirath/?estate=12000000&wife=1&son=1&daughter=2

This is a calculation aid, not a legal ruling or fatwa. Have a qualified scholar confirm the result before acting on it.
```

The heirs are counts: `husband` (0–1), `wife` (0–4), `father`, `mother`, both grandfathers and both grandmothers (0–1 each), and children, grandchildren, siblings, nephews, uncles, aunts and cousins (0–30 each), 33 heir arguments in all. With `madhab: "all"` the answer says where the schools agree and where they differ. A case the engine does not compute yet comes back marked for review, with its reason, rather than a guess.

## Adhkar

| Tool                     | What it returns                                                                                          | Arguments                                               |
| ------------------------ | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
| `adhkar_list_categories` | The 94 collections (morning, evening, before sleep, after prayer and more) by section, with their sizes  | `language`                                              |
| `adhkar_get`             | The duas of one collection in reading order: Arabic, transliteration, translation, repeats, source, page | **`collection`** (slug), `from` (default 1), `language` |
| `adhkar_search`          | Duas that match a word or phrase in their name, title, translation or Arabic; the query is up to 100 characters | **`query`**, `limit` (1–20, default 10), `language`     |

`adhkar_get` gives 20 duas per answer and says how to read the rest with `from`: the morning adhkar hold 44, so a second call with `from: 21` continues. Where a language has no translation of a dua, the English one is given and the answer says so.

## Madrasah and the suite

| Tool                    | What it returns                                                                          | Arguments  |
| ----------------------- | ---------------------------------------------------------------------------------------- | ---------- |
| `madrasah_list_courses` | The Madrasah courses in ladder order: level, title, track, lesson count, the course page | `language` |
| `suite_guide`           | The live Quran Gallery apps, Accounts and the library server: what each does and its link | none       |

## When a call is wrong

A wrong argument does not fail the request. The tool answers with a sentence saying what to fix, such as `surah must be between 1 and 114.` or `No reciter "…" in the catalogue. listen_find_reciter finds reciters by name.`, so the assistant can correct its call. Rate limits and sign-in errors are on [Connect the suite server](https://qurangallery.com/docs/mcp/suite-server-connect).
