Skip to content

Suite MCP server tools: Quran, prayer, adhkar, audio

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

On this page

The suite server has 20 tools, all read-only, behind one sign-in (connect it). 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

ToolWhat it returnsArguments
quran_list_surahsThe 114 surahs: number, name, meaning, ayat, where revealed, page linklanguage
quran_readThe Arabic (Uthmani) text of a passage with one to three translations, up to 50 ayat a callsurah (1–114), from_ayah, to_ayah, translations (ids, comma-separated), language
quran_tafsirThe published tafsir of one ayah, in the language’s edition or the one named; long commentary is cut at 6,000 characters, with a notesurah, ayah, tafsir (id or slug), language
quran_searchAyat containing a word or phrase, in a translation or in Arabic, with the search page linkquery, translation, limit (1–20, default 10), page, language
quran_list_editionsTranslation or tafsir editions with their ids, authors and languageskind (translation or tafsir), language
quran_word_analysisEach word of an ayah: root, lemma, part of speech and grammatical role (iʿrab), with the grammar page linksurah, ayah, language
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

ToolWhat it returnsArguments
prayer_timesFajr, Sunrise, Dhuhr, Asr, Maghrib and Isha for one day, the Gregorian and Hijri date, the method, the city page linkcity and country, or latitude and longitude; date (YYYY-MM-DD), method, language
prayer_qiblaThe bearing from true north to the Kaaba, its compass word and the distance to Makkahcity and country, or latitude and longitude; language
prayer_hijri_dateA Gregorian date in the Hijri calendar or back, with the Islamic events of the daydate, or hijri_year (1300–1500), hijri_month, hijri_day; language
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

ToolWhat it returnsArguments
listen_find_reciterReciters whose name matches, in Arabic or Latin letters, with their recordings and listen pagesquery, riwayah, limit (1–20, default 10), language
listen_surah_audioA direct MP3 link for one surah by one reciter, with the riwayah and the listen page; Hafs by default, where the reciter has itreciter (id or slug), surah, riwayah, language
listen_list_radiosThe live Quran radio streams, each with its stream URL and its pagelanguage
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

ToolWhat it returnsArguments
maktabah_searchPassages from the Shamela library: book, author, printed page, a snippet and the page linkquery (Arabic), book_id, limit (1–10, default 5)
maktabah_readOne 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 sobook_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).

Inheritance

ToolWhat it returnsArguments
mirath_calculateEach 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,999estate (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
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

ToolWhat it returnsArguments
adhkar_list_categoriesThe 94 collections (morning, evening, before sleep, after prayer and more) by section, with their sizeslanguage
adhkar_getThe duas of one collection in reading order: Arabic, transliteration, translation, repeats, source, pagecollection (slug), from (default 1), language
adhkar_searchDuas that match a word or phrase in their name, title, translation or Arabic; the query is up to 100 charactersquery, 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

ToolWhat it returnsArguments
madrasah_list_coursesThe Madrasah courses in ladder order: level, title, track, lesson count, the course pagelanguage
suite_guideThe live Quran Gallery apps, Accounts and the library server: what each does and its linknone

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.

Questions

How many tools does the suite MCP server have?

20, the same for every client: six for the Quran, three for prayer, three for listening, two for the Maktabah library, three for adhkar, one each for inheritance and courses, and suite_guide.

Do the tools write anything to my account?

No. Every tool only reads: it returns text, times, recordings or pages, and changes nothing.

In which languages do the tools answer?

Pass language as en, ar, ur, bn, fr, id or tr. It picks the default translation and tafsir and the language of the links. English is the default.

Is the tafsir generated by AI?

No. quran_tafsir returns only published commentary from the editions listed by quran_list_editions. Nothing is generated.

How are prayer times calculated?

With the same rules as the qurangallery.com prayer pages: the place's default method, Asr school and high-latitude rule, in its own timezone. A method argument overrides the method.

Is the inheritance result a fatwa?

No. mirath_calculate is a calculation aid using the calculator's engine. Every answer says so and asks you to have a qualified scholar confirm it.

Edit this page on GitHub