# Quran Gallery documentation — full text > Every English page of the Quran Gallery end-user documentation (https://qurangallery.com/docs), in Markdown, one after another. The index of these pages is https://qurangallery.com/docs/llms.txt; every app in the suite is listed at https://qurangallery.com/llms.txt. --- # Quran Gallery Suite: Welcome to Quran Gallery Source: https://qurangallery.com/docs/home/overview > Quran Gallery is a free, ad-free suite of Islamic apps at qurangallery.com: an AI chatbot, Quran reader, prayer times, adhkar and more. Quran Gallery is a **free, ad-free suite of Islamic apps** at [`qurangallery.com`](https://qurangallery.com). It is not quran.gallery, which is a separate site. Quran Gallery is a connected suite of tools for reading, learning, and living with the Quran. It leads with the experience most visitors want first — a source-aware **AI chatbot** for Quran and Islamic questions — then opens out into reading, memorization, daily remembrance, design, and study tools that all share one account. Everything is **free**, **multilingual**, and **grounded in scholarship**. ## Start with the AI chatbot The home page at [`qurangallery.com`](https://qurangallery.com) opens with **Ask the Quran** — an AI chatbot you can talk to in your own words. No search queries, no special syntax. Ask about fiqh, tafsir, hadith, or everyday life, and every answer cites where it comes from. > Every answer cites Quran ayat, Sahih Hadith, and classical scholars — so you > never have to take the AI's word for it. When you want to go deeper, open the full chatbot at [`qurangallery.com/chat`](https://qurangallery.com/chat). ## Grounded in scholarship Every tool in the suite is built with reverence for authentic Islamic tradition: - **Every answer has a source.** Responses point back to the Quran, Sahih Hadith, and recognized scholars. - **Ahlus Sunnah methodology.** Built on the consensus and principles of recognized scholars across centuries — no fringe opinions. - **Timeless design.** Sacred words are presented cleanly and respectfully, with the Uthmani script for Quran text. ## Free and multilingual Quran Gallery is 100% free to use. The interface is translated into seven languages, with right-to-left layouts that switch automatically where needed: - English - Arabic - Urdu - Indonesian - Turkish - Bengali - French ## What you see on the home page Beyond the chatbot, the home page surfaces several things without you having to navigate anywhere: ### Today's prayer times An embedded **prayer times widget** shows today's five prayers, timed to your location. Below it, four quick-links take you straight into the Prayer app: | Quick link | Where it goes | | ---------- | --------------------------------- | | Calendar | Full monthly prayer-time calendar | | Qibla | Compass-based direction to Makkah | | Mosques | Nearby mosque finder | | Tracking | Log your daily prayers | ### Hijri calendar An embedded **Hijri calendar widget** shows the current Islamic month at a glance — marked with Islamic events and synced to major religious authorities. Open the full calendar at [`qurangallery.com/prayer/calendar`](https://qurangallery.com/prayer/calendar). ### Announcement banners From time to time — for occasions like Ramadan or Eid, or for planned maintenance — a banner may appear at the top of the page with a brief message from the team. ## The connected apps Below the widgets, the home page groups the rest of the suite into three sections: | Group | What it's for | | -------- | ---------------------------------------------------------- | | Study | Read the Quran, build understanding, and keep hifz moving. | | Practice | Ask anything about Islam; keep prayer and adhkar on track. | | Create | Design, publish, and grow through curated resources. | For the full directory of apps and their addresses, see [The apps in the suite](https://qurangallery.com/docs/home/the-suite). ## About Quran Gallery To read about the mission, products, and values behind the platform, visit [`qurangallery.com/about-us`](https://qurangallery.com/about-us). ## One account ties it together Sign in once at [`accounts.qurangallery.com`](https://accounts.qurangallery.com) and you stay signed in across the whole suite. Your bookmarks, notes, memorization progress, language, and theme follow you from app to app — they belong to your account, not to a single device. To learn more about accounts and sign-in, see the [Accounts & SSO](https://qurangallery.com/docs/accounts/overview) section. --- # Quran Gallery Suite: All-in-One Islamic App Suite With One Account Source: https://qurangallery.com/docs/home/the-suite > Every Quran Gallery app — what it does and where to find it — plus how a single account connects them. Quran Gallery is a free, ad-free suite of Islamic apps — a Quran reader with tafsir, prayer times, Quran audio, daily adhkar, learning tools and more — that work together as one platform. Each lives at its own address under `qurangallery.com`, and your account follows you across all of them. ## Quran Gallery at a glance | Capability | What you get | Start here | | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | | **Read and study the Quran** | All 114 surahs; 154 translations in 80 languages; 23 classical tafsirs (Ibn Kathir, al-Tabari, al-Qurtubi, Jalalayn, Maarif-ul-Quran and more); word-by-word meanings in 9 languages with root, lemma and grammar; Scan mode with page scans of printed muṣḥafs. | [qurangallery.com/quran](https://qurangallery.com/quran) · [Study tools](https://qurangallery.com/docs/quran/study-tools) | | **Prayer times** | 236,000+ cities in 246 countries and territories; 37 calculation methods including national standards; a Hijri calendar with 8 moon-sighting authorities; Qibla direction. | [qurangallery.com/prayer](https://qurangallery.com/prayer) · [Prayer times](https://qurangallery.com/docs/prayer/prayer-times) | | **Listen** | 240+ reciters; 18 transmissions of the Ten Readings (riwāyāt), plus 2 recording styles; audio tafsir; 170+ live Quran radio stations. | [qurangallery.com/listen](https://qurangallery.com/listen) · [Listen overview](https://qurangallery.com/docs/listen/overview) | ### How it differs from typical apps - **No ads.** The suite carries no advertising. - **One platform, not one app per task.** Reading, study, prayer times, listening and adhkar share one account, one theme and one language setting, instead of a separate single-purpose app for each. - **Primary sources, not only summaries.** Read the same passage on a scanned printed page, in 23 tafsirs, and word by word. - **Free, and open without an account.** Most of the suite can be read and listened to without signing in; signing in carries your bookmarks, notes and progress between devices. - **Seven languages.** English, Arabic, Urdu, Indonesian, Turkish, Bengali and French. ### What Quran Gallery is not - **Not Quran.com.** Quran Gallery is an independent project at `qurangallery.com`; it is not Quran.com or part of it. - **Not quran.gallery.** `quran.gallery` is a separate site run by someone else; it is not affiliated with Quran Gallery at `qurangallery.com`. - **Not a physical gallery.** It is a suite of web apps, not a museum, exhibition or gallery of Quran manuscripts. - **One address.** Every app lives under `qurangallery.com/` — for example the MCP server is at `qurangallery.com/mcp`. The only subdomain is `accounts.qurangallery.com`, the sign-in service. - **An earlier site.** `qurangallery.app` is the project's earlier site; `qurangallery.com` is the current suite. ## On the home page The home page grid shows six apps across three groups. Prayer has its own dedicated section on the page (with an embedded prayer-times widget and calendar) rather than appearing as a card in the grid. ### Study Open the Quran and keep memorization moving. | App | What it does | Address | | ------------ | ---------------------------------------------------------- | -------------------------------------------------------------- | | Quran Reader | An immersive reader for deep reflection. | [qurangallery.com/quran](https://qurangallery.com/quran) | | Madrasah | Learn, memorise and teach — classes, teachers and lessons. | [qurangallery.com/madrasah](https://qurangallery.com/madrasah) | ### Practice Ask anything about Islam and keep your daily worship on track. | App | What it does | Address | | ------------ | ------------------------------------------------------------------- | ---------------------------------------------------------- | | AI Chatbot | Ask about the Quran, Hadith, and Islam — answers cite their source. | [qurangallery.com/chat](https://qurangallery.com/chat) | | Daily Adhkar | Morning and evening remembrances for the heart. | [qurangallery.com/adhkar](https://qurangallery.com/adhkar) | ### Create Design, publish, and keep growing. | App | What it does | Address | | ------------- | ------------------------------------------ | ---------------------------------------------------------- | | Design Studio | Create beautiful Islamic artwork to share. | [qurangallery.com/studio](https://qurangallery.com/studio) | | Knowledge Hub | Articles and reflections, free to read. | [qurangallery.com/blog](https://qurangallery.com/blog) | ## The full suite These additional apps are part of the suite and reachable from their own addresses, even though they don't appear as cards in the homepage grid: | App | What it does | Address | | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- | | Prayer | Prayer times, Qibla direction, Hijri calendar, and tracking. | [qurangallery.com/prayer](https://qurangallery.com/prayer) | | Rijal | Explore the hadith narrators. | [qurangallery.com/rijal](https://qurangallery.com/rijal) | | Listening Library | Curated recitations to listen to anywhere. | [qurangallery.com/listen](https://qurangallery.com/listen) | | Mirath | Calculate Islamic inheritance shares by school and learn the rules behind them. | [qurangallery.com/mirath](https://qurangallery.com/mirath) | | Maktabah | Read 8,594 classical Arabic works page by page as printed, with the footnotes kept apart. | [qurangallery.com/maktabah](https://qurangallery.com/maktabah) | | Rafiq | A quiet canvas for reflection — draw, write and arrange on infinite boards. | [qurangallery.com/rafiq](https://qurangallery.com/rafiq) | | MCP for developers | Connect your own AI assistant to a library of 8,594 classical works, with answers that cite a printed edition, volume and page. No key needed. | [qurangallery.com/mcp](https://qurangallery.com/mcp) | | Meet | Private audio and video rooms with screen sharing for live sessions and study circles. | [qurangallery.com/meet](https://qurangallery.com/meet) | | Docs | The help center you're reading now. | [qurangallery.com/docs](https://qurangallery.com/docs) | To read about the mission and values behind the suite, visit the [About Us](https://qurangallery.com/about-us) page. ## How the apps connect Behind every app is a single account, hosted at [`accounts.qurangallery.com`](https://accounts.qurangallery.com). - **One sign-in for everything.** Sign in once and you're signed in across the whole suite — no separate logins per app. - **Shared preferences.** Your theme (light or dark) and language are set once and follow you from app to app. - **Sign out everywhere.** Signing out of one app signs you out of all of them, because sessions are shared across the suite. > You can browse and read most surfaces without an account. Signing in is what > lets your bookmarks, notes, and progress travel with you. To set up or manage your account, see the [Accounts & SSO](https://qurangallery.com/docs/accounts/overview) section. --- # Quran Gallery Suite: Help, support & feedback Source: https://qurangallery.com/docs/home/support-and-feedback > How to get help, reach the team, share feedback, follow updates, build with our data, and find the legal pages. However you need to reach us — a question, a bug, an idea, or a partnership — there's a channel for it. This page maps out where to go. To report a bug or ask for a feature, see [Report a bug or request a feature](https://qurangallery.com/docs/home/report-a-bug). ## Getting help There are three ways to get help, from self-serve to direct: 1. **Help center (these docs).** Start here. The documentation at [`qurangallery.com/docs`](https://qurangallery.com/docs) covers every app in the suite. Use search (⌘K / Ctrl+K) to jump straight to a topic. 2. **Contact.** Reach the team through any of the channels on the contact page at [`qurangallery.com/contact`](https://qurangallery.com/contact). 3. **Support request.** For something specific to your account or a problem you need tracked, submit a request at [`qurangallery.com/support`](https://qurangallery.com/support). ### Contact channels The [contact page](https://qurangallery.com/contact) lists every way to reach us: | Channel | Use it for | | -------- | -------------------------------------- | | Email | General inquiries and support. | | WhatsApp | Quick questions. | | Website | Browsing the rest of the suite. | | LinkedIn | Partnerships and professional contact. | > We typically respond within 24–48 hours. ### Submitting a support request The support form at [`qurangallery.com/support`](https://qurangallery.com/support) asks for a few details so we can route your request quickly: - **Full Name** — your full name. - **Email** — so we can reply to you. - **Product** — which app the request is about. The options are: Quran Reader, AI Chatbot, Design Studio, Knowledge Hub, Accounts, or Other. - **Priority** — Low, Medium, or High. - **Subject** — a brief description of the issue. - **Message** — the full details. Your request stays confidential, and we reply within 24–48 hours. ## Sharing feedback Ideas and suggestions shape what we build next. Share them at [`qurangallery.com/feedback`](https://qurangallery.com/feedback). The form asks for: - **Category** — pick the one that fits: - Feature Request - Bug Report - Content - Design - General - Other - **Name** — your name. - **Email** — so we can follow up if needed. - **Message** — your idea, report, or suggestion in your own words. Bot protection runs in the background and shows a check only when it needs you to take a step. ## Following updates The **Changelog** tracks every update across the suite — new features, improvements, fixes, and announcements. Follow along at [`qurangallery.com/changelog`](https://qurangallery.com/changelog). ## Building with our data Two developer tools are live: - **Quran API.** A public API for Quran text, translations, recitations and search, served from our own corpus. The [developers page](https://qurangallery.com/quran/developers) lists the endpoints — `/chapters`, `/verses/by_chapter/:id`, `/search`, `/resources/recitations` and `/resources/translations` — and the query parameters they take (`language`, `translations`, `words`, `page`). - **MCP server.** Connect your own AI assistant to a library of 8,594 classical Arabic works and get passages with their printed edition, volume and page. It runs at `https://qurangallery.com/mcp/shamela` and needs no key to start — a free key from your account raises the limits. See the [MCP docs](https://qurangallery.com/docs/mcp). Code examples for both are on the [developer page](https://qurangallery.com/docs/home/quran-api-and-mcp-server-for-developers). To give these help pages to ChatGPT or Claude, see [Use the help pages with an AI assistant](https://qurangallery.com/docs/home/use-with-an-ai-assistant). Questions or requests? Reach us through the [contact page](https://qurangallery.com/contact). ## Legal pages The fine print lives on three pages: | Page | What it covers | Address | | ---------- | --------------------------------------------------------- | ------------------------------------------------------------------ | | Terms | The rules and conditions for using the platform. | [qurangallery.com/terms](https://qurangallery.com/terms) | | Privacy | How we collect, use, and protect your information. | [qurangallery.com/privacy](https://qurangallery.com/privacy) | | Disclaimer | The limitations of AI-generated content and the platform. | [qurangallery.com/disclaimer](https://qurangallery.com/disclaimer) | To learn more about who we are and why we build this, visit [`qurangallery.com/about-us`](https://qurangallery.com/about-us). --- # Quran Gallery Suite: Sync Bookmarks, Notes and Progress Across Devices Source: https://qurangallery.com/docs/home/sync-across-devices > Which Quran Gallery data syncs to your account and which stays on the device, app by app, plus what happens signed out and how to delete it. Quran Gallery has one account for every app. When you sign in, most apps save your data to that account, so it is there on your phone, your laptop and any other browser where you sign in. This page lists what syncs, what stays on the device, and what is missing. ## How to sync There is no sync switch. Sync follows sign-in. 1. Open any app and press **Sign in**. You go to [accounts.qurangallery.com](https://accounts.qurangallery.com). 2. Sign in once. The same session works in every app, as described in [Single sign-on](https://qurangallery.com/docs/accounts/single-sign-on). 3. Sign in the same way on your other device. Your saved data loads there. Signing out of one app signs you out of all of them. See [Single sign-on](https://qurangallery.com/docs/accounts/single-sign-on) for what that means for shared devices. ## What syncs, app by app | App | Syncs to your account when you are signed in | Signed out | | ------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | | [Quran](https://qurangallery.com/docs/quran/bookmarks-and-notes) | Bookmarks, highlights, notes, collections, reading plans, reading goals, reading position, streak and reader settings | You can read. Saving bookmarks and notes needs an account. | | [Listen](https://qurangallery.com/docs/listen/favorites) | Favourite recordings and reciters, playlists, listening history and your Quran challenge | Saved on this device only. When you sign in, they are saved to your account too. | | [Adhkar](https://qurangallery.com/docs/adhkar/tasbeeh-counter) | Tasbeeh goals and counts, favourites and the lists you complete | Tasbeeh goals and counts stay on this device. | | [Prayer](https://qurangallery.com/docs/prayer/tracking) | Prayer and sunnah logs, qaza and fasting tracker, and your prayer settings | Settings are kept in this browser. The tracker saves on this device and is imported when you sign in. | | Madrasah | Memorisation progress | Tied to your account. | | [Chat](https://qurangallery.com/docs/chat/using-chat) | Your conversations | Asking a question needs an account. A shared conversation can be read without one. | | [Studio](https://qurangallery.com/docs/studio/overview) | Designs, with a version kept each time you save | Designs stay in this browser. They do not sync and are not backed up. | | [Rafiq](https://qurangallery.com/docs/rafiq/creating-and-opening-boards) | Synced boards | A quick sketch stays on this device. Reopen it while signed in to move it to your account. | Some details that are easy to miss: - **Adhkar streak and history** are saved in the browser only, signed in or not. The Adhkar progress page can export them as CSV or JSON and import them on another device. See [Tasbeeh counter](https://qurangallery.com/docs/adhkar/tasbeeh-counter). - **Quran notes are private to your account.** See [Quran notes, sync and copying](https://qurangallery.com/docs/quran/notes-and-backup). - **Listen merges what you saved signed out.** When you sign in, items saved on this device are added to your account instead of being replaced. Apps that are not in the table, such as Blog, Docs and Rijal, have nothing to save. Maktabah and Mirath are not listed because this page has not confirmed what they store. ## What happens when you sign out - Your account data stays on your account. Signing out does not delete it. - The browser stops showing it. Sign in again to see it. - Anything you saved on this device while signed out stays in this browser. It is not copied to your account until the app imports it on sign-in, as the table says. - Clearing your browser data removes what is saved only on the device. For a Studio guest design or a Quick sketch, that means it is gone unless you downloaded it. ## Limits - **No single export across apps.** Each app exports only its own data, and no one file holds everything. - **Quran:** bookmarks, highlights, notes and collections as JSON or Markdown, and notes as Obsidian files, one per note. A reading plan's schedule can be downloaded as CSV by its owner. - **Adhkar:** streak and history as CSV or JSON. - **Prayer:** tracking records as CSV or JSON, and zakat as CSV. - **Studio:** a design as an image or design file. - **Not exported:** Quran reading position, streaks and goals, and Listen history. - **No sync with other Quran apps.** Notes written in Quran Gallery stay in Quran Gallery. For a copy of the data held about you, write to support@qurangallery.com. ## How to delete synced data 1. **Delete inside the app.** Remove a bookmark or note in the Quran reader, a playlist in Listen, a conversation in Chat, a design in Studio or a board in Rafiq. See the app's page in the table above. 2. **Delete your account.** [Delete your account](https://qurangallery.com/docs/accounts/account-deletion) signs you out everywhere and removes your sign-in details. It does not delete the data the apps saved. Delete that first, or ask support to remove it. 3. **Clear the device.** Clear this site's data in your browser settings to remove what is saved only on the device. To ask for deletion of everything, use the [support form](https://qurangallery.com/support) or write to support@qurangallery.com. The [support and feedback](https://qurangallery.com/docs/home/support-and-feedback) page lists every channel. --- # Quran Gallery Suite: Track Quran Memorization and Reading Progress Source: https://qurangallery.com/docs/home/track-progress > Track Quran reading, listening and practice progress in Quran Gallery: streaks, reading plans, the khatmah challenge, and what syncs to your account. Quran Gallery tracks progress inside the app where you do the activity. There is no single progress page for the whole suite. This page lists which app tracks what, where to see it, and whether it needs an account. For the full list of what syncs, see [Sync across devices](https://qurangallery.com/docs/home/sync-across-devices). This page covers reading, listening and practice progress. It does not cover memorisation (hifz) lessons. ## Which app tracks what | What you want to track | Where | Needs an account? | | ---------------------------------------- | --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Finishing the Quran by a date | [Reading plans](https://qurangallery.com/docs/quran/reading-plans) in Quran | Yes | | Reading streak, activity and verses read | **My Quran** in Quran | No. Saved on this device; the activity heatmap needs an account. | | Listening to the whole Quran | [Quran challenge](https://qurangallery.com/docs/listen/quran-challenge) in Listen | No. Saved on this device, and on your account when you sign in. | | Daily prayers and missed prayers | [Prayer tracking](https://qurangallery.com/docs/prayer/tracking) | No. Saved on this device, and imported to your account on sign-in. | | Dhikr streak and counts | [Adhkar progress](https://qurangallery.com/docs/adhkar/progress-and-settings) | No. Streak and history stay in this browser, signed in or not; the Progress page exports and imports them as CSV or JSON. Tasbeeh goals and counts sync when you sign in. | ## Quran: reading plans A [reading plan](https://qurangallery.com/docs/quran/reading-plans) turns finishing the Quran into a daily schedule. You pick a finish date and any rest days, and the plan works out how many verses to read each day. Open a day, read it, and choose **Mark as Complete**. The plan page shows how many days are done. Custom plans are saved to your account, so making one asks you to sign in. The ready-made reading paths on the Plans page work without an account and track your progress on this device. ## Quran: streak, activity and verses read **My Quran** shows, signed in or not: - your **Streak**, if you turn it on: the number of days in a row you read at least one verse, with two grace days each week; - a count of verses read and how far you are through the Quran. Signed in, it adds an activity heatmap for the last 26 weeks, and your device progress syncs to your account. See [Collections, plans and your journey](https://qurangallery.com/docs/quran/collections-and-plans). ## Listen: the Quran challenge The [Quran challenge](https://qurangallery.com/docs/listen/quran-challenge) (khatmah) helps you hear all 114 surahs in one reciter's voice. You choose the number of days, your listening days and days off. The challenge card shows whether you are on track, today's goal, your streak and a calendar of days listened. You can run up to 3 challenges at once. Listening counts when it is in the challenge's reciter and reading. Your challenges are saved on your device, and also on your account when you sign in. ## Other trackers - **Prayer.** [Prayer tracking](https://qurangallery.com/docs/prayer/tracking) logs your daily prayers and keeps streaks and a count of missed prayers. Signed out, it saves on this device and imports to your account when you sign in. - **Adhkar.** [Progress and settings](https://qurangallery.com/docs/adhkar/progress-and-settings) shows your dhikr streak and a 30-day activity heatmap. It can export your history as CSV or JSON. ## What does not exist - There is no single dashboard that combines progress from every app. - Progress does not move between apps. --- # Quran Gallery Suite: Free in the Browser: No Install, No Ads Source: https://qurangallery.com/docs/home/free-in-the-browser > Quran Gallery runs in any browser: free, no ads, account optional. What works signed out, what works offline, and what sign-in adds. Quran Gallery is a set of web apps. You open them in a browser at `qurangallery.com`, with nothing to download from a store. It is free and carries no ads. An account is optional: you can read and listen first and sign in later. You can check these points yourself before you sign up, and the section below shows how. ## No install, no ads - **Free.** You do not pay to read, listen or use the apps this page names. See [the suite](https://qurangallery.com/docs/home/the-suite) for the full list of apps. - **No charge today.** No app has a paid plan, a subscription or a payment form, and sign-up asks for no card. This page makes no promise about later. - **No ads.** The suite carries no advertising. See the [Quran reader FAQ](https://qurangallery.com/docs/quran/faq) and [Listen](https://qurangallery.com/docs/listen/overview). - **No store-listed mobile apps.** There is no Quran Gallery app in the App Store or Google Play. The apps open in the browser on iPhone, iPad, Android, Mac and Windows. ## What works without an account | App | Without signing in | | ----------------------------------------- | --------------------------------------------------------------------------------------------------- | | [Quran](https://qurangallery.com/docs/quran/faq) | Read the text, translations and tafsir, play audio and use repeat. | | [Listen](https://qurangallery.com/docs/listen/overview) | Everything plays. Favourites, history, playlists and your Quran challenge stay on this device. | | [Adhkar](https://qurangallery.com/docs/adhkar/overview) | Read every dhikr. Your streak and history are saved in this browser. | | [Prayer](https://qurangallery.com/docs/prayer/prayer-times) | Set a location and see the prayer times. Reminders are tied to this browser. | | [Studio](https://qurangallery.com/docs/studio/overview) | Work as a guest. The design stays in this browser, so download it to keep it. | Blog and Docs are open to read. This page has not confirmed what Maktabah, Mirath, Rijal, Madrasah and the other apps allow signed out, so it does not list them. ## What needs an account - **Quran reader:** bookmarks, highlights, notes, collections, [reading plans](https://qurangallery.com/docs/quran/reading-plans) and streaks. - **Chat:** asking a question needs an account. A shared conversation can be read without one. Each account has a monthly budget of credits; when they run out, answers use **Quick** until the next month. Credits are a usage limit, not a payment. Everything else on this page can be used signed out. [Sync across devices](https://qurangallery.com/docs/home/sync-across-devices) lists every app. ## What signing in adds You sign in once at [accounts.qurangallery.com](https://accounts.qurangallery.com), and the same account works in every app. Signed in, the apps save your data to the account, so your bookmarks, notes and progress appear on any device where you sign in. There is no sync switch. See [Sync bookmarks, notes and progress across devices](https://qurangallery.com/docs/home/sync-across-devices) for what syncs, and [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) for the account itself. ## How to check before you sign up You can check the free and no-ads points without creating an account: 1. Open [Quran](https://qurangallery.com/docs/quran/faq) or [Listen](https://qurangallery.com/docs/listen/overview) in your browser. Read a surah or play a recitation without signing in. 2. Read [how to create an account](https://qurangallery.com/docs/accounts/sign-up). The form asks for four things: a name, an email, a password and a confirmed password. It has no card field and no payment step. 3. Read the [privacy policy](https://qurangallery.com/privacy) to see what the suite stores. ## Install it as a web app You can add some apps to your home screen or desktop. Quran, Listen, Adhkar, Prayer and Madrasah each publish a web app manifest, so the browser can offer to install them as a full-screen app. The other apps open in the browser; this page does not promise an install option for them. - **Chrome (Android and desktop):** open the app, open the menu, then choose **Install app** or **Add to Home screen**. - **Safari (iPhone and iPad):** tap **Share**, then **Add to Home Screen**. The [Apps page](https://qurangallery.com/quran/apps) has the steps for each browser. ## What works offline The Quran surah text works offline. Open the Quran once while online. The reader then downloads surahs in the background, with the Arabic script, translations and word-by-word you have selected. Audio, tafsir and other views still need a connection, and a device that has never loaded the Quran cannot start offline. See [Offline reading](https://qurangallery.com/docs/quran/reader). **Daily Adhkar** also works offline. Pages you have opened once reopen without a connection, and counting keeps working. A page you have never opened needs a connection. See [Daily Adhkar](https://qurangallery.com/docs/adhkar/overview). Listen does not keep recordings for offline playback. **Download** gives you an MP3 file that you play in your device's own audio player. See [Listen](https://qurangallery.com/docs/listen/overview). This page makes no offline claim for any other feature. Do not assume it works without a connection. --- # Quran Gallery Suite: Quran API and MCP Server for Developers Source: https://qurangallery.com/docs/home/quran-api-and-mcp-server-for-developers > Build with Quran Gallery data: the Quran API with curl, JavaScript and Python examples, the MCP server, keys, limits and licences. Quran Gallery has two ways to build with its data: a public **Quran API** and an **MCP server** for AI assistants. They cover different data and have different rules, so this page keeps them apart. ## The Quran API The Quran API serves Quran text, translations, tafsirs, search and audio metadata from our own database. Nothing on a reading page depends on a third-party API. The Quran text was loaded from the Quran Foundation Content API (Quran.com); the licence section below gives its terms as recorded. The [developers page](https://qurangallery.com/quran/developers) is the reference. The base address is `https://qurangallery.com/quran/api/quran`. Responses use the snake_case JSON shape of the Quran Foundation content API (v4), so most Quran tools can read them. The developers page documents these endpoints: | Endpoint | What it returns | | ----------------------------- | -------------------------------------------------- | | `/chapters` | All 114 surahs with their metadata | | `/verses/by_chapter/:id` | The verses of one surah | | `/search` | Full-text search across translations | | `/verses/by_key/:key` | Get one verse by its key, for example `2:255` | | `/resources/recitations` | Available reciters and audio files | | `/resources/translations` | Available translations, all languages | | `/resources/tafsirs` | Available tafsirs | | `/tafsirs/:slug/by_ayah/:key` | A tafsir’s commentary on one verse, by tafsir slug | The corpus holds the complete Quran in six script variants, 154 translations, 23 tafsirs, and the page and line position of every word in each mushaf. The endpoints take these query parameters: - `/chapters`: `language`, which changes only the language of the chapter names. - `/verses/by_chapter/:id`: `per_page` (default 50, up to 300), `page`, `words` (set to `false` to leave out word data) and `translations`, a comma-separated list of translation IDs. - `/search`: `q`, `size` (default 20, up to 50), `page` and `language`, which selects the translation language to search. ### Example: list the surahs The request below lists the surahs. The JavaScript and Python versions print the name of the first one. ```bash curl "https://qurangallery.com/quran/api/quran/chapters" ``` ```js const response = await fetch('https://qurangallery.com/quran/api/quran/chapters'); const { chapters } = await response.json(); console.log(chapters[0].name_simple); ``` ```python import requests response = requests.get('https://qurangallery.com/quran/api/quran/chapters') chapters = response.json()['chapters'] print(chapters[0]['name_simple']) ``` The JavaScript and Python versions both print `Al-Fatihah`. The curl request returns all 114 surahs. Trimmed to the first surah and three fields, the response starts like this: ```json {"chapters":[{"id":1,"name_simple":"Al-Fatihah","verses_count":7}]} ``` ### Get every verse The developers page documents no bulk download and no dataset file. To get the whole Quran, request each surah's verses in turn. The loop below reads the list of surahs, follows `next_page` for each one, and ends with all 6,236 verses. ```python import time import requests BASE = "https://qurangallery.com/quran/api/quran" chapters = requests.get(f"{BASE}/chapters").json()["chapters"] verses = [] for chapter in chapters: page = 1 while page is not None: response = requests.get( f"{BASE}/verses/by_chapter/{chapter['id']}", params={"per_page": 300, "page": page, "words": "false"}, ) response.raise_for_status() data = response.json() verses.extend(data["verses"]) page = data["pagination"]["next_page"] time.sleep(0.2) # be polite between requests print(len(verses)) # 6236 ``` ## Keys, limits and licence - **Auth.** The Quran API route checks no key and no sign-in. You do not need an account to call it. - **Browsers.** The API sends no CORS headers, so browser code on another website cannot read the answers; call it from a server or a script. - **Rate limits.** The developers page publishes none for the Quran API. Keep requests modest and cache what you fetch. A full-surah response can be several megabytes; Al-Baqarah measured about 2.9 MB in one test. - **Licence.** There is no single licence for all the data. Each source records its own terms, and the [sources page](https://qurangallery.com/quran/sources) shows them as recorded. For the Quran text, the source is the Quran Foundation Content API (Quran.com), under the Quran Foundation developer terms. The sources page records its redistribution as unresolved, with no ruling yet, and says that redistributing the raw data as a dataset, feed or API needs a separate commercial licence, which is not settled. Tanzil translations (IDs 10001 to 10003) are non-commercial only. Check the source of each translation or tafsir before you reuse it. ## The MCP server The MCP server is for AI assistants. It searches the Shamela library of classical Arabic books and returns verbatim passages with edition, volume and page. It also looks up Quran verses (Hafs from Asim) and fetches the tafsir on a verse. - Address: `https://qurangallery.com/mcp/shamela`. - No key is needed to start. Without a key you get 10 tool calls a minute and 200 a day per IP address. A free key gives 60 requests a minute. Create one in your account under **Developers**; see [API keys](https://qurangallery.com/docs/accounts/api-keys). - Every tool is read-only, and queries must be in Arabic. The MCP docs cover the rest: [what it does](https://qurangallery.com/docs/mcp/overview), [getting started](https://qurangallery.com/docs/mcp/getting-started), [the tool list](https://qurangallery.com/docs/mcp/tools) and [limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). ## What is not available - **Translations through MCP.** The MCP server returns Quran verses and tafsir in Arabic. For translations and word-by-word data use the Quran API. - **Books through the Quran API.** The Quran API does not serve the Shamela library. - **Account data.** Bookmarks, notes and progress are saved through the apps' own endpoints for signed-in users. The developers page does not document them as a public API. - **Recitation audio files.** We list reciters and file addresses. The audio is served by the hosts in those addresses, such as `verses.quran.com`, not by this API. - **Withheld sources.** Text from sources marked as not redistributable is never returned. - **Bulk book export and hadith grading.** The MCP server returns pages one call at a time, with a rate limit, and it never grades a hadith. - **Source code.** The code of the apps and of the MCP server is not public. - **An SDK or an OpenAPI file.** None is documented. ## How to ask for access You do not need to ask for the Quran API or the keyless MCP tier. For a higher MCP limit, create a free key as above. For anything else, such as heavier use, a missing endpoint or a licence question, write to [support@qurangallery.com](mailto:support@qurangallery.com) or use the [contact page](https://qurangallery.com/contact). --- # Quran Gallery Suite: Report a Wrong Text, a Bug or a Feature Request Source: https://qurangallery.com/docs/home/report-a-bug > Report a bug, a wrong Quran or hadith text, or a feature request in Quran Gallery: which form, what to include, and how to follow changes. Quran Gallery has **no public issue tracker**. To report a bug or a wrong text, suggest a feature or ask for help, you use a form on the website or send an email. This page says which to use, what to include, and where to read about changes. ## Where to report | Where | Use it for | | ------------------------------------------------------------------------- | ------------------------------------------------------------- | | [Feedback form](https://qurangallery.com/feedback) | Bug reports, feature requests and ideas. | | [Support form](https://qurangallery.com/support) | A problem with an app or your account that needs a reply. | | Email [support@qurangallery.com](mailto:support@qurangallery.com) | Anything else. It is listed on the [contact page](https://qurangallery.com/contact). | You do not need to be signed in to use either form. If you are signed in, the report is linked to your account. ## There is no public issue tracker You cannot browse other people's reports, vote on them or follow one by number. Every report goes privately to the team by email, and the form also stores it. Nothing you send is published. ## The feedback form Open [`qurangallery.com/feedback`](https://qurangallery.com/feedback) and pick a category: - **Bug Report** — something is broken or wrong. - **Feature Request** — something you want to be able to do. - **Content** — a problem with or a question about the content. - **Design** — how something looks or is laid out. - **General** — anything that fits none of the others. - **Other** Then fill in your name, your email and a message of at least 10 characters (the limit is 5,000). All three are required. Bot protection runs in the background and shows a check only when it needs you to take a step. ## The support form Open [`qurangallery.com/support`](https://qurangallery.com/support). Every field is required: - **Full Name** and **Email** - **Product** — Quran Reader, AI Chatbot, Design Studio, Knowledge Hub, Accounts or Other. - **Priority** — Low, Medium or High. - **Subject** and **Message** ## Report a wrong Quran, hadith or translation text Pick the **Content** category on the [feedback form](https://qurangallery.com/feedback). In the message, include: - **The page address**, from your browser's address bar. - **The text**, copied exactly as the app shows it. - **What the printed source says**: the book or edition you checked, and the place where the text differs. The message box accepts up to 5,000 characters, so the text and the source fit in one message. ## What to include The forms do not record which page you were on, so the message has to say. The feedback form also stores your browser's identifier (its user agent) with the report. - **The app and the page**, ideally the address from your browser's address bar. - **What you did**, step by step, and **what you expected**. - **What happened instead.** An exact error message helps. - **Your device, browser and the language you use the app in.** - **For a feature request, what you are trying to do**, not only the feature you have in mind. Never put your password in a report. ## Will I get a reply? The support page promises a reply within 24-48 hours. The team receives your message by email with your address as the reply-to, so the reply comes to the email you typed into the form. The feedback page does not promise a reply: use the support form if you need one. ## Where fixes are announced The [changelog](https://qurangallery.com/changelog) lists what changed across the apps, month by month and week by week, written for the people who use them. It is a summary, not a tracker: it does not show the status of your own report. For the other pages that cover getting help, see [Help, support & feedback](https://qurangallery.com/docs/home/support-and-feedback). --- # Quran Gallery Suite: Use Quran Gallery Help Pages With an AI Assistant Source: https://qurangallery.com/docs/home/use-with-an-ai-assistant > Give ChatGPT or Claude the Quran Gallery help pages: a Markdown copy of each page, llms.txt, llms-full.txt and the MCP server for classical books. Quran Gallery publishes its help pages as plain Markdown text. You can give them to an AI assistant such as ChatGPT or Claude and ask for help with one task. This page lists the addresses, says which one to use, and says what the files do not cover. ## Which file to give an assistant - **One page.** Add `.md` to the page address. The report page is `/docs/home/report-a-bug`, so its Markdown copy is `/docs/home/report-a-bug.md`. Use this for one task. - **The index.** [/docs/llms.txt](https://qurangallery.com/docs/llms.txt) lists every English help page with its address and a one-line description. Use it when the assistant has to choose the right page first. - **The whole help centre.** [/docs/llms-full.txt](https://qurangallery.com/docs/llms-full.txt) joins the Markdown of every English page into one file. It is large, so use it only when a question spans several pages. - **Each app.** [qurangallery.com/llms.txt](https://qurangallery.com/llms.txt) lists the llms.txt file of every app in the suite, for example [qurangallery.com/quran/llms.txt](https://qurangallery.com/quran/llms.txt) for the Quran reader. Markdown copies exist for English pages only. ## Example prompt Paste this into the assistant, and change the address to the page you need: ```text Use only this page: https://qurangallery.com/docs/home/report-a-bug.md Give numbered steps for my task. If the page does not cover my question, say so instead of guessing. ``` ## Check what your assistant does with a link These files are for you to hand to an assistant. Quran Gallery cannot promise that any assistant opens a link or reads a file by itself. Check what yours does. If it cannot open a link, copy the page text into the chat and send the prompt above with it. ## What not to take from these files The help pages describe how the apps work. They are not a source for Quran text, hadith gradings or rulings, so do not ask an assistant to take those from them. For questions on Islamic texts, use [Quran Gallery Chat](https://qurangallery.com/docs/chat/overview). It searches the Maktabah al-Shamela library and cites the book, author and page for each passage. Chat needs a Quran Gallery account: sign in before you start a conversation. ## The MCP server for classical books The MCP server connects an AI assistant to the Maktabah al-Shamela library of 8,594 classical Arabic works. Read [what it does](https://qurangallery.com/docs/mcp/overview) first. - It returns verbatim Arabic passages with the book, its author and the printed page. - It also looks up Quran verses in Arabic and fetches the tafsir on a verse. For translations, see the [developer page](https://qurangallery.com/docs/home/quran-api-and-mcp-server-for-developers). - Searches must be in Arabic. A query with no Arabic words is rejected, so translate the search terms first. - No account, sign-in or key is needed to start. The endpoint is `https://qurangallery.com/mcp/shamela`. The limits and error codes are on [limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). --- # Accounts & SSO: Your Quran Gallery account Source: https://qurangallery.com/docs/accounts/overview > One account to sign in to every Quran Gallery app — reader, madrasah, prayer times, AI chat, and more. Your Quran Gallery account is a single identity that works across every app in the suite. Sign in once at **accounts.qurangallery.com** and you stay signed in everywhere — the Quran reader, madrasah, prayer times, AI chat, design studio, listening library, adhkar, and more. ## Common tasks - [Sign in to Quran Gallery with email or Google](https://qurangallery.com/docs/accounts/sign-in) - [Create an account](https://qurangallery.com/docs/accounts/sign-up) - [Verify your email](https://qurangallery.com/docs/accounts/email-verification) - [Forgot password / reset password](https://qurangallery.com/docs/accounts/password-reset) - [Change your password](https://qurangallery.com/docs/accounts/change-password) - [Set a password for your Google account](https://qurangallery.com/docs/accounts/set-password) - [Turn on two-factor authentication (2FA)](https://qurangallery.com/docs/accounts/two-factor-authentication) - [Link or unlink your Google sign-in](https://qurangallery.com/docs/accounts/connected-accounts) - [Your profile (name, avatar, email)](https://qurangallery.com/docs/accounts/profile) - [Preferences (theme, language, notifications)](https://qurangallery.com/docs/accounts/preferences) - [See and sign out your active devices](https://qurangallery.com/docs/accounts/active-sessions) - [One Quran Gallery account across every app](https://qurangallery.com/docs/accounts/single-sign-on) - [API keys (Developers page)](https://qurangallery.com/docs/accounts/api-keys) - [Delete your account](https://qurangallery.com/docs/accounts/account-deletion) - [Banned (suspended) accounts](https://qurangallery.com/docs/accounts/banned-accounts) - [Languages and regions](https://qurangallery.com/docs/accounts/languages-and-regions) - [Quran Gallery sign-in problems and fixes](https://qurangallery.com/docs/accounts/troubleshooting) ## What you can do with an account - **Sign in two ways.** Email and password, or Google. You can connect both to the same account and switch between them. - **Pick up where you left off across apps.** Bookmarks, notes, memorisation progress, listening history, and preferences are tied to your account, not to a single device. - **Read in your language.** The whole sign-in and settings experience is translated into English, Arabic, Urdu, Indonesian, Turkish, Bengali, and French. Right-to-left layouts switch automatically for Arabic and Urdu. - **Keep your account secure.** Two-factor authentication, an audit of recent activity, and the ability to sign devices out remotely are all built in. - **Set your defaults once.** Light or dark theme, language, and notification preferences follow you between apps. - **Build with our data.** Generate a personal API key from the Developers page if you want to use Quran Gallery data in your own project. ## How to get there | You want to… | Go to | | ------------------------------------- | ------------------------------------------------------ | | Sign in | `accounts.qurangallery.com` (root URL) | | Create a new account | `accounts.qurangallery.com/signup` | | Change your name, avatar, or email | `accounts.qurangallery.com/settings` → Profile | | Set a password / turn on 2FA | `accounts.qurangallery.com/settings` → Security | | Connect or remove Google | `accounts.qurangallery.com/settings` → Login methods | | See where you're signed in | `accounts.qurangallery.com/settings` → Active sessions | | Change theme, language, notifications | `accounts.qurangallery.com/settings` → Preferences | | Create an API key | `accounts.qurangallery.com/developers` | | Delete your account | `accounts.qurangallery.com/settings` → Danger zone | ## Where your account works Your one account signs you in to every Quran Gallery surface: - **qurangallery.com** — the home suite - **qurangallery.com/quran** — the Quran reader - **qurangallery.com/madrasah** — learn, memorise and teach - **qurangallery.com/prayer** — prayer times and the Hijri calendar - **qurangallery.com/chat** — the AI assistant - **qurangallery.com/studio** — the design studio - **qurangallery.com/listen** — the listening library - **qurangallery.com/adhkar** — daily remembrances - **qurangallery.com/blog**, **/rijal**, **/docs** — public read surfaces Signing out from one app signs you out everywhere — sessions are shared across the suite. ## What follows in these docs The rest of this section walks through every screen and feature you'll see on **accounts.qurangallery.com**, in roughly the order you'll meet them: signing in, signing up, verifying your email, recovering a password, turning on two-factor authentication, managing connected accounts, editing your profile and preferences, controlling devices and sessions, creating API keys, deleting your account, and troubleshooting common problems. ## Next steps - [Open Quran Gallery account](https://accounts.qurangallery.com) - [Sign in to Quran Gallery with email or Google](https://qurangallery.com/docs/accounts/sign-in) - [Create an account](https://qurangallery.com/docs/accounts/sign-up) --- # Accounts & SSO: Sign in to Quran Gallery with email or Google Source: https://qurangallery.com/docs/accounts/sign-in > Sign in to Quran Gallery with your email and password or with Google. One sign-in works in every app, with a 6-digit code if you turned on 2FA. The sign-in page is the front door for the whole Quran Gallery suite. Once you're in, you're in everywhere — there's no separate login for the Quran reader, madrasah, or any other app. ## How to reach the sign-in page Open **accounts.qurangallery.com** in any browser. Any app in the suite will also redirect you here if you try to use a feature that requires being signed in. If a Quran Gallery app sent you to sign in, it adds a `?redirect=...` parameter. After you successfully sign in, you'll be taken back to whatever you were doing. If you typed the URL directly, you'll land on your settings page after sign-in. ## Method 1 — Email and password 1. Type the email you registered with into the **Email** field. 2. Type your password. 3. Solve the "I'm not a robot" challenge if it appears (only on some networks). 4. Click **Sign In**. A few details that often catch people: - **Emails are case-insensitive and dot-insensitive for Gmail.** Whether you signed up as `Salam@gmail.com`, `s.a.l.a.m@gmail.com`, or `salam+quran@gmail.com`, all three sign in to the same account. Quran Gallery treats them as one identity so you can't accidentally create duplicates. - **Passwords are case-sensitive and need at least 8 characters.** There's no maximum length cap that you'll hit in practice. - **If you haven't verified your email yet**, signing in sends you to a "Check your inbox" page instead of letting you continue. Open the verification email and click the link, then come back. - **If you've enabled two-factor authentication**, you'll be asked for a 6-digit code after your password. See [Two-factor authentication](https://qurangallery.com/docs/accounts/two-factor-authentication) for details. ## Method 2 — Continue with Google Click **Continue with Google**, pick the Google account you want to use, and approve the access request. Google sends you back to Quran Gallery already signed in. - If you've never signed in to Quran Gallery before, a new account is created automatically using your Google name, email, and profile photo. Your email is treated as already verified — you don't have to click anything in your inbox. - If you already have a Quran Gallery account with the same email, the Google sign-in attaches to that account. Both methods now work to sign you in. - Different emails will **not** be merged. If your Google email differs from your existing Quran Gallery email, you'll get a clear error rather than two accounts being silently combined. ## What happens if a sign-in fails | You see | What it usually means | | ---------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | | "Invalid email or password" | The email/password combination doesn't match an account. Try [Forgot password](https://qurangallery.com/docs/accounts/password-reset). | | "Please verify your email" | The account exists but you haven't clicked the verification link yet. See [Email verification](https://qurangallery.com/docs/accounts/email-verification). | | "Too many sign-in attempts. Try again in 5 minutes." | You've hit the brute-force protection. Wait 5 minutes, or use [Forgot password](https://qurangallery.com/docs/accounts/password-reset) to recover. | | "Account suspended" | The account has been disabled. See [Banned accounts](https://qurangallery.com/docs/accounts/banned-accounts). | | You're sent to **/2fa/verify** | Your password worked — now enter a 6-digit code from your authenticator app. | | You're sent to **/verify-email** | Your password worked — now click the link in the verification email. | ## Forgot your password? Click **Forgot password?** above the password field. You'll be taken to a page where you can enter your email address and receive a reset link — see [Password reset](https://qurangallery.com/docs/accounts/password-reset). ## Already signed in? If you visit the sign-in page while a valid session already exists in your browser (for example, you signed in earlier on another tab), Quran Gallery detects that and silently redirects you onward. You don't need to sign in twice. ## Staying signed in By default, your session stays valid for 30 days, even if you close the browser. You can sign out manually from the menu at the top right of any Quran Gallery app, or from **Settings → Active sessions** if you want to sign out from a different device — see [Active sessions](https://qurangallery.com/docs/accounts/active-sessions). ## Next steps - [Open Quran Gallery account](https://accounts.qurangallery.com) - [Verify your email](https://qurangallery.com/docs/accounts/email-verification) - [Create an account](https://qurangallery.com/docs/accounts/sign-up) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: Create an account Source: https://qurangallery.com/docs/accounts/sign-up > How to register a new Quran Gallery account with email and password, and what each field requires. The signup page asks for the smallest set of details we can: a display name, an email address, and a password. You can also skip the form entirely and create an account by signing in with Google — see [Sign in](https://qurangallery.com/docs/accounts/sign-in). ## How to reach the signup page Open **accounts.qurangallery.com/signup**, or click **Sign Up** at the bottom of the sign-in page. ## Filling out the form | Field | What to put | | -------------------- | ---------------------------------------------------------------------------------------- | | **Name** | The name you want to be greeted by. Shown in the topbar, on shared posts, etc. | | **Email** | An address you can read mail at right now — you'll need to click a verification link. | | **Password** | At least 8 characters. No upper-bound you'll hit in practice. No required character mix. | | **Confirm password** | Must match the password field exactly. Catches typos before you submit. | You may also see a **Cloudflare Turnstile** widget ("Verifying you're human"). It usually resolves itself within a second or two — no clicks needed. On suspicious networks it may ask for one click. This is the only bot check; there is no CAPTCHA with squiggly letters. When you press **Create Account**, the form validates everything locally first (fields filled, password long enough, passwords match), and only sends a request once those checks pass. ## What the name field accepts Quran Gallery's name validator was designed to work across writing systems, not just Latin script. The rules: - **Allowed:** Any letter in any script — Arabic, Urdu, Bengali, Persian, Latin, Cyrillic, Han, and so on. Spaces, hyphens, apostrophes (straight `'` or typographic `'`), periods, and middle dots are also allowed inside the name. - **Allowed for joining scripts:** Zero-width joiner / non-joiner characters (needed for proper rendering of Urdu, Bengali, and Persian names). - **Blocked:** Digits, emoji, HTML/code characters, control characters. Names can't begin or end with punctuation. - **Auto-cleaned:** Repeated spaces, repeated hyphens or apostrophes, and zero-width spaces are collapsed automatically — `John Smith` becomes `John Smith` before validation. - **Maximum length:** 100 characters after cleanup. If your name doesn't go through, the most common cause is a stray number or emoji. Drop those characters and try again. ## What the email field accepts - **Anything that looks like a real address.** Quran Gallery doesn't enforce a domain allowlist. - **No disposable / temp-mail providers.** Burner inboxes like 10minutemail, mailinator, guerrillamail, and so on are rejected on signup. Use Gmail, Outlook, iCloud, a work address, or any other permanent inbox. - **No duplicates across cosmetic variants.** If `salam@gmail.com` already exists, signing up as `S.A.L.A.M@gmail.com` or `salam+anything@gmail.com` will be treated as the same email and rejected. ## What happens after you submit 1. The account is created in our database with `email_verified` set to `false`. 2. A verification email is sent immediately to the address you entered. The subject line is **"Verify your email — Quran Gallery"**. 3. The page redirects you to **accounts.qurangallery.com/verify-email**, which shows a "Check your inbox" screen and offers a resend button on a one-minute cooldown. 4. You click the link in the email. Your email is marked verified, you're signed in automatically, and you land on the **Email verified** confirmation page. Until you click the verification link, you cannot sign in with the password you just chose — you'll be redirected back to the verify-email page on every attempt. This stops anyone from using your email address to sign up and pretend to be you. ## Signing up with Google instead If you'd rather not pick a password, click **Continue with Google** on the sign-in page. The first time you do so, a Quran Gallery account is created using the name, email, and avatar from that provider — email verification is skipped because the provider already vouched for you. See [Sign in](https://qurangallery.com/docs/accounts/sign-in) for the full walk-through. You can always add a password later from **Settings → Login methods → Set up** — see [Set a password](https://qurangallery.com/docs/accounts/set-password). ## Rate limits Signups from the same IP address are capped at **5 attempts per 15 minutes**. If you hit that limit, you'll see "Too many requests" and need to wait it out — usually a sign someone is bulk-creating accounts from your network, or that your earlier signup just hasn't refreshed. ## Common reasons signup fails | Error | What to do | | ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | | "Temporary email addresses are not allowed" | Use a permanent inbox — Gmail, Outlook, iCloud, your work email, etc. | | "Name can only contain letters, spaces, hyphens, and apostrophes" | Remove numbers, emoji, or punctuation that isn't in the allowed set. | | "User already exists" | The email is already registered. Try [Sign in](https://qurangallery.com/docs/accounts/sign-in) or [Forgot password](https://qurangallery.com/docs/accounts/password-reset). | | "Password must be at least 8 characters" | Make the password longer. | | "Passwords don't match" | The Password and Confirm Password fields differ — re-type the second one. | | "Verification required" (Turnstile failed) | Refresh the page and try again. | ## Next steps - [Open sign-up page](https://accounts.qurangallery.com/signup) - [Sign in to Quran Gallery with email or Google](https://qurangallery.com/docs/accounts/sign-in) - [Verify your email](https://qurangallery.com/docs/accounts/email-verification) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: Verify your email Source: https://qurangallery.com/docs/accounts/email-verification > Why email verification matters, how to find the email, and how to resend it if it never arrived. After you create an account with an email and password, Quran Gallery sends you a verification link. Until you click it, your account is created but **dormant** — you can't sign in, and nothing under your account can be read or written. ## Why we do this Email verification proves the address you typed actually belongs to you. Without it, someone could sign up using your email and impersonate you, or you could mistype your address during signup and silently lock yourself out. One click is the cost of that guarantee. If you signed in with **Google**, you don't see any of this — the provider has already verified the email and we trust them. This step only applies to email-and-password signups, and to the same flow when you change your email later. ## What the email looks like - **From:** Quran Gallery `` - **Subject:** Verify your email — Quran Gallery - **Body:** A short message and a large teal **Verify Email Address** button. Below that, a plain-text URL fallback in case the button doesn't render. The link inside the email is single-use and expires in **one hour**. Clicking it does three things at once: it marks your email as verified, signs you in to the browser tab that opened it, and redirects you to the **Email verified** confirmation page. ## I never got the email Try these in order: 1. **Check spam, promotions, or filtered folders.** Gmail in particular often filters first-message senders into the Promotions tab. 2. **Wait 60 seconds**, then click **Resend verification email** on the verify-email screen. The button is disabled until the cooldown counter ticks down — this is to stop accidental double-sends. 3. **Re-check the address you typed.** If you mistyped your email on signup, the link is in someone else's inbox. The fastest fix is to create a new account with the correct email and let the original dormant account time out. 4. **Whitelist the sender** if your inbox provider lets you. Add `hello@re-notifications.qurangallery.com` and `noreply@qurangallery.com` to your contacts or allowlist. 5. **Check whether `qg.local` / disposable services were blocked.** Quran Gallery rejects throwaway email providers — if you used one of those, no email was ever sent. Re-sign-up with a permanent address. After three resends in 15 minutes, the server tells you to try again later. The cooldown protects both your inbox and our reputation as a sender. ## Clicking the link When you click the **Verify Email Address** button: - A new tab opens to **accounts.qurangallery.com**. - Your account's `email_verified` flag is flipped to true. - A session cookie is set so you're now signed in on that tab. - You land on the **Email verified** screen with a **Continue to your account** button. If the link has expired (more than an hour after it was sent) or has already been used once, you'll get an error. Go back to **/verify-email**, click **Resend**, and use the new link. ## Verifying when changing your email The same screen and the same email template are used in step 1 of the [email-change flow](https://qurangallery.com/docs/accounts/profile#change-your-email). The difference: step 1 is sent to your **current** email to authorise the change, and step 2 is sent to your **new** email to prove you own it. You have to click both. ## Already have an account? The bottom of the verify-email page links back to **Sign in** and **Forgot password**, in case you came here by mistake — maybe you actually have an existing verified account and just need to reset your password. ## Next steps - [Open email verification page](https://accounts.qurangallery.com/verify-email) - [Create an account](https://qurangallery.com/docs/accounts/sign-up) - [Forgot password / reset password](https://qurangallery.com/docs/accounts/password-reset) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: Forgot password / reset password Source: https://qurangallery.com/docs/accounts/password-reset > How to recover your account if you forget your password — request a reset link and choose a new password. If you can't remember your password, you can request a reset link by email. It's a two-page flow: ask for the link, then set a new password from the link. ## Step 1 — Request a reset link 1. From the [Sign in](https://qurangallery.com/docs/accounts/sign-in) page, click **Forgot password?** above the password field. You land on **accounts.qurangallery.com/forgot-password**. 2. Type the email address you registered with. 3. Solve the Turnstile challenge if it shows up. It usually resolves automatically. 4. Click **Send Reset Link**. After you click submit, you'll see a confirmation screen ("Check your email") **whether or not the address actually has an account**. That's intentional — we don't tell strangers which emails are registered, because that would leak the user list. If you typed an unregistered email, simply nothing happens; if you typed the right one, an email is on its way. The same Gmail-style normalisation that signup uses also applies here, so `S.A.L.A.M@gmail.com` and `salam+filter@gmail.com` will both resolve to the original `salam@gmail.com` account. ### Rate limits Reset requests are capped at **3 per 15 minutes per IP**. After that, you'll need to wait — usually a sign that you've requested several links already, in which case just use the most recent one from your inbox. ## Step 2 — Set a new password Open the email titled **"Reset your password — Quran Gallery"**. Click the **Reset Password** button. The link is good for **one hour** and can only be used once. On the page that opens: 1. Type a new password — at least 8 characters. 2. Re-type it in **Confirm Password**. 3. Solve the Turnstile challenge if shown. 4. Click **Reset Password**. If everything matches, you'll see a green confirmation and be redirected to the sign-in page automatically after a few seconds. Use the new password from there. If the reset link has expired or has already been used, the page will tell you so — go back to the [forgot-password page](#step-1--request-a-reset-link) and request a fresh one. ## What gets reset, what doesn't - **Reset:** your password (the new one immediately replaces the old). - **Not touched:** your name, email, avatar, two-factor settings, connected Google accounts, API keys, preferences, sessions, or any data in the Quran reader, madrasah, etc. A password reset is not a session-revocation. If you suspect someone else has signed in as you, you should **also** sign out other devices from **Settings → Active sessions → Sign out all other sessions** after resetting — see [Active sessions](https://qurangallery.com/docs/accounts/active-sessions). ## I signed up with Google — does this apply to me? If you only ever signed in through Google, you don't have a Quran Gallery password to reset. The reset flow won't help you — instead, go back to the [Sign in](https://qurangallery.com/docs/accounts/sign-in) page and click **Continue with Google**. You can add a password to your account at any time from **Settings → Login methods → Set up** — see [Set a password](https://qurangallery.com/docs/accounts/set-password). ## What if I no longer have access to my email? There is currently no self-service way to change the email address on an account you can't sign in to. If you've lost access to the inbox you signed up with, contact support at the address listed on [accounts.qurangallery.com](https://accounts.qurangallery.com) — we may be able to help if you can prove ownership of the account. ## Common errors | Error | Fix | | ---------------------------------------- | ------------------------------------------------------------------------------ | | "This link has expired" | Reset links live for one hour. Request a new one. | | "This link has already been used" | Each reset link is one-shot. Request a new one if you need to reset again. | | "Passwords don't match" | The two fields differ — re-type the second one. | | "Password must be at least 8 characters" | Make the password longer. | | "Too many requests" | You've hit the 3-per-15-minutes cap. Wait, then use the most recent link sent. | ## Next steps - [Open password reset page](https://accounts.qurangallery.com/forgot-password) - [Verify your email](https://qurangallery.com/docs/accounts/email-verification) - [Change your password](https://qurangallery.com/docs/accounts/change-password) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: Change your password Source: https://qurangallery.com/docs/accounts/change-password > How to change your Quran Gallery password while you are signed in, from the Settings page. If you can sign in and just want to rotate your password — periodic change, suspected compromise, sharing-a-device cleanup — you can do it from your settings without going through email. > This page is for users who **already have a password** on their account. If you signed up with Google and have never set one, see [Set a password](https://qurangallery.com/docs/accounts/set-password) instead. If you've forgotten your password and can't sign in, see [Forgot password / reset password](https://qurangallery.com/docs/accounts/password-reset). ## How to change your password 1. Sign in at **accounts.qurangallery.com**. 2. Open **Settings** (the topbar's profile menu → **Manage account**, or go directly to `/settings`). 3. Scroll to the **Change Password** section. 4. Click **Change Password**. A dialog appears. 5. Fill in: - **Current password** — what you sign in with now. - **New password** — at least 8 characters. - **Confirm new password** — must match the new password exactly. 6. Click **Change Password** in the dialog. You'll see a green toast confirming the change. The new password takes effect immediately. ## What stays the same Changing your password does **not** sign you out of any device — including the device you're using right now. All your active sessions stay valid. If you want to sign everyone else out as a precaution, do it explicitly from **Settings → Active sessions → Sign out all other sessions**. See [Active sessions](https://qurangallery.com/docs/accounts/active-sessions). Two-factor authentication is also unaffected. If 2FA was on, it stays on — your TOTP secret and backup codes don't change. ## What if I'm not sure my old password is right? If you're uncertain, **don't keep typing**. The change-password endpoint is rate-limited at 5 attempts per 15 minutes per IP, and if you trip it you'll be temporarily blocked from changing your password from this network. Use the [Forgot password](https://qurangallery.com/docs/accounts/password-reset) flow instead — it doesn't require you to know the old password. ## Common errors | Error | What it means | | -------------------------------------------- | -------------------------------------------------------------------------------------- | | "Invalid current password" | The **Current password** field doesn't match. Try [Forgot password](https://qurangallery.com/docs/accounts/password-reset). | | "New password must be at least 8 characters" | Make the new password longer. | | "Passwords don't match" | The new password and confirmation don't match. | | "Too many requests" | You've hit the rate limit. Wait 15 minutes. | ## Good password hygiene - Use a unique password for Quran Gallery — not one you've reused on other sites. - A password manager (1Password, Bitwarden, Apple Keychain, your browser's built-in one) is the simplest way to keep that practice up. - If you ever notice an unfamiliar session in **Settings → Active sessions**, change your password and sign out other devices immediately. - Consider turning on [two-factor authentication](https://qurangallery.com/docs/accounts/two-factor-authentication) so a leaked password alone isn't enough to sign in. ## Next steps - [Open account settings](https://accounts.qurangallery.com/settings) - [Forgot password / reset password](https://qurangallery.com/docs/accounts/password-reset) - [Set a password for your Google account](https://qurangallery.com/docs/accounts/set-password) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: Set a password for your Google account Source: https://qurangallery.com/docs/accounts/set-password > How to add a password to a Quran Gallery account created with Google, so you can also sign in with email and password. If your Quran Gallery account was created by **Continue with Google**, you've never had to type a password. That's perfectly fine — those sign-in methods will keep working forever — but you may want to add one anyway: - as a backup so you don't lose access if your Google account is unavailable; - so you can enable **two-factor authentication**, which requires having a password set; or - so you can sign in on a device that doesn't have Google handy. This page walks through that one-time setup. Once it's done, the regular [Change password](https://qurangallery.com/docs/accounts/change-password) flow takes over. ## How to set a password for the first time 1. Sign in to **accounts.qurangallery.com** with Google. 2. Open **Settings**. 3. In the **Login methods** card, find the **Email & Password** row. It will show **Not connected**. 4. Click **Set up** on the Email & Password row, or scroll down to the **Security** card where the same flow appears as **Set a Password → Send Verification Code**. Then walk through the three sub-steps below. ### Sub-step 1 — Receive a verification code When you click **Set up**, Quran Gallery emails a **6-digit code** to your account email. The subject line is **"Your verification code — Quran Gallery"**. The code is valid for **10 minutes**. We send a code (not a magic link) because the code path lets us verify it on the same device you're already signed in on — no tab juggling. ### Sub-step 2 — Enter the code A code-entry panel appears on the page with a 6-digit input field. Type or paste the code from the email; pasting fills all six characters at once. If the code: - **Matches** — the panel turns green and shows fields for setting your new password. - **Doesn't match** — you'll see "Invalid code" and a remaining-attempts counter. You get **5 attempts** before the code is locked out. - **Has expired** (10 minutes have passed) — click **Resend code** to get a fresh one. There's a 60-second cooldown between resends. ### Sub-step 3 — Choose your password Once the code is verified, a green confirmation banner replaces the code input and two password fields appear: - **New Password** — at least 8 characters. - **Confirm Password** — must match. Click **Set Password**. You'll see a green confirmation, and your account now has both login methods available: Google and Email & Password. You can sign out and sign back in with any of them. ## What if I keep getting "Invalid code"? After 5 wrong attempts, password setup is locked out on a sliding tier: 1. First lockout: **5 minutes**. 2. Second: **15 minutes**. 3. Third: **1 hour**. 4. Fourth and beyond: **1 day**. The page shows how long you have to wait. The tier resets after a successful setup. This protection is per-account, not per-IP, so trying a different network won't unlock you faster — you just have to wait out the timer. ## Why password setup needs email verification Your Google sign-in vouched for your email at the time you created the account, but anything could have changed since: the email could have been transferred, your Google account could be compromised, you could be signing in from a shared device. Asking you to prove you still own the inbox at the moment of setting a password closes that window. It's the same logic as the verification email you got when you first signed up with a password. ## After setup — what changes - Both of your login methods (Google, Email & Password) sign in to the **same** account. No duplicates. - You can now turn on [two-factor authentication](https://qurangallery.com/docs/accounts/two-factor-authentication). - Future password changes go through the simpler [Change password](https://qurangallery.com/docs/accounts/change-password) dialog — no email codes needed because you'll be entering your current password. - You can disconnect Google without locking yourself out, because the password remains. See [Connected accounts](https://qurangallery.com/docs/accounts/connected-accounts). ## Next steps - [Open account settings](https://accounts.qurangallery.com/settings) - [Change your password](https://qurangallery.com/docs/accounts/change-password) - [Turn on two-factor authentication (2FA)](https://qurangallery.com/docs/accounts/two-factor-authentication) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: Turn on two-factor authentication (2FA) Source: https://qurangallery.com/docs/accounts/two-factor-authentication > Turn on 2FA with an authenticator app, save your backup codes, and enter the 6-digit code when you sign in to Quran Gallery with your password. Two-factor authentication adds a second sign-in step beyond your password. Even if someone else learns your password, they can't sign in unless they also have the 6-digit code from your authenticator app — which lives on your phone, not in your email. > **Prerequisite:** 2FA requires a password on your account. If you signed up with Google and have never set one, first follow [Set a password](https://qurangallery.com/docs/accounts/set-password). ## What you need - An **authenticator app** on your phone. Any standard TOTP app works: - Google Authenticator (iOS / Android) - 1Password, Bitwarden, Apple Passwords (Keychain), Microsoft Authenticator - Aegis (Android), Raivo OTP (iOS), Authy, and so on - A safe place to keep **10 backup codes** — a password manager is ideal. ## Turning 2FA on 1. Sign in to **accounts.qurangallery.com** and open **Settings**. 2. Scroll to the **Security** section. 3. Click **Enable 2FA**. A small dialog asks you to confirm your password — this is to make sure it's actually you, not someone who got hold of an unattended session. 4. After confirmation, a QR code appears together with the text secret and a verification input. ### Sub-step 1 — Scan the QR code Open your authenticator app and add a new account by scanning the QR code on screen. The entry will appear in the app as **Quran Gallery** with your email beside it. **Can't scan?** Under the QR code is a text **secret key** — copy it and paste it into your authenticator app's "enter setup key manually" option. ### Sub-step 2 — Save your backup codes The page shows 10 ten-character backup codes laid out in a 2- or 3-column grid. **Copy them to a safe place now.** You won't see them again after you dismiss this screen. These codes are your lifeline if you lose your phone. Each one works exactly **once** and can be used in place of a normal authenticator code at sign-in. Treat them like passwords — keep them in a password manager or printed somewhere offline, not in plain text in your email. Click **Copy backup codes** to put all ten on your clipboard, then click **I've saved my backup codes**. ### Sub-step 3 — Verify the first code Type the current 6-digit code from your authenticator app into the verification box. If it matches, 2FA is now active. ## What changes after you enable 2FA - Every future sign-in with your password takes you through a **/2fa/verify** page that asks for a 6-digit code from your authenticator app. - Google sign-in **doesn't** trigger 2FA — Google handles its own two-factor checks. So if you've enabled 2FA on Quran Gallery but sign in via Google, you won't be asked for a code by Quran Gallery (you may still be asked by Google). - API key requests aren't affected — API keys carry their own authentication and don't go through the password flow. - Your active sessions are **not** signed out. If you want to require 2FA on all your existing devices immediately, sign out other sessions from **Settings → Active sessions → Sign out all other sessions**. ## Signing in with 2FA After you type your password on the sign-in page, you'll land on **/2fa/verify**: 1. Open your authenticator app and find the 6-digit code under **Quran Gallery**. The code refreshes every 30 seconds. 2. Type the code (no spaces) into the input box. 3. Click **Verify**. If the code is wrong, you'll see "Invalid code" and can try again. After **5 failed attempts in 5 minutes**, sign-in is rate-limited from your IP — wait and try again. ## Using a backup code instead If you don't have your phone, click **Use backup code instead** at the bottom of the 2FA page. Type one of your saved 10-character backup codes (no spaces) and click **Verify**. Once a backup code has been used, it's consumed forever. After you sign in, immediately go to **Settings → Security** to regenerate a fresh set of codes — see "Regenerating backup codes" below. ## Disabling 2FA 1. **Settings → Security → Disable 2FA**. 2. Enter your password to confirm. 3. Click **Confirm Disable**. Your TOTP secret and backup codes are deleted from your account. You'll no longer be asked for a code at sign-in. You can re-enable 2FA later — you'll generate a new QR code and a new set of backup codes. ## Regenerating backup codes To rotate the backup codes (recommended after you've used one, or if you suspect a leak): 1. **Settings → Security → Disable 2FA**, enter your password. 2. **Settings → Security → Enable 2FA**, re-scan the same or a new account in your authenticator, save the **new** backup codes. A direct "rotate codes" button is not currently exposed — the disable-and-re-enable round trip is the supported path. ## I've lost my phone and my backup codes If you can't sign in at all because both your authenticator and backup codes are gone, contact support. Recovery requires proof that you own the account; allow a few days. Saving backup codes to a password manager when you first turn on 2FA prevents this scenario. ## Common errors | Error | What it means | | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | "Invalid code" | The 6 digits don't match what the server expects. Check your phone's clock is correct — TOTP is time-based, so a clock that's more than ~90 seconds off will fail. | | "Code has expired" | The 30-second window closed mid-submit. Use the next code shown on your authenticator. | | "Too many requests" | 5 failed verifications in 5 minutes. Wait, then try again. | | "Backup code already used" | Each code is one-shot. Use a different one. | | "Incorrect password" | The Enable/Disable dialog requires your password, not your 2FA code. | ## Next steps - [Open account settings](https://accounts.qurangallery.com/settings) - [Set a password for your Google account](https://qurangallery.com/docs/accounts/set-password) - [Link or unlink your Google sign-in](https://qurangallery.com/docs/accounts/connected-accounts) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: Link or unlink your Google sign-in Source: https://qurangallery.com/docs/accounts/connected-accounts > Link Google to your Quran Gallery account so you can sign in with it as well as your password, and unlink it when you want to. Keep at least one method. The **Login methods** card in your settings lets you mix and match the ways you sign in. You can have either or both of these: - **Email & Password** — your password-based login. - **Google** — sign in with your Google account. Connecting more than one is a good idea. It gives you a backup if one provider has an outage, and it's the only way to keep using one specific method while removing another safely. ## How the Login methods card looks After you sign in, open **Settings**. The **Login methods** card lists both methods stacked vertically. Each row shows whether it's currently **Connected** or **Not connected**, and which email or account ID is on file. A signed-in OAuth-only account (no password set) shows the same card with the **Email & Password** row marked **Not connected** and a **Set up** button — that's the path documented in [Set a password](https://qurangallery.com/docs/accounts/set-password): Buttons on each row let you: - **Set up** / **Connect** — start the provider's sign-in flow and attach it to your account. - **Change** — disconnect and immediately re-connect (used when you want to switch which Google account is attached). - **Disconnect** (the unlink icon) — remove the provider from your account. ## Connecting Google 1. **Settings → Login methods → Google → Connect Google**. 2. A Google sign-in window opens. Pick the account you want to attach and approve the access. 3. You're returned to Settings. The Google row now shows **Connected** with the account's email. Quran Gallery will accept future **Continue with Google** sign-ins for this account. **The Google account's email must match your Quran Gallery account email.** If you pick a Google account with a different email, the connect attempt is rejected to prevent silent identity merging. To use a different Google email, change your Quran Gallery email first (see [Profile](https://qurangallery.com/docs/accounts/profile)), then connect. ## Changing a connected provider To switch from one Google account to another without temporarily disconnecting: 1. **Settings → Login methods → Google → Change**. 2. The current connection is removed, then the provider's sign-in page opens immediately so you can pick a different account. This is shorter than disconnect → reconnect but does the same two things. You'll need to have at least one **other** login method connected (Password or the other provider), otherwise the change is rejected to stop you locking yourself out. ## Disconnecting a provider 1. **Settings → Login methods → Google**. 2. Click the unlink icon to the right of **Change**. 3. A confirm/cancel prompt appears. Click **Disconnect**. After disconnect, **Continue with [provider]** will no longer sign you in to this account. Your data is untouched — only the link from this third-party identity to your Quran Gallery account is removed. ### The last-method rule You **cannot disconnect your only login method**. If Google is the only thing connected, the Disconnect button is disabled with a tooltip telling you to set up another method first. Why? Without any connected method, you'd have no way to sign in next time. The same rule applies if Google is your only method. There must always be at least one way to get back in. ## What happens to my data when I disconnect? Disconnecting Google: - Does **not** delete your Quran Gallery account. - Does **not** delete your name, avatar, email, preferences, bookmarks, notes, hifz progress, listening history, or anything else. - Does **not** affect your active sessions — you stay signed in everywhere you currently are. - **Does** remove the access token Quran Gallery had for that provider. If you want to fully wipe your account, see [Delete your account](https://qurangallery.com/docs/accounts/account-deletion). ## Common errors | Error | What it means | | --------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | | "Account already linked to a different user" | The Google account is connected to a different Quran Gallery account. Sign out of that one first. | | "Different emails not allowed" | The provider's email doesn't match your Quran Gallery email. Change one or the other to match. | | "You can't disconnect your only login method" | Set up another login method first, then come back to disconnect this one. | | "Could not start the connection" | The connect popup was blocked, or the network call timed out. Re-try. | ## Next steps - [Open account settings](https://accounts.qurangallery.com/settings) - [Turn on two-factor authentication (2FA)](https://qurangallery.com/docs/accounts/two-factor-authentication) - [Your profile (name, avatar, email)](https://qurangallery.com/docs/accounts/profile) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: Your profile (name, avatar, email) Source: https://qurangallery.com/docs/accounts/profile > How to change your display name, upload an avatar, and change the email address on your account. The **Profile** section at the top of your settings is where you control what other people see about you — your name and avatar — and where you change the email address tied to your account. ## How to get to your profile Sign in to **accounts.qurangallery.com** and open **Settings**. The **Profile** card is the first one on the page; you can also jump to it via the left-rail link **Profile** (visible on wider screens) or by appending `#profile` to the URL. ## Change your display name 1. Type the new name into the **Display name** field. 2. Click **Save changes**. A green toast confirms the save, and the new name appears in the topbar across every Quran Gallery app within a few minutes (faster on a refresh). The validation rules are the same as on signup — any Unicode script is allowed, plus spaces, hyphens, apostrophes, periods, and middle dots. Digits and emoji are blocked. See [Create an account → What the name field accepts](https://qurangallery.com/docs/accounts/sign-up#what-the-name-field-accepts) for the full rules. ## Upload or remove your avatar The circular profile photo on the left of the Profile card is your avatar. It shows up next to your name in the topbar and on any feature that displays user identities (comments, shared posts, etc.). ### Upload 1. Click the avatar (or the small camera icon at its corner). 2. Pick an image file. Quran Gallery accepts **JPEG, PNG, WebP, or GIF**, up to **5 MB**. 3. The cropper dialog opens with the image previewed inside a circular mask. The cropper gives you several controls before you commit: - **Drag the image** inside the circle to reposition it. Whatever falls outside the circle is trimmed off. - **Zoom slider** at the bottom — drag right to zoom in (crop tighter on the centre), drag left to zoom out (show more of the image). - **Fill & crop** — one-click auto-fit that scales the image so it fully covers the circle. Useful for transparent PNGs or photos with empty corners. - **BG (background)** — six brand-aligned colour swatches (white, ink black, parchment, dark muted, primary teal, and ink-150) plus a custom colour picker on the right. The chosen colour fills any transparent or empty space inside the circle. - **Reset position** — undoes any drag/zoom you've done in this session and returns the image to its starting fit. - **Cancel** — closes the dialog without uploading. Your existing avatar (if any) is unchanged. - **Upload** — commits the cropped result. The dialog closes and the new avatar appears immediately in the topbar and on every Quran Gallery app within a few minutes. The image is automatically: - **Resized to 256×256** pixels — bigger uploads are scaled down server-side, smaller ones aren't upscaled. - **Re-encoded as JPEG** at high quality (~95%) — the final file is usually under 100 KB. - **Hosted at our R2 storage endpoint** with cache-busting so changes appear instantly across the suite. ### Remove If you've already uploaded an avatar and want to go back to your default initials, click **Remove avatar** under the camera. A small confirmation toast appears once the avatar is gone. ### What if I have a Google avatar? If you've never uploaded your own image, Quran Gallery uses the avatar from your Google account, when one is available. Uploading replaces it; removing yours falls back to the provider's avatar (or your initials if none). ### Avatar troubleshooting | Error | Fix | | ------------------------------------------- | ---------------------------------------------------------------------------------- | | "Invalid file type" | Re-export the image as JPEG, PNG, WebP, or GIF. | | "File too large. Maximum size is 5MB" | Resize or compress the image before uploading. | | "Failed to process image" | The file is malformed or corrupt. Try a different one. | | Avatar still shows the old image after save | Hard-reload (Cmd+Shift+R on Mac, Ctrl+Shift+R on Windows/Linux) to bust the cache. | ## Change your email Your account email is what verification, reset, and 2FA notifications go to. Changing it is a deliberate two-step process — we send confirmation links to **both** the old and the new inbox to make sure you control both. ### Step 1 — Ask to change 1. In the Profile card, find the email row. Click **Change** next to your current email. 2. A small inline form appears with the current email at the top, a field for the new address, and **Send Verification** / **Cancel** buttons. 3. Type your new email address in the field. 4. Click **Send Verification**. Quran Gallery emails a **confirmation link** to your **current** (old) email. The subject is **"Confirm email change — Quran Gallery"**. While step 1 is pending, the email row shows a banner: **"Verification sent — Check ``"**. The banner survives across devices — if you submitted on your laptop, you can finish the flow on your phone. > The first email is intentionally sent to your **old** address. The point is to prove the person changing the email is the same person who currently has access to the account — not someone who hijacked your session. ### Step 2 — Verify the new inbox Open the confirmation email in your old inbox and click **Confirm Email Change**. Quran Gallery then sends a **second** email — this time to your **new** address — with the subject **"Verify your new email — Quran Gallery"**. The settings banner updates to: **"Step 2 — Verify ``"**. Open the second email and click **Verify This Email**. Your account email is now switched. The banner disappears, all your previous sessions stay valid (you're not signed out), and future verification and reset emails are sent to the new address. ### Cancelling a pending email change There's no explicit cancel button — the pending request **expires after one hour** if you don't complete step 2. You can also just ignore both emails and the change won't go through. ### Rate limits Email-change requests are capped at **3 per 15 minutes per IP**. The same disposable-email check from signup applies: temp-mail addresses are rejected for the new email. ### When I can't change my email | Situation | What's possible | | ----------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | | Your only login method is Google (no password) | The email is "managed" by that provider — change it on Google first. The email row is read-only and tells you this. | | You don't have access to your **current** inbox | Step 1 sends to the current address. Without it, you can't authorise the change. Contact support. | | You don't have access to the **new** inbox | Step 2 fails. Use a different new address. | ## Next steps - [Open account settings](https://accounts.qurangallery.com/settings) - [Link or unlink your Google sign-in](https://qurangallery.com/docs/accounts/connected-accounts) - [Preferences (theme, language, notifications)](https://qurangallery.com/docs/accounts/preferences) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: Preferences (theme, language, notifications) Source: https://qurangallery.com/docs/accounts/preferences > Set your default theme, language, and notifications — once, and your choice follows you across every Quran Gallery app. Preferences are small settings that follow your account around the whole Quran Gallery suite. Change them once on the accounts page and the Quran reader, madrasah, prayer times, AI chat, and every other app picks up the same value. ## Theme Quran Gallery supports a light, dark, and system theme. - **Light** — bright background, dark text. - **Dark** — dark background, light text. Easier on the eyes at night and saves battery on OLED screens. - **System** — follows your device's setting. If you've told your OS to switch to dark at sunset, Quran Gallery follows along automatically. You can toggle the theme from the **sun/moon icon** in the topbar of any app, or set it explicitly from your account: the choice is the same setting in both places. The chosen theme persists for your account, not just the device. Sign in on a new browser and your theme follows you. ## Language Quran Gallery is fully translated into seven languages — about 280 message keys each. The supported set is: | Code | Language | Direction | | ---- | ------------------- | ----------------- | | `en` | English | Left-to-right | | `ar` | Arabic (العربية) | **Right-to-left** | | `ur` | Urdu (اردو) | **Right-to-left** | | `id` | Indonesian (Bahasa) | Left-to-right | | `tr` | Turkish (Türkçe) | Left-to-right | | `bn` | Bengali (বাংলা) | Left-to-right | | `fr` | French (Français) | Left-to-right | For Arabic and Urdu, the entire UI flips to right-to-left automatically — text alignment, icons, menus, slide-in panels, breadcrumbs, everything. ### Where to change it - **Topbar language switcher** — click the language code (e.g. `EN`) in the topbar and pick a new language. The page reloads in the new language immediately. - **The URL prefix** — Quran Gallery uses path-based locale routing. English lives at the bare path (`/settings`); other locales add a prefix (`/ar/settings`, `/ur/settings`, etc.). You can bookmark any of them. The choice is saved to your account and used as the default on any device where you sign in. See [Languages and regions](https://qurangallery.com/docs/accounts/languages-and-regions) for more. ## Notifications The **Notifications** toggle controls whether Quran Gallery may send you product notifications — news about updates and new features across the suite. - **On** (default) — you'll receive occasional notifications about updates and new features. - **Off** — Quran Gallery won't push notifications to you. This is a single account-wide on/off. Individual apps may have their own finer-grained controls — for example, the prayer app has its own [prayer-time notifications](https://qurangallery.com/docs/prayer/notifications) with per-prayer toggles and reminder timing. Those app-specific settings are separate from this master switch. Security-critical email (verification links, password resets, 2FA codes, email-change confirmations) is **always** sent regardless of this setting. There's no way to opt out of those, because losing them means losing your account. ## Where preferences live in the suite Preferences are queried by other Quran Gallery apps when they want to know what theme or language to render in. So: - The **Quran reader** picks up your language from your account on first load. - The **AI chat** uses your theme so it doesn't flash white when you switch to it. - The **prayer times** app uses your language for day names and prayer labels. - The **Madrasah** app respects your notification preference for review reminders. Changing a preference here propagates to everything within a minute or two; reload any app for an instant update. ## Resetting preferences There's no explicit reset button. The defaults are: - Theme: **System** - Language: **English** (or your account's first detected language at signup) - Notifications: **On** Set each control back to those values manually if you want to return to defaults. ## Next steps - [Open account settings](https://accounts.qurangallery.com/settings) - [Your profile (name, avatar, email)](https://qurangallery.com/docs/accounts/profile) - [See and sign out your active devices](https://qurangallery.com/docs/accounts/active-sessions) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: See and sign out your active devices Source: https://qurangallery.com/docs/accounts/active-sessions > See every browser and device signed in to your Quran Gallery account, tell them apart, and sign out the ones you no longer use from Settings. Every time you sign in on a new browser or device, Quran Gallery starts a new **session**. Sessions are how the system remembers who you are between page loads. The **Active sessions** card in your settings lists every session that is currently valid — useful when you want to sign out a forgotten laptop, a public-library browser, or a phone you've sold. ## How to find the sessions card Sign in to **accounts.qurangallery.com**, open **Settings**, and scroll to **Active sessions**. The card lives toward the bottom of the page. ## What each row shows For each session, you see: - **Device** — a coarse label: **Desktop**, **Mobile**, or **Tablet**. Inferred from the device's user-agent string. **Unknown** means we couldn't tell. - **IP address** — the public IP the session was created from. Behind a Cloudflare proxy or a corporate VPN this may be the proxy's IP, not your actual one. - **Started** — the date the session was created. Most sessions stay valid for around 30 days unless you sign out. - **A "Current" badge** — if this row is the session you're using right now to view the page. - **A sign-out icon** — present on every row **except** the current one. ## Sign out a single session Find the row you want to end and click the door icon on its right side. Confirmation is immediate — the row disappears, and whoever was using that session is signed out the next time their browser hits any Quran Gallery app. If you accidentally sign out a session you wanted to keep, just sign back in from that device — sessions can be re-established at any time. ## Sign out all other sessions If you don't have time to figure out which session is which, or if you suspect compromise, use **Sign out all other sessions** at the top right of the card. Every session **except** the one you're currently using is invalidated in one click. This is the right move when: - You think your password may have leaked. - You're returning a laptop or selling a phone. - You've used Quran Gallery on a friend's device and forgot to sign out. - A password reset just completed (resetting your password **doesn't** automatically sign out other sessions). You don't need to also change your password — sign-out is enough to make the existing cookies useless — but doing both at the same time is a common precaution. ## Can I sign out my current session? Not from this card. To sign out the device you're viewing right now, use the profile menu in the topbar of any app and choose **Sign out**, or visit **accounts.qurangallery.com/logout** directly. This is a deliberate guardrail — clicking the wrong row in a panel labelled "sessions" shouldn't accidentally lock you out of the page you're using to manage sessions. ## How long does a session live? Sessions are valid for **30 days from the time they were created**, and they don't auto-extend on activity. After 30 days you'll be asked to sign in again the next time you open a Quran Gallery app. Signing out manually invalidates the session immediately, regardless of age. ## What about session cookies and "Remember me"? There is no explicit "Remember me" checkbox — every successful sign-in creates a 30-day session. If you want a short-lived session (e.g., on a public computer), the cleanest approach is to **sign out** when you're done, or use your browser's private/incognito mode so the cookie is dropped when you close the window. ## Banned and deleted accounts If your account is banned, all of your sessions are revoked simultaneously and you're sent to the [Banned page](https://qurangallery.com/docs/accounts/banned-accounts) on the next request. If you [delete your account](https://qurangallery.com/docs/accounts/account-deletion), every session is also invalidated as part of the deletion. ## Common questions **The "Desktop" / "Mobile" label is wrong.** The label is a best-guess from the browser's user-agent string. Some browsers (and most desktop Linux setups) advertise themselves in ways that throw off the heuristic. The label doesn't affect what the session can do — it's just a friendly hint. **Two sessions for the same device — is that bad?** Probably not. Different browsers (Safari and Chrome), private windows, or work and personal profiles each get their own session even on the same physical device. Combine that with the 30-day expiry and you can accumulate a few. If you don't recognise any of them, sign-out-all and start fresh. **Why doesn't the IP show a city or country?** Quran Gallery only stores the raw IP — no geolocation lookup is run. You can paste the IP into any IP-lookup service yourself if you want a rough location. ## Next steps - [Open account settings](https://accounts.qurangallery.com/settings) - [Preferences (theme, language, notifications)](https://qurangallery.com/docs/accounts/preferences) - [One Quran Gallery account across every app](https://qurangallery.com/docs/accounts/single-sign-on) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: One Quran Gallery account across every app Source: https://qurangallery.com/docs/accounts/single-sign-on > Sign in once and every Quran Gallery app knows you: reader, Listen, Madrasah, Adhkar, Prayer, chat. Sign out in one app and you are out everywhere. Quran Gallery is built as a **suite of apps** that all share one identity. When you sign in at **accounts.qurangallery.com**, the session that's created works on every other app on `qurangallery.com` — no second sign-in required. Sign out from one app, and you're signed out everywhere. This page explains, in plain terms, what that means for you as a user. ## The apps that share your sign-in Every URL under `qurangallery.com` shares the same session: - **qurangallery.com** — the home suite - **qurangallery.com/quran** — the Quran reader - **qurangallery.com/madrasah** — learn, memorise and teach - **qurangallery.com/prayer** — prayer times and the Hijri calendar - **qurangallery.com/chat** — the AI assistant - **qurangallery.com/studio** — the design studio - **qurangallery.com/listen** — the listening library - **qurangallery.com/adhkar** — daily remembrances - **qurangallery.com/rijal**, **/blog**, **/docs**, **/folio** — public read surfaces And the dedicated subdomain: - **accounts.qurangallery.com** — sign-in, settings, developers ## What happens when you click "sign in" inside an app If you visit, say, the Quran reader without being signed in and click an action that needs you to be signed in, here's what happens behind the scenes: 1. The reader sees you don't have a Quran Gallery session. 2. It redirects you to **accounts.qurangallery.com** with a `?redirect=...` parameter pointing back to where you started. 3. You sign in by your usual method. 4. The accounts app sets a session cookie that's valid for the **entire `.qurangallery.com` domain**, then sends you back to where the redirect parameter pointed. 5. The Quran reader sees the session cookie and recognises you. You don't need to know any of this — it just happens. The visible part is "I clicked Bookmark, I had to sign in, and now I'm back where I was." ## What about signing out? Click your profile picture in the topbar of **any** app and choose **Sign out**. Quran Gallery deletes the session in the database and clears the cookie. The next request from any other app no longer has a valid session, so they all act as if you'd never signed in. There's no way to be "signed in to the chat but not the reader." If you want to keep your other devices signed in but sign out only one of them, use [Active sessions](https://qurangallery.com/docs/accounts/active-sessions) instead. ## "Continue with Google" Google is purely an identity provider — we use it to verify it's you, not to read your Gmail or Drive. You can scope the connection on Google's "Your Account → Security → Third-party apps" page if you want to see what's connected. You can disconnect Google at any time. Your Quran Gallery account stays intact; you just lose the ability to sign in via Google until you reconnect. ## Working with shared devices Two ways to keep things tidy on a device you share: - **Sign out** when you're done. Sign-out works across the whole suite in one click. - **Use a private/incognito window** for your Quran Gallery session. The session cookie is wiped when you close the window. If you forgot to sign out from a shared device, you can sign that session out remotely — see [Active sessions](https://qurangallery.com/docs/accounts/active-sessions). ## Multiple Quran Gallery accounts in one browser The session cookie is set on `.qurangallery.com`, so within one browser profile, you can only be signed in as **one** Quran Gallery user at a time. To use two accounts side by side, the easiest options are: - Two different browsers (Safari + Chrome, etc.). - Two browser profiles in the same browser. - A private/incognito window for the second account. ## Next steps - [Open Quran Gallery account](https://accounts.qurangallery.com) - [See and sign out your active devices](https://qurangallery.com/docs/accounts/active-sessions) - [API keys (Developers page)](https://qurangallery.com/docs/accounts/api-keys) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: API keys (Developers page) Source: https://qurangallery.com/docs/accounts/api-keys > Create personal API keys to use Quran Gallery data in your own scripts and apps — generate, copy, and revoke them from the Developers page. If you're building something on top of Quran Gallery — a side project, a personal dashboard, an automation script — you can generate **personal API keys** that prove a request comes from you, without needing a browser session. API keys are managed entirely from the **Developers** page in your account. ## How to reach the Developers page Sign in to **accounts.qurangallery.com**, then go to **accounts.qurangallery.com/developers**. You can also click your profile in the topbar — many menus link to it directly. ## What an API key is An API key is a long secret string that looks like: ``` qg_sk_ghjKm4x7pQ... ``` The `qg_sk_` prefix marks it as a Quran Gallery **secret key** — a distinctive prefix means automated secret scanners can spot one that leaks into a public repository or paste, which a plain random string cannot. When you send it in the `Authorization: Bearer ...` header on a request to Quran Gallery, the server treats the request as if **you** made it. So an API key is effectively a password to your account scoped to programmatic use — treat it like one. ## Creating a key 1. On the Developers page, find the **Create New Key** card. 2. Type a **descriptive name** — `"Madrasah progress export script"`, `"My Raspberry Pi dashboard"`, `"Local dev"`. The name is just for you — it appears in the key list so you can remember which key is which. 3. Click **Create key**. The new key appears at the top of the page in a **green card** with the full key value displayed. **This is the only time you'll see the full key.** Click the copy icon to put it on your clipboard, then store it somewhere secure: a password manager, your cloud secret manager, an `.env` file outside version control. After you click **Done**, the green card disappears, and from that moment forward only the first few characters of the key (the "start") are visible in the key list. There is no way to retrieve the full value again — if you lose it, you must create a new key and delete the old one. ## The keys list Below the create form, you see every key currently on your account. For each key: - **Name** — what you typed when creating it. - **Status** — **Active** (green pill) or **Disabled** (grey pill). - **Start** — the first few characters of the key, like `qg_sk_ghj...`. Enough to identify which key is which without exposing the secret. - **Created** — the date the key was generated. To the right of each row, a **trash icon** deletes the key. Deletion is **permanent**, and it takes effect on the next request for most services. > **One exception: the [MCP server](https://qurangallery.com/docs/mcp/overview) caches verified keys for up to 60 seconds**, so that every tool call does not require a round trip back here. A key you just deleted may keep working there for up to a minute. If you are revoking a key because it **leaked**, delete it now and treat the following minute as still-exposed. ## Using a key Send it in the `Authorization` header on requests to any Quran Gallery API endpoint that accepts API key auth: ``` Authorization: Bearer qg_sk_ghjKm4x7pQ... ``` The usage card on the Developers page shows the exact format to copy. The same key authenticates you across every Quran Gallery service that supports key auth — you don't need a separate key per app. API-key requests bypass the browser session, so you can use them from CI jobs, scheduled tasks, mobile apps, or anywhere you don't have cookies. The [MCP server](https://qurangallery.com/docs/mcp/overview), which lets an AI assistant search the classical library and cite a real printed page, works without a key at 10 tool calls a minute per IP. Send the same key there to raise that to 60 a minute. ## Rate limits Each API key is rate-limited at **60 requests per minute**, sliding window. That's plenty for personal use and most scripts. If you exceed it, the API returns **HTTP 429** with headers indicating when you can retry. Wait, then resume. API keys for banned or deleted accounts stop working immediately, just like sessions do. ## Rotating keys Best practice is to rotate keys whenever: - A laptop or device with the key has been lost or sold. - You've shared the key with a collaborator who no longer needs access. - It's been a long time and you'd rather not have an unrotated secret lying around. Rotation is a two-step manual flow: 1. Create a new key with a descriptive name (e.g. "Madrasah dashboard v2"). 2. Update your scripts/apps to use the new key. 3. Once everything is on the new key, delete the old one. There's no automated rotation feature today. ## I lost my key Quran Gallery cannot retrieve a lost key — only the hash is stored on our side after creation. **Delete** the old key from the list (so it stops working if someone else has it) and **create a new one**. Update your script to use the new value. ## Security checklist - **Never commit a key to git.** Use a `.env` file (and add it to `.gitignore`) or your platform's secret manager. - **Never paste a key into a public Slack, Discord, GitHub issue, or chat with an AI tool.** Treat keys exactly like passwords. - **Use one key per project, not one key for everything.** That way, when you wind a project down or share access with someone, you can delete that key without affecting the rest. - **If you suspect a key is compromised, delete it first, then create a new one.** Order matters: if you create-then-delete, the attacker still has a working key during the gap. Note the up-to-60-second MCP cache above — deletion is not instant everywhere. - **Don't bake keys into client-side code** (JavaScript that runs in a user's browser, mobile-app binaries). Anyone using your app could read them. ## Common errors | Error | Fix | | ------------------------------------- | ---------------------------------------------------------------------------------- | | 401 Unauthorized when calling the API | Your key was deleted, disabled, or never created. Make a new one. | | 403 Account suspended | The account that owns the key is banned. See [Banned accounts](https://qurangallery.com/docs/accounts/banned-accounts). | | 429 Too Many Requests | You've hit the per-minute cap. Back off and retry. | | "Failed to load API keys" on the page | A transient network error. Refresh. | ## Next steps - [Open API keys page](https://accounts.qurangallery.com/developers) - [One Quran Gallery account across every app](https://qurangallery.com/docs/accounts/single-sign-on) - [Delete your account](https://qurangallery.com/docs/accounts/account-deletion) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: Delete your account Source: https://qurangallery.com/docs/accounts/account-deletion > How account deletion works — what is removed, what the apps keep, and how to ask for full removal. Account deletion is the heavy artillery. It signs you out everywhere and removes your sign-in credentials. It does **not** delete what the apps saved for you, such as Quran bookmarks, notes, plans and chat history. See "What stays after you delete" below. The control lives in the **Danger zone** card at the bottom of your settings. > Deletion is **immediate** in the sense that your sessions, API keys, password, and connected providers are wiped right away. The account record itself is **soft-deleted** — flagged with a deletion date and kept, not erased. See "What 'soft delete' means" below. ## How to delete your account 1. Sign in to **accounts.qurangallery.com**. 2. Open **Settings** and scroll to the very bottom — the **Danger zone** card with a red border. 3. Click **Delete Account**. A confirmation form expands inside the card. 4. Fill in: - **Your password** (only if you have one set — Google-only users don't see this field). - **The literal word `DELETE`** in the confirmation field — typed exactly, all caps. 5. Click **Delete Permanently**. You're signed out, your cookies are cleared, and you're redirected back to the sign-in page. ## What gets removed The moment you click **Delete Permanently**: - **All your sessions** are revoked. Every device you were signed in on is signed out on the next request. - **Your password** is deleted from our database. - **Your Google connections** are detached. Your underlying Google accounts are untouched — only the link from those to your Quran Gallery account is gone. - **All your API keys** are deleted. Any script or service that was using one starts getting 401 Unauthorized. - **Your two-factor authentication setup** is deleted (TOTP secret and backup codes). - **Your email is mangled** on the user record — replaced with a one-time value that no longer matches a real inbox. This lets you re-register the same email later if you want to come back. ## What 'soft delete' means The user record itself isn't physically removed from our database the instant you click Delete. Instead, it's flagged with a `deleted_at` timestamp. From your perspective, **the account is gone** — you can't sign in and your sessions are dead. The data the apps saved is not removed with it (see below). We keep the record so we can: - **Prevent re-registration shenanigans** — a banned user creating a new account, deleting it, and trying again. - **Recover from accidents** — if you didn't mean to delete, ask support and they can reverse the soft-delete. No job removes the record automatically. It stays in our database, flagged as deleted. To have the record and the data the apps saved removed completely, write to support@qurangallery.com. ## What stays after you delete Deleting the account is a soft delete. It marks the account deleted, changes the email on the record, and removes sessions, linked sign-ins, API keys and two-factor setup. It does **not** remove what the apps saved on your account: - **Gone for good:** sessions, API keys, 2FA, password and linked sign-ins (Google). - **Still saved:** Quran bookmarks, notes and plans. They live in Quran Gallery's own database. - **Still saved:** Chat history. Conversations are saved on your account, not only on your device. - **Still saved:** anything else the apps sync to your account, such as Listen playlists, Studio designs and Rafiq boards. See [Sync across devices](https://qurangallery.com/docs/home/sync-across-devices). - **Stays on the device:** anything saved only in a browser stays there until you clear this site's data. - **Audit log entries** for your account — kept with the account record. To remove saved data, **delete it in each app first** — a bookmark or note in the Quran reader, a conversation in Chat — because once the account is deleted you can no longer sign in to do it. Or write to support@qurangallery.com and ask for full removal. [How to delete synced data](https://qurangallery.com/docs/home/sync-across-devices) lists the steps. ## I'm signed in through Google — can I still delete? Yes. If you don't have a password, the password field doesn't appear in the deletion form, and the **DELETE** typed confirmation is enough on its own. You can also delete by first [setting a password](https://qurangallery.com/docs/accounts/set-password) and then using the password gate, if you prefer the extra friction. ## I want to delete because I forgot my password and can't sign in You can't delete the account without being signed in. Either: 1. Use [Forgot password](https://qurangallery.com/docs/accounts/password-reset) to recover, then delete; or 2. Contact support, who can either help recover the account or delete it on your behalf. ## I changed my mind — what now? If you've **just** deleted, email support from the email address that was on the account. Support can reverse an accidental deletion on request. If you'd rather start over, you can re-register the same email and begin a new account, but it will be empty. To have the old record and its saved data removed completely, write to support@qurangallery.com. ## Why is there a confirmation word? Because deleting an account can't be undone from your side — only support can reverse it — and "Are you sure? (Y/N)" prompts have led many people to accidentally lose their data over the years. Typing **DELETE** by hand makes deliberate destruction slightly slower than careless destruction. We borrowed the pattern from GitHub. ## Next steps - [Open account settings](https://accounts.qurangallery.com/settings) - [API keys (Developers page)](https://qurangallery.com/docs/accounts/api-keys) - [Banned (suspended) accounts](https://qurangallery.com/docs/accounts/banned-accounts) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: Banned (suspended) accounts Source: https://qurangallery.com/docs/accounts/banned-accounts > What you see if your account is suspended, what it stops you from doing, and how to appeal. If your Quran Gallery account is suspended, the next request from any of your devices sends you to a dedicated page explaining the situation. This page is what users see — and how to ask for a review. ## What suspension means A suspended account is treated as if it doesn't exist for the purposes of using Quran Gallery: - **You can't sign in.** Even with the correct password, sign-in returns an error. - **You can't use any of the apps.** Quran reader, madrasah, prayer times, AI chat, studio, listen, adhkar — all redirect you back to the banned page on each request. - **API keys are rejected.** Any script using a key from a banned account gets `403 Account suspended`. - **All existing sessions are revoked** immediately when the ban is applied. You don't get to stay signed in just because you happened to have a session before the ban took effect. Your data is **not** deleted — bookmarks, notes, hifz progress, account email, settings, and so on all remain in our database. If the ban is later lifted, you sign back in and everything is exactly where you left it. ## What the page looks like The banned page shows: 1. A short heading — typically **"Account suspended"** or the equivalent in your language. 2. A description of why you're seeing it. 3. A bulleted list of what's restricted (sign-in, services, API). 4. A **Contact Support** card with a direct email link. 5. A **Sign out** button — clears any leftover cookies on your device. 6. A small Quranic verse reminder at the bottom, in Arabic with translation context. ## How to ask for a review Click the **Contact Support** button on the banned page. It opens a pre-filled email to support, ready for you to add details: - The email address on your account. - The approximate date you first saw the banned page. - Anything you'd like the team to take into account when reviewing. Be patient — reviews are handled by a human and can take a few days. You'll receive a reply at the email on your account. ## Common reasons for suspension Suspensions are deliberate, not automatic. Common reasons include: - **Spam or abusive content** posted in features that allow user content (comments, shared posts). - **API abuse** — large bursts of requests beyond normal use, attempts to brute-force endpoints, or use of leaked credentials. - **Account takeover suspicion** — if our systems or our partners flag your account as compromised, it may be suspended pre-emptively to protect you. In this case, the appeal process is fast and usually ends with a password reset and re-instatement. - **Violation of terms** — the published terms of service at **qurangallery.com/terms** detail what's not allowed. ## Can I just sign out and create a new account? The banned page has a **Sign out** button to clear cookies, but creating a new account with the same email won't work — that email is still on the suspended account. Creating a brand-new account with a **different** email to evade a ban is itself a violation of the terms and will lead to that account being suspended as well. The right path is the appeal. ## What if I'm seeing this page by mistake? If you can't think of any reason your account would be banned, file an appeal anyway. The team can check whether the ban was a system mistake (rare but possible — usually caused by an over-eager automated check on suspicious traffic) and lift it within a day. If you can sign in fine on one device but see the banned page on another, you're probably looking at a stale cached page — clear your browser's cache for `qurangallery.com` and try again. ## Privacy Quran Gallery doesn't publish a list of banned accounts and doesn't share suspension status with third parties. The fact that you've been banned is visible only to you and to the support team handling your appeal. ## Next steps - [Open Quran Gallery account](https://accounts.qurangallery.com) - [Delete your account](https://qurangallery.com/docs/accounts/account-deletion) - [Languages and regions](https://qurangallery.com/docs/accounts/languages-and-regions) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: Languages and regions Source: https://qurangallery.com/docs/accounts/languages-and-regions > The seven languages Quran Gallery is translated into, how to switch, and how right-to-left layout works for Arabic and Urdu. Quran Gallery is built to be a first-class experience in **seven languages**, not an English-only site with everything else translated as an afterthought. The whole sign-in flow, settings page, error messages, email templates, and topbar work natively in each. ## Supported languages | Code | Language | Native name | Direction | | ---- | ------------------- | ---------------- | ----------------- | | `en` | English | English | Left-to-right | | `ar` | Arabic | العربية | **Right-to-left** | | `ur` | Urdu | اردو | **Right-to-left** | | `id` | Indonesian (Bahasa) | Bahasa Indonesia | Left-to-right | | `tr` | Turkish | Türkçe | Left-to-right | | `bn` | Bengali | বাংলা | Left-to-right | | `fr` | French | Français | Left-to-right | About **280 phrases** are translated for each. Coverage is intentionally complete — there's no fallback English string showing up inside a non-English page. ## How to switch language The fastest way: click the **language code** in the topbar of any Quran Gallery page (e.g. `EN`). A menu lists every supported language; pick one and the page reloads immediately in your choice. The slower-but-bookmarkable way: visit the URL prefix directly. - English lives at the **bare path** — `accounts.qurangallery.com/settings`. - Every other locale lives at its **two-letter prefix** — `accounts.qurangallery.com/ar/settings`, `/ur/settings`, `/id/settings`, `/tr/settings`, `/bn/settings`, `/fr/settings`. You can also visit just the prefix: `accounts.qurangallery.com/ur` opens the sign-in page in Urdu. ## Where your choice is saved Switching language updates two things at once: 1. **The page you're on now** reloads in the new language. 2. **Your account preference** is updated so the next time you sign in on any device, Quran Gallery starts you in the same language. If you switch languages on a public/incognito browser where there's no session, only the current tab is affected. ## Right-to-left for Arabic and Urdu When you pick Arabic or Urdu, the **entire interface flips direction**: - Text alignment switches to right-aligned. - The topbar mirrors — logo on the right, profile menu on the left. - Slide-in panels enter from the opposite side. - Lists, breadcrumbs, and dialog buttons reorder so the primary action is still in the expected reading position. Quran Gallery does this layout flip automatically based on the language. You don't need to set anything else. LTR languages with occasional RTL content (e.g., a verse quoted in Arabic inside an English page) keep LTR layout overall, but the Arabic snippet itself is rendered with proper RTL bidirectional handling. ## Names and identities across scripts The name field in your profile accepts every script Quran Gallery supports — see [Create an account → What the name field accepts](https://qurangallery.com/docs/accounts/sign-up#what-the-name-field-accepts). A name written in Arabic, Urdu, Bengali, French, or any other script renders correctly in topbars and on shared content. Quran Gallery uses Unicode NFC normalisation, so visually identical names written with different code-point sequences are treated as the same string. ## Date and number formatting Outside of explicit Hijri calendar features (in the prayer-times app), Quran Gallery shows dates using the Gregorian calendar in your browser's locale. The settings page formats dates as e.g. `May 26, 2026` in English and equivalents in other locales — done by your browser's `Intl` engine, so it should match what other apps you use already show. The prayer-times app and the Hijri calendar feature use Hijri dates with proper Arabic numerals for Arabic locale. See the **Prayer & Calendar** section for details. ## What's not yet localised A few areas are still English-only and may stand out if your interface is in another language: - **Some help links and the marketing pages.** The legal pages (terms, privacy, disclaimer) are in English. - **AI chat responses.** The chat will respond in whatever language you write to it in, but the assistant's standard greeting is English. - **Audit log action labels** in the settings page (`login`, `password_change`, etc.) — internal-looking strings that are currently shown as identifiers when audit-log display is enabled. Translations are a living project. If you spot an untranslated string, missing nuance, or a typo, send feedback through the **Feedback** button in the topbar and tell us which language and which screen. ## Falling back to English If you ever want to override what's saved on your account just for a single request, append `?locale=en` to any URL — for example, `accounts.qurangallery.com/settings?locale=en`. This is mostly useful when you're sharing a link with someone whose language you don't know. ## Next steps - [Open account settings](https://accounts.qurangallery.com/settings) - [Banned (suspended) accounts](https://qurangallery.com/docs/accounts/banned-accounts) - [Quran Gallery sign-in problems and fixes](https://qurangallery.com/docs/accounts/troubleshooting) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Accounts & SSO: Quran Gallery sign-in problems and fixes Source: https://qurangallery.com/docs/accounts/troubleshooting > Fixes for Quran Gallery sign-in problems: wrong password, missing verification email, 2FA codes, redirect loops, stuck pages and suspended accounts. This page lists the situations that come up most often when something isn't working with your Quran Gallery account, and the fastest path back to a working state. Each item links to the more detailed page on that topic. ## I can't sign in **The screen says "Invalid email or password."** The combination doesn't match a known account. Two common causes: - You're typing a different password from the one on file (caps lock, recent change you forgot). Try [Forgot password](https://qurangallery.com/docs/accounts/password-reset). - You signed up with **Continue with Google** and never set a Quran Gallery password. Click that button instead — see [Sign in](https://qurangallery.com/docs/accounts/sign-in). **The screen says "Please verify your email."** Your account exists, but the verification link from signup was never clicked. Open the **verify-email** page and click **Resend** if you can't find the original email. See [Verify your email](https://qurangallery.com/docs/accounts/email-verification). **The screen says "Account suspended."** The account has been banned. See [Banned accounts](https://qurangallery.com/docs/accounts/banned-accounts). **The screen says "Too many sign-in attempts."** You've hit the brute-force protection. Wait 5 minutes and try again, or use [Forgot password](https://qurangallery.com/docs/accounts/password-reset). **I get sent in a redirect loop between an app and the sign-in page.** The session cookie isn't being accepted. Possible causes: - Third-party cookies are disabled for `qurangallery.com`. Allow them in your browser settings. - A browser extension (privacy-focused, ad-blocker, "container" tools) is stripping cookies between domains. Disable it for `qurangallery.com` or try a different browser. - A strict VPN/proxy is interfering with cookie domains. ## I'm not getting emails Verification, password reset, 2FA OTPs, and email-change emails are all sent from `hello@re-notifications.qurangallery.com`. If you haven't received one: 1. Check **spam, promotions, social, and other auto-sorted folders**. 2. Check that the email address you typed is correct — typos there mean the email is in someone else's inbox. 3. Wait 60 seconds (most flows have a resend cooldown), then click **Resend**. 4. **Allowlist** `hello@re-notifications.qurangallery.com` in your inbox provider. 5. If you used a disposable / temp-mail address, the email was never sent — Quran Gallery rejects those at signup time. Re-sign-up with a permanent address. Detailed walk-throughs: - [Email verification](https://qurangallery.com/docs/accounts/email-verification) - [Password reset](https://qurangallery.com/docs/accounts/password-reset) ## I lost access to my second factor **My phone with the authenticator app is gone.** Use a backup code on the [/2fa/verify](https://qurangallery.com/docs/accounts/two-factor-authentication#using-a-backup-code-instead) page. Sign in, regenerate your backup codes, then turn 2FA back on with a new authenticator entry. **I never saved my backup codes.** Contact support. Account recovery requires proof of ownership and takes a few days. **The authenticator code keeps being rejected.** Most often a **clock drift** issue — TOTP is time-based. Make sure your phone's clock is set to update automatically from the network, and try again. ## My settings page won't load If `/settings` shows an error or a blank panel: 1. **Hard-reload** the page (Cmd+Shift+R / Ctrl+Shift+R). 2. Make sure you're actually signed in — the page redirects to `/` if your session expired. 3. Try signing out from another app and signing back in. 4. Try a different browser to isolate extensions or cache issues. ## A change I made isn't showing up across apps After changing your name, avatar, theme, or language, other Quran Gallery apps may take up to **5 minutes** to pick up the change (we cache the session for that long for performance). Either: - Reload the other app — it'll fetch the fresh value. - Or just wait — within 5 minutes the cache expires and the new value loads automatically. ## I'm signed in but the topbar shows the wrong name / avatar Same cause as above — cached session. Reload the page once and the topbar updates. If after a reload it's still showing stale data, sign out (top right → Sign out) and sign back in. ## My API key stopped working | 401 Unauthorized | The key was deleted or your account was banned. Create a new key from [Developers](https://qurangallery.com/docs/accounts/api-keys). | | 403 Account suspended | The account that owns the key is banned. See [Banned accounts](https://qurangallery.com/docs/accounts/banned-accounts). | | 429 Too Many Requests | You've hit the 60-requests-per-minute cap on that key. Back off and retry. | Never leave a key in a public place — git, a paste link, an AI prompt. If a key may have leaked, delete it immediately from the [Developers page](https://qurangallery.com/docs/accounts/api-keys) and create a replacement. ## I deleted my account by mistake Right after deletion, the account is **soft-deleted** — gone from your perspective but still recoverable for a short retention window. Email support from the email that was on the account, explain what happened, and ask for recovery. After the retention window, recovery is no longer possible. See [Delete your account](https://qurangallery.com/docs/accounts/account-deletion). ## A page is in the wrong language Click the language code in the topbar (e.g. `EN`) and pick your language. The choice is saved to your account. For a one-off override that only affects the current page, append `?locale=en` (or `?locale=ar`, `?locale=ur`, etc.) to the URL. See [Languages and regions](https://qurangallery.com/docs/accounts/languages-and-regions). ## Cloudflare Turnstile says "Verifying you're human" forever The bot-check widget can get stuck on certain networks (corporate proxies, some VPNs). - Try disabling the VPN/proxy. - Try a different browser or an incognito window. - Try a different network (mobile hotspot). - Make sure JavaScript is enabled and ad-blockers aren't blocking `challenges.cloudflare.com`. ## Something else If your problem isn't covered here, use the **Feedback** button in the topbar of any Quran Gallery app. Include: - A screenshot of what you're seeing. - The URL you were on when the problem happened. - Approximate time and your timezone. - Whether you're signed in, and if so, the email on your account. The team uses this feed to find issues fast. ## Next steps - [Open Quran Gallery account](https://accounts.qurangallery.com) - [Sign in to Quran Gallery with email or Google](https://qurangallery.com/docs/accounts/sign-in) - [Languages and regions](https://qurangallery.com/docs/accounts/languages-and-regions) - [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview) --- # Quran Reader: Read the Quran online with translation, tafsir and audio Source: https://qurangallery.com/docs/quran/reader > Read the Quran verse by verse or word by word with translation, tafsir and audio. Switch to printed pages, tune the text and open the study drawer. The Quran Gallery reader is an immersive reading surface for the whole Qur'an. You read verse by verse with translations, word by word, tafsir and audio in one place — or switch to **Mushaf** to read page images of a printed muṣḥaf. Open it at [`qurangallery.com/quran`](https://qurangallery.com/quran). ## Opening the reader On the Quran home page, scroll to **The Quran** and pick a surah, or tap **Go to** in the top bar, or focus the search field to open the navigator. You can search a name, a verse like `2:255` or a page number. Every chapter and verse has its own URL — for example [`qurangallery.com/quran/al-baqarah/255`](https://qurangallery.com/quran/al-baqarah/255) opens Āyat al-Kursī (numeric links like `/quran/2/255` redirect there). See [Finding your way around](https://qurangallery.com/docs/quran/navigating). At the top of a surah, a header shows its name, meaning, where it was revealed and its verse count. **About this surah** scrolls to a section with the surah's facts, an introduction and the tafsirs written on it. When you return, the **Continue reading** card on the home page takes you back to the verse where you stopped, and **Recently read** on [My Quran](https://qurangallery.com/docs/quran/bookmarks-and-notes#my-quran) lists your latest surahs. Both work without an account. At the end of a surah, a card says **End of Surah …** and shows how much of the whole Qur'an you have read on this device. It offers the **Next surah**, **Previous**, and **Pick another surah**, plus links to the 30, 60 and 365-day plans and **Explore Reflections**. It also offers to turn on the optional daily streak (**Turn it on** or **No, thank you**). At An-Nas it says **You have reached the end of the Quran** and offers to begin again. ## The reader bar The bar above the text stays in view as you scroll. From left to right it has: - **The title button** — the surah name, its number and juz. Tap it to open the navigator. - **One mode switch** — **Reading**, **Translation** and **Mushaf**. **Tafsir** appears in the switch only while the Tafsir view is on. - **Play** — a **Listen** / **Pause** button with a small arrow for repeat options. - **Aa** — opens Reading Preferences. A thin line under the bar shows how far through the Qur'an the page you are on sits. ## Reading modes | Mode | What you see | | --------------- | ------------------------------------------------------------------------------------------------------------------------------ | | **Reading** | The Arabic text with no translation, laid out to read. | | **Translation** | Verse by verse Arabic with your chosen translations beneath, and optional word by word. | | **Mushaf** | Page images of a printed muṣḥaf, faithful to the original print — see [Reading the muṣḥaf](https://qurangallery.com/docs/quran/mushaf-mode). | Press the reading-mode key to cycle through them. ## Navigating verses - Move between verses with the next/previous verse keys (the reader is right-to-left). - Tap the title button, or press `⌘K` (`Ctrl+K`) or `/`, to open the navigator and jump by surah, juz, page, hizb and more. - Type a verse key like `2:255` in the navigator to jump anywhere instantly. ## Verse and word actions Each verse has a row of quick actions (it appears on hover, and stays visible on touch): | Action | What it does | | ------------------ | -------------------------------------------------------------------------------- | | **Play** | Start recitation from this verse. | | **Study** | Open the study drawer on this āyah — see [Study tools](https://qurangallery.com/docs/quran/study-tools). | | **Bookmark** | Save the verse to your [bookmarks](https://qurangallery.com/docs/quran/bookmarks-and-notes). | | **Highlight** | Colour the verse yellow, green, blue, pink or purple. | | **Add note** | Write a private [note](https://qurangallery.com/docs/quran/bookmarks-and-notes#notes) on the verse. | Under **More** you'll find the rest: **Copy verse**, **Copy Arabic text**, **Copy with translation**, **Copy share link**, **Add to collection** (see [collections](https://qurangallery.com/docs/quran/collections-and-plans)), **Memorize in Madrasah** — which hands the verse off to the [Madrasah](https://qurangallery.com/madrasah) app to add to your memorization plan — and **Copy as Markdown**. Tafsir, translations and similar verses are tabs in the study drawer. **Copy as Markdown** is also on the verse's own page. It copies the Arabic and each translation you have turned on as a block quote, with the language named, and ends with a link to the verse. Paste it straight into a notes app such as Obsidian or Notion. > Bookmarks, highlights, and notes save on your device with no account, and sync to your account when you sign in. The first time you save one, a message says where it went. Only collections need you to be signed in. A verse's own page (for example `/quran/al-baqarah/255`) shows the verse with its juz, page and place of revelation, buttons to play, save, note, share and copy it, and **Read Surah … from here**. Below, **Study this verse** has tabs for Tafsir, Words, Grammar, Related and Practice. Tap a single **word** in the Arabic to open its own small menu: | Word action | What it does | | ------------------- | ------------------------------------------------------- | | **Play word audio** | Hear that one word recited. | | **Copy word** | Copy the Arabic word. | | **Study verse** | Open the study drawer on the verse the word belongs to. | | **Share** | Copy a link to the verse. | ## Reading Preferences Tap **Aa** in the reader bar (or press the settings key) to open **Reading Preferences**. On a phone it slides up as a sheet; on a larger screen it opens as a side panel. A live preview at the top shows your changes. The settings are organised into two tabs: **Arabic** and **Translation / Tafsir**. In Mushaf mode the first tab is called **Mushaf** and holds the edition and spread — see [Reading the muṣḥaf](https://qurangallery.com/docs/quran/mushaf-mode). ### Arabic tab The Arabic tab holds everything about the original text. It opens with three script families as sub-tabs: | Sub-tab | What it sets | | ----------- | ------------------------------------------------------------------------------------------------------------------ | | **Uthmani** | Choose the Uthmani **Font style** — **QPC Uthmani Hafs**, **King Fahad Complex V1**, or **King Fahad Complex V2**. | | **IndoPak** | The IndoPak script, with a **Lines** choice of **15 Lines** or **16 Lines**. | | **Tajweed** | The colour-coded Tajweed script, with a **Show Tajweed Rules** toggle. | Below the script picker, the rest of the Arabic tab controls: - **Font Size** — drag the slider from small to large. - **Word By Word** — toggle per-word **Translation** and **Transliteration** on or off. - **Display Mode** — show the word-by-word text **Inline** under each word, as a **Tooltip** on hover, or **Both**. ### Translation / Tafsir tab The second tab is where you pick your reference material: choose which **Translations** appear beneath the Arabic, and which **Tafsir** opens in the study drawer. Pick one or many — see [Study tools](https://qurangallery.com/docs/quran/study-tools) for how they read. In the translation list, translations are grouped by language, and the search box filters by name, author or language. English translations include Saheeh International, M.A.S. Abdel Haleem, A. Yusuf Ali, M. Pickthall, T. Usmani and Dr. Mustafa Khattab, The Clear Quran. To switch, tick the ones you want; untick to remove them. At the bottom of the panel, **Surah audio** keeps a surah's recitation on your device, and **Offline Quran** manages the downloaded text (see below). Player settings such as speed and the sleep timer live on the player itself — see [Listening & reciters](https://qurangallery.com/docs/quran/listening). ## Audio playback Play recitation from any verse. The audio player offers reciter selection, playback speed, repeat, a sleep timer, and download. In the reader bar, open the repeat options from the small arrow beside **Play** (or press and hold **Play**) to **Repeat verse** on the verse you're on, **Loop a range of verses** from one verse to another, or **Stop repeating**. For the full audio walkthrough see [Listening & reciters](https://qurangallery.com/docs/quran/listening). The same menu also lists **Repeat page N (verses a to b)**, which loops every verse on the page you are reading. It shows only when the recording has verse timings. To play a surah without a connection, use **Surah audio** at the bottom of Reading Preferences. See [Repeat a verse range to memorise](https://qurangallery.com/docs/quran/repeat-and-memorise) for the repeat options. ## The study drawer and Deep Study The **study drawer** opens alongside the text and stays **synced to the āyah** as you read — so tafsir, translations, and word meanings always track the verse in front of you. Open it from a verse's **Study** action. It has eleven tabs, listed in [Study tools](https://qurangallery.com/docs/quran/study-tools). You can **Pin** the drawer open, or turn scroll sync **on / off** if you'd rather it stay put on one verse. To go deeper, use **Expand to deep study** in the drawer header: **Deep Study** is a distraction-free, full-screen workspace with the verse pinned at the top and **previous / next** controls to move through the surah without losing your study tools. Everything inside both surfaces is covered in [Study tools](https://qurangallery.com/docs/quran/study-tools). ## Immersive and fullscreen For distraction-free reading, toggle **immersive mode** to hide the chrome, or **fullscreen** to fill the screen. Both have keyboard shortcuts (below) and can be toggled back the same way. ## Offline reading and installing the app The reader works without a connection once the text is on your device. Open **Reading Preferences** and scroll to **Offline Quran** at the bottom of the panel: - The download starts on its own in the background — you don't have to switch anything on. It fetches the Quran one surah at a time, only while your browser is idle, and starts with the surahs people open most (such as Al-Fatihah, Ya-Sin, Al-Kahf and Al-Mulk). - A progress bar shows the state (**Not started**, **Downloading…**, **Paused**, **Available offline**), a count such as _"12 / 114 surahs"_, and how much storage is used. - It pauses by itself when you go offline, turn on your browser's data-saver, or are on a 2G connection, and picks up again when conditions allow. Use **Pause** and **Resume** to control it yourself. - **Clear & re-download** empties the saved copy and starts again. A surah that fails to download is skipped and retried next time. - The download follows your reader settings. It stores the Arabic script, translations and word-by-word you have selected, so changing script or translation starts a new download for that selection. Offline, the home page and each surah page (for example `/quran/al-kahf`) open at their usual address. Only the surah text is downloaded automatically. A surah's audio is kept only when you save it with **Surah audio** (see above); tafsir and other views still need a connection. Open the Quran once while online first — a device that has never loaded it can't start offline. ### Install it as an app Quran Gallery is a progressive web app, so you can add it to your home screen or desktop for a full-screen, app-like launch. The [Apps page](https://qurangallery.com/quran/apps) has the steps: - **Chrome (Android & Desktop)** — open qurangallery.com/quran, tap the menu icon (three dots) at the top right, choose **Install app** or **Add to Home screen**, then confirm. - **Safari (iPhone & iPad)** — open qurangallery.com/quran, tap the Share button, scroll down and tap **Add to Home Screen**, then tap **Add**. The installed app opens in its own window, with shortcuts for **Search the Quran** and **Continue reading**. ## Keyboard shortcuts The reader is fully keyboard-driven. Open the **Keyboard Shortcuts** panel from inside the reader to see the bindings on your platform — the grouped actions are: | Group | Action | | ------------ | --------------------------------------- | | **Playback** | Play / Pause | | **Playback** | Next verse (RTL) · Previous verse (RTL) | | **Playback** | Decrease speed · Increase speed | | **Volume** | Volume up · Volume down | | **Reader** | Cycle reading mode | | **Reader** | Toggle study drawer | | **Reader** | Toggle immersive mode | | **Reader** | Toggle fullscreen | | **General** | Toggle settings | | **General** | Close overlay | | **General** | Show this help | | **Verse** | Bookmark · Highlight · Add a note | > Open the navigator with `⌘K` (or `Ctrl+K`), or with `/`, from anywhere in the reader. Type a verse reference like `2:255` or a word to jump. ## Next steps - [Open Quran reader](https://qurangallery.com/quran) - [Mushaf editions: the 23 printed scans you can read](https://qurangallery.com/docs/quran/mushaf-editions) - [Finding your way around the Qur'an](https://qurangallery.com/docs/quran/navigating) - [Reading the muṣḥaf (Scan mode)](https://qurangallery.com/docs/quran/mushaf-mode) - [Quran reader documentation](https://qurangallery.com/docs/quran) --- # Quran Reader: Read the Quran as printed mushaf pages: editions and zoom Source: https://qurangallery.com/docs/quran/mushaf-mode > Use Mushaf mode to read page images of a printed mushaf. Pick an edition, read one page or two, zoom from 50 to 200% and tap any verse to study it. Alongside the verse-by-verse reader, Quran Gallery lets you read the Qur'an as **page scans of the printed muṣḥaf** — faithful to the original print, line for line. Mushaf is one of the [reader](https://qurangallery.com/docs/quran/reader)'s three modes. Open any surah, juz or page and choose **Mushaf** in the switch to see the same passage as it appears in a printed muṣḥaf. Everything else in the reader stays with you: the navigator, the study drawer, audio, bookmarks and notes. ## Choosing a muṣḥaf Tap **Aa** to open Reading Preferences. In Mushaf mode its first tab is **Mushaf**. It shows the **Mushaf edition** you're reading — its name, its **riwāyah** (reading), and its page count. Tap **Choose a mushaf** to browse the full library. The whole catalogue is also at [`/quran/mushaf`](https://qurangallery.com/quran/mushaf), where each edition has a page with an **Open this mushaf** button. The library covers celebrated publishers across many scripts and readings — Ḥafṣ, Warsh, Qālūn, Dūrī, Shu'bah and Urdu editions, plus a colour-coded Tajweed copy. Choose any cover to switch; the reader keeps your place. > Editions paginate differently — a 12-line muṣḥaf runs to 852 pages where a Madani one runs to 604. If the edition you switch to paginates like the one you were reading, you stay on the same page; otherwise the reader opens the first page of the surah you were in and shows _"Continuing from …"_. The full list is in [Mushaf editions](https://qurangallery.com/docs/quran/mushaf-editions). ## Single and two-page reading The **Spread** control in the same tab sets how pages are shown: | View | What you see | | ---------- | ------------------------------------ | | **Single** | One muṣḥaf page at a time. | | **Dual** | Two facing pages, like an open book. | Move through the muṣḥaf with **Previous** and **Next**. The page counter shows your place, like `23 / 604`. ## Zoom Use the zoom control to size the pages to your screen — **zoom out**, the **percent** in the middle (tap it to reset to 100%), and **zoom in**, anywhere from 50% to 200%. On a phone the control sits in a pill near the bottom of the screen. > Your zoom level is **remembered** — it carries across pages, across editions, and the next time you come back, so you only set it once. ## Tapping a verse Tap any verse on the page to open the study drawer with its translation, tafsir and word-by-word breakdown — the same drawer the verse-by-verse reader uses. ## Listening while you read When audio plays on a scan page, the verse being recited is highlighted on the page. This is on by default, and it needs the recording to have verse timings; without them nothing is marked. If the verse is not on the pages you see, the reader turns to its page by itself, unless you turned a page in the last few seconds; then a button offers the jump. ## Next steps - [Open Mushaf scan reader](https://qurangallery.com/quran/mushaf) - [Reading the Qur'an](https://qurangallery.com/docs/quran/reader) - [Mushaf editions: the 23 printed scans you can read](https://qurangallery.com/docs/quran/mushaf-editions) - [Quran reader documentation](https://qurangallery.com/docs/quran) --- # Quran Reader: Mushaf editions: the 23 printed scans you can read Source: https://qurangallery.com/docs/quran/mushaf-editions > All 23 scanned printed muṣḥaf editions in Quran Gallery, with riwāyah, lines per page and page count, and how to open one in the reader. Quran Gallery lets you read the Qur'an as page scans of 23 printed muṣḥaf editions. They cover the Ḥafṣ, Warsh, Qālūn, al-Dūrī and Shu'bah riwāyāt, with layouts from 12 to 16 lines per page where the edition's name states it. This page lists each edition by the name the app shows. The same list is on the gallery page, [/quran/mushaf](https://qurangallery.com/quran/mushaf). It was checked on 2026-11-01 and the gallery can grow, so the app has the final list. ## The 23 editions | Name in the app | Riwāyah as shown | Lines per page | Pages | | --------------------------------------------- | --------------------- | -------------: | ----: | | Tajweed Mushaf | Hafs | — | 604 | | Medina Mushaf | Hafs | — | 623 | | IndoPak 13 Line | Hafs | 13 | 847 | | IndoPak 16 Line | Hafs | 16 | 548 | | Medium Medina Mushaf | Hafs | — | 608 | | Jawamee Mushaf | Hafs | — | 624 | | Old Medina Mushaf | Hafs | — | 624 | | Shamarly | Hafs | — | 524 | | 12 Lines | Hafs | 12 | 852 | | Urdu 15 Lines | Hafs | 15 | 622 | | Urdu 13 lines | Hafs | 13 | 850 | | Urdu 12 lines | Hafs | 12 | 736 | | Naskh Taleek font | Naskh with annotation | — | 620 | | Tahajod Mushaf | Hafs | — | 266 | | Warsh | Warsh | — | 576 | | Warsh 2 | Warsh | — | 607 | | Qaloon | Qaloon | — | 576 | | Douri | Douri | — | 544 | | Shubah | Shubah | — | 624 | | Tajweed Mushaf 15-Line Indo-Pak | Hafs | 15 | 610 | | Tajweed Mushaf 13-Line Indo-Pak (Pak Company) | Hafs | 13 | 847 | | Tajweed Mushaf 16-Line Indo-Pak (Pak Company) | Hafs | 16 | 548 | | Madinah Mushaf (King Fahd Complex) | Hafs | — | 604 | The order follows the gallery. Name, riwāyah and pages are what each gallery card prints. **Lines per page** is filled in only when the edition's name says it. The app keeps no separate line count, so a dash means the app does not state it. - Page counts are the number of scan pages in the edition, so a print can show more pages than it has pages of Qur'an text. - On the **Naskh Taleek font** card the riwāyah line reads "Naskh with annotation". That names a script style, not a riwāyah; the app shows it as it is recorded. - Cards marked **HD** come from higher-resolution scans (source images at least 1,100 pixels wide). ## Why the editions differ A riwāyah is one transmitted way of reciting the Qur'an. Printed editions of different riwāyāt can differ in details of the written text, and every print sets its own page layout, so page counts and lines per page vary between prints. The gallery lists them side by side and ranks none of them. ## Open an edition - **From the gallery.** Open [/quran/mushaf](https://qurangallery.com/quran/mushaf) and click a cover. The reader opens in Scan mode on that edition, at Al-Fātiḥah. Ctrl-click or ⌘-click opens the link in a new tab and leaves your settings alone. - **From the reader.** Choose **Mushaf** in the mode switch, tap **Aa**, open the **Mushaf** tab and tap **Choose a mushaf** to browse the library. ## What happens to your place when you switch If the new edition paginates like the reader's own muṣḥaf, you stay on the same page. Otherwise the reader opens the first page of the surah you were in, and the app shows a short message saying which surah it is continuing from. Your position inside the surah is not carried between editions that paginate differently. For zoom, single and two-page views and tapping a verse, see [Reading the muṣḥaf (Scan mode)](https://qurangallery.com/docs/quran/mushaf-mode). ## Next steps - [Open mushaf editions](https://qurangallery.com/quran/mushaf) - [Reading the muṣḥaf (Scan mode)](https://qurangallery.com/docs/quran/mushaf-mode) - [Finding your way around the Qur'an](https://qurangallery.com/docs/quran/navigating) - [Quran reader documentation](https://qurangallery.com/docs/quran) --- # Quran Reader: Finding your way around the Qur'an Source: https://qurangallery.com/docs/quran/navigating > Browse by surah, juz, page and other divisions, or jump anywhere with the navigator, verse keys and search. Includes the study hub and divisions. There are two ways to reach any verse: **browse** a division of the Qur'an, or **search** for it. Both start at [`qurangallery.com/quran`](https://qurangallery.com/quran). ## The navigator The navigator is one sheet that finds anything. Open it any of these ways: - Tap **Go to** in the top bar. - Press `⌘K` (`Ctrl+K` on Windows) or `/`. Press `⌘K` again to close it. - On a larger screen, tap the **Search or go to…** field under the top bar. - Tap the surah name at the left of the reader bar. - Focus the search field on the Quran home page. With nothing typed, the sheet shows: - **Continue reading**, if you have a place saved on this device. - Your recent searches, with **Clear**. - Quick links to **Read**, **Study**, **Plans** and **My Quran**. - Four tabs: **Surah**, **Juz**, **Page** and **More**. On the **Surah** tab each row shows the number, the name in English and Arabic, its meaning, the verse count and whether it is Makkan or Madinan. **Juz** lists the 30 parts with the verse each begins at. On **Page**, type a number from 1 to 604 and tap **Go**, or tap a juz in **Where each juz starts**. **More** holds the 60 hizbs, the 7 manzils, the **Sajdah** verses, a rub' number (1–240), a ruku' number (1–558), the **Mushaf catalogue** and **Full-text search**. ### Typing in the navigator Type and the results are ranked. Move through them with ↑ and ↓ and press Enter. | You type | You get | | ------------------------------- | --------------------------------------------------------- | | `2:255`, `2 255` or `2.255` | **Read** the surah from that verse, or **Study** the verse | | `36` | Surah 36 | | `page 300` or `p 300` | Mushaf page 300 | | `juz 5` or `j 5` | Juz 5 | | `hizb 12` or `h 12` | Hizb 12 | | A surah name or its meaning | The matching surahs, in any of the app's seven languages | The last row is always **Search the Quran for …**, which opens the search page. ## Browse from the home page Scroll to **The Quran** on the home page. Its tabs switch between **Surah**, **Juz** and **Page**. You can filter by **Makkan** or **Madinan** and sort `1 → 114` or `114 → 1`. **More divisions** opens the navigator on the rest, and **Mushaf catalogue** lists the printed editions. Every chapter has a readable URL like `/quran/al-fatihah`. Numeric links redirect, so `qurangallery.com/quran/2` lands on `/quran/al-baqarah`. Each traditional division also has its own page, numbered from 1: | Division | Starts at | What it is | | ---------- | ------------------------------------------------------------ | -------------------------------------------------- | | **Juz** | [`/quran/juz/1`](https://qurangallery.com/quran/juz/1) | The 30 parts. | | **Hizb** | [`/quran/hizb/1`](https://qurangallery.com/quran/hizb/1) | 60 half-juz divisions for structured reading. | | **Rub** | [`/quran/rub/1`](https://qurangallery.com/quran/rub/1) | Quarter-hizb sections. | | **Ruku** | [`/quran/ruku/1`](https://qurangallery.com/quran/ruku/1) | Thematic paragraph units. | | **Manzil** | [`/quran/manzil/1`](https://qurangallery.com/quran/manzil/1) | 7 weekly portions — complete the Qur'an in 7 days. | | **Page** | [`/quran/page/1`](https://qurangallery.com/quran/page/1) | The 604 traditional muṣḥaf pages. | ## Jump to special verses - **Sajdah** — [`/quran/sajdah`](https://qurangallery.com/quran/sajdah) lists the verses of prostration. - **Ayatul Kursi** — [`/quran/al-baqarah/255`](https://qurangallery.com/quran/al-baqarah/255) is the Throne Verse (2:255), like any verse, at its own address. ## What else the home page offers The Quran home page is built to help you find your next reading, not just resume your last. First-time visitors see a few popular surahs. Returning readers see: - **Continue reading** — a card that returns you to the verse where you stopped, or plays from there (**Play from here**). It works without an account. - **Khatam progress and streak** — how much of the whole Qur'an you have read on this device and, if you have turned it on, your streak. **My Quran** opens your saved verses and history. Further down: - **Verse of the day** — a fresh āyah each day. - **For this moment** — a plate that follows your clock, such as **Al-Kahf** on Friday. - **Reading paths** — focused routes through the Qur'an; see [Collections, plans & your journey](https://qurangallery.com/docs/quran/collections-and-plans). - **Study** — links into Topics, Roots, Letters, Phrases, Questions and the Mushaf catalogue. - **Listen** — links to recitation in the Listen app. ## The study hub [`/quran/study`](https://qurangallery.com/quran/study) is titled **Study the Quran**. It groups the ways in: - **Topics** — **Topics A–Z** and **Topics by theme**. - **Words and roots** — roots, words, letters, the opening letters (Muqattaʿat) and phrases. - **Questions** — questions, reviews and corrections. - **Listen and recite** — reciters, **Recitation check** and practice. - **Mushaf and sources** — the Mushaf catalogue and the sources used. - **Read more** — About the Quran and Ramadan, and articles when any are published. Each card leads back to the verses. The [Ramadan](https://qurangallery.com/quran/ramadan) page has its own set of readings. ## Search the Qur'an The search page at [`/quran/search`](https://qurangallery.com/quran/search) takes a verse, a surah, a word or a root, all in one box: - **A verse key** such as `2:255` opens that verse directly. - **A surah name** opens the surah. Names are understood in all seven languages of the app, so a translated name such as _Joseph_ or _The Light_ is offered as a suggestion rather than opened outright, because you may want the verses that say it. - **A word or phrase** in English or Arabic returns matching verses with their translations. - **An Arabic root** such as `رحم` shows the verses built on that root and a link to open the root. When a search has many matches, results are split into pages with **Previous**, numbered pages and **Next** below them. Your query lives in the address as `?q=your+words`, so any search is easy to bookmark or share — open [`/quran/search?q=mercy`](https://qurangallery.com/quran/search?q=mercy) and the results load straight away. ## Move within the reader While reading, tap the surah name in the reader bar. The navigator opens on the matching tab: **Surah** on a surah, **Juz** on a juz page, **Page** on a page. In Mushaf mode, picking a page, juz or hizb moves the mushaf in place. ## Next steps - [Open Quran search](https://qurangallery.com/quran/search) - [Mushaf editions: the 23 printed scans you can read](https://qurangallery.com/docs/quran/mushaf-editions) - [Study tools: tafsir, translations & more](https://qurangallery.com/docs/quran/study-tools) - [Quran reader documentation](https://qurangallery.com/docs/quran) --- # Quran Reader: Study tools: tafsir, translations & more Source: https://qurangallery.com/docs/quran/study-tools > Use the study drawer and Deep Study for tafsir, translations, grammar and similar verses, plus the study hub and pages for each verse and surah. Every verse in the reader carries a layer of study material. You reach most of it through the **study drawer**, which stays **synced to the āyah** you're reading. Open it from a verse's **Study** action, then switch between its tabs. For longer study sessions, **expand it to Deep Study** — a full-screen workspace covered below. The study hub, verse pages and surah pages hold the deeper references. Quran Gallery's reader is a free, ad-free Quran reader built for study: classical tafsir, word-by-word grammar and the original printed muṣḥaf pages sit one tap from every verse. ## Key features - **23 tafsirs.** Classical and modern commentary, including Ibn Kathir, al-Tabari, al-Qurtubi, al-Jalalayn, al-Saʿdi, al-Baghawi, Maarif-ul-Quran and Fī Ẓilāl al-Qurʾān. Switch between them from the picker at any time. - **Word-by-word meaning and grammar.** All 83,665 words of the Qurʾān carry a meaning in 9 languages — Bengali, English, Hindi, Indonesian, Ingush, Persian, Tamil, Turkish and Urdu — plus an English transliteration. Where a word has no gloss in your language (Arabic and French interface users), English is shown. The morphology view adds each word's **root**, **lemma**, **stem**, prefix–stem–suffix breakdown and part of speech. - **154 translations in 80 languages**, shown side by side beneath the Arabic. - **Scan mode with original printed muṣḥaf pages.** Read the same passage as page scans of printed muṣḥafs — Ḥafṣ, Warsh, Qālūn, Dūrī and Shuʿbah editions, Urdu editions and a colour-coded Tajweed copy. See [Reading the muṣḥaf](https://qurangallery.com/docs/quran/mushaf-mode). - **Copy as Markdown.** Copy a verse as Markdown, with the Arabic and each translation you have turned on and a link back to the verse, ready to paste into Obsidian or Notion. It is in the verse's menu and on the verse's own page; see [the reader guide](https://qurangallery.com/docs/quran/reader). - **No ads.** Nothing interrupts your reading. ## The study drawer The drawer has eleven tabs, and it keeps pace with the verse in front of you: | Tab | What it shows | | ---------------- | --------------------------------------------------------------------------------- | | **Tafsir** | Classical and modern commentary on the current verse. | | **Translations** | The verse rendered in the translations you've chosen — read several side by side. | | **Words** | Each Arabic word with its transliteration, meaning, and grammatical type. | | **Syntax** | The grammatical structure of the verse. | | **Iʿrāb** | The verse parsed word by word. | | **Similar** | Verses that read alike. | | **Phrases** | Phrases the verse shares with others. | | **Themes** | The topics the verse is filed under. | | **Q&A** | Questions asked about the verse. | | **Sources** | Where the material on the verse comes from. | | **Notes** | Your own note on the verse. | The header has a **pin** so the drawer stays open as you scroll, a **sync** button to hold it on one verse, and the verse you are studying (for example **Verse 1:3**). ## Tafsir Open **Tafsir** to read commentary on the current verse. Multiple tafsirs are available — use the picker at the top of the tab to choose a source, and switch between them at any time. Footnote markers in the commentary are tappable: select one to read the note inline, and select it again to dismiss it. If a verse has no commentary in the selected source, the tab says so plainly. ## Translations Turn translations on and they appear beneath the Arabic in the reader. In the drawer's **Translations** tab you can pick which translations to show and compare them verse by verse — ideal for seeing how different translators render the same āyah. Use the picker to add or remove sources; it's the same selection you set in [Reading Preferences](https://qurangallery.com/docs/quran/reader#translation--tafsir-tab). ## Words (word by word) The **Words** tab breaks the verse into its individual Arabic words, each with its transliteration, English meaning, and word type. To show the same word-by-word text inline in the reading flow instead, turn on **Word By Word** in Reading Preferences — see [Reading the Qur'an](https://qurangallery.com/docs/quran/reader#arabic-tab) for the **Inline**, **Tooltip**, or **Both** display options. ## Deep Study When you want to sit with a single verse, choose **Expand to deep study** in the drawer header. **Deep Study** takes over the full screen: the Arabic āyah is pinned at the top, the study tabs sit below it, and **previous / next** controls walk you through the surah one verse at a time — your place in the study tools travels with you. A back arrow returns you to the reader where you left off. ## The study hub and dedicated pages [`/quran/study`](https://qurangallery.com/quran/study) is the way in. It groups topics, roots, words, letters, phrases, questions, reciters and the mushaf catalogue on one page. Some references have their own page: | Page | What it covers | | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Surah tafsirs** | **Tafsir on this surah** in the **About this surah** section lists each tafsir written on the surah. | | **Reflections** | Reflections on the surah, at `/quran//reflections`, linked from the About section and the end of the surah. | | **Layers** | Compare several translations verse by verse, at `/quran//layers`. | | **Verse page** | One verse with a **Study this verse** panel: Tafsir with an excerpt, Words, Grammar, Related and Practice. **Read Surah … from here** returns you to the reader. | | **Surah background** | Under **About this surah**: verses, place and order of revelation, ruku', juz and an introduction. | > If a page has nothing recorded for a chapter, it tells you plainly rather than leaving you guessing. ## Next steps - [Open Quran reader](https://qurangallery.com/quran) - [Finding your way around the Qur'an](https://qurangallery.com/docs/quran/navigating) - [Listening & reciters](https://qurangallery.com/docs/quran/listening) - [Quran reader documentation](https://qurangallery.com/docs/quran) --- # Quran Reader: Word by word Quran: meaning, roots and grammar Source: https://qurangallery.com/docs/quran/word-by-word-and-grammar > Read the Quran word by word with meaning and transliteration, then open each word's root, lemma and grammar. How to turn it on, and what is not there. Quran Gallery shows the meaning of each Arabic word under the word, and links the word to its root, lemma and grammar. This page says how to turn it on, where each piece lives, and what is not there. ## Turn on word by word 1. Open any surah in the reader at [/quran](https://qurangallery.com/quran). 2. Tap **Aa** in the reader bar to open Reading Preferences. 3. On the **Arabic** tab, find **Word By Word** and switch on **Translation**, **Transliteration**, or both. 4. Under **Display Mode**, choose **Inline** (under each word), **Tooltip** (on hover) or **Both**. Word by word shows in **Translation** mode. See [the reader guide](https://qurangallery.com/docs/quran/reader#arabic-tab) for the rest of the Arabic tab. Word meanings come in 9 languages: Bengali, English, Hindi, Indonesian, Ingush, Persian, Tamil, Turkish and Urdu, plus an English transliteration. Where a word has no meaning in your language (Arabic and French interface users), English is shown. ## Tap a word Tapping a word in the Arabic opens a small menu with four actions: **Play word audio**, **Copy word**, **Study verse** and **Share**. **Study verse** opens the study drawer on the verse the word belongs to. The menu does not open a page for that single word. ## The study drawer: words and grammar Open the study drawer from a verse's **Study** action. These tabs are about the words of the verse: | Tab | What it shows | | ----------- | ----------------------------------------------------------------- | | **Words** | Each Arabic word with its transliteration, meaning and word type. | | **Syntax** | The grammatical structure of the verse. | | **Iʿrāb** | The verse parsed word by word. | | **Phrases** | Phrases the verse shares with others. | A verse's own page (for example `/quran/al-baqarah/255`) has a **Study this verse** panel with a **Words** and a **Grammar** tab. In the **Words** tab every word shows its meaning and transliteration with its root underneath; tap a word to hear it and to open a card with its **Root** and **Lemma**, each linked to its own page. The morphology view adds each word's root, lemma, stem, prefix–stem–suffix breakdown and part of speech. See [Study tools](https://qurangallery.com/docs/quran/study-tools) for all eleven tabs. ## Roots, lemmas and phrases These pages list the words across the whole Quran: - [/quran/roots](https://qurangallery.com/quran/roots): every root, with the words built on it. - [/quran/lemmas](https://qurangallery.com/quran/lemmas): the dictionary forms behind the words. - [/quran/phrases](https://qurangallery.com/quran/phrases): phrases that repeat across verses. [/quran/study](https://qurangallery.com/quran/study) groups these with topics, questions and the mushaf catalogue. ## Word meaning while you listen Open the player settings and switch on **Show tooltip while playing**. Each word's meaning then pops up as it is recited. The tooltip shows what you chose under Word By Word: translation, transliteration or both. See [Listening & reciters](https://qurangallery.com/docs/quran/listening). ## What is not there - Notes belong to a verse, not to a single word. - Tapping a word does not open a page for that word. Use the study drawer or the root and lemma pages above. - Where your language has no word meanings, the word shows in English. --- # Quran Reader: Listening & reciters Source: https://qurangallery.com/docs/quran/listening > Choose a reciter, control the player, repeat verses for memorization, set a sleep timer, keep audio offline and find the radio in the Listen app. You can listen to recitation of any verse, surah, or division — and follow along as the text scrolls. Recitation plays through the player at the bottom of the screen, and the Listen app has radio streams for hands-free listening. It is the same player used across the whole Quran Gallery suite, so your recitation keeps playing — and stays controllable — even when you leave the reader for another page. ## Choosing a reciter Browse reciters at [`/quran/reciters`](https://qurangallery.com/quran/reciters), or tap the reciter's picture in the player while something is playing. Search by name to find the one you want; your choice applies to playback across the reader. Each reciter also has their own page — open one to see a list of all **114 surahs**. From there, **Play in Reader** opens any chapter recited in that reciter's voice. ## The audio player Press **Listen** in the reader bar, or **Play** on any verse, and the player appears at the bottom of the screen, showing the surah and your position (**Ayah `{current}` of `{total}`**). On tablets and computers it is a full-width bar with the reciter, surah, **repeat**, **previous / play / next**, and a seek bar with the times either side — every āyah is marked on it, so you can drag straight to a verse. On phones a slim mini-player sits above the bottom navigation; tap it to open the **full player**, a sheet with a large picture and the same controls. **Read along** shows the recitation text following along verse by verse, and **up next** shows what plays after this. Speed, sleep timer, and the reader settings are in the **⋮ menu**: | Setting | What it does | | --------------- | ---------------------------------------------------------- | | **Speed** | Slow the recitation down or speed it up (0.25× to 2×). | | **Sleep timer** | Stop playback after a set time or at the end of the surah. | | **Experience** | Reader behavior while audio plays — see below. | **Volume** is a slider with a mute button on the bar (a button that opens the slider on tablets, and in the ⋮ menu on phones). **Minimize** in the same menu shrinks the player to a small tab at the screen edge, and **End session** stops playback. **Download**, **Share**, and **Open page** sit at the end of the **up next** panel; on phones, Download and Share are also in the full player. ### Keep a surah's audio offline Tap **Aa** in the reader bar and scroll to **Surah audio** at the bottom of Reading Preferences to store a surah's recitation on your device. ### Experience The **Experience** switches control how the reader behaves during playback: - **Auto Scroll** — keep the text following the recitation automatically. - **Show tooltip while playing** — pop each word's meaning up as it is recited. What the tooltip displays (translation, transliteration, or both) follows your **Settings → Word By Word** choices. ## Repeat Tap **repeat** and pick a mode: | Mode | Loops | | --------- | ---------------------------------------------------------- | | **Off** | Nothing — play through. | | **Surah** | The current surah (the same as tapping repeat once). | | **All** | Every surah, starting again from the first after the last. | | **Ayah** | One āyah you choose. | | **Range** | A **From** → **To** span of āyāt. | **Ayah** and **Range** open the drill controls: - **Play count** — how many **times** the chosen āyah or range plays in total. - **Repeat each verse** (Range only) — how many **times** each āyah plays before moving to the next — ideal for drilling one verse at a time across a passage. - **Delay between plays** — a pause in **seconds** after each play, so you have a moment to repeat after the reciter. Press **Start playing** to begin. While an āyah or range is looping, a **repeat chip** names it — tap the chip to stop. Your repeat settings survive a reload, so tomorrow's session picks up the same drill. To memorise with repeat, see [Repeat a verse range to memorise](https://qurangallery.com/docs/quran/repeat-and-memorise). ## Sleep timer The **Sleep timer** in the ⋮ menu stops playback after a set time, or at the **End of surah**. Choose **15 minutes**, **30 minutes**, or **1 hour** — a **Sleep** chip counts down, and tapping it (or **Cancel** in the menu) calls it off. ## Keyboard shortcuts Press **?** in the reader for the full list. **Space** plays and pauses, the arrow keys step between verses and adjust volume, and **[** / **]** change playback speed — so a memorization session never needs the mouse. ## Radio Continuous recitation you can leave running lives in the Listen app, at [`/listen/radios`](https://qurangallery.com/listen/radios). ## "Are you still listening?" During long, hands-free sessions, the reader gently checks in at chapter boundaries if you've been away for a while. A small prompt asks **"Are you still listening?"** and notes that recitation will pause if there's no response. Choose **Yes, continue** to keep going, or **Pause** (or simply do nothing) to stop — so the recitation never plays on to an empty room. ## Continue Listening When you come back, **Continue Listening** picks up your **Last Played** recitation where you left off, so you don't have to find your place again. ## Next steps - [Open Quran reciters](https://qurangallery.com/quran/reciters) - [Study tools: tafsir, translations & more](https://qurangallery.com/docs/quran/study-tools) - [Repeat a verse range to memorise: count, delay, reciter](https://qurangallery.com/docs/quran/repeat-and-memorise) - [Quran reader documentation](https://qurangallery.com/docs/quran) --- # Quran Reader: Repeat a verse range to memorise: count, delay, reciter Source: https://qurangallery.com/docs/quran/repeat-and-memorise > Loop one verse, a range or a whole page in the Quran player. Set the repeat count and delay, choose a reciter, slow the speed and add a sleep timer. The Quran Gallery player can repeat one verse, or a run of verses, as many times as you choose. It is the same player you use to listen, so there is nothing extra to install. You do not need to sign in to listen or to repeat. ## Repeat a verse or a range 1. Start any recitation in the [reader](https://qurangallery.com/docs/quran/reader) or on a reciter's page. 2. Tap the **repeat** button in the player bar. 3. Pick **Ayah** to loop one verse, or **Range** to loop a run of verses. 4. Choose the surah, the **From verse** and the **To verse** (for **Ayah** there is just one verse), then set the options below. 5. Press **Start playing**. A chip in the player names the verse or range that is repeating. Tap the chip to stop. The window you pick belongs to that recitation. If you load another surah or another reciter, repeat turns off and the player tells you so. The range stays inside one surah. ## Repeat from the reader bar In the reader bar, open the small arrow beside **Play** (or press and hold **Play**). The menu has **Repeat verse N**, **Loop a range of verses** (set **From verse** and **To verse**, then **Loop verses a to b**), and **Repeat page N (verses a to b)**. The page option shows only when the recording has verse timings. **Repeat page** loops every verse on the page you are reading, the same way **Range** does. A verse that runs onto the next page belongs to the page where it starts. Choose **Stop repeating** in the same menu to end it. ## Modes | Mode | What repeats | | --------- | ------------------------------------------------------ | | **Off** | Nothing. Playback goes straight through. | | **Surah** | The current surah, again and again. | | **All** | Every surah, starting again from the first at the end. | | **Ayah** | One verse you choose. | | **Range** | A **From** to **To** run of verses. | **Ayah** and **Range** need a recitation with verse timings. If you do not see them, pick another reciter from the list. ## Count and delay - **Play count** is how many times the verse or range plays in total: 1, 3, 5, 7 or 10, or without end (∞). - **Repeat each verse** (Range only) is how many times each verse plays before the next one starts: 1, 2, 3, 5 or 7. This is the usual way to memorise a passage verse by verse. - **Delay between plays (seconds)** is the pause after each play: 0, 1, 2, 3 or 5 seconds. Use it to say the verse back before the reciter continues. Your repeat settings are remembered when you reload the page. ## Choose a reciter Reciters are listed at [/quran/reciters](https://qurangallery.com/quran/reciters). Open one and press **Play in Reader** to hear a surah in that voice, then set your repeat. See [Listening and reciters](https://qurangallery.com/docs/quran/listening) for the player controls. ## Slow it down In the **⋮** menu, **Speed** runs from 0.25× to 2×. Slow the recitation while a verse is new and raise it once it is steady. A **Sleep timer** (15 minutes, 30 minutes, 1 hour, or the end of the surah) stops playback when you have finished for the night. ## Follow the text In the text view, the verse being recited is highlighted and the text follows along. Words highlight as they are recited, and **Auto Scroll** keeps your place. Switch on **Show tooltip while playing** to see each word's meaning as it is recited. ## What it does not do - Repeat plays the recitation audio. It does not mark or score your own recitation. ## Related pages - [Listening and reciters](https://qurangallery.com/docs/quran/listening): the full player and the sleep timer. - [Collections and plans](https://qurangallery.com/docs/quran/collections-and-plans): plan what to read each day. ## Next steps - [/quran/memorise](https://qurangallery.com/quran/memorise): Repeat verses and pages to memorise. - [Open Quran reciters](https://qurangallery.com/quran/reciters) - [Listening & reciters](https://qurangallery.com/docs/quran/listening) - [Collections, plans & your journey](https://qurangallery.com/docs/quran/collections-and-plans) - [Quran reader documentation](https://qurangallery.com/docs/quran) --- # Quran Reader: Save verses to collections and track your khatam progress Source: https://qurangallery.com/docs/quran/collections-and-plans > Free khatam planner in your browser, no account: plans, reading paths and khatam progress stay on your device. Collections and study circles need sign-in. The reader becomes personal as you use it. **My Quran** keeps everything you've saved, **plans** and **paths** guide your reading over time, and your progress through the Qur'an is tracked quietly in the background. > Bookmarks, highlights, notes, your place, khatam progress and **reading plans** are kept on your device, so none of this needs an account. **Collections** and the **activity heatmap with your daily goal** need one. Signing in also syncs everything else across your devices, and a reading plan made signed out can be saved to your account from the Plans page. Sign in or create an account at [`accounts.qurangallery.com`](https://accounts.qurangallery.com) — see [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview). ## My Quran [`/quran/my-quran`](https://qurangallery.com/quran/my-quran) is your reading room, and it works signed out. From the top it shows **Where you left off**, your khatam progress and the next day of your plan, then **Saved**, **Collections**, **Recently read**, **Export your saved verses**, and **Plan and streak** (see [Your reading journey](#your-reading-journey) below). **Saved** holds your bookmarks, highlights and notes in one list, with filters. For those, the empty states and the delete controls, see [Bookmarks and notes](https://qurangallery.com/docs/quran/bookmarks-and-notes#my-quran). ## Collections Collections group verses around a theme you care about — patience, mercy, du'ā, whatever you're studying. They are kept in your account so you can share them, so the **Collections** tab asks you to sign in to start one. - **Create new collection** — name it and start adding. - **Add to collection** — from any verse, save it into one or more collections. - **Share public** — make a collection public so others can view it. On My Quran, the **Collections** section lists your collections. Open one to see its verses, each linking to the verse in the reader. You can also share or delete a collection. Signed out, the section says collections are kept in your account and asks you to sign in to start one. ## Reading & learning plans Structured plans guide you through the Qur'an over time. Everything lives on one page, [`/quran/plans`](https://qurangallery.com/quran/plans). From the top: your plans, **Start a plan**, the Khatam calculator, ready-made study plans, **Reading paths** and **Study circles**. A reading plan schedules a portion to read each day toward a complete khatam. Plans work without an account: signed out, a plan is kept in your browser on that device. See [Reading plans](https://qurangallery.com/docs/quran/reading-plans) for the full walkthrough. ## Reading paths **Reading paths** are listed on [`/quran/plans`](https://qurangallery.com/quran/plans), and each path has its own page, such as `/quran/plans/paths/essentials`. Each shows **N% read** and an **Open path** button. They are curated journeys through the Qur'an, each with its own focus: | Path | Focus | | --------------- | ------------------------------------------------------ | | **Essentials** | Core verses that define the spirit of a believer. | | **Foundations** | The legal and moral architecture of a life in balance. | | **Heart** | Āyāt of comfort and healing for the restless soul. | | **Stories** | Narratives of Prophets, trials, and Divine Mercy. | The home page also shows the paths. ## Group khatam in a study circle A [study circle](https://qurangallery.com/quran/circles) (**Open study circles** on the Plans page) can read a khatam together. Sign in, then start a circle or join one with its six-character code. In the circle's **Group khatam** section, any member can choose **Start a group khatam**. The 30 juz are then split among the members: tap **Claim** on a juz, read it, then tap **Mark done**. **Release** gives a juz back, and a juz someone else holds shows their name. The board shows how many of the 30 are done, and a circle runs one khatam at a time. ## Your reading journey There is no separate dashboard to visit. The home page shows a **Continue** card that returns you to the verse where you stopped, plus a line with how much of the whole Qur'an you've read (**Khatam progress**) and, if you've turned it on, your streak. **My Quran** shows your khatam progress near the top. - **Khatam progress** — the share of the Qur'an you've read on this device. - **Reading streak** — opt-in and off until you turn it on under **Plan and streak** on My Quran. One verse a day counts, with two grace days each week, and you can hide it from the home page. - **Activity heatmap and Daily Reading Goal** — when you're signed in, **Your Journey** at the bottom of My Quran adds a calendar grid that fills in as you read and a goal you can set to build a habit. ## Next steps - [Open Quran reading plans](https://qurangallery.com/quran/plans) - [Repeat a verse range to memorise: count, delay, reciter](https://qurangallery.com/docs/quran/repeat-and-memorise) - [Free khatam planner: end date, rest days, daily target](https://qurangallery.com/docs/quran/reading-plans) - [Quran reader documentation](https://qurangallery.com/docs/quran) --- # Quran Reader: Free khatam planner: end date, rest days, daily target Source: https://qurangallery.com/docs/quran/reading-plans > Free khatam planner in your browser, no account: set a finish date and rest days, get a daily verse target, tick off each day. Sign in to sync. A reading plan turns "finish the Qur'an" into a clear daily habit. You pick how long you want to take, and the plan works out how much to read each day and lays out a schedule you can tick off. Plans live at [/quran/plans](https://qurangallery.com/quran/plans). > You do not need an account. Signed out, a plan is kept in your browser on that device. Signed in, it is kept on your account, so your schedule and progress follow you across devices. Sign in or create an account at [`accounts.qurangallery.com`](https://accounts.qurangallery.com) — see [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview). ## What you need - **No account.** Presets and custom plans both work signed out, and so do the ready-made reading paths on the Plans page. Sign in only if you want your plans on your account. See **Where your plan is kept** below. - **A finish date.** Pick one of the 30-day, 6-month or 1-year presets, or set your own start and end dates. - **Optional rest days.** Mark any weekdays as off days and the plan skips them. Once the plan exists you get a day view for each day's reading, a progress bar, and a day-by-day schedule. ## Not sure how long to take? Use the Khatam calculator The [Plans page](https://qurangallery.com/quran/plans) has a **Khatam calculator** below the presets. Pick a **Finish by** date and tap any weekdays you want off. It counts the reading days from today and shows **Verses a day**, **Mushaf pages a day** and **Juz a day**. Choose **Make this my plan** and the plan form opens with that date and those days off already filled in, signed in or not. ## Creating a plan On the Plans page, under **Start a plan**, choose **Create a plan**. The fastest start is a preset — one tap sets up a full khatam over a fixed span: | Preset | Finishes the Qur'an in | | ------------------ | ---------------------- | | **30-Day Khatam** | One month. | | **6-Month Khatam** | Half a year. | | **1-Year Khatam** | Twelve months. | Prefer your own pace? Choose **Or create a custom plan…** and set: - **Plan Name** — what to call it. - **Start Date** and **End Date** — the window you want to read across. - **Off Days** _(optional)_ — tap any weekdays you'd like to skip, and the plan won't schedule reading on them. ## Where your plan is kept - **Signed out.** When you choose **Create Plan**, the plan is made in your browser and opens on its day 1. It is kept in this browser on this device only: another browser or device does not see it, and clearing your browser's site data deletes it. Plans kept this way have the same day view, progress bar, schedule and calendar download as account plans. One browser holds up to 10 active plans, each with its own name. Creating a plan this way needs JavaScript. - **Signed in.** The plan is kept on your account, so it follows you to every device where you sign in. The Plans page lists the plans kept in your browser. After you sign in they appear under **On this device**, each with **Save to my account**. Choose it and the plan, with the days you have marked complete, is copied to your account and removed from the browser. If saving fails, the plan stays in your browser and the page says why. ## Daily targets You don't set a verses-per-day number directly — the plan calculates it. As you change the dates and off days, it shows a live estimate like **~21 verses/day**, spreading the whole Qur'an evenly across your active reading days. Pick a shorter window and the daily share rises; add off days and the remaining days carry a little more. > If a plan works out to a heavy daily load, the form flags it and suggests extending your end date — so you set a pace you can actually keep. When everything looks right, choose **Create Plan**. ## The day-by-day reading view Open any day to read exactly what's scheduled for it. The day view shows that day's verses in full — Arabic with your translation beneath — so there's no hunting for where to start or stop. Move between days with the **previous / next** day controls at the top. When you've finished the day's reading, choose **Mark as Complete**. The day is checked off and a **Continue to Day `{next}`** button appears, so you can roll straight into tomorrow's portion. Finish the final day and the plan greets you with a **Congratulations!** note and an invitation to start another. ## Tracking your progress The plan's overview page is your dashboard for the whole journey: - A **progress bar** showing **`{completed}` of `{total}` days completed** and the percentage done. - A **Continue Reading** button that drops you back into the next unread day. - A **Daily Schedule** list of every day — each labelled with its date and the surah and verses it covers, and marked complete or not at a glance. Because the schedule is laid out day by day, you can always see how far you've come and exactly what's next — a full khatam as one visible, finishable path. ## Add the plan to your calendar On a plan's page, choose **Add to calendar**. You download an `.ics` file with one all-day event for every day you have not yet completed. Each event names the day's surah and verses, links back to that day's reading, and has a reminder at 8:00 in your own time zone. Open the file in your calendar app. It is a one-time download, not a live feed, so download it again after you change the plan. For a plan kept on your device, the button is **Download calendar (.ics)** and the file is made in your browser. ## Download the schedule as a spreadsheet On a plan's page, choose **Download schedule (CSV)**. The file has one row for every day of the plan, completed days included: the day number, the date, the surah and verse where the reading starts and ends, and the number of verses. It opens in Excel, Google Sheets or Numbers, so you can print it or keep your own checklist. The column headings are in English; surah names follow your language. It works for account plans and for plans kept on your device. ## Deleting a plan At the bottom of a plan's page, choose **Delete plan**, then tap again to confirm. The plan and its schedule are removed, from your account or from your browser. Verses you have read stay in your journey. > A reading plan is a personal schedule toward finishing the Qur'an. To read a khatam with others, a [study circle](https://qurangallery.com/quran/circles) can start a group khatam. For curated, themed journeys instead, see [Collections, plans & your journey](https://qurangallery.com/docs/quran/collections-and-plans). ## Next steps - [Open Quran reading plans](https://qurangallery.com/quran/plans) - [Collections, plans & your journey](https://qurangallery.com/docs/quran/collections-and-plans) - [Bookmarks and notes](https://qurangallery.com/docs/quran/bookmarks-and-notes) - [Quran reader documentation](https://qurangallery.com/docs/quran) --- # Quran Reader: Bookmarks and notes Source: https://qurangallery.com/docs/quran/bookmarks-and-notes > Save verses with bookmarks, highlights and private notes. They work without an account and sync across devices once you sign in. Bookmarks, highlights and notes let you keep your place and capture your thoughts on individual verses. They need no account: they are kept on your device, and a short message after your first save says so. When you sign in, each one syncs to your account, so they're there on every device you read on. > Sign in or create an account at [`accounts.qurangallery.com`](https://accounts.qurangallery.com) to sync — see [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview). Signing in merges what's on this device with what's already in your account, without duplicates. Only **Collections** need an account to start. ## Bookmarks A bookmark marks a single verse. While reading, save the verse in focus, then find it again under **Saved** on My Quran. - Save a verse from the reader's verse actions (the bookmark icon). - Open your saved list from **My Quran** in the section bar under the top bar. Bookmarks sit alongside **Collections**, which group several verses around a theme — see [Collections, plans & your journey](https://qurangallery.com/docs/quran/collections-and-plans). ## Highlights The highlighter icon in the verse actions opens five colours: yellow, green, blue, pink and purple. Pick one to colour the verse; pick it again to clear it. Your highlighted verses are listed under **Saved** on My Quran, where the **Highlights** filter shows only them. ## Notes A note is attached to a verse and is private to you — it never appears in anyone else's account. Use **Add note** on a verse to write your reflection or reminder, and find your notes again under **Saved** on My Quran, with the **Notes** filter. Signed out, a note stays on this device. Signed in, it is also saved to your account. For where notes live and how to copy them out, see [Notes: sync and backup](https://qurangallery.com/docs/quran/notes-and-backup). ## My Qur'an [`/quran/my-quran`](https://qurangallery.com/quran/my-quran) — _"your reading room"_ — gathers everything you've saved. A banner says it is saved on this device until you sign in. From the top it shows **Where you left off** with **Continue reading** and **Play from here**, then **Saved**. Under **Saved**, the filters **All**, **Bookmarks**, **Highlights** and **Notes** each show a count. Each item has **Study** to open the verse and a control to delete it. Below that come **Collections**, **Recently read**, **Export your saved verses** and **Plan and streak**. - **Delete** — each saved item has a delete control to remove it in place. - **Empty states** — a filter with nothing in it yet tells you so plainly and points you to where saved items will appear. Bookmarks, highlights and notes are stored on your device and sync to your account when you sign in, so there is nothing to connect. Collections are kept in your account so you can share them; signed out, the **Collections** section asks you to sign in to start one. > Collections are covered in [Collections, plans & your journey](https://qurangallery.com/docs/quran/collections-and-plans) — including how to open one on My Qur'an to see the verses inside. ## Where they sync Each bookmark, highlight and note syncs on its own, so a change you make on one device appears on the others after you sign in there. Deleting one removes it from the account too. Sign in once at [`accounts.qurangallery.com`](https://accounts.qurangallery.com) and they're available everywhere you read. ## Next steps - [Open My Quran](https://qurangallery.com/quran/my-quran) - [Khatam planner: custom end date, rest days, daily target](https://qurangallery.com/docs/quran/reading-plans) - [Export your Quran notes and bookmarks (JSON or Markdown)](https://qurangallery.com/docs/quran/notes-and-backup) - [Quran reader documentation](https://qurangallery.com/docs/quran) --- # Quran Reader: Export your Quran notes and bookmarks (JSON or Markdown) Source: https://qurangallery.com/docs/quran/notes-and-backup > Download your bookmarks, highlights, notes and collections from My Quran as JSON or Markdown, and see what syncs across devices. Quran Gallery keeps your verse notes on your device and, once you sign in, in your account. You can download your bookmarks, highlights, notes and collections from [My Quran](https://qurangallery.com/quran/my-quran) as a JSON or Markdown file. This page says where notes live, what syncs, what is private, how to export, and how to copy a verse into a notes app such as Obsidian or Notion. ## Where your notes live - A note belongs to one verse. You write it from the verse in the reader (the box says "Write a note about this verse…"), and you can edit or delete it there. - A note can hold up to 10,000 characters. - **You do not need an account.** Signed out, a note is saved on this device, in the browser. Clearing the browser's site data removes it, so sign in at [accounts.qurangallery.com](https://accounts.qurangallery.com) if you want it kept safe. - **Signing in syncs each note.** Once signed in, each note you write or edit is saved to your account as well, and notes already on the device are merged in without duplicates. They then appear on every device where you sign in. There is nothing to switch on. - All your notes are listed together on [/quran/my-quran](https://qurangallery.com/quran/my-quran), under **Saved**; choose the **Notes** filter. Use **Study** on a note to open its verse. See [Bookmarks and notes](https://qurangallery.com/docs/quran/bookmarks-and-notes) for the full tour of that page. ## Privacy A note is private to you: on your device, and in your account once you sign in. It is not shown on the verse page to other readers, and it is not part of a collection you share. Sharing a collection shares its verses only (see below). ## Export your saved verses On [/quran/my-quran](https://qurangallery.com/quran/my-quran), scroll to **Export your saved verses** and press **Download JSON** or **Download Markdown**. The file holds your bookmarks, highlights, notes and collections, and each verse links back to its page in the reader. The Markdown file is easy to open in Obsidian or Notion; the JSON file suits scripts and other tools. ## What is not there - **No Obsidian or Notion plugin or integration.** Nothing connects Quran Gallery to those apps automatically. - **No sync with other Quran apps.** Notes written in Quran Gallery stay in Quran Gallery. If you only need one verse or note outside the app, use the manual workflow below. ## Copy a verse into Obsidian or Notion 1. Open the verse in the reader and open its **More** menu (the three dots). 2. Pick one of the copy actions: - **Copy verse** copies the verse reference in brackets (for example `[2:255]`), the Arabic text and each translation you have turned on, with the translation language named. - **Copy Arabic text** copies the reference and the Arabic only. - **Copy with translation** copies the same as **Copy verse**. - **Copy as Markdown** copies the Arabic and each translation as a block quote, ending with a link. 3. Pick **Copy share link** to copy the address of the verse instead, for example `https://qurangallery.com/quran/al-baqarah/255`. 4. Paste into your note in Obsidian or Notion, then paste the link under it. Your own words go below. 5. Do the same for each note you want to keep: open it under **Saved** on [/quran/my-quran](https://qurangallery.com/quran/my-quran), select the text, and copy it by hand. A simple layout that keeps the way back to the source: ```markdown ## 2:255 [2:255] (paste the copied Arabic and translation) Link: https://qurangallery.com/quran/al-baqarah/255 My note: (paste your note here) ``` Keeping the link means you can always return to the verse in context, with its tafsirs. The verse addresses follow the pattern `/quran//`. For many notes, use **Download JSON** or **Download Markdown** above instead of copying by hand. ## Share a collection A collection groups verses around a theme. From [/quran/my-quran](https://qurangallery.com/quran/my-quran), open **Collections** and press **Share** on a collection. The app creates a private link and copies it to your clipboard. - Anyone with the link can open it without signing in. They see the collection's name, its description and its verses, not your notes. - The link has no expiry date when you create it from the app. Treat it like a password to that list. - The page shows the Arabic and one translation for up to the first 50 verses of a collection, and a bare reference for the rest. - Links can be revoked on the server, after which they show "This link has been revoked." The app has no button for this yet. More on collections: [Collections, plans & your journey](https://qurangallery.com/docs/quran/collections-and-plans). ## Next steps - [Open My Quran](https://qurangallery.com/quran/my-quran) - [Bookmarks and notes](https://qurangallery.com/docs/quran/bookmarks-and-notes) - [Quran Gallery FAQ: iPhone, offline, free, plans, notes](https://qurangallery.com/docs/quran/faq) - [Quran reader documentation](https://qurangallery.com/docs/quran) --- # Quran Reader: Quran notes: sync, export and Obsidian workflow Source: https://qurangallery.com/docs/quran/notes-sync-and-obsidian > Write a note on a verse, keep it on your device, sync it after sign-in, and export your notes as one Markdown file per note for Obsidian. A note in Quran Gallery belongs to one verse. It is saved on your device, it syncs to your account after you sign in, and you can download your notes as Markdown files for Obsidian. This page covers each step. ## Write a note and find it again - A note belongs to a verse. There are no notes on a single word. - Open the study drawer from a verse. It opens beside the text and has a **Notes** tab ([Study tools](https://qurangallery.com/docs/quran/study-tools)). - All your notes are listed on [/quran/my-quran](https://qurangallery.com/quran/my-quran). Browse verses by subject at [/quran/topics](https://qurangallery.com/quran/topics), and group verses in collections (collections need sign-in; see [Collections and plans](https://qurangallery.com/docs/quran/collections-and-plans)). ## Does it sync? A note is saved on your device first, with no account. After you sign in it is saved to your account too, and appears on every device where you sign in. Details and privacy are in [Export your Quran notes and bookmarks](https://qurangallery.com/docs/quran/notes-and-backup). ## Export for Obsidian On [/quran/my-quran](https://qurangallery.com/quran/my-quran), scroll to **Export your saved verses** and press **Download for Obsidian (.zip)**. You get a zip with one Markdown file per note. - File names are the surah and verse, for example `2-255.md`. A second note on the same verse is `2-255-2.md`. - Each file starts with properties (`surah`, `ayah`, `surah_name`, `tags`, `created`, `source`), then a heading with the verse, a link to a note called `Surah 2`, and your text. - The files hold your note text only. They do not include the Arabic text or a translation. - **Download JSON** and **Download Markdown** are unchanged: one file with your bookmarks, highlights, notes and collections. Unzip the folder into your Obsidian vault. One worked example, `2-255.md`: ```markdown --- surah: 2 ayah: 255 surah_name: "Al-Baqarah" tags: - quran - "quran/surah-2" created: "2026-01-04T09:30:00.000Z" source: "https://qurangallery.com/quran/al-baqarah/255" --- ## 2:255 [[Surah 2]] Your note text goes here. ``` The `[[Surah 2]]` link points to a note named `Surah 2`. If you have no such note, Obsidian shows the link as empty, and you can create it later to collect everything on that surah. `source` is the address of the verse in the reader. ## What is not there - No notes on a single word. - No automatic sync with Obsidian, Notion or other apps. Export is a download you make yourself. - No PDF export. --- # Quran Reader: Quran Gallery, Quran.com, Tarteel, Quran Loop and Ayat Source: https://qurangallery.com/docs/quran/compare-quran-apps > A plain table of what Quran Gallery, Quran.com, Tarteel, Quran Loop and Ayat say they offer, from their own public pages. No ranking. This page sets Quran Gallery next to four other Quran products. It is not a ranking and makes no claim about quality. Every cell about another product is a plain fact from that product's own public page, read on 2 December 2026. Where a page did not say, or could not be read, the cell says "not checked". Sites change, so check each one for its current state. The Quran Gallery cells come from this app and its other help pages. ## What each one says it has | | Quran Gallery | Quran.com | Tarteel | Quran Loop | Ayat | | --- | --- | --- | --- | --- | --- | | Main purpose | A web Quran reader with study tools | A Quran site and apps made by the non-profit Quran Foundation | Quran memorisation with AI that listens to your recitation | A free web app for memorising and revising by listening on repeat | King Saud University's Electronic Mushaf project | | Reading with translations | Yes. Arabic with translations, signed out too | Yes. Translations in many languages | not checked | Yes. Text and translation; the English translation can also be played as audio | Voice translation in English, Urdu and Bosnian; the interface comes in 19 languages | | Word by word | Yes. Meaning or transliteration under each word, then root, lemma and grammar pages | Yes. Word-by-word study | not checked | Each word lights up as it is recited. Word meanings: not checked | not checked | | Tafsir | Yes. In the study drawer; needs a connection | Yes | not checked | not checked | Yes. Al-Sa'di, Al-Baghawi, Ibn Kathir, Al-Qurtubi and Al-Tabari are listed | | Audio and repeat | Audio from reciters. The player repeats a verse, a range or a page, with count, delay and speed | Recitations. Repeat: not checked | Listens to your recitation and flags word-level memorisation mistakes (Premium) | Repeats the verses you pick, with reciters such as Alafasy, Abdul Basit and Sudais; playback speed; a "Test yourself" mode | Many reciters. Repeat settings: a verse range, a repeat count per verse up to 1,000, and a delay | | Printed mushaf scans | Yes. 23 printed editions as page scans | not checked | not checked | The Madani 15-line page and IndoPak pages with 13, 15 or 16 lines, laid out line for line as printed. Scans of printed editions: not checked | Mushaf options listed: Hafs, Hafs Tajweed and Warsh | | Notes | Yes. Kept on your device first; export as JSON or Markdown | A separate app, Qirtaas, is listed for note taking | not checked | not checked | not checked | | Plans and khatam | Yes. Finish by a date, rest days, daily target; a 30-day plan; calendar file | Yes. Set a reading goal; learning plans; a Quran-in-a-year schedule | Memorisation planning (Premium) | Revision playlists and weak-verse tracking. A finish-by-date plan: not checked | A "Memorizing test" mode. Reading plans: not checked | | Sync and account | Reading needs no account. Sign in to sync across devices | A free account from Quran Foundation | not checked | No account needed to listen. Sign in to sync across devices | not checked | | Apps in stores | No store app listed. It is a web app you can install from the browser | iPhone and Android apps | Google Play and Apple App Store | Runs in the browser with nothing to install; can be added to the home screen | Android and iOS apps, and a desktop program for Windows, Linux and Mac | | Price | Reading is free; no advertising code found | Free | Free to use; the paid Premium subscription adds features. Prices not read | Free. Its home page says every feature is free, with no ads and no paid tier | not checked | | Open data | A public Quran API that needs no key; each source has its own licence | not checked | not checked | not checked | not checked | Ayat here means the Electronic Mushaf project of King Saud University at quran.ksu.edu.sa, not other tools with a similar name. ## Where each fact came from - Quran.com: its home page, https://quran.com (read 2 December 2026). - Tarteel: its home page and the questions on it, https://tarteel.ai (read 2 December 2026). - Quran Loop: its home page and the questions on it, https://www.quranloop.app (read 2 December 2026). - Ayat: the project's main page and its download page, https://quran.ksu.edu.sa (read 2 December 2026). - Quran Gallery: [/quran](https://qurangallery.com/quran) and the help pages [/docs/quran/reader](https://qurangallery.com/docs/quran/reader), [/docs/quran/repeat-and-memorise](https://qurangallery.com/docs/quran/repeat-and-memorise), [/docs/quran/mushaf-editions](https://qurangallery.com/docs/quran/mushaf-editions) and [/docs/quran/reading-plans](https://qurangallery.com/docs/quran/reading-plans). ## Which fits what If you want printed mushaf pages from several editions, repeat of a verse, range or page, and a plan with a finish date in one web reader, Quran Gallery describes that. If you want a free site and apps from a non-profit, with translations, tafsir, word-by-word study and a reading goal, Quran.com's home page describes that. If you want an app that listens to your recitation and points out memorisation mistakes, Tarteel's home page describes that. If you want a free browser tool built around looping chosen verses with a reciter, on Madani or IndoPak page layouts, Quran Loop's home page describes that. If you want a university project with phone apps and a desktop program, several tafsirs and a repeat count per verse, the Ayat pages describe that. None of these is placed above another. --- # Quran Reader: Quran Gallery FAQ: iPhone, offline, free, plans, notes Source: https://qurangallery.com/docs/quran/faq > Short answers about the Quran reader - iPhone and iPad, offline use, cost and sign-in, printed editions, verse repeat, khatam plans, notes and sync. Short answers to the questions people ask most about the Quran reader at [/quran](https://qurangallery.com/quran). Each answer links to the page with the detail. ## Does it work on iPhone and iPad? Yes. The reader is a web app, so it runs in Safari and any other modern browser on iPhone, iPad, Android, Mac and Windows. You can add it to your home screen for a full-screen launch: open [/quran](https://qurangallery.com/quran) in Safari, tap **Share**, then **Add to Home Screen**. The steps for each browser are on the [Apps page](https://qurangallery.com/quran/apps). The Apps page describes a web app you install from the browser and lists no separate download for an app store. ## Is it free, without ads and without an account? Reading is free and needs no account: text, translations, tafsir, audio and repeat all work signed out, and so do bookmarks, highlights, notes, your place and the opt-in daily streak, which are kept on your device. No advertising code was found in the reader. Collections need an account. [Reading plans](https://qurangallery.com/docs/quran/reading-plans) work signed out and are kept on your device. Signing in also syncs the rest across devices. Sign in at [accounts.qurangallery.com](https://accounts.qurangallery.com). See [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview). ## What works offline? Surah text works offline after you open the Quran once while online: the reader downloads surahs in the background, with the Arabic script, translations and word-by-word you have selected. A surah's audio works offline once you keep it: tap **Aa** and use **Surah audio** at the bottom of Reading Preferences. Tafsir and other views still need a connection. See [Offline reading](https://qurangallery.com/docs/quran/reader#offline-reading-and-installing-the-app). ## Which riwayat and printed editions are there? Scan mode shows page images of printed muṣḥafs. The library includes Ḥafṣ, Warsh, Qālūn, Dūrī and Shu'bah editions, Urdu editions and a colour-coded Tajweed copy, and you pick the edition under **Aa** in the **Mushaf** tab. The site states what each edition is and does not rank them. The list is on [Muṣḥaf editions](https://qurangallery.com/docs/quran/mushaf-editions); how Mushaf mode works is in [Reading the muṣḥaf](https://qurangallery.com/docs/quran/mushaf-mode). ## How do I repeat a verse range? In the reader bar, open the small arrow beside **Play** and choose **Loop a range of verses**, or **Repeat page** to loop the verses on the page you are reading. In the player bar, **repeat** and **Range** also let you set the play count, how many times each verse repeats, and a delay between plays. See [Repeat a verse range to memorise](https://qurangallery.com/docs/quran/repeat-and-memorise). ## How do I make a khatam plan with rest days? Does it need sign-in? No. Signed out, the plan is kept in your browser on that device; sign in to keep it on your account. At [/quran/plans](https://qurangallery.com/quran/plans) pick a 30-day, 6-month or 1-year preset, or create a custom plan with your own start and end dates and the weekdays you want off. The plan works out the daily share, such as about 21 verses a day, and gives you a day-by-day schedule with a progress bar. See [Khatam planner](https://qurangallery.com/docs/quran/reading-plans). ## Do my notes sync? Can I export them? Yes, once you sign in. Notes, bookmarks and highlights are kept on your device first, then each one syncs to your account and appears on every device where you sign in; collections are kept in your account. [My Quran](https://qurangallery.com/docs/quran/bookmarks-and-notes#my-quran) gathers them in one place, and works signed out. To keep a copy, open [My Quran](https://qurangallery.com/quran/my-quran), go to **Export your saved verses** and press **Download JSON** or **Download Markdown**: one file holds your bookmarks, highlights, notes and collections ([how it works](https://qurangallery.com/docs/quran/notes-and-backup)). To get a copy of the data held about you, write to support@qurangallery.com, as the privacy page describes. ## How is it different from quran.com, Quran Loop or Tarteel? These are different tools with different strengths, and this is not a ranking. The details below come from the home pages of each product, read on 2026-11-01, so check their sites for the current state. - **quran.com** is a large non-profit Quran site. It has word-by-word reading, audio, reading goals and account sync. - **Quran Loop** is built around looping a verse range, with a repeat count and word highlighting, and it shows Madani and IndoPak pages laid out line for line as printed. - **Tarteel** is known for checking your recitation with AI. It also has plans, a muṣḥaf view and a free tier alongside paid features. - **Quran Gallery** puts several things in one web reader: printed muṣḥaf scans in many riwayat, verse and range repeat, a khatam plan with rest days, word-by-word, morphology, tafsir and notes that work signed out and sync when you sign in. It also exports your notes as a JSON or Markdown file. A fuller table that also covers Ayat, read on 2 December 2026, is on [Quran Gallery, Quran.com, Tarteel, Quran Loop and Ayat](https://qurangallery.com/docs/quran/compare-quran-apps). ## Can a family or group read a khatam together? Yes. In a [study circle](https://qurangallery.com/quran/circles), any member can start a group khatam. The 30 juz are split among the members: each taps **Claim** on a juz, reads it and taps **Mark done**. You start a circle after signing in, and others join with its six-character code. Reading plans themselves are personal. ## Next steps - [Open Quran reader](https://qurangallery.com/quran) - [Reading the Qur'an](https://qurangallery.com/docs/quran/reader) - [Export your Quran notes and bookmarks (JSON or Markdown)](https://qurangallery.com/docs/quran/notes-and-backup) - [Quran reader documentation](https://qurangallery.com/docs/quran) --- # AI Chatbot: AI chat for Islamic questions with sources Source: https://qurangallery.com/docs/chat/overview > Ask Quran Gallery Chat an Islamic question. An AI writes the answer from Shamela library passages it retrieves and cites each by book, author and page. Quran Gallery Chat answers Islamic questions by searching the Maktabah al-Shamela library, then an AI model writes the answer from the passages it finds and cites them. Open it at [`qurangallery.com/chat`](https://qurangallery.com/chat). The model can still make mistakes, so confirm rulings with a qualified scholar. ## Common tasks - [How to use Quran Gallery Chat for Islamic questions](https://qurangallery.com/docs/chat/using-chat) - [Filter Islamic AI answers by madhab](https://qurangallery.com/docs/chat/schools-and-modes) - [Chat answers with sources, tool cards and citations](https://qurangallery.com/docs/chat/tool-cards) - [Study a Quran page with the AI companion](https://qurangallery.com/docs/chat/companion-mode) ## What it does - **Referenced answers.** Every response points to where it comes from — Quranic verses, authentic (Sahih) Hadith, and classical Islamic texts — so you can check the source yourself. - **Grounded in scholarship.** Answers follow the methodology and consensus of Ahlus Sunnah scholars, drawn from recognized classical works. One exception to the usual answer style: the **Radd (Refutation)** modes frame the conversation as an evidence-based rebuttal of a particular set of ideas, so they read as debate and refutation rather than a standard fiqh answer — see [Schools of thought & special modes](https://qurangallery.com/docs/chat/schools-and-modes). - **Retrieved from a library, not from memory.** For each question the chatbot searches the Maktabah al-Shamela library of 8,594 classical Arabic books and shows the passages it found. An AI model then writes the answer from those passages and cites them by book, author and page. The model composes the wording, so it can still make mistakes. When no passage is found, or the library cannot be reached, the answer comes without a book citation and says its source could not be verified. - **Ask in any language.** Write your question naturally in whatever language you prefer, and the answer comes back in that same language. - **Context-aware conversations.** Follow-up questions keep the thread of what you were discussing, so you can go deeper without repeating yourself. ## A closed library, not a general chatbot Quran Gallery Chat is not a general-purpose assistant. It talks only about Islamic knowledge (the Quran, Hadith and related topics) and politely steers off-topic requests back. What it says comes from a closed library: the Maktabah al-Shamela collection of 8,594 classical Arabic books, plus the Quran, classical tafsir and the main hadith collections. It does not answer from the open web. Each answer cites the passages it used by book, author and page, and quotes the Arabic. If nothing usable is found, the answer says its source could not be verified instead of inventing a reference. See [Chat answers with sources, tool cards and citations](https://qurangallery.com/docs/chat/tool-cards). ## Getting started You need to be signed in to start chatting. The home page shows `Sign in to start chatting...` in the message box until you do. Sign in with your Quran Gallery account (see the **Accounts & SSO** docs), then open the chatbot and ask your first question — the input is ready with the placeholder `Ask about Islam, Quran, or Hadith...`. > **Reading a shared conversation needs no account.** When someone shares a chat > with you, the link opens a read-only view that anyone can read without signing > in. You only need an account to _start_ your own conversation. See > [Having a conversation](https://qurangallery.com/docs/chat/using-chat) for how sharing works. ## A note on trust The chatbot is built to be careful and to show its sources, but it is still an AI tool — not a scholar. Treat its answers as **guidance for learning**, not as final rulings. For anything that affects how you practice your faith, confirm with a qualified scholar. > AI responses may be imperfect. For fatwa, madhab-specific rulings, and > personal religious decisions, consult a qualified scholar. The app reinforces this with an **Important Religious Alert**: never make fatwa-level decisions from AI predictions alone — AI can make mistakes. Consult a qualified Mufti or scholar before acting. ## What's next in these docs The rest of this section covers how to hold a conversation (starting chats, voice input, history, and sharing), how to choose a **School of Thought** and turn on special modes, and how to use **Quran companion mode** to read a mushaf page alongside the chat. ## Sources and common questions The library has 8,594 books on 41 shelves, including 8 hadith collections and 6 tafsir works. See which books the chat uses on [/chat/sources](https://qurangallery.com/chat/sources), and read short answers to common questions on [/chat/faq](https://qurangallery.com/chat/faq). ## Next steps - [Open Quran Gallery Chat](https://qurangallery.com/chat) - [How to use Quran Gallery Chat for Islamic questions](https://qurangallery.com/docs/chat/using-chat) - [Filter Islamic AI answers by madhab](https://qurangallery.com/docs/chat/schools-and-modes) --- # AI Chatbot: How to use Quran Gallery Chat for Islamic questions Source: https://qurangallery.com/docs/chat/using-chat > Sign in, open the chat, type or speak your Islamic question, read the cited sources, regenerate the answer, search your history and share a read-only link. To ask a question, sign in, open [`qurangallery.com/chat/new`](https://qurangallery.com/chat/new) and type it in the message box, or select **Record voice** and speak. The answer streams in with its sources, and you can regenerate, copy, rate or share it. ## Starting a new chat Select **New Chat** to begin a fresh conversation at [`qurangallery.com/chat/new`](https://qurangallery.com/chat/new). If you're not sure what to ask, tap one of the **suggested questions** to get going: - What are the five pillars of Islam? - Tell me about Surah Al-Fatiha - What is the importance of Salah? - How to perform Wudu? Type your own question in the box (`Ask about Islam, Quran, or Hadith...`) and send it. Each conversation gets its own URL like `qurangallery.com/chat/`. ## Speaking your question (voice input) Instead of typing, select **Record voice** and speak. Your browser will ask for microphone permission the first time. When you stop, the audio is transcribed and the text appears in the input box, ready to edit or send. You don't need to set a language first — the chatbot **detects the language you spoke** and transcribes it in that language. If you mix languages (for example, Urdu with an Arabic Qur'anic phrase), it keeps both as you said them. If you see a microphone-permission error, allow microphone access for the site in your browser settings and try again. ## What's in an answer An answer is more than a block of text. Depending on your question, a reply can include several parts, top to bottom: | Part | What you see | | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **At a glance** | A one-line summary at the top (`At a glance:`) so you get the gist before reading the full answer. | | **A short clarification** | If your question could mean a few things, the chatbot first asks a quick **multiple-choice question** instead of guessing — see below. | | **Reviewed / Revised by Quran Gallery** | A small label shown when an automated review checked the answer's claims against the sources they cite. This is a model check, not a human scholar. If the review _changed_ the answer, you'll see **Revised by Quran Gallery** with a **Show original** link that reveals the pre-revision version (**Hide original** puts it back). | | **Mini-app cards** | Interactive cards for inheritance, adhkar, Qur'an verses, or prayer times, embedded right in the answer — see [Interactive answer cards](https://qurangallery.com/docs/chat/tool-cards). | | **Confidence** | A badge showing how confident the answer is (for example, `92% confidence`), colored from low to high. | | **Caveat banner** | An occasional note (`Note:`) if something limited the answer — for instance, if review wasn't available — asking you to verify with a scholar before acting. | | **Important Religious Alert** | A prominent warning that appears on fatwa-type questions, reminding you not to make fatwa-level decisions from AI alone. | | **Sources** | The Qur'anic verses, Sahih Hadith, and classical references the answer draws on, so you can check them yourself. | | **Suggested follow-up questions** | One-tap questions to continue the thread — see below. | > The **At a glance** summary, **confidence** badge, **caveat** banner, and the > **Important Religious Alert** are all there to help you read critically. They > never replace a qualified scholar — see the trust note on the > [overview](https://qurangallery.com/docs/chat/overview). ## When the chatbot asks you a question first Sometimes your question is open to interpretation. Rather than guess, the chatbot replies with a short **clarification question** and a row of **choice buttons**. Tap the option that matches what you meant, and it answers from there. This keeps the conversation accurate without you having to re-type your question. ## Working with an answer Each AI reply gives you a few controls: | Action | What it does | | --------------------------- | --------------------------------------------------------------- | | **Rate this answer** | A 1-to-5 **star rating** to tell us how helpful the answer was. | | **Copy answer** | Copies the answer text to your clipboard. | | **Regenerate response** | Asks the same question again for a fresh answer. | | **Previous / Next version** | Browse between the answers you've regenerated. | Regenerating doesn't lose the earlier answer — it's kept as a version you can flip back to with **Previous version** and **Next version**, shown as a counter like `1/3`. ## Suggested follow-up questions Under an answer you'll often see **Suggested follow-up questions**, based on your current question. Tap one to insert it into the input, then send it to continue the thread. ## While your answer is being written Answers stream in as they're written, with a small status pill showing the current step — `Connecting…`, then `Generating response…`. You may also see `Reviewing this answer…`: at that point the answer pauses for a **second pass** where an automated model checks each claim against the source it cites and can keep, soften, re-point or remove it before finishing. It is not a human scholar's review. This is the same check that produces the **Reviewed / Revised by Quran Gallery** label described above. If you'd rather not wait, you can **Stop** generating. ## Usage limits To keep the service fast and fair for everyone, there's a limit on how quickly you can send messages. If you go too fast you'll see a friendly note — `You're sending messages too quickly. Please wait a minute and try again.` — and you can pick right back up after a short pause. ## Your conversation history The sidebar keeps your past conversations, grouped by date so older threads stay out of the way: - **Today** - **Yesterday** - **Previous 7 Days** - **Older** Use the search box (`Search conversations...`) to find an old thread by what you discussed. If nothing matches you'll see `No matching conversations`. ## Sharing a conversation To let someone read a conversation without an account: 1. Open the conversation and select **Share conversation**. 2. Select **Copy link** — you'll see `Link copied to clipboard!`. The link points to a read-only view at `qurangallery.com/chat/share/`. 3. Send the link to anyone. They can read the exchange and are invited to **Start your own conversation**. To stop sharing, select **Unshare** — the public link stops working. ## Deleting a conversation Select **Delete conversation** and confirm (`Delete this conversation?`) to remove a thread from your history. ## Copy and download with references Under an answer, the copy menu has **Copy text** and **Copy with references**. **Copy with references** copies the answer followed by a numbered list of the sources it cites: book, author, volume, page and a link where there is one. It is disabled when the answer cites nothing. To keep a whole conversation, open it and choose **Export**, then **Download as Markdown**. The file holds each question and answer with its references, and ends with a note that the chat is an educational tool, not a ruling. The same menu also offers **Print or save as PDF**. For a reference manager such as Zotero, the same menu has **Download as BibTeX** and **Download as RIS**: one entry for each source cited in the conversation, with book, author, volume and page. ## Hadith grades When an answer cites a page of Bukhari, Muslim, Abu Dawud, al-Tirmidhi, al-Nasa'i or Ibn Majah, the source page shows a hadith grade only if the page itself prints one. The grade comes with who gave it: the book's author, the editor of that edition, or a scholar the page names. A grade of the chain of narrators is labelled as a grade of the chain, not of the hadith. If a page prints no grade, a page of Abu Dawud, al-Tirmidhi, al-Nasa'i or Ibn Majah says **No grade stated in this source**; a page of Bukhari or Muslim shows nothing. The chat never supplies a grade of its own. Outside Arabic, the grade appears in Latin letters with the printed Arabic beside it. ## Next steps - [Open Quran Gallery Chat](https://qurangallery.com/chat) - [Filter Islamic AI answers by madhab](https://qurangallery.com/docs/chat/schools-and-modes) - [Chat answers with sources, tool cards and citations](https://qurangallery.com/docs/chat/tool-cards) --- # AI Chatbot: Filter Islamic AI answers by madhab Source: https://qurangallery.com/docs/chat/schools-and-modes > Pick Hanafi, Maliki, Shafi'i, Hanbali or General so the chat searches that school's fiqh books first. Also the Radd modes. Guidance, not a fatwa. Choose **School of Thought** in Quran Gallery Chat and a ruling question searches that school's own fiqh books first. The options are General, Hanafi, Maliki, Shafi'i and Hanbali. The full rules are on [How school (madhab) answers work](https://qurangallery.com/chat/schools). ## School of Thought The **School of Thought** selector lets you frame answers within one of the four Sunni madhabs, or keep things general: | Option | When to use it | | ----------- | --------------------------------------------------- | | **General** | A broad answer not tied to one madhab. The default. | | **Hanafi** | Answers oriented to the Hanafi school. | | **Maliki** | Answers oriented to the Maliki school. | | **Shafi'i** | Answers oriented to the Shafi'i school. | | **Hanbali** | Answers oriented to the Hanbali school. | Choosing a madhab helps the answer reflect that school's positions where rulings differ. Even so, madhab-specific rulings are exactly the kind of question where you should confirm with a qualified scholar before acting — see the disclaimer on the overview page. ## Special modes The same menu that holds the **School of Thought** options has a second group below a divider, headed **Radd (Refutation)**. These modes shape the conversation around a particular subject. Use one when your question sits squarely within that topic. Picking a mode replaces the madhab choice for that conversation; clearing it returns you to the selected School of Thought. ### Radd (Refutation) Everything in this group frames the conversation as a respectful, evidence-based response to a specific set of ideas — debate and refutation, rather than a standard fiqh answer. **Khatm-e-Nabuwat sits in this group**, alongside the three refutation topics: | Mode | Focus | | ------------------------------ | ----------------------------------------------------------------------------------- | | **Khatm-e-Nabuwat** | The finality of Prophethood. When it's on you'll see `Khatm-e-Nabuwat mode active`. | | **Atheism & Doubt** | A reasoned response to atheism and doubt. | | **Islamic Socialism** | A reasoned response to Islamic socialism. | | **Liberalism & Progressivism** | A reasoned response to liberalism and progressivism. | These modes are designed for clear, factual discussion grounded in the same authentic sources the chatbot uses elsewhere. As with every answer, treat the response as guidance and verify the references for yourself. ## Choose one tafsir or hadith only Beside the message box, the **Sources** menu starts on **All sources**. Open it to limit a question to one collection. Under **One tafsir**, pick one of the six tafsir works. Under **Hadith only**, pick **The six hadith books** or one of the eight hadith collections. The search then stays inside your choice and uses no other source. If nothing relevant is found there, the answer says so instead of drawing on another book. The full list of books is on [/chat/sources](https://qurangallery.com/chat/sources). ## Next steps - [Open Quran Gallery Chat](https://qurangallery.com/chat) - [How to use Quran Gallery Chat for Islamic questions](https://qurangallery.com/docs/chat/using-chat) - [Chat answers with sources, tool cards and citations](https://qurangallery.com/docs/chat/tool-cards) --- # AI Chatbot: Chat answers with sources, tool cards and citations Source: https://qurangallery.com/docs/chat/tool-cards > Chat answers cite their sources and can embed cards for inheritance, adhkar, Qur'an verses or prayer times, each linking to the full Quran Gallery app. Quran Gallery Chat cites the sources behind an answer and can embed an interactive card in it: an inheritance calculator, adhkar, Qur'an verses or prayer times. Each card has a link that opens the full app. ## How citations work An answer is written from passages the chat retrieved for your question, and it cites them by book, author and page. A citation can only point at a page retrieved in that turn. A second automated pass checks each claim against the page it cites. The **Reviewed by Quran Gallery** label means that check finished and corrected at least one claim. It does not mean a person read the answer. See [How an answer is made](https://qurangallery.com/chat/method). ## The four cards | Card | When it appears | What it does | | -------------------------- | ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | **Inheritance calculator** | You ask about dividing an estate (mirath). | A working calculator, pre-filled with the heirs and estate from your question. **Open full calculator** opens the [Inheritance Calculator](https://qurangallery.com/docs/mirath/using-the-calculator). | | **Adhkar collection** | You ask about supplications or remembrance. | A set of adhkar to read in place. **Open in Adhkar** opens the [Adhkar app](https://qurangallery.com/docs/adhkar/overview). | | **Qur'an verses** | You ask about specific verses. | The verses, shown inline. **Open in Quran reader** opens the [Quran reader](https://qurangallery.com/docs/quran/reader). | | **Prayer times** | You ask about prayer times. | Today's prayer times. **Open in Prayer Times** opens the [Prayer Times app](https://qurangallery.com/docs/prayer/prayer-times). | > The card is filled in from your question, so it's ready to use the moment it > appears — no need to re-enter anything. Open the full app whenever you want the > complete experience. ## Using a card Each card works on its own, right in the conversation: - **Use it in place.** Adjust the inheritance calculator, read through the adhkar, or glance at the verses or prayer times without leaving the chat. - **Open the full app.** Every card has an open link (for example, **Open full calculator** or **Open in Quran reader**) that takes you to the matching app in a new tab, carrying your question's details with it. ## When a card is replaced If you keep the conversation going and the chatbot produces a **newer** card of the same kind — say, a second inheritance calculation — the older card steps aside. It collapses into a small marker so the latest one is the one you act on. You'll see a note like: > Inheritance calculation — superseded by the newer one below The superseded marker still keeps its **open** link, so an earlier calculation or verse set is never lost — you can always reopen it in the full app. ## Cards in shared conversations Cards travel with a [shared conversation](https://qurangallery.com/docs/chat/using-chat). When someone opens your shared link, the cards render for them too — including the latest-versus-superseded behavior — so a shared answer looks the same as it did for you. ## Next steps - [Open Quran Gallery Chat](https://qurangallery.com/chat) - [How to use Quran Gallery Chat for Islamic questions](https://qurangallery.com/docs/chat/using-chat) - [Filter Islamic AI answers by madhab](https://qurangallery.com/docs/chat/schools-and-modes) --- # AI Chatbot: Study a Quran page with the AI companion Source: https://qurangallery.com/docs/chat/companion-mode > Open a mushaf page beside the chat, tap a verse and ask about its meaning, tafsir or context. Editions include Hafs, Warsh, Qaloon, Douri and Shubah. Quran Companion shows a mushaf page beside the chat, so you can tap a verse and ask about it. Sign in, open [`qurangallery.com/chat/companion`](https://qurangallery.com/chat/companion) and choose a mushaf edition to start. ## Open companion mode, step by step 1. **Sign in** to your Quran Gallery account — companion mode is part of the chatbot, which needs an account to start a conversation. 2. In the chat sidebar, select **Open Quran Companion** (or go straight to [`qurangallery.com/chat/companion`](https://qurangallery.com/chat/companion)). 3. Under **Choose a mushaf**, pick an edition. The screen splits: the mushaf page on one side, the chat on the other. 4. **Tap a verse** to ask about it, or tap one of the **suggested questions** for the whole page. 5. To come back later, select **Continue Quran Companion** on the chat's start screen — it reopens the edition and page you were reading. ## Choosing a mushaf The companion landing page opens on **Choose a mushaf** — a gallery of mushaf editions (Hafs, Warsh, Qaloon, Douri, Shubah, Urdu, and Tajweed). Pick the edition you want to read _before_ the split-screen opens: - **Search editions** by name, riwaya, or publisher with the search box. - **Filter** by riwaya using the chips above the gallery (**All**, then each riwaya present). - If you've read in companion mode before, a **Continue reading** strip near the top lets you jump back to where you left off in an edition. Select an edition to open it in the split-screen reader. ## Reading alongside the chat In companion mode the screen is split: the **mushaf page** on one side and the **chat** on the other. As you read, you can ask the chatbot about the verses on the page — a word, a phrase, the meaning of an ayah, or the context of the passage — and your answers come with references, the same as a normal chat. ## Opening a specific page range Companion mode is page-aware. A page range opens at a URL like: ```text qurangallery.com/chat/companion//page/ ``` - `` selects which mushaf edition you're reading. - `` is the page you want in view. Use a single page like `5`, or a two-page spread written with a hyphen like `5-6`. This lets you jump straight to the page you're studying and keep the chat focused on it. ## Asking about the page Once a page is open, ask naturally — for example, "What is this verse about?" or "Explain the word here." Because the page is in view beside the chat, you can read the answer and check it against the text immediately. As always, the responses are guidance: for fatwa or madhab-specific rulings, confirm with a qualified scholar. ## Asking about one verse Tap any verse on the page to focus the chat on it. A **context chip** appears above the message box showing the verse you picked (for example, `Al-Baqarah 2:255`) with the note `Context for your next question`. Your next question is answered about that verse specifically. Select the **✕** on the chip to clear the verse and go back to asking about the whole page. ## Suggested questions for the page When the chat side is empty, companion mode offers one-tap **suggested questions** so you don't have to phrase things yourself. Which ones appear depends on whether a verse is selected: | Suggestion | Shown | Asks for | | ---------------------------- | ------------------------ | ------------------------------------------------------------- | | **Explain `{verse}`** | When a verse is selected | The verse's meaning and the context of its revelation. | | **Tafsir of `{verse}`** | When a verse is selected | The classical tafsir, with key scholarly views. | | **Overview of page `{n}`** | Always | Which surahs and verses are on the page, and what they cover. | | **Main themes on this page** | Always | The main themes across the page's verses. | | **Lessons & reflections** | Always | Key lessons and reflections to take from the page. | Tap one to drop it into the message box, then send it. ## Companion keeps its own history Companion reading sessions are saved separately from your regular chats. Your ordinary conversations and your companion sessions each have their own list in the sidebar, and the **Continue reading** strip on the landing page only tracks companion sessions — so studying a mushaf never clutters your normal chat history. ## Next steps - [Open Quran Companion](https://qurangallery.com/chat/companion) - [How to use Quran Gallery Chat for Islamic questions](https://qurangallery.com/docs/chat/using-chat) - [Filter Islamic AI answers by madhab](https://qurangallery.com/docs/chat/schools-and-modes) --- # Prayer & Calendar: Prayer times for any city: free, 37 methods Source: https://qurangallery.com/docs/prayer/prayer-times > Free prayer times for 236,000+ cities in 246 countries and territories, 37 calculation methods, Hanafi or Standard Asr. No ads, no account. Quran Gallery Prayer at [qurangallery.com/prayer](https://qurangallery.com/prayer) gives free prayer times for 236,000+ cities in 246 countries and territories, with 37 calculation methods from the authorities that publish them. There are no ads, no account is needed, and it runs in any browser. The page shows the five daily prayers plus Sunrise for your location. It marks which prayer is **Current** and which is **Next**, and counts down to the next one. ## At a glance - **Worldwide coverage.** 236,000+ cities in 246 countries and territories, each with its own monthly timetable. - **37 calculation methods.** National, regional and global standards, plus your own custom angles. See [Prayer calculation methods](https://qurangallery.com/docs/prayer/calculation-methods). - **Your country's defaults first.** Every place starts on its country's (or region's) method, Asr school and high-latitude rule. You can change any of them. - **Asr school.** Standard (Shafiʿi, Maliki and Hanbali) or Hanafi. - **Hijri dates** from the moon-sighting authority you choose. See [The Hijri calendar](https://qurangallery.com/docs/prayer/calendar). - **Qibla, mosques, tracker and reminders.** See [Qibla](https://qurangallery.com/docs/prayer/qibla), [Mosques](https://qurangallery.com/docs/prayer/mosques), [Prayer tracking](https://qurangallery.com/docs/prayer/tracking) and [Notifications](https://qurangallery.com/docs/prayer/notifications). - **Calendar feed.** Put the times in Google, Apple or Outlook calendar. See [Calendar sync](https://qurangallery.com/docs/prayer/calendar-sync). - **No account needed.** Notifications and the tracker also work signed out. Signing in keeps them on your account, so they follow you to other devices. ## Setting your location You need a location before exact times appear. Until then you'll see _"Set your location to see prayer times."_ There are two ways to set it: - **Use Current Location** — let the page read your GPS. If your browser blocks it you'll see a message like _"Location access denied. Please search manually."_ - **Search for a city** — type into the _"Search for a city..."_ box and pick a match. Your chosen location shows under **Your Location** with a **Clear** (✕) button. To switch place, clear it and search again, or use **Use Current Location**. > No location set yet? The home page can fall back to an approximate city taken from your internet connection (Cloudflare's visitor location) when that is available, and suggests it until you set your own. A location you set yourself always takes priority. ## The five daily prayers | Prayer | When | | ----------- | ---------------------------------------------------------- | | **Fajr** | Pre-dawn prayer before sunrise. | | **Sunrise** | Not a prayer — marks the end of Fajr. | | **Dhuhr** | Midday, after the sun passes its zenith. | | **Asr** | Afternoon, in the late part of the day before sunset. | | **Maghrib** | Sunset, immediately after the sun sets below the horizon. | | **Isha** | Night, after twilight disappears — the last prayer of day. | ## Calculation method Open **Prayer Settings → Calculation Method**. The list has three groups: - **Default here** — the method your place's authority uses. - Alternatives that are also used in your country, where there are any. - Every other method, by name, and **Custom angles** at the end. The list holds 37 methods. The widely used ones include the Muslim World League, the Egyptian General Survey Authority, the Islamic Society of North America (ISNA), the University of Islamic Sciences, Karachi, Umm al-Qura (Saudi Arabia), Diyanet (Türkiye), JAKIM (Malaysia), Kementerian Agama (Indonesia) and MUIS (Singapore). [Prayer calculation methods](https://qurangallery.com/docs/prayer/calculation-methods) lists all of them. Each method shows a short description under the list. Choosing nothing keeps your place's own default. The full comparison is on [Prayer calculation methods](https://qurangallery.com/docs/prayer/calculation-methods) and at [qurangallery.com/prayer/calculation-methods](https://qurangallery.com/prayer/calculation-methods). > Compare with your local masjid so your times match your congregation. If they differ slightly, use **Time Adjustments** below. ## Asr school The **Madhab (Asr Calculation)** setting controls when Asr begins. It starts on your place's usual school: - **Standard** — used by the Shafiʿi, Maliki and Hanbali schools. Asr starts when an object's shadow equals its height (plus its shadow at noon). - **Hanafi** — Asr starts when the shadow is twice the object's height. ## Adjustments and format Other options under **Prayer Settings**: - **Time Adjustments (minutes)** — move any prayer earlier or later, to match your local masjid to the minute. - **24-hour Format** — switch between 12-hour and 24-hour display. - **Reset** — return all settings to their defaults. > **Far north or south?** At high latitudes the sun may not sink far enough for a true Fajr or Isha on some nights. Each place follows its authority's high-latitude rule. Under **High-latitude rule** you can pick Middle of the night, One-seventh of the night or Twilight angle instead. Where no time can be given at all, the app shows — instead of guessing. ## Calendar Authority **Prayer Settings → Calendar Authority** sets the moon-sighting authority for Hijri dates across the app. The default is **Auto (based on location)**, which picks the authority for your country. See [The Hijri calendar](https://qurangallery.com/docs/prayer/calendar) for the 8 options. ## Monthly timetable and city pages Each city has its own page with a full **monthly timetable**. You can **Browse by Country** or open **Popular Cities**. Every city page ends with **Download & subscribe**: - **Subscribe (iCal)** and **Add to Google Calendar** — a live feed of the next 30 days, with a reminder 10 minutes before each prayer. To choose up to 12 months and your own reminders, use [Calendar sync](https://qurangallery.com/docs/prayer/calendar-sync). - **Download CSV** — the month's timetable, including the Hijri date. - **Print timetable** — a print-friendly version of the month. - **Mosque & TV display** — a full-screen board with a live clock, the Gregorian and Hijri date, the countdown to the next prayer and the day's times. ## Finding a mosque The [mosque finder](https://qurangallery.com/docs/prayer/mosques) at [qurangallery.com/prayer/mosques](https://qurangallery.com/prayer/mosques) lists mosques within 1, 2, 5 or 10 km of you, nearest first, on a list or a map with directions. The locations come from OpenStreetMap, so coverage can be incomplete. ## Sharing your times Once your location is set, **Prayer Settings** shows a **Share Prayer Times** card with a **Copy Link** button. The link carries your location and method, so whoever opens it sees the same times. ## Next steps - [Open Prayer times](https://qurangallery.com/prayer) - [Qibla finder online, no install](https://qurangallery.com/docs/prayer/qibla) - [Prayer calculation methods and the authorities behind them](https://qurangallery.com/docs/prayer/calculation-methods) - [Prayer documentation](https://qurangallery.com/docs/prayer) --- # Prayer & Calendar: Prayer calculation methods and the authorities behind them Source: https://qurangallery.com/docs/prayer/calculation-methods > The 37 prayer calculation methods, who publishes each, which one your country uses by default, and how to pick another or set your own angles. Quran Gallery Prayer offers 37 calculation methods, each published by an authority: 31 national, 4 regional and 2 global. Every place starts on the method its country (or region) uses, and you can switch to any other or set your own angles. The full comparison table is at [qurangallery.com/prayer/calculation-methods](https://qurangallery.com/prayer/calculation-methods). ## Why methods differ Fajr begins at the first light on the eastern horizon, and Isha when the twilight in the west has gone. Both are measured as the sun's depth below the horizon, and each authority picks its own angle. A larger angle means an earlier Fajr and a later Isha. Some authorities also add a few minutes of caution, round their times differently, set Maghrib a few minutes after sunset, or lengthen Isha in Ramadan. That is why two timetables can differ by several minutes for the same city. ## The 37 methods | Scope | Count | Methods | | ------------ | ----- | ----------------------------------------------------------------------------------------------------------------------------- | | **Global** | 2 | Muslim World League; Moonsighting Committee Worldwide | | **Regional** | 4 | Islamic Society of North America (ISNA); University of Islamic Sciences, Karachi; Muslim Judicial Council (Cape Town); Tatarstan | | **National** | 31 | One or more per country, such as Umm al-Qura (Saudi Arabia), Egyptian General Survey Authority, Diyanet (Türkiye), JAKIM (Malaysia), Kementerian Agama (Indonesia), MUIS (Singapore), Islamic Foundation Bangladesh and UOIF (France) | The comparison page shows, for each method, its **Fajr** and **Isha** setting, **Maghrib**, **Rounding** and where it is **Used in**. > The Moonsighting Committee uses 18° as its base and adjusts Fajr and Isha by season and latitude, so its fixed row is a starting point. ## Your country's default Every one of the 252 countries and territories in the data has a default method, Asr school and high-latitude rule, and 38 of them also list alternatives. Some regions inside a country have their own default, for example Cape Town and Tatarstan. As a country's default, the most common methods are: | Method | Default in | | --------------------------------- | ------------- | | Muslim World League | 152 countries | | Egyptian General Survey Authority | 49 countries | | ISNA | 9 countries | | University of Islamic Sciences, Karachi | 8 countries | ## Choosing a method Open **Prayer Settings → Calculation Method**. The list is grouped: 1. **Default here** — the method your place uses. 2. Alternatives also used in your country, where there are any. 3. Every other method, by name. 4. **Custom angles** — set your own Fajr and Isha angles, from 10° to 25°. Choosing nothing keeps your place's own default. If your local mosque follows a different method, pick theirs, then use **Time Adjustments (minutes)** to match its timetable to the minute. See [Prayer times](https://qurangallery.com/docs/prayer/prayer-times). ## Asr: Standard or Hanafi **Madhab (Asr Calculation)** has two options, and starts on your place's usual school: - **Standard** (Shafiʿi, Maliki and Hanbali) — Asr begins when an object's shadow equals its height, plus its shadow at noon. - **Hanafi** — Asr begins when the shadow is twice the object's height. ## High latitudes Far from the equator in summer, the sun may never sink far enough to reach the Fajr or Isha angle. Each place follows its authority's high-latitude rule. Under **High-latitude rule** you can choose **Middle of the night**, **One-seventh of the night** or **Twilight angle** instead. A time that can't be calculated at all is left out rather than guessed. ## See also - [Prayer times](https://qurangallery.com/docs/prayer/prayer-times) — set your location and see today's times. - [Calendar sync](https://qurangallery.com/docs/prayer/calendar-sync) — the same method's times in your calendar. ## Next steps - [Open Prayer calculation methods](https://qurangallery.com/prayer/calculation-methods) - [Prayer times for any city: free, 37 methods](https://qurangallery.com/docs/prayer/prayer-times) - [Qibla finder online, no install](https://qurangallery.com/docs/prayer/qibla) - [Prayer documentation](https://qurangallery.com/docs/prayer) --- # Prayer & Calendar: Qibla finder online, no install Source: https://qurangallery.com/docs/prayer/qibla > Find the qibla direction from any city on a compass or a map in your browser, with the bearing and distance to Makkah. Free, no app to install. The Qibla finder at [qurangallery.com/prayer/qibla](https://qurangallery.com/prayer/qibla) shows the direction of the Kaaba from any city, in your browser, with nothing to install. It gives the **Bearing** from North and the **Distance to Makkah**, on a live compass or a map. It needs your location: allow GPS or search for a city. Cities of 100,000 people or more also have their own qibla page. ## Compass mode and map mode - **Compass** — uses your phone's magnetometer to point in real time. Turn until the dial reads **Facing Qibla**. If your device has no compass you'll see _"Compass not available. Using map view."_ - **Map** — draws a great-circle line from your location to Makkah. This works on any device, including a computer. ## Calibrating the compass Magnetometers drift, so the compass may show _"Calibration needed — figure-8 pattern."_ To fix it: > Move your phone in a figure-8 pattern to calibrate the compass. Keep it flat and away from metal objects and magnets. You can always cross-check against your local mosque's qibla marking. ## Bearing and distance The qibla is a **great-circle bearing**: the shortest path over the Earth's curved surface to the Kaaba (21.4225° N, 39.8262° E). The page reports: - **Bearing** — the angle from North to the Kaaba. Roughly northeast from North America, southeast from Europe and west from East Asia. - **Distance to Makkah** — how far the Kaaba is from your location, in kilometres. ## Without a phone The page also explains how to find the qibla with a stick and the sun. Around midday the shortest shadow lies on the north–south line. Face North along it, then turn clockwise by your city's bearing. ## See also - [Mosques near you](https://qurangallery.com/docs/prayer/mosques) — find a masjid within walking distance. - [Prayer times](https://qurangallery.com/docs/prayer/prayer-times) — today's times for the same location. ## Next steps - [Open Qibla finder](https://qurangallery.com/prayer/qibla) - [Prayer calculation methods and the authorities behind them](https://qurangallery.com/docs/prayer/calculation-methods) - [Free prayer and qaza tracker, no account needed](https://qurangallery.com/docs/prayer/tracking) - [Prayer documentation](https://qurangallery.com/docs/prayer) --- # Prayer & Calendar: Free prayer and qaza tracker, no account needed Source: https://qurangallery.com/docs/prayer/tracking > Log the five prayers and their sunnah, count down your qaza prayers and missed fasts, keep a streak and earn badges. Free, no ads, works signed out. Prayer Tracking at [qurangallery.com/prayer/tracking](https://qurangallery.com/prayer/tracking) is a free prayer and qaza tracker that works without an account. You log the five fard prayers and their sunnah, count down the qaza prayers and fasts you owe, and follow a daily score, streaks and 9 badges. > **Works signed out.** Without an account, the tracker saves your record on this device. When you sign in, it is imported into your free Quran Gallery account, and from then on it follows you to any device. The page opens on today's five prayers, then the week and the month. Below them, **Sunnah, qaza and preferences** has four panels: **Sunnah Prayers**, **Qaza Recovery**, **Fasts** and **Settings**. ## Logging a prayer Tap a prayer to log it. Each prayer takes a status: | Status | Meaning | | ----------- | ---------------------------------------- | | **On Time** | Prayed within the prayer's window. | | **Late** | Prayed, but after the window passed. | | **Qaza** | Made up later. | | **Missed** | Not prayed. | | **Excused** | Exempt, and left out of the day's score. | You can add detail to any prayer: - **Jama'at** — prayed in congregation with others. - **Shortened prayer (travel)** — a four-rakat prayer shortened to 2 rakat (qasr). - **Focus (Khushu)** — rate your focus from 1 to 5. - **Notes** — an optional note. ## Score, streaks and badges - Each day gets a **score out of 10**. An on-time prayer earns 1 point, or 2 in congregation; a late prayer earns half that, and a qaza prayer half a point. Excused prayers are left out. - Your **Current Streak** and **Longest Streak** count consecutive days with a prayer logged, with milestones at 7, 14, 21, 40, 90 and 365 days. - A **weekly strip** and a **monthly heatmap** show every day at a glance. Any past date opens its full log. - **Badges** are earned from what you already log. There are 9: a 7, 30 and 100-day streak, a full week on time (all 35 prayers), 100 and 1,000 make-up prayers, make-up complete, a full Ramadan, and 10 voluntary fasts. ## Sunnah prayers Open **Sunnah Prayers** to tick the sunnah beside each fard prayer: 2 before Fajr, 4 before and 2 after Dhuhr, 4 before Asr, 2 after Maghrib, 2 after Isha, and **Witr**. ## Qaza recovery Open **Qaza Recovery** and enter your **Total missed fard prayers**. Count each prayer on its own: 5 prayers a day × 100 days = 500. Each time you make one up, tap **+1 made up**, or **+5 · a full day** for all five. **Undo one** reverses a mistaken tap. The panel shows how many prayers remain, your daily pace and an estimated finish date, until it reads _"All caught up!"_ Not sure of your total? The [qaza calculator](https://qurangallery.com/prayer/qaza-calculator) works it out from the years or dates you missed. It can subtract excused days per month and count Witr as owed (as in the Hanafi school). Its **Start tracking** button carries the total into this panel. The calculator is a planning aid, not a ruling; ask a scholar of your madhhab about your own case. The steps and the arithmetic are in [Missed prayers calculator](https://qurangallery.com/docs/prayer/qaza-calculator). The same panel has **Missed fasts to make up**, a separate counter with **+1 fast made up**. ## Fasts Open **Fasts** to log a fast on any day. Choose the kind (**Ramadan**, **Voluntary**, **Make-up (qada)**, **Vow (nazr)** or **Expiation (kaffarah)**) and the status (**Fasted**, **Missed**, **Made up** or **Excused**). A missed Ramadan day adds 1 to your missed fasts to make up. The panel also points out recommended fast days, such as Mondays and Thursdays, the white days, Ashura and the Day of Arafah. The fasting strip on the [Ramadan page](https://qurangallery.com/docs/prayer/ramadan-and-travel) writes to the same log. ## Settings, export and pausing Under **Settings**: - **Prayer Exemption** pauses logging, for example during menstruation or postpartum recovery. - **Download my record** — saves your record as a CSV spreadsheet, with one row for each prayer you logged, or as a JSON file. - **Your data** — **Import from a file** loads a JSON file back in. An import never overwrites a prayer you already logged. ## See also - [Notifications](https://qurangallery.com/docs/prayer/notifications) — a reminder before each prayer, also without an account. - [Ramadan and travel](https://qurangallery.com/docs/prayer/ramadan-and-travel) — the Ramadan fasting log and travel mode. ## Next steps - [Open Prayer tracker](https://qurangallery.com/prayer/tracking) - [Qibla finder online, no install](https://qurangallery.com/docs/prayer/qibla) - [Missed prayers (qadha) calculator by years missed](https://qurangallery.com/docs/prayer/qaza-calculator) - [Prayer documentation](https://qurangallery.com/docs/prayer) --- # Prayer & Calendar: Missed prayers (qadha) calculator by years missed Source: https://qurangallery.com/docs/prayer/qaza-calculator > Work out how many missed prayers you owe from years or dates, with excused days and optional Witr. Get each prayer, a total and a finish date. Free. Use the calculator in the app: [/prayer/qaza-calculator](https://qurangallery.com/prayer/qaza-calculator). This page explains how QuranGallery Prayer's qaza calculator works. The qaza calculator at [qurangallery.com/prayer/qaza-calculator](https://qurangallery.com/prayer/qaza-calculator) works out how many obligatory prayers you owe for a period you missed. Enter the number of years, or a start and end date, and it returns a count for each of the five prayers, a total, and the day you would finish at your own pace. It is free, needs no account and stores nothing. ## Steps 1. Open the calculator. 2. Fill in **Years missed** (optional, up to 100). The start date then becomes that many years before the end date. Or leave it empty and enter **From** and **To** as year-month-day, for example `2015-01-31`. **To** is today unless you change it. 3. Set **Excused days per month**, from 0 to 15. The app describes it as, for women, the days each month when prayer was not required (menstruation or postnatal bleeding). Use 0 if none. 4. Tick **Count Witr as owed** if you want Witr included. 5. Set **Make-up prayers per day**, from 1 to 10. The default is 5. 6. Press **Calculate**. ## What the result shows - The number of days of prayers to make up. - A table with Fajr, Dhuhr, Asr, Maghrib and Isha, and Witr when you ticked it, then the **Total**. - A finish date: "At 5 a day, you would finish on …", counting today as day one. - A **Start tracking** button that opens the [prayer tracker](https://qurangallery.com/docs/prayer/tracking) with your total carried over and asks you to confirm it as your qaza count. The tracker works without an account: signed out, the count stays in this browser on this device, and when you sign in it is imported into your account and follows you to any device. ## How is the number worked out? The calculator counts every calendar day from the start date to the end date, both included. It subtracts your excused days per month for each month in that period, rounded to whole days. Each of the five prayers is owed once for every remaining day, and Witr adds one more per day when you turned it on. So 100 days with no excused days gives 500 prayers. ## Can I save or share the result? Yes. The dates and settings are kept in the page address, so you can bookmark the result or send the link. Nothing is stored on our servers. ## Limits - It is an estimate for planning. It is not a fatwa, and it does not replace asking a scholar of your madhhab. - It treats the whole period alike: one range of dates, one excused-days figure, one Witr choice. For separate periods, run it once for each and add the totals. - The calculator page has its own FAQ on qaza, with the scholarly sources it cites. Read the rulings there rather than relying on this page. ## Next steps - [Open the qaza calculator](https://qurangallery.com/prayer/qaza-calculator) - [Prayer tracking: count down your qaza](https://qurangallery.com/docs/prayer/tracking) - [Prayer times](https://qurangallery.com/docs/prayer/prayer-times) --- # Prayer & Calendar: Prayer time notifications: remind me before adhan Source: https://qurangallery.com/docs/prayer/notifications > Get a browser reminder at prayer time or 5 to 30 minutes before, up to 3 per prayer, for the prayers you pick. Free, and no account needed. Prayer notifications at [qurangallery.com/prayer](https://qurangallery.com/prayer) remind you at prayer time or up to 30 minutes before, in your browser, for free. You choose which prayers alert you and pick up to 3 reminders per prayer, and no account is needed. You set it all up in **Prayer Settings → Notifications**. ## Turning notifications on Switch on **Enable prayer time notifications**. Your browser asks for permission to send notifications: allow it. - **No account needed.** Signed out, the page says _"No account needed. Reminders are tied to this browser, using the location and method you set here."_ - **Set your location first.** Without one you'll see _"Set your location above to receive prayer time notifications,"_ and the switch stays disabled. > If you blocked notifications before, the browser won't ask again. You'll see _"Notification permission was denied. Please enable in browser settings."_ Re-enable them for this site and try again. ## On iPhone and iPad Safari only allows notifications for apps added to your Home Screen. Until then you'll see _"On iPhone, add this app to your Home Screen first to enable notifications."_ > Open the prayer app in Safari, tap **Share**, choose **Add to Home Screen**, then open it from the new icon and turn notifications on there. If your browser can't send notifications at all, you'll see _"Push notifications aren't supported in this browser."_ Try another browser or device. ## Choosing which prayers alert you Once notifications are on, **Notify me for** has a switch for each prayer: | Prayer | On by default | | ----------- | ------------- | | **Fajr** | Yes | | **Sunrise** | No | | **Dhuhr** | Yes | | **Asr** | Yes | | **Maghrib** | Yes | | **Isha** | Yes | Changes save as you make them. ## Reminder timing **Reminders** lets you pick up to 3 times for each prayer you turned on: - **30 min before**, **15 min before**, **10 min before**, **5 min before** - **At prayer time** - **10 min after** If you pick none, the **Reminder timing** dropdown sets one reminder: **At prayer time**, or **5**, **10**, **15** or **30 min before**. > A few minutes ahead gives you time to make wudu and reach the prayer space. The same reminders apply to every prayer. For a different lead per prayer, or a 60-minute lead, use a [calendar feed](https://qurangallery.com/docs/prayer/calendar-sync) instead. ## Jumu'ah reminder Turn on **Jumu'ah reminder** to get a Friday reminder instead of the Dhuhr ones. **Jumu'ah reminder timing** can be at the time or 15, 30, 45, 60, 90 or 120 minutes before. ## Sound A notification uses your device's own notification sound; a web page can't attach a custom adhan to it. While the app is open, the [adhan page](https://qurangallery.com/prayer/adhan) can play a recorded adhan when a prayer begins: Madinah, Aaqib Azeez, one recorded in a mosque hall, or a studio recording. It plays the opening takbir, or the whole adhan with Longer version on. A beep and a takbir tone are there too, and every sound is set to the same loudness. ## Sending a test Use **Send test notification** to check it works. A test should arrive within a moment, and the button briefly reads _"Test notification sent."_ If it fails, check that notifications are allowed for this site and that you're online. ## See also - [Prayer times](https://qurangallery.com/docs/prayer/prayer-times) — set your location and calculation method. - [Calendar sync](https://qurangallery.com/docs/prayer/calendar-sync) — reminders through Google, Apple or Outlook calendar. - [Tracking your prayers](https://qurangallery.com/docs/prayer/tracking) — log each prayer after the reminder. --- # Prayer & Calendar: Mosques near me on a map, free Source: https://qurangallery.com/docs/prayer/mosques > Find mosques within 1 to 10 km of you, nearest first, on a list or a map with directions. Free, in your browser, using OpenStreetMap data. The mosques page at [qurangallery.com/prayer/mosques](https://qurangallery.com/prayer/mosques) finds mosques within 1 to 10 km of you, nearest first. It shows them on a list or a map, with directions, for free in your browser. ## Finding nearby mosques The page needs your **precise location**. Without it you'll see _"Nearby mosques requires your precise location"_ and a **Go to Settings** button. Allow location access and the page lists the mosques within your radius. If there are none you'll see _"No mosques found nearby."_ ## Radius, views and directions - **Search Radius** — anywhere from **1 km to 10 km**. - **List** or **Map** — the list is sorted by distance, nearest first; the map shows every result around **Your Location**. - **Directions** — open turn-by-turn navigation to any mosque in the results. Each listing shows the name, the distance from you and the address when one is known. ## Where the data comes from Mosque locations come from **OpenStreetMap**, a community-maintained map. Coverage is generally good but can be incomplete. If your local mosque is missing, add it to OpenStreetMap; there is no form inside the app. > To look up mosques in another city, change your location in the prayer settings or search for the city. The search centres on your GPS or saved location. ## See also - [Qibla finder](https://qurangallery.com/docs/prayer/qibla) — the direction of the Kaaba from where you are. - [Prayer times](https://qurangallery.com/docs/prayer/prayer-times) — when to set out for the next prayer. ## Next steps - [Open nearby mosques](https://qurangallery.com/prayer/mosques) - [Missed prayers (qadha) calculator by years missed](https://qurangallery.com/docs/prayer/qaza-calculator) - [Hijri calendar and Islamic dates by country](https://qurangallery.com/docs/prayer/calendar) - [Prayer documentation](https://qurangallery.com/docs/prayer) --- # Prayer & Calendar: Hijri calendar and Islamic dates by country Source: https://qurangallery.com/docs/prayer/calendar > An Islamic calendar that follows your country's moon-sighting authority, with 8 to choose from, moon phases, Islamic events and a Hijri date converter. The Hijri calendar at [qurangallery.com/prayer/calendar](https://qurangallery.com/prayer/calendar) shows Islamic dates as announced by your country's moon-sighting authority, with 8 authorities to choose from. It also shows moon phases and Islamic events, and converts dates between Hijri and Gregorian. An Islamic month begins with the sighting of the new moon, so the same date can differ by a day between regions. That's why the calendar lets you choose whose announcement to follow. ## Choosing an authority The **Method** dropdown starts on the authority used in your country. You can pick any of the 8: | Method | What it follows | | ------------------------------------ | ----------------------------------------------------------------------- | | **Saudi Arabia (Official Sighting)** | The kingdom's official moon-sighting announcements. | | **Umm al-Qura (Calculated)** | Saudi Arabia's calculated Umm al-Qura calendar. | | **Diyanet (Turkey)** | Türkiye's Directorate of Religious Affairs. | | **MABIMS (Southeast Asia)** | The shared criteria of Brunei, Indonesia, Malaysia and Singapore. | | **Ruet-e-Hilal (Pakistan)** | Pakistan's official Ruet-e-Hilal Committee declarations. | | **MARA (Oman)** | Oman's Ministry of Awqaf and Religious Affairs. | | **Habous (Morocco)** | Morocco's Ministry of Habous and Islamic Affairs. | | **Astronomical Calculation** | A pure astronomical new-moon computation, independent of any authority. | Where your country has no authority on the list, the calendar follows Saudi Arabia (Official Sighting). The whole calendar follows your choice: month starts, the Gregorian date of each day, and event dates. The header spells out the result, for example: _"1st day of Dhul Hijjah 1447 AH starts from 18th May, 2026 as per Saudi Arabia (Official Sighting)."_ To use the same authority across the app, set **Prayer Settings → Calendar Authority**. Its default, **Auto (based on location)**, picks your country's authority. ## Reading the calendar - Every day shows its Hijri number with the Gregorian date underneath. - Select a day to see its **Islamic events** and the **moon phase** for that night. - Step between months with the arrows. **Today** brings you back to the current date. - During Ramadan the fasting days are tinted, and the **odd nights of the last ten days**, when Laylat al-Qadr is sought, are highlighted. - Coloured dots mark special days, including **Sunnah fast** days (such as the white days and ʿArafah) and **Fasting prohibited** days (the two ʿEids and the days of Tashreeq). Select the day to see the label. ## Moon Sighting Tonight On the **28th and 29th** of each Hijri month, when the next crescent might first appear, a **Moon Sighting Tonight** panel predicts whether it can be seen from your location: | Reading | What it tells you | | ---------------------- | --------------------------------------------------------------------------------- | | **Visibility badge** | Sighting **Expected**, **Possible**, **Unlikely** or **Not Visible**. | | **Moon Born** | When the new moon is born (the conjunction), and how long ago that was at sunset. | | **Best Sighting Time** | The window after sunset when the crescent is easiest to spot. | | **Sunset to Moonset** | The gap between sunset and moonset. A longer gap makes sighting easier. | | **Illumination** | How much of the crescent is lit. | A short note explains the prediction. The panel needs your location, because it uses your local horizon. > A prediction is a guide, not a ruling. Your local committee's announcement decides. Choose the matching **Method** so the calendar follows it. ## Converting a date The [Hijri ⇄ Gregorian Date Converter](https://qurangallery.com/prayer/calendar/converter) converts in both directions: **Gregorian → Hijri** and **Hijri → Gregorian**. Pick the **Moon-sighting authority**, enter the day, month and year, and press **Convert**. The result notes that authorities can differ from astronomical tables by a day. ## Islamic events Major dates, such as Ramadan, ʿEid al-Fitr, ʿEid al-Adha and Ashura, are marked on the grid. Each major event also has its own page with the date and background, for example [Eid al-Adha 2026](https://qurangallery.com/prayer/calendar/eid-al-adha-2026). For daily suhoor and iftar times by city, see the [Ramadan timetable](https://qurangallery.com/docs/prayer/ramadan-timetable). ## On your own website The free [prayer times widget](https://qurangallery.com/prayer/widgets) can also show the Hijri calendar on a mosque or community website, with one line of HTML. > Spotted a date that doesn't match your local announcement? Tell us at [qurangallery.com/feedback](https://qurangallery.com/feedback). ## Next steps - [Open Hijri calendar](https://qurangallery.com/prayer/calendar) - [Mosques near me on a map, free](https://qurangallery.com/docs/prayer/mosques) - [Sync prayer times to Google, Apple or Outlook calendar](https://qurangallery.com/docs/prayer/calendar-sync) - [Prayer documentation](https://qurangallery.com/docs/prayer) --- # Prayer & Calendar: Sync prayer times to Google, Apple or Outlook calendar Source: https://qurangallery.com/docs/prayer/calendar-sync > Subscribe once to a free prayer times feed in Google, Apple or Outlook. Choose 1 to 12 months, reminders, sunrise, Ramadan and Jumu'ah. No account. Calendar sync at [qurangallery.com/prayer/calendar-sync](https://qurangallery.com/prayer/calendar-sync) puts your prayer times in Google Calendar, Apple Calendar or Outlook, with a reminder before each prayer. You subscribe once to a free feed of 1 to 12 months that refreshes daily, and no account is needed. The feed uses your saved location, calculation method and Asr school. If your location isn't set, the page asks you to set it first: the feed is built for one place. ## Building your feed Under **Build your feed**: - **Months ahead** — 1, 2, 3, 6 or 12. One month is 30 days, and the feed always starts from today. - **Reminder before each prayer** — **No reminder**, or 5, 10, 15, 30 or 60 min before. The default is 10. - **Reminder per prayer** — give any prayer its own reminder, or leave it on **Same as above**. - **Add sunrise** — adds a Sunrise event every day. - **Travel mode** — adds _"Qasr: 2 rakʿahs"_ to the Dhuhr, Asr and Isha events. It doesn't decide whether you count as a traveller; that depends on your madhhab and the distance. - **Ramadan mode** — on each day of Ramadan, adds _"Suhoor ends (Fajr)"_ at Fajr, _"Iftar"_ at Maghrib, and _"Tarawih"_ from 15 minutes after Isha for an hour. Ramadan days follow your Hijri calendar authority. - **Jumu'ah on Fridays** — titles the Dhuhr event _"Jumu'ah"_ on Fridays, with its own **Jumu'ah reminder**. The time is your Dhuhr time, not a particular mosque's khutbah. - **Show as busy** — prayer events block your time. When off, they show as free. Each prayer is a 15-minute event. The feed also carries Islamic dates such as the start of Ramadan, Eid al-Fitr and Eid al-Adha. ## Adding it to your calendar Under **Your feed**, press the button for your calendar: - **Add to Google Calendar** — a Google page opens. Confirm, and the calendar appears under _"Other calendars."_ - **Apple Calendar** — on an iPhone, iPad or Mac, confirm **Subscribe**. If asked, set Auto-refresh to Every Day. - **Outlook** — Outlook on the web opens. Sign in if asked and choose Import. - **Copy feed URL** — paste the link into any calendar app that subscribes to iCal feeds. > Google Calendar often ignores the reminder inside a subscribed feed. If you get no alert, add an event notification in that calendar's settings in Google Calendar. ## Keeping it current The feed asks calendar apps to refresh once a day, and each app decides when it actually checks. Days already downloaded stay on your device, so they work offline. If you change your city or method, the feed link changes too. Subscribe again with the new link and remove the old calendar. ## The quick feed on city pages Every city page has **Subscribe (iCal)** and **Add to Google Calendar** under **Download & subscribe**. That quick feed covers the next 30 days with a reminder 10 minutes before each prayer. Use this page for more months and your own reminders. ## See also - [Notifications](https://qurangallery.com/docs/prayer/notifications) — browser reminders, without a calendar. - [Ramadan timetable](https://qurangallery.com/docs/prayer/ramadan-timetable) — suhoor and iftar times by city. - [Prayer times](https://qurangallery.com/docs/prayer/prayer-times) — set your location and method. ## Next steps - [Open Prayer calendar sync](https://qurangallery.com/prayer/calendar-sync) - [Hijri calendar and Islamic dates by country](https://qurangallery.com/docs/prayer/calendar) - [Ramadan fasting log and prayer times when travelling](https://qurangallery.com/docs/prayer/ramadan-and-travel) - [Prayer documentation](https://qurangallery.com/docs/prayer) --- # Prayer & Calendar: Ramadan fasting log and prayer times when travelling Source: https://qurangallery.com/docs/prayer/ramadan-and-travel > Suhur and iftar countdowns, a Ramadan fasting and Taraweeh log, and a travel mode that marks shortened prayers once you are far from home. Free. The Ramadan page at [qurangallery.com/prayer/calendar/ramadan](https://qurangallery.com/prayer/calendar/ramadan) gives suhur and iftar countdowns for your location and a day-by-day fasting and Taraweeh log. When you travel, travel mode shows the times for where you are and marks Zuhr, Asr and Isha as shortened from 4 rakʿahs to 2. ## The Ramadan page The page works all year. Outside Ramadan it shows _"Ramadan mode will activate automatically during Ramadan."_ with a preview. It has: - **Suhur Ends** and **Iftar** — countdowns with the exact time. Suhur ends at Fajr and iftar is at Maghrib for your saved location. - **Fasting Tracker** — tap each day to mark it **Fasted**, **Missed** or **Qada**. It shows how many days you have fasted. - **Taraweeh** — mark each night **Attended** and note the **Juz** recited. - **Last 10 Nights** — the odd nights, when Laylatul Qadr is sought, are highlighted. - **The month, night by night** — every night's suhur and iftar time. > **Where it's saved.** The Fasting Tracker writes to the same fasting log as [Prayer tracking](https://qurangallery.com/docs/prayer/tracking): your account when you're signed in, this device otherwise. The Taraweeh log stays in this browser. For a printable month of suhoor and iftar times for a city, see the [Ramadan timetable](https://qurangallery.com/docs/prayer/ramadan-timetable). To put them in your calendar, turn on **Ramadan mode** in [Calendar sync](https://qurangallery.com/docs/prayer/calendar-sync). ## Travel mode Travel mode is a switch you control: 1. Save a home location. When you open the app, it checks your device's position once. 2. If you are farther from home than the threshold, it shows _"You appear to be traveling"_ with your distance in **km from home**, and an **Enable** button. Nothing changes until you accept. 3. Once on, **Travel Mode** uses your current position for the times and marks _"Qasr: Shortened prayers (2 rakat)"_ on Zuhr, Asr and Isha. It stays on until you turn it off and is remembered in this browser. The threshold follows your **Madhab (Asr Calculation)** setting: **80 km** for Hanafi or custom settings and **77 km** for Shafiʿi. These are a common modern estimate, not a ruling, and they only decide when the app offers travel mode. > Travel mode doesn't count the days of your stay or decide which ruling applies to your journey. Ask a scholar of your madhhab about your own case. ## Travel prayer in the four madhhabs [Travel Prayer: Qasr and Jam' in the Four Madhhabs](https://qurangallery.com/prayer/travel) sets out, for the Hanafi, Shafiʿi, Maliki and Hanbali schools, the distance for qasr, the length of stay that ends travel and the rules on combining prayers. Each position names its book, volume and page. ## See also - [Ramadan timetable](https://qurangallery.com/docs/prayer/ramadan-timetable) — suhoor and iftar by city for Ramadan 2027 and 2028. - [Notifications](https://qurangallery.com/docs/prayer/notifications) — a reminder before each prayer. - [The Hijri calendar](https://qurangallery.com/docs/prayer/calendar) — moon sighting and Islamic events. ## Next steps - [Open Ramadan and travel](https://qurangallery.com/prayer/travel) - [Sync prayer times to Google, Apple or Outlook calendar](https://qurangallery.com/docs/prayer/calendar-sync) - [Ramadan timetable: suhoor and iftar by city](https://qurangallery.com/docs/prayer/ramadan-timetable) - [Prayer documentation](https://qurangallery.com/docs/prayer) --- # Prayer & Calendar: Ramadan timetable: suhoor and iftar by city Source: https://qurangallery.com/docs/prayer/ramadan-timetable > Day-by-day suhoor and iftar times for 599 cities in 171 countries, for Ramadan 2027 and 2028, with expected start, last fast and Eid al-Fitr. Quran Gallery Prayer has a Ramadan timetable for 599 cities in 171 countries, for Ramadan 2027 and Ramadan 2028. Each page lists suhoor and iftar times for every day of the month, with the expected start, the last fast and Eid al-Fitr. Start from [Ramadan 2027](https://qurangallery.com/prayer/calendar/ramadan-2027), choose your country, then your city. ## Which cities are covered In every country, the three largest cities of 100,000 people or more have a page. Countries whose moon-sighting authority the app follows also get every city of a million or more. Each city has one page for Ramadan 2027 and one for Ramadan 2028. Not on the list? The [Ramadan page](https://qurangallery.com/prayer/calendar/ramadan) gives suhur and iftar for any saved location, and every city has a monthly timetable. See [Prayer times](https://qurangallery.com/docs/prayer/prayer-times). ## What each page shows - **The dates.** The expected start of Ramadan, by the moon-sighting authority the page follows for that country, marked **Expected** until it is **Announced**. If other countries start on a different day, the page says so. - **The timetable.** Every day of the month: **Date**, **Day of Ramadan**, **Suhur ends (Fajr)** and **Iftar (Maghrib)**, by the country's calculation method. A dash means the time can't be calculated that day. - **Last fast** and **Eid al-Fitr**, expected after the month's fasting days and confirmed when the authority announces the Shawwal crescent. - **Laylat al-Qadr** — the odd nights of the last ten. Each night begins at Maghrib on the evening listed. - **More for your city** — prayer times, Ramadan in your country, Eid al-Fitr, Laylat al-Qadr and the Ramadan tracker. ## In your calendar Turn on **Ramadan mode** in [Calendar sync](https://qurangallery.com/docs/prayer/calendar-sync). On each day of Ramadan, your calendar gets _"Suhoor ends (Fajr)"_ at Fajr, _"Iftar"_ at Maghrib, and _"Tarawih"_ from 15 minutes after Isha for an hour. ## Logging your fasts The [Ramadan page](https://qurangallery.com/docs/prayer/ramadan-and-travel) has suhur and iftar countdowns and a fasting log. The log also feeds the **Fasts** panel in [Prayer tracking](https://qurangallery.com/docs/prayer/tracking). ## See also - [The Hijri calendar](https://qurangallery.com/docs/prayer/calendar) — moon-sighting authorities and Islamic events. - [Ramadan and travel](https://qurangallery.com/docs/prayer/ramadan-and-travel) — the Ramadan page and travel mode. ## Next steps - [Open Ramadan timetable](https://qurangallery.com/prayer/calendar/ramadan) - [Ramadan fasting log and prayer times when travelling](https://qurangallery.com/docs/prayer/ramadan-and-travel) - [Free zakat calculator with gold and silver nisab](https://qurangallery.com/docs/prayer/zakat-calculator) - [Prayer documentation](https://qurangallery.com/docs/prayer) --- # Prayer & Calendar: Free zakat calculator with gold and silver nisab Source: https://qurangallery.com/docs/prayer/zakat-calculator > Work out zakat at 2.5% on gold, silver, cash, business goods and investments, with debts deducted. Pick the 87.48 g gold or 612.36 g silver nisab. Free. The zakat calculator at [qurangallery.com/prayer/zakat](https://qurangallery.com/prayer/zakat) works out zakat at 2.5% of your wealth once it reaches the nisab: 87.48 g of gold or 612.36 g of silver. It is free, needs no account, and runs entirely in your browser. It is a calculator, not a ruling. For your own case, ask a scholar you trust. ## What you enter The page has two parts. Under **Metal prices**, type today's local price per gram so the nisab matches your market and currency: - **Gold price per gram** - **Silver price per gram** - **Currency (optional)** — a short label such as USD, up to 8 characters. It is only shown next to the results; nothing is converted. Then choose the **Nisab basis**: **Silver (612.36 g)** or **Gold (87.48 g)**. Silver is selected when the page opens. Under **Your assets**, fill in what applies: - **Gold (grams)** and **Silver (grams)** — each is multiplied by its price per gram. - **Cash & bank balances** - **Business inventory & goods** - **Investments & money owed to you** - **Debts you owe (deducted)** — subtracted from the total. Blank fields count as zero. ## What you get The result panel, **Your zakat**, shows three figures: - **Zakatable wealth** — your assets added up, minus your debts. - **Nisab threshold** — the chosen nisab weight times that metal's price per gram. - **Zakat due (2.5%)** — 2.5% of your wealth, shown only when your wealth is at or above the nisab. Until you enter a price for the metal you picked, the page asks you to enter a gold or silver price so the nisab can appear. If your wealth is below the nisab you'll see _"Your wealth is below the nisab — zakat is not obligatory this year."_ **Download result (CSV)** saves what you entered, the nisab basis and the three figures as a spreadsheet file. The file is made in your browser; nothing is sent anywhere. ## Which nisab should I use? The page explains that many scholars recommend the silver nisab, because its lower threshold means more reaches those in need, and that it is the safer choice when your wealth mixes cash, gold and goods. The calculator leaves the choice to you. ## What it doesn't do - It doesn't track the lunar year. Zakat falls due when wealth has stayed at or above the nisab for a full Hijri year; the [Hijri calendar](https://qurangallery.com/docs/prayer/calendar) helps you find the day. - It doesn't cover pensions, shares, agricultural produce or livestock. Those have their own rulings. - It doesn't fetch gold or silver prices. ## Privacy The calculation happens in your browser, and nothing is stored or sent anywhere. ## See also - [Hijri calendar](https://qurangallery.com/docs/prayer/calendar) — know the day a lunar year completes. - [Divide an estate with unpaid zakat](https://qurangallery.com/mirath) — the inheritance calculator, for zakat a person still owed at death. - [Prayer times](https://qurangallery.com/docs/prayer/prayer-times) — today's five prayers for your location. ## Next steps - [Open Zakat calculator](https://qurangallery.com/prayer/zakat) - [Ramadan timetable: suhoor and iftar by city](https://qurangallery.com/docs/prayer/ramadan-timetable) - [Free prayer times widget for your mosque website](https://qurangallery.com/docs/prayer/website-widget) - [Prayer documentation](https://qurangallery.com/docs/prayer) --- # Prayer & Calendar: Free prayer times widget for your mosque website Source: https://qurangallery.com/docs/prayer/website-widget > Add daily prayer times or a Hijri calendar to your mosque site with one iframe. Free, no signup or key, 7 languages, light and dark themes. Build the widget with the [/prayer/widgets](https://qurangallery.com/prayer/widgets) page. The prayer times widget builder at [qurangallery.com/prayer/widgets](https://qurangallery.com/prayer/widgets) gives you one line of HTML that shows daily prayer times or a Hijri calendar on your mosque or community website. It is free, with no signup and no key, in 7 languages and light or dark themes. You pick a city and a few options, copy the code and paste it where the widget should appear. ## Build your widget Under **Build your widget**: 1. Search for your **City**, or tap one of the **Popular cities**. Until you pick one, the page says to search for a city to generate your code. 2. Choose the **Widget type**: **Daily prayer times** or **Hijri calendar**. 3. Set the options. 4. Press **Copy code**. The **Live preview** beside the builder is the widget itself, running now. ## Options - **Theme** — **Auto**, **Light mode** or **Dark mode**. - **Language** — English, Arabic, Urdu, Indonesian, Turkish, Bengali or French. - **Asr calculation (madhab)** — **Default here**, **Hanafi** or **Shafi**. Prayer times widget only. - **Time format** — **12-hour** or **24-hour**. Prayer times widget only. - **Iqamah times** — five optional boxes, one each for Fajr, Dhuhr, Asr, Maghrib and Isha: minutes after the prayer starts, from 0 to 90. Prayer times widget only. The calculation method follows each country's convention, so you don't pick one. The widget uses the same defaults as the city's page on Quran Gallery. ## The code you paste The builder produces an iframe. This example is for London, in English, with the prayer times widget: ```html ``` The prayer times widget is 470 px high; the Hijri calendar is 540 px high. Both are at most 380 px wide, and fill a narrower column. Paste the code into any page that accepts HTML. Choosing a language other than English adds its code to the address, for example `/prayer/fr/widget` for French. The theme, Asr school and 24-hour format are added only when you change them from the defaults. Iqamah times are added as `iqamah=20,10,10,5,10`: minutes after Fajr, Dhuhr, Asr, Maghrib and Isha. The widget then shows an Iqamah time under each prayer whose number is above 0. A list that does not hold five whole numbers from 0 to 90 is ignored and the widget looks as it did before. With iqamah times the builder sets the height to 600 px. The widget adds your minutes to the calculated start time; it does not read your mosque's own timetable. ## Add it to WordPress, Wix, Squarespace or Google Sites The widget is one iframe, so your site builder needs a block that accepts HTML. Paste the code from the builder into the block named for your product. The steps come from each product's own help page, checked on 1 December 2026. - WordPress (self-hosted): add a Custom HTML block, choose Edit HTML, paste the code and press Update. If your account may not post unfiltered HTML, WordPress removes iframes when the post is saved. [Help page](https://wordpress.org/documentation/article/custom-html/) - WordPress.com: add a Custom HTML block, choose Edit HTML, paste the code and press Update. Iframes need a paid plan with hosting features switched on. [Help page](https://wordpress.com/support/wordpress-editor/blocks/custom-html-block/) - Wix: in the editor choose Add Elements, then Embed Code, then Popular Embeds, then Embed HTML. Choose Enter Code, paste the code and press Apply. Wix shows only HTTPS code, and the widget address is HTTPS. [Help page](https://support.wix.com/en/article/wix-editor-embedding-a-site-or-a-widget) - Squarespace: edit the page, add a Code block, set Mode to HTML, switch Display Source off and paste the code. An iframe in a Code block needs the Core, Plus or Advanced plan. [Help page](https://support.squarespace.com/hc/en-us/articles/206543167-Code-Blocks) - Google Sites: open your site, choose Insert, then Embed, then Embed code. Paste the code, press Next, then Insert, and publish the site. [Help page](https://support.google.com/sites/answer/90569) ## What visitors see The prayer times widget lists today's times for your city and counts down to the next prayer. The Hijri calendar widget shows a month of the Hijri calendar with Islamic events, following your country's moon-sighting authority. A link in the widget opens the full page on Quran Gallery. The code pins the city, so every visitor to your page sees the same city's times. ## Does it stay current? Yes. The widget works out the day's times each time it loads, so you never edit the code again. The server may reuse an answer for up to ten minutes. ## Free, and no key The builder states no signup, no API key and no limits. The widget is meant to be embedded on other sites. It asks search engines not to index the frame itself. ## Need data instead of a widget? If you want to build your own display, use the [prayer times API](https://qurangallery.com/docs/prayer/prayer-times-api). To let people add the times to their own calendar, see [calendar sync](https://qurangallery.com/docs/prayer/calendar-sync). ## See also - [Prayer times](https://qurangallery.com/docs/prayer/prayer-times) — the full timetable the widget is drawn from. - [Calculation methods](https://qurangallery.com/docs/prayer/calculation-methods) — how each country's default is chosen. - [Hijri calendar](https://qurangallery.com/docs/prayer/calendar) — the page behind the calendar widget. ## Next steps - [Open Prayer times widget](https://qurangallery.com/prayer/widgets) - [Free zakat calculator with gold and silver nisab](https://qurangallery.com/docs/prayer/zakat-calculator) - [Free prayer times API, no API key needed](https://qurangallery.com/docs/prayer/prayer-times-api) - [Prayer documentation](https://qurangallery.com/docs/prayer) --- # Prayer & Calendar: Free prayer times API, no API key needed Source: https://qurangallery.com/docs/prayer/prayer-times-api > Free prayer times API with no key or signup. Get daily times as JSON by latitude and longitude, plus an iCal feed, city search and nearby mosques. The prayer times API at [qurangallery.com/prayer/developers](https://qurangallery.com/prayer/developers) is free and needs no API key or signup. Five public endpoints return daily prayer times as JSON, a timetable for up to 31 days, a subscribable iCal feed, city search and nearby mosques. Every endpoint lives under `https://qurangallery.com/prayer`. Bad input returns 400 and too many requests return 429. ## Prayer times for a location `GET /api/times` returns today's Fajr, sunrise, Dhuhr, Asr, Maghrib and Isha for a pair of coordinates, plus tomorrow's Fajr. Every time is an ISO 8601 instant in UTC. A time that does not exist at that latitude on that day is left out. ```bash curl 'https://qurangallery.com/prayer/api/times?lat=21.4225&lng=39.8262' ``` Parameters: - `lat` — required. Latitude in decimal degrees. - `lng` — required. Longitude in decimal degrees. - `method` — optional. Calculation method id, for example mwl, isna or karachi. Default: the method of the nearest city. - `asr` — optional. standard or hanafi, which sets the Asr time. Default: the usual convention of the nearest city's country. - `hlr` — optional. High-latitude rule: auto, middle-of-the-night, seventh-of-the-night or twilight-angle. Default: auto. - `fa` and `ia` — optional. Custom Fajr and Isha angle in degrees, from 10 to 25. Default: the method's own angle. The response, trimmed: ```json { "date": "2026-10-31", "times": [ { "name": "fajr", "time": "2026-10-31T02:06:00.000Z", "isCurrent": false, "isNext": true }, { "name": "sunrise", "time": "2026-10-31T03:23:00.000Z", "isCurrent": false, "isNext": false }, { "name": "dhuhr", "time": "2026-10-31T09:04:00.000Z", "isCurrent": false, "isNext": false }, { "name": "asr", "time": "2026-10-31T12:20:00.000Z", "isCurrent": false, "isNext": false }, { "name": "maghrib", "time": "2026-10-31T14:45:00.000Z", "isCurrent": false, "isNext": false }, { "name": "isha", "time": "2026-10-31T16:15:00.000Z", "isCurrent": false, "isNext": false } ], "fajrTomorrow": "2026-11-01T02:06:00.000Z" } ``` The date is the coordinates' own local day. Prayer times are not limited separately, so cache each location's answer for the day instead of calling on every page view. ## Timetable for up to 31 days `GET /api/timetable` returns up to 31 days of prayer times from a start date in one call. Each day has Fajr, sunrise, Dhuhr, Asr, Maghrib and Isha as local `HH:mm` in the place's time zone (null when there is no time), and the Hijri date. The nearest city supplies the time zone and the default method. ```bash curl 'https://qurangallery.com/prayer/api/timetable?lat=21.4225&lng=39.8262&from=2026-12-02&days=2' ``` Parameters: - `lat` and `lng` — required. Coordinates in decimal degrees. - `from` — required. First day, as YYYY-MM-DD. - `days` — required. Number of days, from 1 to 31. - `method` and `asr` — optional. Same values as for prayer times. Default: the method and Asr rule of the nearest city. The response, trimmed: ```json { "tz": "Asia/Riyadh", "place": { "name": "Makkah", "country": "SA" }, "method": { "code": "umm_al_qura", "name": "Umm al-Qura (Saudi Arabia)" }, "asr": "standard", "days": [ { "date": "2026-12-02", "hijri": { "day": 22, "month": 6, "year": 1448 }, "fajr": "05:23", "sunrise": "06:41", "dhuhr": "12:12", "asr": "15:18", "maghrib": "17:39", "isha": "19:09" } ] } ``` `tz` is the IANA time zone, `place` the nearest city (or null), `method` the code and name used, and `asr` the Asr rule used. The answer is cached for a day, and the endpoint allows 30 requests per minute per IP address. ### From a browser page Prayer times and the timetable can be read with `fetch` from a page on any site: ```js const url = 'https://qurangallery.com/prayer/api/timetable?lat=21.4225&lng=39.8262&from=2026-12-02&days=7'; const { tz, days } = await (await fetch(url)).json(); console.log(tz, days[0].fajr); ``` ### Prayer times for a city name Two calls. First call city search from your server, because it sends no CORS headers, and keep `lat` and `lon` of the first result. Then call the timetable (or prayer times) with them as `lat` and `lng`: ```bash # 1. on your server: city search curl 'https://qurangallery.com/prayer/api/location/search?q=Makkah' # 2. with lat and lon of the first result curl 'https://qurangallery.com/prayer/api/timetable?lat=21.4266&lng=39.8256&from=2026-12-02&days=7' ``` ## City search `GET /api/location/search` turns a place name into coordinates, a country code and a time zone. It searches the app's own city list first, and a query with no match returns an empty array. ```bash curl 'https://qurangallery.com/prayer/api/location/search?q=Makkah' ``` - `q` — required. The place name, up to 200 characters. ```json [ { "lat": 21.4266, "lon": 39.8256, "displayName": "Makkah, Saudi Arabia", "countryCode": "SA", "timezone": "Asia/Riyadh" } ] ``` Take `lat` and `lon` of the first result and pass them as `lat` and `lng` to the prayer times endpoint. ## Calendar feed (iCal) `GET /api/calendar/feed.ics` returns a subscribable `text/calendar` file with prayer times and Islamic events, one month by default and up to 12 months. Add its URL as a calendar subscription in Google Calendar, Apple Calendar or Outlook. ```bash curl 'https://qurangallery.com/prayer/api/calendar/feed.ics?lat=21.4225&lng=39.8262' ``` Required: `lat` and `lng`. Optional: `method`, `asr`, `hlr`, `fa`, `ia` as above, plus: - `authority` — Hijri calendar authority for the events, for example umm_al_qura or diyanet. Default: the authority of the nearest city's country. - `months` — months the feed covers, from 1 to 12. Default: 1. - `alarm` — minutes before each prayer for the reminder, from 0 to 120. 0 means no alarm. Default: 10. - `sunrise`, `travel`, `ramadan`, `jumuah`, `busy` — set to 1 to turn on sunrise, the travel note, Ramadan events, Jumu'ah on Fridays, or busy time. Default: off. You can also build the same feed without code on the [calendar sync](https://qurangallery.com/docs/prayer/calendar-sync) page. The calendar feed allows 30 requests per minute. ## Nearby mosques `GET /api/mosques/nearby` lists mosques around a point, nearest first, from OpenStreetMap data. The distance is in metres. The answer is 503 when the map data services are unavailable. ```bash curl 'https://qurangallery.com/prayer/api/mosques/nearby?lat=21.4225&lng=39.8262&radius=2000' ``` - `lat` and `lng` — required. - `radius` — optional. Search radius in metres, from 100 to 50000. Default: 2000. ```json [ { "id": 1234567, "name": "Example Mosque", "lat": 21.4231, "lng": 39.8269, "address": "Example Street 12", "distance": 96.4 } ] ``` Coverage depends on OpenStreetMap. The in-app view of the same data is described on the [mosques page](https://qurangallery.com/docs/prayer/mosques). ## Rate limits Limits count requests per IP address in a one-minute window. Past the limit you get HTTP 429. - Prayer times: no limit of its own. - Calendar feed: 30 requests per minute. - City search and nearby mosques share one allowance: 30 requests per minute. - Timetable: 30 requests per minute. ## Using it from a browser Prayer times (`/api/times`) and the timetable (`/api/timetable`) send `Access-Control-Allow-Origin: *`, so a page on any site can read them with `fetch`. City search, the calendar feed and nearby mosques send no CORS headers: call those from your server. If you only want to show the times on a website, use the [website widget](https://qurangallery.com/docs/prayer/website-widget): one iframe, no code and no key. ## See also - [Website widget](https://qurangallery.com/docs/prayer/website-widget) — prayer times or a Hijri calendar as an iframe. - [Calculation methods](https://qurangallery.com/docs/prayer/calculation-methods) — what the default method is, and the other options. - [Calendar sync](https://qurangallery.com/docs/prayer/calendar-sync) — the same feed, built from a form. ## Next steps - [Open Prayer times API](https://qurangallery.com/prayer/developers) - [Prayer times for any city: free, 37 methods](https://qurangallery.com/docs/prayer/prayer-times) - [Free prayer times widget for your mosque website](https://qurangallery.com/docs/prayer/website-widget) - [Prayer documentation](https://qurangallery.com/docs/prayer) --- # Daily Adhkar: Daily Adhkar: morning and evening adhkar with audio Source: https://qurangallery.com/docs/adhkar/overview > Read morning and evening adhkar with Arabic, translation, source and audio. Free, no ads. Sign in to sync; signed out, data stays on the device. Open [`qurangallery.com/adhkar`](https://qurangallery.com/adhkar) to read the morning and evening adhkar with the Arabic, transliteration, translation, source and audio of each dhikr in one place, and to keep a daily streak. It is free, shows no ads, and you don't need an account to read or to count. The home page shows the collection for this hour under **For this hour**, with **Begin** (or **Continue** once you have started). Each collection is one list you read from top to bottom, with a counter on each dhikr. ## Common tasks - [Find adhkar by category, feeling or book](https://qurangallery.com/docs/adhkar/browsing-adhkar) - [Adhkar audio with Arabic text and translation](https://qurangallery.com/docs/adhkar/audio) - [Hisnul Muslim online: all 132 chapters with audio](https://qurangallery.com/docs/adhkar/hisnul-muslim) - [Tasbeeh counter for 33, 33, 34 after prayer](https://qurangallery.com/docs/adhkar/tasbeeh-counter) - [Adhkar streak, progress and data export](https://qurangallery.com/docs/adhkar/progress-and-settings) - [Daily adhkar reminders in your phone calendar](https://qurangallery.com/docs/adhkar/reminders) - [Free adhkar app: no ads, no account, read offline](https://qurangallery.com/docs/adhkar/offline-and-privacy) - [Adhkar sources and hadith gradings explained](https://qurangallery.com/docs/adhkar/sources-and-gradings) - [Find a dua by feeling: anxiety, grief, gratitude](https://qurangallery.com/docs/adhkar/duas-by-feeling) - [Build a morning and evening adhkar habit](https://qurangallery.com/docs/adhkar/morning-evening-habit) ## What each dhikr shows - The **Arabic** text. - **Transliteration**, the Arabic in Latin script, for when you are still learning the words. - A **translation** in the language you read the site in. You can add a [second translation](https://qurangallery.com/docs/adhkar/progress-and-settings#settings) under it. - The **source**: the book and number, with a link to the printed page. See [Sources and gradings](https://qurangallery.com/docs/adhkar/sources-and-gradings). - **Listen**, a recording of the Arabic. The voice is AI (synthetic), checked word by word against the Arabic; a recording that failed the check plays labelled as not verified. See [Listen to every dhikr](https://qurangallery.com/docs/adhkar/audio). ## What's inside The corpus holds 1,171 adhkar and duas. - **Daily sets by time of day**: **Morning**, **Evening** and **Sleep**, plus adhkar after prayer and for travel. - **91 collections** in 15 sections, from prayer and travel to food, home, rain and hardship. See [Find adhkar and duas](https://qurangallery.com/docs/adhkar/browsing-adhkar). - **Duas for 30 feelings**: on the home page, **How are you feeling?** gathers the duas for when you are anxious, grieving, grateful and more. - **Hisnul Muslim** (Fortress of the Muslim) chapter by chapter, all 132 chapters. See [Hisnul Muslim chapters](https://qurangallery.com/docs/adhkar/hisnul-muslim). - **Du'a of the Day**: one supplication each day, with **Open this dua** and **Share**, and a **Previous Du'as** list. - **Tasbeeh counter**: the after-prayer tasbih in four reported forms, your own goals, a full-screen **Focus mode**, and a counter you share with family. See [Tasbeeh counter](https://qurangallery.com/docs/adhkar/tasbeeh-counter). - **Seven languages**: English, Arabic, Urdu, Indonesian, Turkish, Bengali and French. A compact version of a collection can also appear inside other Quran Gallery apps (such as the AI chatbot), with a link to open the full set here. ## Reading a collection Open a collection, say **Morning Adhkar**, and read it from the top. A progress line shows **`{done}` of `{total}` said today**. **Contents** lets you jump to any dhikr in the list, and **Listen to all** plays the whole collection, each dua as many times as it is said. When you reach the end, a completion screen reads **Mā shā' Allāh** with _"Morning Adhkar complete"_. From there you can **Practice again** or tap **Done** to go home. ## With or without an account Without an account, your streak, history and tasbeeh counts are saved in this browser. You can export them, import them on another device, or clear them. See [Offline and privacy](https://qurangallery.com/docs/adhkar/offline-and-privacy). If you sign in with your [Quran Gallery account](https://qurangallery.com/docs/accounts/overview), the home page greets you by name (**Assalamu Alaikum**) and shows your streak, your **Favorites**, **Tasbeeh** and **Progress**. Your progress and tasbeeh goals are then kept with your account. Saving favorites and starting a group counter need an account. ## Where to go next - [Find adhkar and duas](https://qurangallery.com/docs/adhkar/browsing-adhkar): daily sets, collections, feelings, search, and what a dhikr card holds. - [Listen to every dhikr](https://qurangallery.com/docs/adhkar/audio): **Listen**, **Listen to all**, and how the AI voice is checked. - [Hisnul Muslim chapters](https://qurangallery.com/docs/adhkar/hisnul-muslim): the book chapter by chapter. - [Tasbeeh counter](https://qurangallery.com/docs/adhkar/tasbeeh-counter): after-prayer forms, goals, focus mode and the family counter. - [Progress and settings](https://qurangallery.com/docs/adhkar/progress-and-settings): streaks, stats, transliteration, second translation and time detection. - [Daily reminders](https://qurangallery.com/docs/adhkar/reminders): a calendar file at the times you choose. - [Offline and privacy](https://qurangallery.com/docs/adhkar/offline-and-privacy): what works without a connection and where your data stays. - [Sources and gradings](https://qurangallery.com/docs/adhkar/sources-and-gradings): what the book, number and grading on each dhikr mean. - [Find a dua by feeling](https://qurangallery.com/docs/adhkar/duas-by-feeling): the 30 feelings and the duas gathered for each. - [Build a morning and evening adhkar habit](https://qurangallery.com/docs/adhkar/morning-evening-habit): a set, a reminder, a streak and your own routine. - [Daily Adhkar: how to choose an adhkar app](https://qurangallery.com/docs/adhkar/choosing-an-adhkar-app) - [Daily Adhkar: share a dua as a picture](https://qurangallery.com/docs/adhkar/share-a-dua) ## Next steps - [Open Adhkar](https://qurangallery.com/adhkar) - [Find adhkar by category, feeling or book](https://qurangallery.com/docs/adhkar/browsing-adhkar) - [Adhkar audio with Arabic text and translation](https://qurangallery.com/docs/adhkar/audio) --- # Daily Adhkar: Daily Adhkar: find adhkar by category, feeling or book Source: https://qurangallery.com/docs/adhkar/browsing-adhkar > Find adhkar by time of day, collection, feeling or search, then save them to My Practice or build your own routine. Each shows its source and audio. To find an adhkar, open a **daily set** for the time of day, browse the **Collections**, pick a **feeling** (see [Find a dua by feeling](https://qurangallery.com/docs/adhkar/duas-by-feeling)), open a book chapter, or **Search**. Anything you want to come back to, you can save to your **My Practice** hub. ## Daily sets by time of day The fastest path is the home page ([`qurangallery.com/adhkar`](https://qurangallery.com/adhkar)), which shows the collection for this hour under **For this hour** with **Begin** or **Continue**. Three sets open at [`/adhkar/daily`](https://qurangallery.com/adhkar/daily): | Set | Opens | | ----------- | ------------------- | | **Morning** | Morning Adhkar | | **Evening** | Evening Adhkar | | **Sleep** | Dua Before Sleeping | The home page picks the set by your device's clock. To shift when it switches, set a **Time Offset** in [Settings](https://qurangallery.com/docs/adhkar/progress-and-settings#settings). The home page also shows **Du'a of the Day**, with **Open this dua** and **Share**. Its own page at `/daily-dua` adds a heart to **Save** it and a **Previous Du'as** list. ## Browse the collections Open [**Collections**](https://qurangallery.com/adhkar/collections) to see all 91 collections, grouped in 15 sections such as **The Prayer** (with **Dhikr After Salah**), **Travel and Weather**, **Protection and Hardship**, **Illness and Healing** and **Family and Social Life**. Each collection shows how many adhkar it holds (**`{count}` adhkar**). Use **All collections** to step back to the full list. The same page links to [Hisnul Muslim](https://qurangallery.com/docs/adhkar/hisnul-muslim), read chapter by chapter. ### Reading a collection A collection opens as one scrolling list. A progress line at the top shows **`{done}` of `{total}` said today**, with a bar that fills as you count. **Begin** takes you to the first dhikr and becomes **Continue** once you have started. On a phone the **Contents** button opens **Jump to dhikr**, a sheet that lets you skip to any dhikr; on a wide screen the same list sits beside the text. **Listen to all** plays the whole collection aloud, each dua as many times as it is said. The button shows the length, for example **Listen to all · 59 min** for the morning adhkar. See [Listen to every dhikr](https://qurangallery.com/docs/adhkar/audio). When a dhikr is meant to be repeated, a **Recite `{count}`×** badge sits under the Arabic. Tap the ring on a dhikr to count it; the card reads **Done** when you reach the count. ### When you finish Complete every dhikr in a collection and a completion screen appears: **Mā shā' Allāh**, the collection name marked complete, and how many adhkar you got through. From there you can **Practice again** or tap **Done** to head back home. Finishing also counts toward your streak, and when you are signed in the collection appears in your **Recently Completed** list. ## Find duas by how you feel On the home page, **How are you feeling?** shows feeling tiles, and **Find a collection or feeling** lets you type a word such as "anxious" or "travel". The **Collections** page also has a **Feelings** section with all 30 feelings, from **Anxious** and **Grieving** to **Grateful** and **Patient**. Pick one and you land on a page with the duas gathered for that feeling. ## Search Open [**Search**](https://qurangallery.com/adhkar/search) and type into **Search adhkar...**. You can search by a dua's title, its Arabic or its translation, in the language you read the site in or in English. Results show a **`{count}` adhkar found** total, and matching Hisnul Muslim chapters are listed too. If nothing matches, you'll see **No adhkar found for "your query"**. ## My Practice The **My Practice** hub at `/favorites` is your home base for returning to adhkar. It gathers four things: - **Starter Routines**: three ready-made flows, **Morning**, **Evening** and **After Salah**. Tap **Start** to open one. - **My Routines**: your own sequences. Add a dua with the list icon (**Add to a routine**) on any dhikr, set how many times each is said, reorder them, and tap **Start** to practise the routine. Routines are kept on this device, and synced with your account when you are signed in. See [Build a morning and evening adhkar habit](https://qurangallery.com/docs/adhkar/morning-evening-habit). - **Recently Completed**: the collections you finished in the past 7 days, when you are signed in. - **Saved Adhkar**: every dhikr you've saved with the heart. > Saved adhkar are tied to your [Quran Gallery account](https://qurangallery.com/docs/accounts/overview). Sign in to save them. ## Inside a single dhikr Open any dhikr and you get the full detail view: - **Arabic**: the original text. - **Translation**: in the language you read the site in, plus a second translation if you chose one in [Settings](https://qurangallery.com/docs/adhkar/progress-and-settings#settings). - **Transliteration**: the Arabic in Latin script. - **Reference**: the book and number, or the Quran verse, with a link to the printed page. A dhikr whose Arabic has not been matched to a printed source yet carries the badge **Source not yet verified**. See [Sources and gradings](https://qurangallery.com/docs/adhkar/sources-and-gradings). - **Virtue & Reward**: what is promised for saying it, where one is recorded. - **Explanation**: context and meaning. - **Listen**: plays the Arabic. Under it, **AI voice, checked word by word against the Arabic**. A recording that failed the check reads **AI voice, not verified yet: it may misread a word**, with **Report an error**. - **Count this dhikr**: opens the [tasbeeh counter](https://qurangallery.com/docs/adhkar/tasbeeh-counter) for this dhikr. - **Share**: send the dhikr to others. - **Previous** / **Next**: move to the neighbouring dhikr in the collection. In a collection list, the reference, virtue and explanation sit in a **Details** panel on each card. ## Next steps - [Open Adhkar collections](https://qurangallery.com/adhkar/collections) - [Hisnul Muslim online: all 132 chapters with audio](https://qurangallery.com/docs/adhkar/hisnul-muslim) - [Adhkar audio with Arabic text and translation](https://qurangallery.com/docs/adhkar/audio) - [Morning and evening adhkar with audio and streak](https://qurangallery.com/docs/adhkar/overview) --- # Daily Adhkar: Daily Adhkar audio: Arabic text and translation Source: https://qurangallery.com/docs/adhkar/audio > Hear a dhikr read aloud beside the Arabic and translation, or play a whole collection. AI voice, checked word by word. Needs a connection unless saved. To hear a dhikr, open it on [Daily Adhkar](https://qurangallery.com/adhkar) and tap **Listen**: the recording plays the Arabic while the page shows the Arabic, transliteration and translation. To hear a whole collection, such as the morning adhkar, tap **Listen to all**. ## About the voice The recordings are made with an AI voice (synthetic speech), not by a human reciter. Each one was checked word by word against the Arabic text shown on the page. - A recording that passed the check shows **AI voice, checked word by word against the Arabic** under the **Listen** button. - A recording that did not pass shows **AI voice, not verified yet: it may misread a word**, with a **Report an error** button. 35 of the 1,171 recordings carry this label today. Follow the Arabic text as you listen, and if you hear a mistake, use **Report an error** on that dhikr. ## Listen to one dhikr Open any dhikr and tap **Listen**. Tap **Pause** to stop. The recording plays in the suite player bar, so it keeps playing while you move to another page. ## Listen to a whole collection Open a collection, for example **Morning Adhkar** or **Evening Adhkar**, and tap **Listen to all**. The button shows how long the collection takes: **Listen to all · 59 min** for the morning adhkar. - The duas play in reading order. - Each dua plays as many times as it is said (3×, 7×…). The player shows which repeat you are on, for example **AI voice · 2 of 3**. - A dua whose parts carry their own counts, such as 33 × Subḥān Allāh then 33 × al-ḥamdu lillāh, is recorded as one pass and plays once. The text shows the counts. The [Hisnul Muslim](https://qurangallery.com/docs/adhkar/hisnul-muslim) chapter pages have **Listen to all** too. ## Listening offline You can keep the recordings of the **Morning Adhkar**, **Evening Adhkar** and **Dhikr After Salah** collections on your device: open [`qurangallery.com/adhkar/offline`](https://qurangallery.com/adhkar/offline) and tap **Save audio**. That is 85 recordings, about 16 MB. Recordings on other pages are not saved, so listening to them needs a connection. See [Offline and privacy](https://qurangallery.com/docs/adhkar/offline-and-privacy). ## Related - [Find adhkar and duas](https://qurangallery.com/docs/adhkar/browsing-adhkar): what else is on each dhikr card. - [Sources and gradings](https://qurangallery.com/docs/adhkar/sources-and-gradings): where the Arabic text comes from. ## Next steps - [Open Adhkar](https://qurangallery.com/adhkar) - [Find adhkar by category, feeling or book](https://qurangallery.com/docs/adhkar/browsing-adhkar) - [Hisnul Muslim online: all 132 chapters with audio](https://qurangallery.com/docs/adhkar/hisnul-muslim) - [Morning and evening adhkar with audio and streak](https://qurangallery.com/docs/adhkar/overview) --- # Daily Adhkar: Daily Adhkar: Hisnul Muslim online, all 132 chapters Source: https://qurangallery.com/docs/adhkar/hisnul-muslim > Read Hisnul Muslim chapter by chapter, all 132 chapters, with Arabic, translation, source and AI-voiced audio for each supplication. Daily Adhkar has the whole of Hisnul Muslim (Fortress of the Muslim) online, all 132 chapters in the book's order, at [`qurangallery.com/adhkar/book/hisnul-muslim-fortress-of-the-muslim`](https://qurangallery.com/adhkar/book/hisnul-muslim-fortress-of-the-muslim). Each supplication has the Arabic, translation, source and a Listen button. Hisnul Muslim is a book of remembrances and duas from the Quran and the Sunnah by Sa'id ibn Wahf al-Qahtani. Here it has all 132 chapters and the book's 267 numbered entries. ## Open a chapter The book page lists the **Chapters** (**132 chapters**). Tap one to open it. Each chapter shows: - **Chapter `{number}`** and its title. - **Page `{page}` in the printed book**, so you can check it against your copy. - The entries in the book's order, each labelled **Entry `{number}`**. - **Related topics**: the collections the same duas belong to. Use **Previous chapter** and **Next chapter** to move through the book, or **All chapters** to go back. ## What each entry shows An entry you can recite shows its dua the way the rest of the site does: the Arabic, transliteration, a translation, the source with a link to the printed page, and a counter. - Where our wording differs slightly from the book's, the entry reads **Our wording differs slightly from the book's**. - 27 entries are a narration or a practice, not words to say. They read **Entry `{number}`: a narration or practice, nothing to recite**. ## Listen Each supplication has a **Listen** button, and a chapter can play through with **Listen to all**, each dua as many times as it is said. The voice is AI (synthetic), checked word by word against the Arabic; a recording that failed the check is labelled **AI voice, not verified yet: it may misread a word**. See [Listen to every dhikr](https://qurangallery.com/docs/adhkar/audio). ## Find a chapter On the book page, type a chapter number or a word from its name into **Find a chapter**. You can also use the main [Search](https://qurangallery.com/adhkar/search): matching chapters appear as **Chapter `{number}` · `{name}`**. The home page and the [Collections](https://qurangallery.com/adhkar/collections) page link to the book too. ## Related - [Find adhkar and duas](https://qurangallery.com/docs/adhkar/browsing-adhkar): the collections and feelings. - [Sources and gradings](https://qurangallery.com/docs/adhkar/sources-and-gradings): what the source line on each dua means. ## Next steps - [Open Hisnul Muslim](https://qurangallery.com/adhkar/collections) - [Adhkar audio with Arabic text and translation](https://qurangallery.com/docs/adhkar/audio) - [Tasbeeh counter for 33, 33, 34 after prayer](https://qurangallery.com/docs/adhkar/tasbeeh-counter) - [Morning and evening adhkar with audio and streak](https://qurangallery.com/docs/adhkar/overview) --- # Daily Adhkar: Daily Adhkar: count the tasbih after prayer Source: https://qurangallery.com/docs/adhkar/tasbeeh-counter > Count the tasbih after prayer as 33, 33, 34 or three other reported forms, each with its source. Set daily goals, use focus mode or count with family. To count the tasbih after prayer, open **Tasbeeh** at [`qurangallery.com/adhkar/tasbeeh`](https://qurangallery.com/adhkar/tasbeeh) and tap the three rings, 33 each, or add the Post-Salah Sequence as a goal to follow 33 · 33 · 34 or one of three other reported forms. It is free and needs no account. ## Steps 1. Open **Tasbeeh** (the Tasbeeh tab, or `qurangallery.com/adhkar/tasbeeh`). 2. To count at once, tap a ring under **Sunnah after ṣalāh**: three rings, 33 each. 3. To follow one of the four narrated forms, tap **Add Goal**. 4. Tap **Sunnah Dhikr**. 5. Tap the entry that shows **4 sequences**. 6. Under **Choose a sequence**, tap one form. Each shows its source: 33·33·34 (Sahih Muslim 596); 33·33·33 and the tahlil once, making 100 (Sahih Muslim 597); 25 each with the tahlil (Sunan an-Nasa'i 1350); or 10 each (Sahih al-Bukhari 6329, Sahih Muslim 595). 7. Your new goal appears under **Your Goals** as **Post-Salah Sequence**. Tap it to open the counter, then tap to count. 8. Keep the screen on while you count: the counter cannot count with the screen off, or with the volume buttons. ## Count the after-prayer tasbih The hub opens with **Sunnah after ṣalāh**: three rings for **Subḥān Allāh**, **Al-ḥamdu lillāh** and **Allāhu Akbar**, 33 each. Tap a ring to count it. For one guided sequence that moves from phrase to phrase, add the **Post-Salah Sequence** as a goal: **Add Goal**, then **Sunnah Dhikr**, then **Post-Salah Sequence** (**4 sequences**). Under **Choose a sequence**, pick one of the four forms reported in the hadith: | Form | Source | Note shown in the app | | --------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------ | | **33 · 33 · 34** | Sahih Muslim 596 | The words said after each prayer, reported from Ka‘b ibn ‘Ujra. | | **33 · 33 · 33 + 1** | Sahih Muslim 597 | Reported from Abu Hurayra: ninety-nine, completed to a hundred with the tahlil once. | | **25 · 25 · 25 · 25** | Sunan al-Nasa’i 1350 | Reported from Zayd ibn Thabit: each said 25 times, with the tahlil added. | | **10 · 10 · 10** | Sahih al-Bukhari 6329 · Sahih Muslim 595 | Reported from Abu Hurayra: each said ten times after every prayer. | The "+ 1" in the second form is the full tahlil, _Lā ilāha illā Allāhu waḥdahu lā sharīka lah…_; in the third the fourth phrase is _Lā ilāha illā Allāh_. While you count, the screen shows **Step `{current}` of `{total}`** and **Source: `{source}`**. ## Your goals Under **Your Goals** you keep any count you want to come back to each day. With no goals yet, the hub asks _"Track a daily count beyond the Sunnah three?"_ and offers **+ Istighfār 100×**, **+ Salawāt 100×** and **+ Custom…**. Tap **Add Goal** to start a **New Goal**. There are three types: | Type | What it is | | ---------------- | ------------------------------------------------------ | | **Sunnah Dhikr** | Choose from recommended adhkar with hadith references. | | **Custom Dhikr** | Enter your own phrase and target. | | **Free Counter** | Just count — no specific dhikr. | For a **Custom Dhikr** you give it a **Name** (for example, _"My daily wird"_) and optional **Arabic Text**, then **Next**. Set a **Daily Target** if you want one, then **Create Goal**. A **Free Counter** has **no set count**; it simply counts up. ## The counting screen Open a goal to count. The whole screen is the counter: a large ring with the count in the middle. Each **tap** adds one, and the ring fills as you near your target. On a keyboard, **Space** or **Enter** counts. - **Sound**: a short tap sound on every count, a different one at each multiple of 33, and another when you reach your target. Turn it off with **Reduce sound** in [Settings](https://qurangallery.com/docs/adhkar/progress-and-settings#settings). - **Vibration**: on Android browsers the phone vibrates gently as you count. iPhone browsers do not let web pages vibrate. - **Dim** / **Bright**: **Dim** turns the screen near-black and shows only the ring and the number, for counting at night. **Bright** brings the full screen back. - **Long-press to reset**: press and hold the counter for about half a second. You'll be asked **Reset counter?** (_"This will set the count back to 0."_), so a normal tap never wipes your count. Confirm with **Reset** or back out with **Cancel**. ## Focus mode Choose **Focus mode** on the counting screen for a full-screen counter. Tap anywhere to count. On a keyboard, **Space** or **Enter** counts, **Backspace** undoes, and **Esc** closes; **Undo** and **Close** are on screen too. Focus mode keeps the screen on while it is open, if your browser allows it. A browser cannot count with the screen off or with the volume buttons. ## Count together with family Want the whole family to finish 1,000 salawat together? Tap **Count together with family** on the hub to open the **Group counter**: _"Count one dhikr with family and friends. Share a link, and every tap adds to one shared total."_ - Under **Start a group counter**, choose the **Dhikr**, a **Target** (1 to 10,000,000) and an optional **Title**, then **Create and get the link**. Starting a counter needs a [Quran Gallery account](https://qurangallery.com/docs/accounts/overview). - Send the link with **Copy link** or **Share**. Anyone with the link can count, with or without an account. Each person can set a **Display name** or **Stay a guest**. - Everyone's taps add to one total that updates live. **Who is counting** lists each person's count. When the total reaches the target, it reads **Target reached**, and you can keep counting. If you lose your connection, the counter says _"Offline. Your taps are kept and will be sent."_ The owner can **Close this counter**; the total is kept. A group counter holds up to 500 people, and one person can have up to 10 open group counters. ## My Journey **My Journey**, at `/tasbeeh/journey`, turns your counting into a picture of your habit: - **Consistency**: how steadily you've been counting. - **Lifetime Totals**: your all-time count across every goal. - **This week** and **this month**: the days you counted, out of 7 and out of 30. If you haven't counted yet, it reads **Start counting to see your journey**. ## Where your counts are kept Without an account, your goals and counts are kept on this device, so counting works offline. When you are signed in, your goals and counts are saved with your Quran Gallery account, so they show when you sign in on another device. See [Offline and privacy](https://qurangallery.com/docs/adhkar/offline-and-privacy). ## Related To keep your streak, see [streak, progress and backup](https://qurangallery.com/docs/adhkar/progress-and-settings). ## Next steps - [Open Tasbeeh counter](https://qurangallery.com/adhkar/tasbeeh) - [Hisnul Muslim online: all 132 chapters with audio](https://qurangallery.com/docs/adhkar/hisnul-muslim) - [Adhkar streak, progress and data export](https://qurangallery.com/docs/adhkar/progress-and-settings) - [Morning and evening adhkar with audio and streak](https://qurangallery.com/docs/adhkar/overview) --- # Daily Adhkar: Daily Adhkar: streak, progress and backup Source: https://qurangallery.com/docs/adhkar/progress-and-settings > See your adhkar streak and stats, back them up as CSV or JSON, import them on another device, and set transliteration, a second translation and sound. **My Progress** at [`qurangallery.com/adhkar/progress`](https://qurangallery.com/adhkar/progress) shows your current and longest adhkar streak, your tasbeeh total and the days you were active, and lets you export your history as CSV or JSON. **Settings** controls transliteration, a second translation, sound, motion and when the morning and evening sets switch. ## Steps 1. Open the **Progress** tab (or `qurangallery.com/adhkar/progress`). The page is called **My Progress**. 2. At the top, read **Current Streak**, **Longest Streak**, **Tasbeeh count** and **Days Active**. 3. Below them, the grid marks each day you practised: **Last 12 weeks** when you are signed out, **Last 30 days** when you are signed in. 4. To back up your history, scroll to **Your data on this device** and tap **Export JSON** (or **Export CSV** for a spreadsheet). A file named `adhkar-history-` plus the date downloads. 5. Before changing phones: on the old phone, do step 4 first and keep the JSON file somewhere you can reach from the new phone. 6. On the new phone, open **My Progress** and tap **Import**. Choose the JSON file; CSV files cannot be imported. Days already on that phone are never removed. 7. Only after the import worked, if you want the old phone emptied, tap **Clear data on this device** and confirm. ## Your progress Open **My Progress** at [`qurangallery.com/adhkar/progress`](https://qurangallery.com/adhkar/progress). Four stats sit at the top: | Stat | What it shows | | ------------------ | ---------------------------------------------- | | **Current Streak** | Consecutive days you've kept up your practice. | | **Longest Streak** | Your best run of consecutive days. | | **Tasbeeh count** | Your tasbeeh total. | | **Days Active** | Days you've used the app. | Below them, a grid marks each day you practised, with today ringed: **Last 12 weeks** when you are not signed in, **Last 30 days** when you are. > Looking for how many days you counted **this week** or **this month**? Those live in **My Journey** on the [tasbeeh counter](https://qurangallery.com/docs/adhkar/tasbeeh-counter#my-journey). ## Your data on this device Without an account, your streak and history are saved in this browser only. Under **Your data on this device** on My Progress: - **Export CSV** / **Export JSON**: download a copy of your history. If there is nothing to export yet, the app says so. - **Import**: add a history file from this app (JSON, up to 512 KB). A file that is too large, from another version, or not a history export is rejected with a message, and nothing is changed. Days already saved are never removed. - **Clear data on this device**: after you confirm, removes your streak, history and today's progress from this browser. Your account and your tasbeeh goals are not changed. If you sign in with your [Quran Gallery account](https://qurangallery.com/docs/accounts/overview), your progress is kept with your account and shows on every device. When you sign in, the days already saved on this device (your streak and the lists you completed) are sent to your account and merged with it, and nothing is counted twice. More in [Offline and privacy](https://qurangallery.com/docs/adhkar/offline-and-privacy). ## Settings Open **Settings** at [`qurangallery.com/adhkar/settings`](https://qurangallery.com/adhkar/settings). Under **Reading**: - **Show Transliteration**: show or hide the Latin-script reading of the Arabic. - **Show a second translation**: pick one more language to read under the first. Choose **None** to turn it off. The site language, and Arabic, are not offered. It is saved on this device and only you see it. **Time Offset**: _"Adjust morning/evening detection (minutes)."_ Shift when the app treats it as morning, evening or sleep time, so the right daily set greets you at the right moment. Under **Comfort**: - **Reduce motion**: swap the card slide animations for an instant cross-fade. - **Reduce sound**: silence the counter chime. On Android, the vibration still fires. Settings also links to [**Adhkar reminders**](https://qurangallery.com/docs/adhkar/reminders), to add the morning and evening adhkar to your calendar. Tap **Save preferences** to apply your changes; the app then takes you back to the home page. ## The translation languages The translation follows the language you read the site in: English, Arabic, Urdu, Indonesian, Turkish, Bengali or French. On Arabic pages there is no translation, because the Arabic is the text itself. ## Related Next: set a daily time in [daily reminders without an app](https://qurangallery.com/docs/adhkar/reminders). ## Next steps - [Open Adhkar progress](https://qurangallery.com/adhkar/progress) - [Tasbeeh counter for 33, 33, 34 after prayer](https://qurangallery.com/docs/adhkar/tasbeeh-counter) - [Daily adhkar reminders in your phone calendar](https://qurangallery.com/docs/adhkar/reminders) - [Morning and evening adhkar with audio and streak](https://qurangallery.com/docs/adhkar/overview) --- # Daily Adhkar: Daily Adhkar: daily reminders without an app Source: https://qurangallery.com/docs/adhkar/reminders > Add a daily adhkar reminder to your phone calendar with a downloadable file, at times you choose. No account, nothing sent, works on iPhone and Android. To get a daily reminder for the morning and evening adhkar, open [`qurangallery.com/adhkar/reminders`](https://qurangallery.com/adhkar/reminders), tick the lists, choose a time for each and download one calendar file. Add it to the calendar you already use; there is no account to make and no app to install. ## Steps 1. Open **Settings**, then **Adhkar reminders**, or go to `qurangallery.com/adhkar/reminders`. 2. Under **Your reminders**, tick the lists you want: **Morning adhkar**, **Evening adhkar**, **Adhkar after salah**, **Adhkar before sleep**. 3. Choose a time for each ticked list. The button stays off until every ticked list has a time. 4. Tap **Add to calendar**. A calendar file (`adhkar-reminders.ics`) downloads. It is made on your device and nothing is sent. 5. iPhone: open the downloaded file. Calendar asks which calendar to add the events to; choose one and confirm. 6. Android: the page's own steps use Google Calendar: on a computer open calendar.google.com, choose **Settings**, then **Import & export**, select the file and choose **Import**. 7. Optional, for notifications instead of a calendar: on the same page, under **Push reminders**, tick **Morning adhkar** and **Evening adhkar** and set their times (06:00 and 17:30 are filled in). 8. Tap **Turn on push reminders** and allow notifications when your browser asks. No account is needed. 9. To change the times, edit them and tap **Save times**. To stop, tap **Turn off**. The page shows which time zone it uses (_"Times use your time zone"_). To set a time around prayer, check your local [Prayer times](https://qurangallery.com/prayer) first. ## What the reminder does Each reminder repeats every day at the time you chose, in your time zone, with an alert at the start time. It reads, for example, _"Time for your morning adhkar."_ and links to the list, so one tap opens the right adhkar. Push reminders are a separate, optional section lower on the Reminders page. Turn them on and your browser asks permission to show notifications; you choose a time for the morning and evening lists, and a notification appears on this device at those times, even when Adhkar is closed. Your chosen times and an address for this browser are stored on our server so the reminder can be sent, and turning them off deletes them. A browser that cannot receive push notifications keeps the calendar file. ## Add the file to your calendar - **Google Calendar**: on a computer, open calendar.google.com. Choose **Settings**, then **Import & export**, select the file, and choose **Import**. - **Apple Calendar** (iPhone, iPad, Mac): open the downloaded file. Calendar asks which calendar to add the events to; choose one and confirm. - **Outlook**: open the downloaded file, or choose **File**, **Open & Export**, **Import/Export**. In Outlook on the web, choose **Add calendar**, then **Upload from file**. On an Android phone, import the file into Google Calendar as above; the reminders then show on your phone. ## Change a time later Delete the old reminder events in your calendar, then make and add a new file. ## Privacy The file is made on this device. Nothing is saved or sent anywhere. See [Offline and privacy](https://qurangallery.com/docs/adhkar/offline-and-privacy). You can also reach this page from [Settings](https://qurangallery.com/docs/adhkar/progress-and-settings#settings) and from the completion screen of a collection (**Get a daily reminder**). ## Related Next: see your streak and back it up in [streak, progress and backup](https://qurangallery.com/docs/adhkar/progress-and-settings). ## Next steps - [Open Adhkar reminders](https://qurangallery.com/adhkar/reminders) - [Adhkar streak, progress and data export](https://qurangallery.com/docs/adhkar/progress-and-settings) - [Free adhkar app: no ads, no account, read offline](https://qurangallery.com/docs/adhkar/offline-and-privacy) - [Morning and evening adhkar with audio and streak](https://qurangallery.com/docs/adhkar/overview) --- # Daily Adhkar: Daily Adhkar offline: no ads, no account Source: https://qurangallery.com/docs/adhkar/offline-and-privacy > Free adhkar app with no ads. Read and count without an account, reopen saved pages offline, and keep progress on your device. Audio needs a connection. Daily Adhkar is free and shows no ads, and you can read every dhikr and count without an account. Pages you have opened are saved on your device so they open again offline, and without an account your progress never leaves this browser. ## Reading offline Pages you have opened once are kept on this device, so you can read them and keep counting without a connection. When you are offline, the app shows _"You're offline: showing saved pages"_. To save the main pages before you go offline, open [`qurangallery.com/adhkar/offline`](https://qurangallery.com/adhkar/offline) and tap **Save these for offline**. It saves the home page, the tasbeeh counter, today's daily set, and the **Morning Adhkar**, **Evening Adhkar** and **Dhikr After Salah** collections. The same page lists your **Saved pages**. **What is saved**: the text of the pages you open, the app's files, and your tasbeeh counts. **Not saved**: your progress, favorites and settings pages, search, signing in and syncing. These need a connection. **Audio can be saved for three collections.** At [`qurangallery.com/adhkar/offline`](https://qurangallery.com/adhkar/offline), **Save audio** keeps the recordings of **Morning Adhkar**, **Evening Adhkar** and **Dhikr After Salah** on this device: 85 recordings, about 16 MB. **Remove saved audio** deletes them. Audio on other pages needs a connection. The voice is AI (synthetic), checked word by word against the Arabic; see [Listen to every dhikr](https://qurangallery.com/docs/adhkar/audio). The device keeps up to 200 saved pages, dropping the oldest first. To remove them, tap **Clear saved pages on this device**; this removes the saved pages only, and your counts are not affected. ## Where your data stays Without an account: - Your **streak, history and today's progress** are saved in this browser only. - Your **tasbeeh goals and counts** are kept on this device. - Your **settings**, including a second translation, are saved on this device, and only you see them. - A **reminder file** is made on this device; nothing is saved or sent. See [Daily reminders](https://qurangallery.com/docs/adhkar/reminders). - Your **routines** are kept on this device. - **Push reminders**, only if you turn them on, store your chosen times, your time zone and a push address for this browser on our server so the notification can be sent, whether or not you are signed in. Turning push off deletes them. See [Daily reminders](https://qurangallery.com/docs/adhkar/reminders). Pages that show your own data, such as **My Progress**, **My Practice** and **Settings**, are never saved for offline use, and a page that carries your signed-in identity is not stored either. If you sign in with your [Quran Gallery account](https://qurangallery.com/docs/accounts/overview), your progress, tasbeeh goals and counts, and saved adhkar are kept with your account and show on every device. When you sign in, the days already saved on this device (your streak and the lists you completed) are sent to your account and merged with it, and nothing is counted twice. Your custom routines are merged into your account too, so they follow you to your other devices. In a [group counter](https://qurangallery.com/docs/adhkar/tasbeeh-counter#count-together-with-family), your taps are sent so everyone sees one total, and the display name you choose (or **Guest**) is shown to the group. ## Back up, move or clear your history On [My Progress](https://qurangallery.com/adhkar/progress), under **Your data on this device**: - **Export CSV** / **Export JSON**: download a copy of your history. - **Import**: add a history file from this app (JSON, up to 512 KB) on another device. Days already saved are never removed. - **Clear data on this device**: after you confirm, removes your streak, history and today's progress from this browser. Your account and your tasbeeh goals are not changed. More on these in [Progress and settings](https://qurangallery.com/docs/adhkar/progress-and-settings#your-data-on-this-device). ## No account needed Daily Adhkar is free and shows no ads. You can read every dhikr, listen, and count without signing in. An account is needed only to save favorites, start a group counter, or keep your progress across devices. ## Next steps - [Open Adhkar offline mode](https://qurangallery.com/adhkar/offline) - [Daily adhkar reminders in your phone calendar](https://qurangallery.com/docs/adhkar/reminders) - [Adhkar sources and hadith gradings explained](https://qurangallery.com/docs/adhkar/sources-and-gradings) - [Morning and evening adhkar with audio and streak](https://qurangallery.com/docs/adhkar/overview) --- # Daily Adhkar: Daily Adhkar: sources and hadith gradings explained Source: https://qurangallery.com/docs/adhkar/sources-and-gradings > Every dhikr cites its book and number. This site quotes gradings and does not grade hadith. See what a grading means and which 19 adhkar are unverified. Every dhikr on Daily Adhkar names its book and hadith number, with a link to the printed page, and the [**Sources and gradings**](https://qurangallery.com/adhkar/sources) page in the app explains each part of the source line. This site does not grade hadith: where a grading is shown, it is quoted from the source with the scholar named. ## Where the texts come from The 1,171 adhkar come from one corpus. Each has its Arabic text and one or more citations to printed hadith books or to the Quran: 2,727 citations in all, across 69 books, the most cited being Tirmidhi, Abu Dawud, Muslim and Bukhari. The Arabic of each dhikr is checked against the cited printed edition: | Arabic status | Adhkar | | ----------------------------------------------------- | -----: | | Matched to the cited printed source | 1,082 | | Corrected to match it | 70 | | Not yet verified (**Source not yet verified** badge) | 19 | Titles, translations and explanations are written with AI and checked against the cited sources. Each dhikr says so: _"Title, translation and explanation are written with AI and checked against the cited sources."_ ## Reading a source line - **Book**: the book the text is taken from, by its short title. - **Number**: the hadith number in that book. If the book gives none, the volume and page of the printed edition are shown, as volume/page. - **Link**: opens the printed page in the Maktabah, or the verse in the Quran reader, so you can check the text yourself. - **Grading**: the grading phrase quoted in Arabic as the source prints it, with the scholar who gave it. The label beside it (**Sahih**, **Hasan**, **Da'if**) only classifies that phrase. - **Chain**: when a phrase judges only the chain of narrators, the label says so (**Sahih chain**, **Hasan chain**, **Weak chain**). It does not grade the wording of the hadith. - **Badge**: the strongest backing found for the dhikr, from a Quran verse down to "No source found". > A reference shows where a text is found. It does not guarantee that the hadith is authentic. Read the grading and who gave it, and check the printed page. ## Gradings recorded **This site does not grade hadith.** Gradings are quoted from the sources, and every one names its grader, for example al-Tirmidhi, Ibn Hajar, al-Nawawi, or Shu'ayb al-Arna'ut and his co-editors. 320 citations across 234 adhkar carry a grading phrase. The table counts citations, so one dhikr can appear more than once: | Class | On the hadith | On the chain only | Total | | ------------------------------ | ------------: | ----------------: | ----: | | Sahih | 80 | 62 | 142 | | Hasan | 71 | 28 | 99 | | Da'if | 0 | 36 | 36 | | Other, such as gharib or mursal | 35 | 8 | 43 | The other 937 adhkar show their source without a grading phrase. A grading shows on the dhikr's own page, under the source it belongs to. ## Unverified sources 19 adhkar carry the badge **Source not yet verified**: _"This Arabic text has not been matched to a printed source yet."_ They are shown because they are in the corpus, not because they are confirmed. The audio has its own check: a recording that did not pass the word-by-word check against the Arabic is labelled **AI voice, not verified yet: it may misread a word**. See [Listen to every dhikr](https://qurangallery.com/docs/adhkar/audio). ## Report a mistake If a text, reference or grading looks wrong, use the contact page and tell us which dhikr it is and what the printed source says. For a recording, use **Report an error** under its **Listen** button. ## Next steps - [Open Adhkar sources](https://qurangallery.com/adhkar/sources) - [Free adhkar app: no ads, no account, read offline](https://qurangallery.com/docs/adhkar/offline-and-privacy) - [Find a dua by feeling: anxiety, grief, gratitude](https://qurangallery.com/docs/adhkar/duas-by-feeling) - [Morning and evening adhkar with audio and streak](https://qurangallery.com/docs/adhkar/overview) --- # Daily Adhkar: Daily Adhkar: find a dua by feeling, with its source Source: https://qurangallery.com/docs/adhkar/duas-by-feeling > Pick how you feel from 30 feelings, from anxious and grieving to grateful, and open the duas gathered for it with Arabic, translation, source and audio. To find a dua for how you feel, open [Daily Adhkar](https://qurangallery.com/adhkar) and choose a feeling under **How are you feeling?** on the home page. There are 30 feelings, and each opens a page with the duas gathered for it, with the Arabic, translation, source and audio. ## Choose a feeling 1. On the home page, tap a feeling tile under **How are you feeling?**, or type a word such as _anxious_ into **Find a collection or feeling**. 2. Or open [Collections](https://qurangallery.com/adhkar/collections) and go to the **Feelings** section, which lists all 30. 3. The feeling's page lists its duas. Read them from the top and tap the ring on a dua to count it. ## The 30 feelings - [Angry](https://qurangallery.com/adhkar/emotion/dua-when-angry) - [Anxious](https://qurangallery.com/adhkar/emotion/dua-for-anxiety) - [Tempted](https://qurangallery.com/adhkar/emotion/dua-against-temptation) - [Devout](https://qurangallery.com/adhkar/emotion/dua-to-become-righteous) - [Lost](https://qurangallery.com/adhkar/emotion/dua-when-feeling-lost) - [Content](https://qurangallery.com/adhkar/emotion/dua-for-contentment) - [Distressed](https://qurangallery.com/adhkar/emotion/dua-for-hardship-and-distress) - [Wavering](https://qurangallery.com/adhkar/emotion/dua-for-steadfastness-in-faith) - [Grateful](https://qurangallery.com/adhkar/emotion/dua-to-thank-allah) - [Greedy](https://qurangallery.com/adhkar/emotion/dua-for-protection-from-greed) - [Guilty](https://qurangallery.com/adhkar/emotion/dua-when-feeling-guilty) - [Joyful](https://qurangallery.com/adhkar/emotion/dua-when-happy) - [Wronged](https://qurangallery.com/adhkar/emotion/dua-when-you-are-wronged) - [Undecided](https://qurangallery.com/adhkar/emotion/dua-for-making-a-decision) - [Sincere](https://qurangallery.com/adhkar/emotion/dua-for-sincerity) - [Helpless](https://qurangallery.com/adhkar/emotion/dua-when-feeling-helpless) - [Sluggish](https://qurangallery.com/adhkar/emotion/dua-for-laziness) - [Lonely](https://qurangallery.com/adhkar/emotion/dua-for-loneliness) - [Confused](https://qurangallery.com/adhkar/emotion/dua-when-confused) - [Nervous](https://qurangallery.com/adhkar/emotion/dua-when-nervous) - [Overwhelmed](https://qurangallery.com/adhkar/emotion/dua-when-overwhelmed) - [Repentant](https://qurangallery.com/adhkar/emotion/dua-for-repentance) - [Grieving](https://qurangallery.com/adhkar/emotion/dua-for-grief) - [Afraid](https://qurangallery.com/adhkar/emotion/dua-for-fear) - [Despairing](https://qurangallery.com/adhkar/emotion/dua-for-hopelessness) - [Weary](https://qurangallery.com/adhkar/emotion/dua-for-tiredness) - [Unloved](https://qurangallery.com/adhkar/emotion/dua-when-feeling-unloved) - [Frail](https://qurangallery.com/adhkar/emotion/dua-when-feeling-weak) - [Aspiring](https://qurangallery.com/adhkar/emotion/dua-to-become-a-better-muslim) - [Patient](https://qurangallery.com/adhkar/emotion/dua-for-patience) The number of duas differs from feeling to feeling, and one dua can answer more than one feeling. ## What each dua shows - The **Arabic**, **transliteration** and a **translation** in your language. - The **source**: the book and number, with a link to the printed page. - A **grading** where the source gives one, with the scholar who gave it. This site does not grade hadith. See [Sources and gradings](https://qurangallery.com/docs/adhkar/sources-and-gradings), or the app's page on [how every dhikr is sourced and graded](https://qurangallery.com/adhkar/sources). - **Listen**, an AI voice checked word by word against the Arabic. See [Adhkar audio](https://qurangallery.com/docs/adhkar/audio). ## Keep a dua, print it or share it - **Save** it with the heart, to find it again under **My Practice**. Saving needs a [Quran Gallery account](https://qurangallery.com/docs/accounts/overview). - **Add to a routine**: the list icon puts the dua into a routine of your own. Routines work without an account; when you are signed in they also sync to it. See [Build a morning and evening adhkar habit](https://qurangallery.com/docs/adhkar/morning-evening-habit). - On the dhikr's own page, **Print** prints the dua with its title and address, and **Share as image** makes a picture with the Arabic, translation, source and page link. It opens the share sheet, or downloads the picture where files can't be shared. ## Limits A feeling's page is a set of duas from the app's corpus that are linked to that feeling. It is not advice for a particular situation, and the site does not grade hadith itself. ## Next steps - [Open How are you feeling? in Daily Adhkar](https://qurangallery.com/adhkar) - [Find adhkar by category, feeling or book](https://qurangallery.com/docs/adhkar/browsing-adhkar) - [Sources and gradings](https://qurangallery.com/docs/adhkar/sources-and-gradings) - [Morning and evening adhkar](https://qurangallery.com/docs/adhkar/overview) --- # Daily Adhkar: Daily Adhkar: build a morning and evening habit Source: https://qurangallery.com/docs/adhkar/morning-evening-habit > Build a daily adhkar habit: start with one set, add a calendar reminder, watch your streak and make your own routine. Free, kept on your device. To build a morning and evening adhkar habit, start with the two sets [Daily Adhkar](https://qurangallery.com/adhkar) opens for the hour, add a daily calendar reminder, and let your streak show how steady you are. Everything below works without an account. ## Steps 1. **Start with the set for this hour.** The home page shows the collection for the time of day under **For this hour**. Tap **Begin**, read it from the top and count each dhikr. It follows your device's clock; to shift when it switches, set a **Time Offset** in [Settings](https://qurangallery.com/docs/adhkar/progress-and-settings#settings). 2. **Add a daily reminder.** On the [Reminders](https://qurangallery.com/adhkar/reminders) page, choose a time for Morning adhkar and Evening adhkar and add the calendar file. See [Daily adhkar reminders](https://qurangallery.com/docs/adhkar/reminders). 3. **Watch your streak.** **My Progress** shows your **Current Streak**, **Longest Streak** and the days you were active. See [Adhkar streak, progress and data export](https://qurangallery.com/docs/adhkar/progress-and-settings). 4. **Make a routine of your own.** On any dhikr, tap the list icon (**Add to a routine**) and pick or create a routine. On **My Practice**, under **My Routines**, set how many times each dua is said, move them up or down, and tap **Start** to practise the routine one dua at a time. 5. **Keep it safe.** On My Progress, **Export JSON** gives you a copy, and **Import** adds it on another device. When you sign in, the days already saved on this device are sent to your account and merged with it. ## Limits - Calendar reminders come from your calendar app. Optional push reminders, on the same Reminders page, notify this device at the times you choose. - Routines are kept on this device. When you are signed in they are also merged with your account, so they follow you to your other devices; as a guest they stay on this device only. A dua whose parts carry their own counts (such as 33 · 33 · 34) shows **Set by the dhikr** instead of a repeat count you can change. ## Next steps - [Open Daily Adhkar](https://qurangallery.com/adhkar) - [Daily adhkar reminders in your phone calendar](https://qurangallery.com/docs/adhkar/reminders) - [Adhkar streak, progress and data export](https://qurangallery.com/docs/adhkar/progress-and-settings) - [Find a dua by feeling](https://qurangallery.com/docs/adhkar/duas-by-feeling) - [Morning and evening adhkar](https://qurangallery.com/docs/adhkar/overview) --- # Daily Adhkar: Daily Adhkar: how to choose an adhkar app Source: https://qurangallery.com/docs/adhkar/choosing-an-adhkar-app > Ten things to check in any adhkar app or site: sources, gradings, audio, offline, privacy, reminders and more, and where Daily Adhkar stands on each today. Before you pick an adhkar app, check ten things: where each dhikr comes from, who reads the audio, what works offline, what it asks of you, how reminders work, where your data lives, how after-prayer counting is done, which languages it has, how the Arabic is written, and what it does not have. Each point below says what to check and where Daily Adhkar stands today, with a link to the page that shows it. ## 1. Source, number and grading **Check:** each dhikr names its book and number, and any grading says who gave it. A grading should be quoted, never invented. **Daily Adhkar today:** every dhikr names its book and number. A grading is shown when the corpus records one: 234 of 1,171 adhkar carry one, counted on the live [sources page](https://qurangallery.com/adhkar/sources). The site does not grade. See [Sources and gradings](https://qurangallery.com/docs/adhkar/sources-and-gradings). ## 2. Audio **Check:** who reads it, a person or a synthetic voice; whether it was checked against the text; whether a recording that was not checked is labelled. **Daily Adhkar today:** the voice is AI. Each recording was checked word by word against the Arabic, and a recording that did not pass is labelled unverified. See [Adhkar audio](https://qurangallery.com/docs/adhkar/audio). ## 3. Offline **Check:** what is saved on your device and what is not, audio included. **Daily Adhkar today:** pages you have opened once, and counting, work offline. The audio of Morning Adhkar, Evening Adhkar and Dhikr After Salah can be saved on your device (85 recordings, about 16 MB); other audio needs a connection. See [Offline and privacy](https://qurangallery.com/docs/adhkar/offline-and-privacy). ## 4. Account and ads **Check:** whether you must sign in to read or count, and whether there are ads. **Daily Adhkar today:** no account is needed to read or count, and there are no ads. An account is needed only for favorites, group counters and progress across devices. ## 5. Reminders without installing an app **Check:** whether reminders need another app, and what the app stores to send them. **Daily Adhkar today:** a calendar file made on your device, and optional push reminders. See [Reminders](https://qurangallery.com/docs/adhkar/reminders). ## 6. Streak and backup **Check:** where your streak and counts are kept, and whether you can export them. **Daily Adhkar today:** on your device when you are signed out. You can export JSON and CSV and import the JSON on another device. See [Progress and settings](https://qurangallery.com/docs/adhkar/progress-and-settings). ## 7. After-prayer counting **Check:** which narrated forms the counter offers, and with which references. **Daily Adhkar today:** four forms, each with its source. See [Tasbeeh counter](https://qurangallery.com/docs/adhkar/tasbeeh-counter). ## 8. Languages and transliteration **Check:** which languages the translation is in, and whether transliteration can be turned on or off. **Daily Adhkar today:** 7 languages, and a transliteration option in Settings. ## 9. Arabic script style **Check:** which script style the Arabic is shown in, and whether you can change it. **Daily Adhkar today:** one style. There is no Indo-Pak option. ## 10. Not in Daily Adhkar today - Phone widgets and watch apps. - An Indo-Pak script option. - A grading for adhkar whose cited book gives none. The page says "No grading recorded in the cited source". ## Next steps - [Open Adhkar](https://qurangallery.com/adhkar) - [Adhkar sources and hadith gradings explained](https://qurangallery.com/docs/adhkar/sources-and-gradings) - [Adhkar audio with Arabic text and translation](https://qurangallery.com/docs/adhkar/audio) - [Free adhkar app: no ads, no account, read offline](https://qurangallery.com/docs/adhkar/offline-and-privacy) --- # Daily Adhkar: Daily Adhkar: share a dua as a picture Source: https://qurangallery.com/docs/adhkar/share-a-dua > Make a picture of a dhikr with its Arabic, translation and source, then send it from your phone's share sheet or save it as a PNG file. To make a picture of a dhikr with its Arabic, translation and source, open the dhikr on [Daily Adhkar](https://qurangallery.com/adhkar) and press **Share as image**. You can then send the picture in a chat or save it. ## Steps 1. Open the dhikr's own page, for example from a collection or from [a feeling](https://qurangallery.com/docs/adhkar/duas-by-feeling). 2. Press **Share as image**, under the dhikr's counter and favourite controls. 3. Where your phone can share files, its share sheet opens with the picture, and you choose the app to send it to. Where files cannot be shared, the picture downloads as a PNG file instead. If the picture cannot be made, the page says **Could not make the image.** and you can press the button again. **Print** is the other option, on the same page next to **Share as image**. ## What is in the picture - the title of the dhikr - the Arabic - the translation, in the first language you have chosen for translations (or the first one available for that dhikr) - one source line: the first cited source and, when it has one, its grading - the Quran Gallery name and the address of the dhikr's page The picture is drawn on your device from the text already on the page. It is 1,080 pixels wide, and its height follows the text. A very long Arabic text or translation is cut short on the picture; the address under it opens the full page. ## Why the source is on the picture The source line lets whoever receives the picture check where the dua comes from. The grading is quoted from the source as it is recorded, and the site does not grade hadith. When the corpus records no grading for the first source, the line shows the source without one. See [Sources and gradings](https://qurangallery.com/docs/adhkar/sources-and-gradings). ## See also - [Find a dua by feeling](https://qurangallery.com/docs/adhkar/duas-by-feeling) - [Find adhkar by category, feeling or book](https://qurangallery.com/docs/adhkar/browsing-adhkar) --- # Listen: Listen to the Quran: reciters, riwayat, tafsir, radio Source: https://qurangallery.com/docs/listen/overview > Listen to the Quran online: 230+ reciters, the Ten Readings, audio tafsir and 170+ live radio stations. Free, no ads, no account needed. Quran Gallery Listen is a free Quran audio app at [`qurangallery.com/listen`](https://qurangallery.com/listen): more than 230 reciters, the Ten Readings, audio tafsir and more than 170 live radio stations. It shows no ads and you do not need an account to listen. The player has a sleep timer, repeat, speeds from 0.25× to 2×, background play and MP3 download, and favorites and playlists stay on your device without an account: see [the Listen player](https://qurangallery.com/listen/player). ## Common tasks - [Find a surah by name or number in Listen](https://qurangallery.com/docs/listen/finding-a-surah) - [Compare Quran reciters by voice and riwayah](https://qurangallery.com/docs/listen/reciters) - [Listen to the Quran in Hafs, Warsh and Qalun](https://qurangallery.com/docs/listen/riwayat) - [Audio tafsir with speed control and downloads](https://qurangallery.com/docs/listen/audio-tafsir) - [24/7 Quran radio: 170+ live stations](https://qurangallery.com/docs/listen/radio) - [Save favorites and build Quran playlists](https://qurangallery.com/docs/listen/favorites) - [Finish the Quran: khatmah listening plan](https://qurangallery.com/docs/listen/quran-challenge) - [Quran player: speed, repeat and sleep timer](https://qurangallery.com/docs/listen/the-player) ## The catalogue in numbers The catalogue grows, so counts here are rounded down. The app always shows the current number. | What | How many | | ----------------------- | ------------------------------------------------------------------------------------- | | **Reciters** | 230+ | | **Surahs** | All 114, for every reciter who has recorded them | | **Readings (riwāyāt)** | 18 transmissions of the Ten Readings, plus 2 recording styles (Muʿallim and Mujawwad) | | **Audio tafsir** | 1 collection in Arabic, surah by surah | | **Live radio stations** | 170+, streaming 24 hours a day | | **Collections** | 5 short selections for moments of the day | Listen is available in seven languages: English, Arabic, Urdu, Indonesian, Turkish, Bengali and French. ## What you can do | Section | What it is | Read more | | --------------------------- | ------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | | **Home, Surahs and search** | Find any surah and play it in your reciter. Search finds reciters, surahs, readings and stations. | [Finding a surah](https://qurangallery.com/docs/listen/finding-a-surah) | | **Reciters** | A directory of every voice, with a page for each reciter and each recording. | [Reciters](https://qurangallery.com/docs/listen/reciters) | | **Qira'at** | The Ten Readings of the Quran and their transmitters. | [The Ten Readings](https://qurangallery.com/docs/listen/riwayat) | | **Tafsir** | Spoken explanation of the Quran, surah by surah. | [Audio tafsir](https://qurangallery.com/docs/listen/audio-tafsir) | | **Radio** | Live Quran stations. | [Live radio](https://qurangallery.com/docs/listen/radio) | | **Collections** | Short selections for Friday, morning, evening and more. | [Collections](https://qurangallery.com/docs/listen/favorites) | | **Library** | Your favorites, listening history, playlists and Quran challenge. | [Favorites, playlists & history](https://qurangallery.com/docs/listen/favorites), [Quran challenge](https://qurangallery.com/docs/listen/quran-challenge) | | **The player** | The audio player that stays at the bottom of the screen. | [The player](https://qurangallery.com/docs/listen/the-player) | ## How it is organized On a computer or tablet, the tabs under the top bar are **Home**, **Surahs**, **Reciters**, **Qira'at**, **Radio**, **Favorites**, **Playlists** and **Quran challenge**. The search box sits at the end of the same row. On a phone, a tab bar at the bottom of the screen has **Home**, **Surahs**, **Search** and **Library**. **Library** holds your favorites, listening history, playlists and Quran challenge. Whatever page you open, the recitation keeps playing in the player at the bottom of the screen. You can browse for the next thing to hear without stopping what is playing now. ## Do I need an account? No. Everything plays without signing in. Your favorites, listening history, playlists and Quran challenge are saved on your device. If you sign in with your Quran Gallery account, they are also saved to your account and appear on every device where you sign in. Anything you saved before signing in is added to your account, so nothing is lost. ## Downloads and offline listening - **Download a recording.** Open the **⋯** menu on any surah and choose **Download**. The player's **Up next** panel has a **Download** button too. The file is saved as an MP3, named after the surah and the reciter. - **Open the audio file.** Each recording page and each tafsir page has an **Open audio file (new tab)** button. - **What you can download.** Surah recitations and audio tafsir. Live radio is a stream, so it cannot be downloaded. - **Save for offline.** Choose **Save for offline** in a surah's **⋯** menu. Listen asks first and shows the space it will use on your device. Saved recordings are on the **Saved offline** page ([qurangallery.com/listen/downloads](https://qurangallery.com/listen/downloads)), where you can play or remove them. Saving needs a browser that supports service workers. A downloaded MP3 file also plays in your device's audio player. ## Next steps - [Open Quran Listen](https://qurangallery.com/listen) - [Find a surah by name or number in Listen](https://qurangallery.com/docs/listen/finding-a-surah) - [Compare Quran reciters by voice and riwayah](https://qurangallery.com/docs/listen/reciters) --- # Listen: Find a surah by name or number in Listen Source: https://qurangallery.com/docs/listen/finding-a-surah > Find a surah by name or number on the Listen home page, the list of all 114 surahs, or search, then play it. Search also finds reciters and stations. There are three ways to find something to hear: the **Home** page, the **Surahs** page, and **search**. Whatever you choose plays in the player at the bottom of the screen. ## The home page The home page starts with **Listen to the Holy Quran** and a surah finder. Type a surah name or number, for example "Al-Kahf", "Yasin" or "36", and pick the surah. It plays in your reciter straight away. Below the finder, from top to bottom: - **Your reciter.** The card shows the voice that plays your surahs. Press **Change** to pick another one, or **Browse all reciters** to see the whole directory. The small faces next to it switch voice in one tap. - **Popular surahs.** Six surahs listeners open most often, and **All 114 surahs** for the full list. - **Quran challenge.** An invitation to hear the whole Quran in 30 days. If you already have a challenge, this card shows today's goal. See [Quran challenge](https://qurangallery.com/docs/listen/quran-challenge). - **Continue listening.** The surahs you played last, so you can pick up where you stopped. First-time visitors see **Start with a surah** instead. - **Voices.** Well-known reciters to explore. - **Browse by riwayah.** The readings, each with the reciters who recite it. See [The Ten Readings](https://qurangallery.com/docs/listen/riwayat). - **For this moment.** Short selections for Friday, morning, evening and other moments. See [Collections](https://qurangallery.com/docs/listen/favorites). - **Live radio.** A few live stations. See [Live radio](https://qurangallery.com/docs/listen/radio). ## All 114 surahs Open **Surahs** to see the whole Quran in one list. Press a surah to play it in your reciter. | Control | What it does | | -------------------------- | -------------------------------------------------------------------------------------------------------- | | **All / Makkan / Madinan** | Show every surah, or only those revealed in Makkah (86) or Madinah (28). | | **Sort** | **Mushaf order**, **Name**, **Fewest ayahs** or **Most ayahs**. | | **View** | **List**, or **Shelf** on larger screens. Shelf marks the surahs you have heard in your Quran challenge. | The counter above the list shows how many surahs match, for example "28 of 114 Surahs". At the end of the page you find the **Quran Tafsir** section, the way into [Audio tafsir](https://qurangallery.com/docs/listen/audio-tafsir). ## Search Open search with the search box at the end of the tab row, or press **⌘ K** (**Ctrl K** on Windows). On a phone, tap **Search** in the bottom tab bar. Search looks through reciters, surahs, readings and radio stations at once. You can combine a reciter and a surah, for example "sudais kahf", to get that exact recording. Results are grouped by type. - Press **Enter** to play the highlighted result. - Press **⌘ Enter** (**Ctrl Enter** on Windows) to open its page instead. - If nothing matches, search shows **Nothing matched**. Try a shorter word or another spelling. Names can be typed in English or in Arabic script. ## Next steps - [Open Listen surah list](https://qurangallery.com/listen/surahs) - [Listen to the Quran in Hafs, Warsh and Qalun](https://qurangallery.com/docs/listen/riwayat) - [Compare Quran reciters by voice and riwayah](https://qurangallery.com/docs/listen/reciters) - [Listen to the Quran: reciters, riwayat, tafsir, radio](https://qurangallery.com/docs/listen/overview) --- # Listen: Compare Quran reciters by voice and riwayah Source: https://qurangallery.com/docs/listen/reciters > Browse 230+ Quran reciters, hear a surah in different voices and readings, and open a reciter's page to play, shuffle, favorite or download. Listen has more than 230 reciters. Each reciter has a page with all the surahs they recorded, and each recording has a page of its own. To compare voices, press the reciter's name in the player: it plays the same surah in another voice. To compare readings, use the riwayah card on a reciter or recording page. ## The reciters directory Open **Reciters** to see the directory, **Quran Reciters**. - **Search.** Type in **Search reciter…**. You can type in English or in Arabic script. Search allows for different spellings of the same name, and the closest matches come first. - **Jump to letter.** The A–Z index takes you to the reciters whose names start with that letter. - **Play.** The play button on each row plays that reciter's most complete recording. - **Browse by Riwayah.** This link shows reciters grouped by reading. See [The Ten Readings](https://qurangallery.com/docs/listen/riwayat). Press a reciter's name to open their page. ## A reciter's page The reciter's page shows their portrait, name and the reading they recite. - **Riwayah.** Many reciters recorded more than one reading. The riwayah card shows which one you are hearing. Press it, or the **+** number, to choose another one in **Choose a riwayah**. - **Play all** plays every surah in this recording, in order. **Shuffle** plays them in random order. - **The heart** adds the reciter to your favorites. - **The surah list** has its own search (**Search Surah…**), filters and sort. Press a surah to play it. The **⋯** button on each surah (**More actions**) has: | Action | What it does | | ------------------- | ----------------------------------------------- | | **Open page** | Opens the page of this recording. | | **Play next** | Plays this surah after the current one. | | **Add to queue** | Adds it to the end of **Up next**. | | **Favorite** | Saves it to your favorites. | | **Add to playlist** | Adds it to one of your playlists, or a new one. | | **Share** | Copies or shares a link to this recording. | | **Download** | Saves the recording as an MP3 file. | At the end of the page, **Similar reciters** suggests other voices you may like. ## A recording's page Each surah by each reciter has its own page, with its own link that you can share. It shows "Recited by" and the reciter's name. - **The large play button** plays the surah. Its ring shows how far you have listened. Press it again to pause, or **Resume** later. - **The heart** saves this recording to your favorites. - **Open audio file (new tab)** opens the MP3 file itself. - **Share** shares the link. - **The ⋯ menu** has **Play next**, **Add to queue**, **Add to playlist**, **Favorite** and **Go to Surah**. The details list the surah's verses, juz, place of revelation, pages, rukūʿ, its place in the order of revelation, and whether it has a prostration (sajdah). The riwayah card beside them names the reading. If the reciter recorded the surah in more than one reading, you can switch reading there. Below that you find the **previous and next surahs**, **Read Surah** (opens the text in Quran Gallery Quran), and **More from** this reciter. ## Next steps - [Open Quran reciters](https://qurangallery.com/listen/reciters) - [Find a surah by name or number in Listen](https://qurangallery.com/docs/listen/finding-a-surah) - [Listen to the Quran in Hafs, Warsh and Qalun](https://qurangallery.com/docs/listen/riwayat) - [Listen to the Quran: reciters, riwayat, tafsir, radio](https://qurangallery.com/docs/listen/overview) --- # Listen: Listen to the Quran in Hafs, Warsh and Qalun Source: https://qurangallery.com/docs/listen/riwayat > Hear the Quran in Hafs, Warsh, Qalun and the rest of the Ten Readings. Compare one surah across readings and find the reciters of each riwayah. In **Quran Gallery Listen** you can browse the [Ten Readings page](https://qurangallery.com/listen/riwayah) and hear each transmission it records. The Quran has been passed down in ten canonical readings (qira'at). Each reading comes from an imam and was transmitted by his students — each transmission is a riwayah. Most recordings in the world are in **Ḥafṣ ʿan ʿĀṣim**, but Listen also has recordings in other readings, such as **Warsh ʿan Nāfiʿ**. ## The Ten Readings page Open **Qira'at** in the tabs. The page **The Ten Readings** lists the ten imams in their traditional order: Nāfiʿ, Ibn Kathīr, Abū ʿAmr, Ibn ʿĀmir, ʿĀṣim, Ḥamzah, al-Kisāʼī, Abū Jaʿfar, Yaʿqūb and Khalaf. Each imam shows his year of death and how many reciters recorded his reading. Under each imam you see his transmissions — 18 in total. - **The round play button** plays Surah al-Fātiḥah in that reading, so you can hear the difference. - **The faces** are reciters of that reading. Press a face to hear that reciter. Press **+** and a number to choose from more recordings in **Play a recording**. - **The name** opens the page of that riwayah. A few transmissions are shown in grey. Listen does not have recordings of them yet. Khalaf's reading shows **Not in the catalog yet**. ### Recording styles At the end of the page, **Recording styles** lists two editions that are not readings of their own: - **Al-Muṣḥaf al-Muʿallim** — the teaching edition. The reciter repeats each phrase so you can learn it by heart. - **Al-Muṣḥaf al-Mujawwad** — the slow, melodic tajwīd performance. ## A riwayah's page A riwayah's page names the imam and the transmitter and lists every reciter of this reading from A to Z. Each reciter shows how many of the 114 surahs they recorded in it. - **The play button** plays that reciter's most complete recording of this reading. - **The name** opens the reciter's page. - **Jump to letter** moves to a letter of the alphabet. ## One surah in one reading Each riwayah also has a page for every surah, for example Surah Al-Kahf in Ḥafṣ. There you can: - play the surah by one reciter, or **Play all** to hear every reciter of this reading one after the other; - see **Hear Surah … in other readings**, to compare the same surah across readings; - browse **All voices** that recited it in this reading. On a recording page, the riwayah switcher changes to the same surah in another reading by the same reciter. See [Reciters](https://qurangallery.com/docs/listen/reciters). ## Next steps - [Open Listen by riwayah](https://qurangallery.com/listen/riwayah) - [Compare Quran reciters by voice and riwayah](https://qurangallery.com/docs/listen/reciters) - [Audio tafsir with speed control and downloads](https://qurangallery.com/docs/listen/audio-tafsir) - [Listen to the Quran: reciters, riwayat, tafsir, radio](https://qurangallery.com/docs/listen/overview) --- # Listen: Audio tafsir with speed control and downloads Source: https://qurangallery.com/docs/listen/audio-tafsir > Listen to Arabic audio tafsir surah by surah, change the playback speed, play long surahs in parts and download the MP3 file. In **Quran Gallery Listen**, the [audio tafsir page](https://qurangallery.com/listen/tafsir/tafsir-al-tabari-summary) plays tafsir surah by surah. Audio tafsir is spoken explanation of the Quran. Scholars explain the meaning of the verses, surah by surah. The tafsir in Listen is in Arabic: **الخلاصة من تفسير الطبري**, a summary of the tafsir of al-Ṭabarī. ## Where to find it Open **Surahs** and scroll to the end of the page. The **Quran Tafsir** section has the tafsir. Press **Start listening**. ## The tafsir page The tafsir page lists each surah that has an explanation. - **Search Surah…** finds a surah by its name in any language, its Arabic name or its number. - **The play button** on each row plays the explanation of that surah. - **Long surahs come in parts.** The explanation of a long surah is split into several recordings. Each part is named after the verses it covers, for example "verses 1 to 25". ## A surah's tafsir page Press a surah's name to open its page. You can: - **Play**, **Pause** and **Resume**; - play each part on its own, when the surah has more than one part; - **Open audio file (new tab)** to open the MP3; - **Share** the link; - move to the previous or next surah. To save the explanation as an MP3 file, play it and press **Download** in the player's **Up next** panel. See [The player](https://qurangallery.com/docs/listen/the-player). ## Next steps - [Open Audio tafsir](https://qurangallery.com/listen/tafasir) - [Listen to the Quran in Hafs, Warsh and Qalun](https://qurangallery.com/docs/listen/riwayat) - [24/7 Quran radio: 170+ live stations](https://qurangallery.com/docs/listen/radio) - [Listen to the Quran: reciters, riwayat, tafsir, radio](https://qurangallery.com/docs/listen/overview) --- # Listen: 24/7 Quran radio: 170+ live stations Source: https://qurangallery.com/docs/listen/radio > Listen to 170+ live Quran radio stations that stream recitation 24 hours a day. Search by station or reciter, and switch stations from the player. Listen has more than 170 live Quran radio stations, free and without ads. Each one streams recitation all day and all night. Many stations carry the voice of one reciter. Others play a reading, or a mix of reciters. Open them at [`qurangallery.com/listen/radios`](https://qurangallery.com/listen/radios). ## Finding a station Open **Radio** in the tabs. The page **Live Quran Radio** lists every station from A to Z. - **Search** finds a station by its name or by the reciter's name. - **Jump to letter** moves to a letter of the alphabet. - **The play button** on each row starts the station. Under each station's name you see the reciter ("Voice of" and a name), the reading, or **Live audio stream**. ## A station's page Press a station's name to open its page. The **Live** label shows that it is a live broadcast. - **Play** and **Pause** start and stop the stream. - **Share** shares a link to the station. - **Voice of** opens the reciter's page, when the station is one reciter's voice. - **Other stations** suggests more stations to try. ## Radio in the player Radio plays in the same player as surahs. A live stream has no seek bar, no repeat, no speed and no download — there is no end to skip to. You can still set the **sleep timer**, change the volume and share the station. To change station without leaving the page, open **Up next** in the player and choose the **Stations** tab. See [The player](https://qurangallery.com/docs/listen/the-player). If a stream stops, the player shows a message — press it to try again. Live TV is no longer part of Listen. Old TV links open the radio page. ## Next steps - [Open Quran radio](https://qurangallery.com/listen/radios) - [Audio tafsir with speed control and downloads](https://qurangallery.com/docs/listen/audio-tafsir) - [Save favorites and build Quran playlists](https://qurangallery.com/docs/listen/favorites) - [Listen to the Quran: reciters, riwayat, tafsir, radio](https://qurangallery.com/docs/listen/overview) --- # Listen: Save favorites and build Quran playlists Source: https://qurangallery.com/docs/listen/favorites > Save favorite reciters and surahs, build playlists, find collections and resume from your history, all without an account. Listen saves your favorite reciters and surahs, your playlists and your listening history on your device, with no account needed. Sign in and they follow you to every device. Open **Favorites** in the tabs, or **Library** on a phone. This page also covers collections: short selections of surahs for the moments of your day. Your **Library** keeps what you save and what you have heard. It has four parts: **Favorites**, **Listening history**, **Playlists** and **Khatmah** (the Quran challenge). On a computer, open **Favorites** in the tabs. On a phone, tap **Library** in the bottom tab bar. The switcher at the top of each Library page moves between the four. ## Favorites **My Favorites** has two shelves: **Favorite reciters** and **Favorite surahs**. To save a favorite, press a **heart**: - on a reciter's page, to save the reciter; - on a recording's page, or in the player, to save the recording you are hearing; - or choose **Favorite** in the **⋯** menu of any surah. A short message confirms **Added to favorites**. Press the heart again to remove it. A favorite surah is saved with its reciter and reading, so it plays the exact recording you saved. **Play all** plays all your favorite surahs, and **Shuffle** plays them in random order. Press a reciter to open their page. ## Listening history **Listening history** fills in by itself as you listen. It keeps your 50 most recent recordings, newest first, grouped into **Today**, **This week** and **Earlier**. Each recording shows the reciter, the reading and how far you have listened. - **Press a recording** to continue from where you stopped. - **Continue listening** at the top resumes the last recording you played. - **Remove** in a recording's **⋯** menu takes it out of your history. - **Clear history** removes everything. Remove and Clear history do not ask in a separate window. A message appears for 10 seconds with a button — press that button to confirm. If you do nothing, your history stays as it is. You also find your recent recordings on the home page under **Continue listening**. ## Playlists A playlist is your own list of surahs, in the order you choose. You can mix reciters and readings in one playlist — for example, the surah you are memorizing in three voices. Open **Playlists** in the tabs, or **Library** on a phone. Playlists are different from **Favorites** and **Up next**. The heart saves to Favorites. **Up next** is only what plays after the current surah, and it is not kept. ### Making a playlist 1. On **My playlists**, press **New playlist**. 2. Type a name in **Playlist name** and press **Create**. The new playlist opens. 3. Press **Add surahs**. Choose the reciter in **Reciter for added surahs**, then search with **Find a surah by name or number** and press each surah you want. Press **Done** when you finish. You can also add from anywhere: open the **⋯** menu on a surah and choose **Add to playlist**. Pick a playlist, or create a new one there. ### A playlist's page - **Play all** plays the playlist in order. **Shuffle** plays it in random order. Press any surah to start from it. - **Reorder** a surah by dragging the handle at its start. With a keyboard, focus the handle and use the up and down arrow keys. - **Remove from playlist** (the × on a row) takes a surah out. Press **Undo** in the message if you change your mind. - **Rename** (the pencil next to the name) changes the name. - **Delete playlist** removes the playlist. The recordings stay in Listen, and your favorites are not touched. The page shows how many surahs the playlist has and about how long it lasts. ### Save Up next as a playlist In the player, open **Up next** and press **Save** to keep the current line-up as a new playlist. The **Playlists** tab in the same panel lists your playlists, so you can start one without leaving the page. Radio stations and tafsir are not saved in playlists. ### Limits You can have up to 50 playlists, with up to 200 surahs in each. Each surah by one reciter can be in a playlist only once. ## Collections Collections are short selections of surahs for the moments of your day. Each one plays in the reciter you choose. You find them on the home page under **For this moment**, or at [`/collections`](https://qurangallery.com/listen/collections). | Collection | Surahs | | -------------------------- | ----------------------------------------------------------------- | | **Surah Al-Kahf — Friday** | Al-Kahf | | **Morning listening** | Ya-Sin, Ad-Duha and Ash-Sharh | | **Evening & sleep** | Al-Mulk, Al-Waqiʿah and As-Sajdah | | **Short surahs** | Al-Fatihah and short surahs from the end of the Quran (12 in all) | | **Comfort & hope** | Ad-Duha, Ash-Sharh, Ar-Rahman, Maryam and Yusuf | The collection that fits the time of day has a small gold dot in its top corner. Al-Kahf gets it from Thursday evening through Friday, Morning listening in the morning, and Evening & sleep in the evening and at night. The time comes from your device. ### Playing a collection Open a collection to see its surahs. - **Play all** plays the surahs in order. **Shuffle** plays them in random order. - **Reciter** chooses the voice. Your choice also becomes your reciter everywhere in Listen. - Each surah has its own play button and **⋯** menu. If the reciter you chose has not recorded these surahs, the page asks you to pick another reciter. When you start **Evening & sleep**, Listen offers to stop playback at the end of the surah. Press **End of surah** to set the sleep timer. ## Saved on this device When you are not signed in, your Library is saved on this device only, and each Library page shows **Saved on this device**. Press **Sign in** to save it to your Quran Gallery account too. Then it appears on every device where you sign in. What you saved before signing in is added to your account. ## Next steps - [Open Listen favorites](https://qurangallery.com/listen/favorites) - [24/7 Quran radio: 170+ live stations](https://qurangallery.com/docs/listen/radio) - [Finish the Quran: khatmah listening plan](https://qurangallery.com/docs/listen/quran-challenge) - [Listen to the Quran: reciters, riwayat, tafsir, radio](https://qurangallery.com/docs/listen/overview) --- # Listen: Finish the Quran: khatmah listening plan Source: https://qurangallery.com/docs/listen/quran-challenge > Plan a khatmah by listening: hear all 114 surahs in 30, 60, 90 or your own number of days in one reciter's voice, and follow today's goal. The **Quran challenge** (khatmah) helps you hear all 114 surahs in the voice you love, a little each day. You choose how many days, when you listen and whose voice. Listen works out today's portion and keeps your place. Open **Quran challenge** in the tabs. On a phone, tap **Library** and choose **Khatmah**. ## Setting up a challenge Press **Set up my challenge**. Setup has three steps. Press **Next** to move on and **Back** to return. 1. **How long.** Pick **30 days**, **60 days** or **90 days**, type a number of **Days**, or choose a date in **Finish by**. Listen shows about how many minutes a day that means. 2. **When.** Start **Today**, **Tomorrow**, or **Pick a date**. Under **Advanced** you can choose your **Listening days** — **Every day**, **Weekdays**, **Weekends** or single days — and mark **Days off**, such as travel or exam days. 3. **Voice.** Choose a reciter, or press **Another reciter…** for the whole list. Under **Advanced** you can choose another **Riwayah**, and the **Recording** when the reciter has more than one. Press **Start challenge**. If your plan means more than about 90 minutes on a listening day, Listen warns you and offers **Fit to about 45 min a day**. You can still keep your plan. If the recording you choose has only some surahs, the challenge covers those surahs. ## Following your challenge The challenge card shows: - **Your status** — **On track**, **Ahead**, or how many days behind — and which day of the plan it is; - **Today:** — the surahs to hear today and about how many minutes are left; - **your streak** of days in a row; - **your progress**, as a percentage and as surahs heard out of 114; - **Days listened** — a calendar with the days you listened, missed, rested and the days ahead. Press **Continue** to play today's portion. Listen resumes the surah you did not finish, or starts the next one you have not heard. Listening counts toward the challenge when it is in the challenge's reciter and reading, in any order. For example, a surah heard in Warsh does not count toward a challenge in Ḥafṣ. Surahs you hear outside the challenge page count too, as long as the recording matches. While a challenge is running, the player shows today's progress, and the home page shows today's goal. ## Changing or ending it - **Change reciter** switches the voice. - **Schedule** changes your listening days and days off. - **Change end date** gives you more or fewer days. - **End challenge** stops it. A message asks you to confirm. When the time runs out before you finish, choose **Keep going** to continue at the same pace from today, or **Start over**. When you have heard every surah, Listen congratulates you and counts the challenge as completed. Press **Start another** for a new one. ## More than one challenge You can run up to 3 challenges at once, each with a different recording — for example one in Ḥafṣ and one in Warsh. Press **Start another challenge** to add one. Your challenges are saved on your device. When you sign in, they are also saved to your account and appear on all your devices. See [Favorites & history](https://qurangallery.com/docs/listen/favorites). ## Next steps - [Open Khatmah plan](https://qurangallery.com/listen/khatmah) - [Save favorites and build Quran playlists](https://qurangallery.com/docs/listen/favorites) - [Quran player: speed, repeat and sleep timer](https://qurangallery.com/docs/listen/the-player) - [Listen to the Quran: reciters, riwayat, tafsir, radio](https://qurangallery.com/docs/listen/overview) --- # Listen: Quran player: speed, repeat and sleep timer Source: https://qurangallery.com/docs/listen/the-player > Control Quran playback in Listen: speed 0.25× to 2×, five repeat modes, a sleep timer, read along in the mushaf, Up next and lock-screen controls. **Quran Gallery Listen** ([qurangallery.com/listen](https://qurangallery.com/listen)) plays everything in one player at the bottom of the screen. It stays there while you browse, and it keeps playing when you move to another Quran Gallery app. The player has a sleep timer (on radio too), repeat for a surah (and, on recordings timed verse by verse, for one ayah or a range of ayat), speeds from 0.25× to 2×, lock-screen controls, save for offline and download as an MP3 file; favorites and playlists stay on your device without an account. [The Listen player page](https://qurangallery.com/listen/player) answers each of these in a few lines. ## The player bar On a computer or tablet the player is a bar across the bottom of the screen. **On the left** are the reciter and the surah. - Press the **reciter** to switch to another voice for the same surah. If the new recording is timed verse by verse, playback continues from the same āyah. Otherwise it continues from about the same point. - Press the **surah** to play another surah by the same reciter. - The line under the surah shows **Ayah** and the verse that is playing, when the recording is timed verse by verse. - The **heart** saves the recording to your favorites. **In the middle** are **Repeat**, **Previous surah**, **Play** or **Pause**, **Next surah**, and the time. **Along the top edge** is the seek bar. Drag it to move through the surah. On recordings timed verse by verse, small marks show each āyah — point at one to see its number, and let go near a mark to start at that āyah. **On the right**, in order: | Button | What it does | | -------------------------- | ----------------------------------------------------------------------------------------------------------------------- | | **Volume** | Mute or unmute. Move the pointer over it, or tab to it, to show the volume slider. | | **Read along** (book) | Shows the pages of the mushaf with the playing āyah marked. | | **Up next** (list) | Shows what plays next, your playlists, and **Download**, **Share** and **Open page**. | | **Playback speed** (gauge) | Choose a speed. A small badge shows the speed when it is not **Normal**. | | **Sleep timer** (moon) | Stop playback after a time. A badge shows the time left. | | **Minimize player** (–) | Hides the bar. A small button at the bottom of the page keeps showing what is playing — press it to bring the bar back. | | **Close player** (×) | Stops playback and closes the player. Listen keeps your place. | Only one panel opens at a time, and the bar stays usable while it is open. ## On a phone On a phone, a small player sits above the bottom tab bar. It shows the reciter's face, the surah and the reciter, a heart and a play button. Tap it to open the full player. The full player shows the reciter, the surah, the seek bar and the main buttons. Under them are **Up next**, **Read along**, **Download** and **Share**, then **Playback speed**, **Sleep timer** and the volume. At the bottom are **Minimize player** and **Close player**. To close the full player, tap the handle at the top, drag the sheet down, or press Esc. After you close the player, a **Continue listening** strip appears. Tap it to resume, or swipe it sideways to hide it. ## Repeat Press **Repeat** to choose how playback repeats: | Mode | What repeats | | --------- | -------------------------------------------------- | | **Off** | Nothing. Playback moves on. | | **Surah** | The current surah, again and again. | | **All** | All the surahs, starting again after the last one. | | **Ayah** | One āyah you choose. | | **Range** | The āyāt from **From verse** to **To verse**. | **Ayah** and **Range** work on recordings timed verse by verse. They help with memorization: - **Surah** — choose which surah. - **Play count** — how many times to play: **1×**, **3×**, **5×**, **7×**, **10×** or **∞** (without end). - **Repeat each verse** (Range only) — how many times each āyah plays before the next one. - **Delay between plays (seconds)** — a pause after each play, so you can repeat after the reciter. Press **Start playing**. While a repeat is on, a label in the player names it. Press the label to stop repeating. ## Speed **Playback speed** offers **0.25×**, **0.5×**, **0.75×**, **Normal**, **1.25×**, **1.5×**, **1.75×** and **2×**. **Custom** opens a slider for any speed from 0.25× to 2×. ## Sleep timer **Sleep timer** stops playback after **15 minutes**, **30 minutes**, **1 hour**, or at the **End of surah**. **Custom** sets any time from 5 to 180 minutes — press **Start timer**. Choose **Off** to cancel. While the timer runs, a label in the player shows the time left; press it to cancel. ## Read along **Read along** opens the printed mushaf, with tajweed colors. It opens at the playing surah and keeps the playing āyah marked and in view. On recordings timed verse by verse, tap an āyah to jump to it. If you scroll away, the page stops following; scroll back and it follows again. The recitation keeps playing while the mushaf is open. ## Up next **Up next** shows what plays after the current surah. - **Playing from** names where the line-up comes from, such as a reciter, a collection or a playlist. - **Added by you** lists what you added with **Play next** or **Add to queue**. Drag a row, or use the arrow keys, to reorder it. **Clear** empties the list. - **Shuffle** mixes the rest of the line-up. Press **Undo** to put it back. - **Save** keeps the line-up as a new playlist. See [Playlists](https://qurangallery.com/docs/listen/favorites). - The **Playlists** tab lists your playlists. While a radio station plays, the **Stations** tab lists other stations. - At the bottom: **Download** (surahs and tafsir), **Share** and **Open page**. ## Keyboard shortcuts | Key | Action | | ------------------ | -------------------------- | | **Space** or **K** | Play or pause | | **←** / **→** | Back or forward 15 seconds | | **M** | Mute or unmute | | **N** / **P** | Next or previous surah | The shortcuts do not work while you type in a box. The media keys on your keyboard and the controls on your phone's lock screen also work. ## Your place is kept Listen remembers what you were playing, where you stopped, your speed, volume and the Up next list — even after you close the tab. When you come back, press play to continue. If you stopped in the first 10 seconds, the surah starts from the beginning. ## Player capabilities What the player does, in one place: - **Speed.** 0.25× to 2×, in presets or with a custom slider. - **Sleep timer.** 15 minutes, 30 minutes, 1 hour, End of surah, or a custom time from 5 to 180 minutes. It also works on live radio, except End of surah. - **Repeat.** Off, Surah, All, Ayah and Range. Ayah and Range need a recording timed verse by verse. - **Resume.** Listen remembers the recording and your position. If you stopped within the first 10 seconds, the surah starts from the beginning. - **Up next.** A line-up you can reorder, shuffle, clear and save as a playlist, with **Play next** and **Add to queue** on any recording. - **Listening history.** Your 50 most recent recordings, newest first. See [Favorites & history](https://qurangallery.com/docs/listen/favorites). - **Background and lock-screen controls.** Play, pause, seek, back or forward 15 seconds, and next or previous surah work from your lock screen, notification shade or keyboard media keys, through the browser's Media Session. - **Save for offline.** Choose **Save for offline** in a recording's **⋯** menu on a reciter, surah, collection, favorites or history page. Listen asks first and shows how much space it will use on your device. Saved recordings are listed on the **Saved offline** page at [qurangallery.com/listen/downloads](https://qurangallery.com/listen/downloads), where you can play or remove them. Saving needs a browser that supports service workers. - **Download.** **Download** in the same menu or in Up next gives you an MP3 file instead. ## Radio in the player A radio station has no seek bar, no repeat, no speed and no download, because it is live. The sleep timer, volume and **Share** still work. See [Live radio](https://qurangallery.com/docs/listen/radio). ## Next steps - [Open Quran player](https://qurangallery.com/listen/player) - [Find a surah by name or number in Listen](https://qurangallery.com/docs/listen/finding-a-surah) - [Finish the Quran: khatmah listening plan](https://qurangallery.com/docs/listen/quran-challenge) - [Listen to the Quran: reciters, riwayat, tafsir, radio](https://qurangallery.com/docs/listen/overview) --- # Rijāl (Narrators): What is Rijāl? Source: https://qurangallery.com/docs/rijal/overview > A plain-language introduction to ʿilm al-rijāl and the Rijāl library — what the science studies and what you can do here. **Rijāl** is the Quran Gallery library for the narrators of hadith and the classic books that record their lives. Open it at [`qurangallery.com/rijal`](https://qurangallery.com/rijal). You can read the great biographical works of the tradition, search them by narrator, and read each entry alongside the original printed pages — no account required. ## ʿIlm al-rijāl in plain terms A hadith is a report about the Prophet ﷺ, and every report travels down a chain (an _isnād_) of people who passed it on — each one narrating from the one before. To trust a report, the scholars first had to know the people in that chain: who they were, when they lived, who they learned from, and whether they were careful and honest. The science of studying those people is called **ʿilm al-rijāl** — literally "the knowledge of the men," meaning the narrators. Over the centuries, scholars wrote enormous biographical dictionaries cataloguing thousands of narrators. A few terms you will meet: | Term | Plain meaning | | ------------------ | -------------------------------------------------------------------------------------- | | **Rijāl** | The narrators of hadith — the people in the chains of transmission. | | **ʿIlm al-rijāl** | The study of those narrators: their lives, dates, and reliability. | | **Isnād** | The chain of narrators through which a report reaches us. | | **Ṭabaqāt** | "Generations" or "classes" — narrators grouped by era, starting with the Companions. | | **Jarḥ wa taʿdīl** | "Criticism and accreditation" — the scholars' verdicts on how reliable a narrator was. | > You do not need any of this vocabulary to start reading. The library is a reading surface first — the terms above simply describe what the books you are reading are about. ## What you can do here Rijāl is organised as a **library of works**. Each work is a complete biographical book; inside it, every narrator has their own **entry**. From the home page you can: - **Browse the library** — works grouped by genre, such as **Ṭabaqāt** (generational biographies). See [The library](https://qurangallery.com/docs/rijal/the-library). - **Open a work** — read its details, then move through it by volume or search it by narrator name. See [Reading a work](https://qurangallery.com/docs/rijal/reading-a-work). - **Find a narrator** — search a book by name (in Arabic) or by entry number to jump straight to a person. See [Finding narrators](https://qurangallery.com/docs/rijal/finding-narrators). - **Read an entry** — the narrator's biography in full, with the original manuscript pages beside it. See [The narrator entry](https://qurangallery.com/docs/rijal/the-narrator-entry). - **Sign in across the suite** — reading needs no account, and a personal list of saved narrators is on the way. See [Saving & accounts](https://qurangallery.com/docs/rijal/bookmarks). ## A growing library The library is being built out over time. Today it opens with the foundational **Kitāb al-Ṭabaqāt al-Kabīr** of Ibn Saʿd (d. 230 AH) — one of the earliest and most important biographical collections, spanning eleven volumes and thousands of narrators. More works and genres are added as they are prepared. > Some deeper tools — chain analysis and side-by-side reliability gradings drawn across many books — are still on the way. When you see a "coming soon" note in the app, that is what it refers to. Everything described in these pages is available to read now. --- # Rijāl (Narrators): Finding narrators Source: https://qurangallery.com/docs/rijal/finding-narrators > Search a work for a narrator by name or entry number, and browse narrators volume by volume. In Rijāl, every narrator is an **entry** inside one of the library's works. So finding a narrator means opening the work that contains them and searching it — or browsing it volume by volume. This page covers both. ## Open the work first Start from the [library home](https://qurangallery.com/rijal) and open a work — for example **Kitāb al-Ṭabaqāt al-Kabīr**. The work's page is where you search and browse its narrators. See [The library](https://qurangallery.com/docs/rijal/the-library) for how to get there, and [Reading a work](https://qurangallery.com/docs/rijal/reading-a-work) for everything a work page offers. ## Searching by name On a work's page, the **search box** sits at the top of the **Directory** view. Type a narrator's name and the matching entries appear instantly as you type — no button to press. - **Search in Arabic.** Narrator names are in Arabic, so type the name in Arabic script. The placeholder reads _"Search by narrator name or entry number."_ - **Diacritics don't matter.** The search ignores ḥarakāt (vowel marks) and small spelling differences — for example, it treats alif forms (أ, إ, آ) and a final tāʾ marbūṭa the same way — so you can type the bare letters and still match. - **Partial names work.** Typing part of a name matches any entry that contains it, so you can search a kunya or a single distinctive word. Each result row shows the **entry number**, the narrator's **name**, and the **volume and page** where the entry sits. Select a row to open that narrator's [entry](https://qurangallery.com/docs/rijal/the-narrator-entry). > Looking at a very common name returns a long list. Add more of the name to narrow it, or note the volume and page in each result to find the person you mean. ## Searching by entry number If you already know an entry's number, type that number into the same search box. The search recognises a plain number and jumps to that exact entry rather than matching names. This is the quickest way back to a narrator you have seen before. ## How many results you see When a search matches a great many entries, the page shows you the **total count** and lists the first of them, with a note such as _"showing first 120."_ If the narrator you want isn't in the list, type more of the name — a more specific search brings the right entry into view. To clear the search and return to browsing, select the **Clear** (✕) button inside the search box, or simply empty it. ## Browsing volume by volume When the search box is empty, the work's page shows its **volumes** instead — each as a card with the volume's Arabic title, its subject, and how many entries it holds. This is the way to explore a work when you don't have a specific name in mind. Open any volume to see its full list of narrators in order. Within a volume: - Entries are listed by their **number** and **name**, with the **page** each begins on. - **Section headings** break the list into groups (for example, a class of narrators from one city or generation). These are headings, not people, so they aren't links. - Select any narrator to open their [entry](https://qurangallery.com/docs/rijal/the-narrator-entry). > Browsing a volume is the natural way to read a generation in sequence — for instance, working through the Companions of one region one entry at a time. --- # Rijāl (Narrators): The narrator entry Source: https://qurangallery.com/docs/rijal/the-narrator-entry > Read a narrator's biography in full, view the original manuscript pages, and move between entries. A narrator's **entry** is their biography as it appears in one of the library's works. It is the heart of Rijāl: the full text of what a classical scholar wrote about that person, shown exactly as it stands in the book, with the original printed pages right beside it. You reach an entry by [searching](https://qurangallery.com/docs/rijal/finding-narrators) a work or by browsing one of its volumes and selecting a name. ## The entry heading At the top of every entry you see: - The narrator's **name** in Arabic. - A link back to the **work** the entry belongs to. - The **volume** the entry sits in. - The **page range** the biography spans in the printed book (for example, _p. 142–145_). Selecting it opens the page reader at that spot. These let you place the narrator in context at a glance — which book records them, and where. ## The biography text Below the heading is the **biography itself** — the entry's full Arabic text, presented in a comfortable right-to-left reading layout. The text is shown **verbatim**, exactly as recorded, without editing or paraphrase, so what you read is the scholar's own words. > If a particular entry's text has not been prepared yet, the page says so plainly with a short note. You can still read that narrator from the original page scans (below). ## Original page scans Each entry can show the **original printed pages** the biography appears on. Look for the **Original page scans** panel beneath the text — it lists how many pages there are. Select it to expand a thumbnail grid of those pages. From there you can: - **Open any page full-screen.** Select a thumbnail to open it in a large viewer. - **Move between pages** with the on-screen arrows, or with your keyboard's **left and right arrow keys**. - **See where you are** — the viewer shows the page number and your position, such as _p. 143 · 2/4_. - **Close** the viewer to return to the entry. This lets you check the biography against the source itself — useful when you want to read the exact printed wording or see the page as it was typeset. ## Open the full scan reader Beneath the scans panel is a link to **open the scanned-page reader at this entry**. It takes you into the work's page-by-page reader, opened to the entry's first page, where you can read the original scan and its text side by side and keep paging through the book. See [Reading a work](https://qurangallery.com/docs/rijal/reading-a-work#reading-the-original-pages) for what that reader offers. ## Moving between narrators At the foot of the entry are **Next entry** and **Previous entry** links, each showing the neighbouring narrator's name. They let you read straight through a book one biography after another, without returning to the list each time. > Want to keep a list of narrators to return to? Saving is coming soon — see [Saving & accounts](https://qurangallery.com/docs/rijal/bookmarks) for what an account adds and what's still being built. --- # Rijāl (Narrators): The library Source: https://qurangallery.com/docs/rijal/the-library > Browse the biographical works by genre and open a work to start reading. The Rijāl home page is a **library** of the classic biographical books of the tradition. Open it at [`qurangallery.com/rijal`](https://qurangallery.com/rijal). Works are grouped by genre, and each one is a doorway into thousands of narrator biographies. ## Browsing by genre The home page lays the works out in **genre** sections. A genre groups books that share an approach — for example **Ṭabaqāt**, the works that arrange narrators by generational "classes," starting with the Companions and moving forward in time. Each genre section shows its name in Arabic and in transliteration, with a **View all** link to see every work in it on one page. > The library grows over time. It opens with the **Ṭabaqāt** genre and Ibn Saʿd's foundational collection; more genres and works are added as they are prepared. If the library looks sparse, that's simply because more is on the way. ## Reading a work card Every work appears as a **card** carrying its essentials at a glance: | On the card | What it tells you | | --------------- | ------------------------------------------------------------------------------------------------------- | | **Cover image** | The book's cover, where a scan is available. | | **Title** | The work's title in Arabic, with its transliteration beneath. | | **Author** | Who wrote it (shown in Arabic), with their year of death in the Hijri calendar (for example, _230 AH_). | | **Entries** | How many narrator biographies the work contains. | | **Volumes** | How many volumes (_ajzāʾ_) the work is divided into. | Select a card to open the work. ## Opening a work Opening a work takes you to its **work page**, where you can read its full details and start moving through it — by volume, or by searching its narrators. The web address of a work is readable and stable, so you can link to it or bookmark it; Ibn Saʿd's collection, for instance, lives at [`qurangallery.com/rijal/library/tabaqat-al-kabir`](https://qurangallery.com/rijal/library/tabaqat-al-kabir). For everything a work page offers — its details, the **Directory / Pages** views, volume browsing, and the original-page reader — see [Reading a work](https://qurangallery.com/docs/rijal/reading-a-work). ## Finding your way back Every page inside the library carries a **breadcrumb trail** at the top — Home, then the work, then the volume or page you are on. Select any step to go back up a level. It's the quickest way to move from a single narrator back out to the whole work or the library home. --- # Rijāl (Narrators): Reading a work Source: https://qurangallery.com/docs/rijal/reading-a-work > Inside a work — its details, the Directory and Pages views, browsing by volume, and reading the original scanned pages with text. A **work** is one complete biographical book in the library. Its page is where you read about the book, move through it volume by volume, search its narrators, and read the original printed pages. This page walks through everything a work page offers. Open a work from the [library](https://qurangallery.com/docs/rijal/the-library) home page. ## The work's details At the top of a work page is a **header** with the book's essentials: - The **title** in Arabic, with its transliteration (and an English rendering where there is one). - The **author**, with their year of death in the Hijri calendar. - The **editor** (_muḥaqqiq_) — the scholar who prepared this printed edition — where recorded. - The **publisher** and the **year** of the edition, where recorded. - A row of counts: how many **entries** (narrator biographies), **volumes**, and **pages** the work has. This frames what you're about to read: which edition it is, who stands behind it, and how large it is. ## Two ways to read: Directory and Pages Just below the header is a toggle with two modes. Switch between them at any time: | Mode | What it gives you | | ------------- | ----------------------------------------------------------------------------------------------- | | **Directory** | The narrators — search the book by name or number, and browse its volumes. This is the default. | | **Pages** | The original book, read page by page as scanned images with their text. | **Directory** is the way in when you're looking for a person; **Pages** is the way in when you want to read the book itself, cover to cover. ## The Directory view The Directory view is built around two things: - A **search box** for finding a narrator by name or entry number. How it behaves — Arabic search, ignoring diacritics, partial matches, and the result count — is covered in [Finding narrators](https://qurangallery.com/docs/rijal/finding-narrators). - The work's **volumes**, shown as cards when the search box is empty. Each card carries the volume's Arabic title, its subject, and how many entries it holds. ### Inside a volume Open a volume to see its narrators in order. Each row shows the entry's **number**, the narrator's **name**, and the **page** it begins on. **Section headings** group the list (for example, by city or generation) — these are headings, not people. A **Read scanned pages** link at the top of the volume opens that volume in the page reader. Select any narrator to open their [entry](https://qurangallery.com/docs/rijal/the-narrator-entry). ## The Pages view The **Pages** view lists the work's volumes for page-by-page reading, each with a preview of its first page. Two ways to start reading: - **Open a volume** by selecting its card — it opens the reader at that volume's first page. - **Jump to a page** using the **Go to page** box. Type any page number across the whole work and select **Go** to land there directly. ## Reading the original pages The **page reader** shows the book as it was printed. By default it presents two panes side by side: - The **scan** — the original printed page as a high-quality image. - The **text** — the page's text, shown verbatim beside the scan so you can read along. You can choose how much to see with the **view toggle**: | View | Shows | | -------- | ------------------------------------------------ | | **Both** | The scan and the text side by side. The default. | | **Scan** | The printed page image only. | | **Text** | The page's text only. | To move through the book, use the **previous** and **next** arrows in the toolbar. The toolbar also shows where you are — the **volume and page** number, and your position in the whole work (for example, _Vol. 2 · p. 143 · 287/4500_). > If a page's text hasn't been prepared yet, the text pane says so. The scan is always there to read from. ## Getting back Use the **breadcrumb** at the top of any work page to step back — to the work, or all the way to the library home. From a single page or entry, it's the fastest way back out to the whole book. --- # Rijāl (Narrators): Saving & accounts Source: https://qurangallery.com/docs/rijal/bookmarks > Everything in Rijāl is free to read without an account — here's what signing in adds, and what saved-narrator features are still on the way. Rijāl is a place to read, and reading asks nothing of you. This page explains the one thing an account is for — keeping your own list of narrators — and is honest about what's available today versus what's still being built. ## Reading needs no account The good news first: **everything in Rijāl is free to read without signing in.** Browsing the library, opening a work, searching within it, reading an entry, and paging through the original scans all work whether or not you have an account. Nothing is gated behind a login. ## What an account is for A Quran Gallery account lets the suite remember things for you across devices. Your sign-in is shared everywhere — if you're already signed in to the Qur'an Reader or another Quran Gallery app, you're signed in here too. > Don't have an account yet? Sign in or create one at > [`accounts.qurangallery.com`](https://accounts.qurangallery.com). The same > account works across the whole suite — see > [Your Quran Gallery account](https://qurangallery.com/docs/accounts/overview). ## Saving narrators — coming soon Keeping a personal shortlist of the narrators and works you're studying — so you can return to them later from any device — is **on the way but not available yet**. When you see a **coming soon** note in the app, this is part of what it's pointing to. The deeper study tools are arriving alongside it: - A personal list of saved narrators and works. - Reliability gradings (jarḥ wa taʿdīl) gathered side by side. - Teacher–student chains and comparison across multiple books. When these arrive, your account is what carries them — so the work you do reading now is never lost. Until then, the original sources stay open to everyone, with no sign-in required. --- # Inheritance (Mīrāth): Islamic inheritance calculator for the four schools Source: https://qurangallery.com/docs/mirath/overview > Calculate each heir's exact share under the Ḥanafī, Mālikī, Shāfiʿī and Ḥanbalī schools, with every step of the working shown. Mīrāth at **qurangallery.com/mirath** is an Islamic inheritance calculator for the four Sunni schools: Ḥanafī, Mālikī, Shāfiʿī and Ḥanbalī. You say who has passed away and which relatives survive them, and it gives each heir's share of the estate as a fraction, a percentage and a money amount, with the Qurʾanic basis and every step of the working behind each figure. ## Common tasks - [How to calculate Islamic inheritance step by step](https://qurangallery.com/docs/mirath/using-the-calculator) - [Read your inheritance result: shares and steps](https://qurangallery.com/docs/mirath/understanding-the-results) - [Awl, radd and the fixed shares explained](https://qurangallery.com/docs/mirath/inheritance-rules) - [Deduct funeral costs, debts and bequests before shares](https://qurangallery.com/docs/mirath/debts-and-bequests-first) - [Four Sunni schools on inheritance: key differences](https://qurangallery.com/docs/mirath/four-schools) - [Learn Islamic inheritance (farāʾiḍ) from scratch](https://qurangallery.com/docs/mirath/learn) - [Islamic inheritance FAQ: awl, radd, debts, wills](https://qurangallery.com/docs/mirath/faq) - [Can you embed the inheritance calculator on a site?](https://qurangallery.com/docs/mirath/embedding-the-calculator) ## What "mīrāth" and "farāʾiḍ" mean Mīrāth is the Islamic law of inheritance: the rules by which a person's wealth passes to their relatives after death. It is also called **ʿilm al-farāʾiḍ** — "the science of the fixed shares" — because at its heart is a set of precise fractions that the Qurʾan assigns to named relatives. A half, a quarter, an eighth, two thirds, a third, a sixth: each goes to a particular relative depending on who else is alive. Getting it right matters. An error quietly takes from one heir what belongs to another, which is why the calculator works in exact fractions and always shows its evidence. ## What the calculator does and doesn't do **It does:** - **Four Sunni schools** — Ḥanafī, Mālikī, Shāfiʿī and Ḥanbalī — chosen with a switch at the top of the result. All four are computed for every family, and when they differ you can [compare them side by side](https://qurangallery.com/docs/mirath/understanding-the-results#comparing-the-four-schools). - **33 relations by name:** husband, wife (up to four), son, daughter, son's son, son's daughter, son's son's son, son's son's daughter, father, mother, father's father, father's mother, mother's mother, full / paternal / maternal brother and sister, full and paternal nephew, full and paternal uncle, full and paternal cousin, and the distant relatives (dhawū al-arḥām): a daughter's son and daughter, a full sister's son and daughter, the maternal grandfather, the maternal uncle and aunt, and the paternal aunt. Each has its own page under [Heirs](https://qurangallery.com/mirath/heirs). - **ʿAwl and radd**, and the named cases: [al-ʿUmariyyatān](https://qurangallery.com/mirath/rules/umariyyatan), [al-Mushtaraka](https://qurangallery.com/mirath/rules/mushtaraka), [al-Akdariyya](https://qurangallery.com/mirath/rules/akdariyya), [the grandfather with siblings](https://qurangallery.com/mirath/rules/grandfather-and-siblings) and [al-muʿādda](https://qurangallery.com/mirath/rules/muadda). - **Dhawū al-arḥām per school** — by closeness of kinship (qarāba) in the Ḥanafī school, by substitution (tanzīl) in the other three ([details](https://qurangallery.com/mirath/rules/dhawu-al-arham)). - **Exact fractions.** Every share is a fraction of two whole numbers, never a rounded decimal, and the shares always add up to exactly one estate. - **Estate deductions** — debts, funeral costs and a bequest (waṣiyya) capped at one third — before anything is divided. - **The working, step by step** — "How this was worked out": the base (aṣl), each fixed share with its daleel and a link to the verse, blocking, ʿawl, radd and any correction of the base (taṣḥīḥ). - **A share mosaic** that draws the estate as equal tiles, and **a family tree** of the deceased with each heir's share. - **Print / save as PDF**, with the working, the tree and, when the schools differ, a compact comparison. - **A shareable link** — the address bar always describes the family on screen. - **Special cases with their own pages** — the [missing heir](https://qurangallery.com/mirath/missing-heir), the [unborn child](https://qurangallery.com/mirath/unborn-child) and the [intersex heir](https://qurangallery.com/mirath/intersex-heir); each page explains how the case is solved. - **Saved cases** — **Save case** on the result keeps the case in this browser only; the list is under [Saved cases](https://qurangallery.com/mirath/saved). - **An embed view** at `/mirath/embed`, the compact version shown inside Quran Gallery chat. **It doesn't:** - the **Jaʿfarī** (Shia) school — only the four Sunni schools; - relatives who **died together** with the order of death unknown (gharqā, hadmā); - **bayt al-māl** distribution — when a school sends a surplus to the public treasury, the calculator marks the case for a scholar's review instead of dividing it; - **accounts** — there is nothing to sign in to, and saved cases stay in this browser only; to carry a case to another device, use its link or a PDF; - a **"compact mode"** on the main page — the compact view is the separate [embed](https://qurangallery.com/docs/mirath/embedding-the-calculator). Each of these is listed on the [methodology page](https://qurangallery.com/mirath/methodology), with the cases the calculator refers to a scholar. ## An educational aid, not a fatwa The calculator follows the classical Sunni rules and is checked against the answers in the classical books of farāʾiḍ: every test case, with its source, runs live on the [validation page](https://qurangallery.com/mirath/test-cases). It is built to teach and to estimate — not to issue a binding ruling. > Inheritance is exact and the responsibility is serious. Always confirm a real, binding distribution with a qualified scholar before acting on it. The calculator is here to help you understand and prepare, not to replace that advice. ## Where to go next | If you want to… | Go to | | -------------------------------------------------- | -------------------------------------------------------- | | Work out a specific family's shares | [The calculator](https://qurangallery.com/mirath) | | Learn how to enter a family | [Using the calculator](https://qurangallery.com/docs/mirath/using-the-calculator) | | Understand how to read the results | [Understanding the results](https://qurangallery.com/docs/mirath/understanding-the-results) | | Read the rules of inheritance in plain language | [The rules](https://qurangallery.com/mirath/rules) | | See what one relative inherits in every situation | [Heirs](https://qurangallery.com/mirath/heirs) | | See where the four schools differ | [The schools](https://qurangallery.com/mirath/schools) | | Check the calculator against the classical answers | [Validation](https://qurangallery.com/mirath/test-cases) | | Browse common questions | [FAQ](https://qurangallery.com/mirath/faq) | ## Your information The calculation runs in your own browser, and there is no account and no history kept on the site. Everything you enter (the family, the estate value, debts, funeral costs, bequests) is written into the page address so the link can be shared; anyone you send it to sees it. Like any page address, it reaches our server when the page opens; these details are removed from the address before it goes to the site's usage analytics and error reports. Cases you save with **Save case** stay in this browser only; they are not sent to the site and do not follow you to another device. ## Next steps - [Open inheritance calculator](https://qurangallery.com/mirath) - [How to calculate Islamic inheritance step by step](https://qurangallery.com/docs/mirath/using-the-calculator) - [Read your inheritance result: shares and steps](https://qurangallery.com/docs/mirath/understanding-the-results) --- # Inheritance (Mīrāth): How to calculate Islamic inheritance step by step Source: https://qurangallery.com/docs/mirath/using-the-calculator > Enter the deceased, the estate, funeral costs, debts and bequest, then each surviving heir and the school of law. The shares update as you go. To calculate Islamic inheritance in the [calculator](https://qurangallery.com/mirath), choose whether the deceased was a man or a woman, enter the estate, then tap each surviving relative. The shares update instantly: there is no calculate button and nothing to submit. ## Step 1 — Who passed away? Choose **A man** or **A woman**. This single choice does one thing only: it decides whether the surviving spouse is a wife (widow) or a husband (widower). It does not change any other share. ### Enter the estate Below that, under **The estate**, set the **Estate to divide**. Type a currency symbol in the small box (up to three characters — `$`, `£`, `Rs`, and so on) and the total amount beside it. If you would rather not work in money at all, leave the default value and switch the results to **Fractions**. ### Funeral costs, debts & bequest (waṣiyya) An estate is not divided immediately. Open **Deduct funeral costs, debts or a bequest**, just under the estate, to enter what must be settled first: | Field | What it covers | | --------------------- | ----------------------------------------------------------------- | | **Debts owed** | Everything owed to people and to God. | | **Funeral costs** | The cost of a dignified burial. | | **Bequest (waṣiyya)** | A gift the deceased left to someone who is _not_ already an heir. | Funeral costs and debts come off first, then the bequest. A bequest is capped at **one third** of what remains after them — the calculator enforces that limit automatically, so you can type any figure and it will never exceed the third. **What remains** shows the estate after funeral costs and debts, and **To divide** shows exactly how much is left to share among the heirs. The [estate deductions](https://qurangallery.com/mirath/rules/estate-deductions) page explains the order. > Adopted children, step-children and unmarried partners are not heirs under the fixed-share system. A person can still provide for them through the bequest (waṣiyya), within its one-third limit. ## Step 2 — Who survives them? Tap each family member who is alive, using the plus and minus controls to set how many of each there are. The shares recalculate the moment you change anything. Use **Clear** to start the family over. While you enter a family, an heir that someone else already excludes is marked **No share.** with the reason. On a phone, the result sits below the form, and a bar fixed to the bottom of the screen keeps the running total in view with a **See the shares** button that jumps to it. The spouse, the children and the parents are shown first. Everyone else sits behind **Add more relatives** to keep the form calm: grandparents, siblings, great-grandchildren, the nephews, uncles and cousins, and the other relatives (dhawū al-arḥām). The tables below give the usual rule for each heir. Every heir has its own page under [Heirs](https://qurangallery.com/mirath/heirs), with each situation computed by the calculator and the points where the schools differ. ### The spouse | Heir | Rule | | --------------------- | -------------------------------------------------------- | | **Husband** | ½ with no child, ¼ with a child. | | **Wife** (up to four) | ¼ with no child, ⅛ with a child; shared among the wives. | If the deceased was a man you enter a **Wife** (up to four). If a woman, you enter a **Husband**. ### Children and grandchildren | Heir | Rule | | --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Son** | Takes the residue and blocks the siblings. With daughters, a son takes the share of two. | | **Daughter** | ½ alone, ⅔ if two or more; becomes a residuary alongside a son. | | **Son's son** (grandson) | Stands in for a son when none survives; blocked by a son. | | **Son's daughter** (granddaughter) | Like a daughter when there is no nearer child; ⅙ beside one daughter; blocked by a son, or by two or more daughters unless a son's son makes her a residuary. | | **Great-grandson / great-granddaughter** (son's son's children) | The same rules one generation further down. | ### Parents | Heir | Rule | | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Father** | ⅙ with a child; otherwise takes the residue. | | **Mother** | ⅓, reduced to ⅙ with a child or two or more siblings. With a spouse and the father only, ⅓ of what the spouse leaves ([al-ʿUmariyyatān](https://qurangallery.com/mirath/rules/umariyyatan)). | ### Grandparents | Heir | Rule | | ------------------------------------------ | ------------------------------------------------------------------------------- | | **Father's father** (paternal grandfather) | Stands in for the father when he is absent; with siblings the schools differ. | | **Father's mother** (paternal grandmother) | ⅙ (shared with the maternal grandmother); excluded by the mother or the father. | | **Mother's mother** (maternal grandmother) | ⅙ (shared with the paternal grandmother); excluded by the mother. | ### Siblings Siblings are split into three lines, because each follows entirely different rules. | Heir | Rule | | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Full brother** (same parents) | Takes the residue; blocked by a son, a son's son or the father. The grandfather blocks him in the Ḥanafī school and shares with him in the other three. | | **Full sister** (same parents) | ½ alone / ⅔ if two or more; a residuary beside a brother or a daughter. | | **Paternal brother** (same father) | Like a full brother, but also blocked by a full brother. | | **Paternal sister** (same father) | Like a full sister; ⅙ beside one full sister; blocked by a full brother. | | **Maternal brother** (same mother) | ⅙ alone / ⅓ shared equally; blocked by a child or son's child, the father or the grandfather. | | **Maternal sister** (same mother) | Shares equally with the maternal brothers, with no two-to-one split. | ### Nephews, uncles and cousins The full and paternal nephew (a brother's son), the full and paternal uncle (the father's brother) and the full and paternal cousin (that uncle's son) are residuary heirs (ʿaṣaba) in that order of precedence: the first one present takes the residue, and any nearer residuary excludes them all. ### Other relatives (dhawū al-arḥām) A daughter's son and daughter, a full sister's son and daughter, the maternal grandfather, the maternal uncle and aunt, and the paternal aunt inherit **only when no heir but a spouse is left**. Otherwise they are shown as excluded. The schools divide among them differently; see [dhawū al-arḥām](https://qurangallery.com/mirath/rules/dhawu-al-arham). ## Choosing a school of law At the top of **The division** panel, a four-way **School of law** switch picks Ḥanafī, Mālikī, Shāfiʿī or Ḥanbalī, and the shares change as you switch. For almost every family the four schools give the same answer, and the calculator says so: _"All four Sunni schools agree on this family."_ When they differ, it says _"The schools differ on this family."_ and offers **Compare the four schools**, which opens a side-by-side table explained in [Understanding the results](https://qurangallery.com/docs/mirath/understanding-the-results#comparing-the-four-schools). The [schools page](https://qurangallery.com/mirath/schools) lists what each school does differently. ## Starting from an example To see the calculator in action first, use **Start from an example**, the button beside the page heading. The empty division panel also shows four starting families, and **All examples** opens the full list. There are ready-made families — a wife with two sons and a daughter, a husband with three daughters, a wife with both parents, both parents with a son, a mother with a daughter, a husband with two full sisters, a grandfather with two brothers, and a husband, mother, two maternal brothers and a full brother — so you can see a full result immediately and then adjust it. > Tip: examples are the fastest way to learn the tool. Load one, watch the shares appear, then change a relative or two and see how the numbers respond. ## Sharing a family by link The page address always describes the family on screen, so copying it from the address bar shares the exact case: whoever opens it sees the same family, school and estate. The parameters are: | Parameter | Meaning | | ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `g=male` or `g=female` | The deceased (left out, it is inferred from the spouse). | | `madhab=hanafi` / `maliki` / `shafii` / `hanbali` | The school of law. | | `estate=100000` | The estate value. | | `currency=£` | The currency symbol, up to three characters (`$` when left out). | | `son=2`, `wife=1`, `full_sister=1`, … | One parameter per relation, named as on the [heir pages](https://qurangallery.com/mirath/heirs) (for example `grandson`, `paternal_grandmother`, `maternal_brother`). | For example, [`https://qurangallery.com/mirath?g=male&madhab=hanafi&estate=100000&wife=1&son=2`](https://qurangallery.com/mirath?g=male&madhab=hanafi&estate=100000&wife=1&son=2) opens a man survived by a wife and two sons. Debts, funeral costs and bequests you enter are added to the address as well. ## Next steps - [Open inheritance calculator](https://qurangallery.com/mirath) - [Awl, radd and the fixed shares explained](https://qurangallery.com/docs/mirath/inheritance-rules) - [Read your inheritance result: shares and steps](https://qurangallery.com/docs/mirath/understanding-the-results) - [Islamic inheritance calculator for the four schools](https://qurangallery.com/docs/mirath/overview) --- # Inheritance (Mīrāth): Read your inheritance result: shares and steps Source: https://qurangallery.com/docs/mirath/understanding-the-results > How to read the division panel: share mosaic, amounts or fractions, awl and radd notes, why an heir got nothing, the steps and the school comparison. The result panel, **The division**, shows who receives what and why. Start with the one-sentence case at the top, then read the share mosaic, the list of shares and the steps under **How this was worked out**. ## The division at a glance At the top, one sentence states the case: _"A man died, leaving wife, son ×2, and daughter."_ The **School of law** switch sits under it, with a line saying whether the four schools agree on this family. Below that come the share mosaic, any notes on how the shares were reached, and the list of shares. ## The share mosaic A grid of equal tiles draws the estate. Each tile is one share of the base, so the caption reads, for example, _"Base 24. Each tile is 1/24 of the estate."_ Every heir's tiles carry one colour, and that colour is the same in the shares list, in the working and in the family tree. Point at a tile, or tap it on a phone, and the same heir lights up in the list. When the base is too large to draw as tiles, the mosaic becomes a single bar and the caption says that each band is drawn in proportion to its share. The shares themselves are exact either way. ## Amounts or fractions Below the notes, a two-way switch flips the whole panel between: - **Amounts**: every share as a money figure. - **Fractions**: every share as a fraction and percentage, with no money. > If you only want to understand the _proportions_ and have no specific estate in mind, switch to **Fractions**. The fractions are exact either way. ## ʿAwl, radd and named cases The base is always in the mosaic caption: it is the common denominator the shares are worked out over (the aṣl al-masʾala). Under the mosaic, a short note appears only when one of these applies, and the name of the mechanism in it links to its rule page: | Note | Meaning | | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **ʿAwl** | The fixed shares added up to more than the whole estate, so the base rose and every share was scaled down. | | **Radd** | A surplus remained with no residuary heir, so it was returned to the fixed-share heirs. | | A named case | The family matches one of the classical named cases: **al-Akdariyya**, **al-Mushtaraka**, **al-Jadd wa al-Ikhwa** (the grandfather with siblings) or **Umariyyatān**. | Each has a page of its own: [ʿawl](https://qurangallery.com/mirath/rules/awl), [radd](https://qurangallery.com/mirath/rules/radd), [al-Akdariyya](https://qurangallery.com/mirath/rules/akdariyya), [al-Mushtaraka](https://qurangallery.com/mirath/rules/mushtaraka), [the grandfather with siblings](https://qurangallery.com/mirath/rules/grandfather-and-siblings) and [al-ʿUmariyyatān](https://qurangallery.com/mirath/rules/umariyyatan). ## The shares list Under the switch, the list shows every heir who receives something. Each row gives: - **Heir**: the relative, with a count (for example "×2") when there is more than one. - **Basis**: how the heir comes by the share. **Fixed share**, **Residue**, **Return** (radd), **ʿUmariyya** or **Distant relative**. - **Share**: the exact fraction of the estate. When several heirs of one kind share a portion, you also see what **each** one receives. - **Percentage**: the same share as a percentage. - **Amount**: the money figure (only in the Amounts view). - **Why**: a button that opens a one-line justification for that heir's portion, with a link to the verse where there is one. The total row always comes to the whole: fraction `1`, `100%` and the full amount to divide. The estate is divided completely and exactly, and money amounts are allocated so that they, too, add up to the estate exactly. ## Fixed shares versus the residue (ʿaṣaba) Heirs come by their share in two main ways, and the **Basis** on each row says which: - **Fixed-share heirs** (aṣḥāb al-furūḍ) — such as the spouse, the parents and the daughters — take a named fraction set by the Qurʾan. - **Residuary heirs** (al-ʿaṣaba) — chiefly the sons and the male line through the father — take whatever **remains** after the fixed shares are paid. See [ʿaṣaba](https://qurangallery.com/mirath/rules/asaba). Some relatives move between the two roles depending on who else is present. A daughter normally takes a fixed share, but becomes a residuary alongside her brother. A full or paternal sister does the same beside a brother or a daughter. ## Blocking (ḥajb) — why an heir got nothing Sometimes a relative you entered receives nothing. This is **ḥajb** (blocking): a nearer heir excludes a more distant one. For example, a son blocks the grandchildren and all the brothers and sisters; the father blocks the brothers. The calculator never hides this. Beneath the shares, **No share (n)** gathers every heir who received nothing; open it to read the reason for each, naming the relative who blocked them. On a printout it is always open. Blocking can be total (the heir gets nothing) or partial (the share is only reduced — as when a mother drops from ⅓ to ⅙). See [ḥajb](https://qurangallery.com/mirath/rules/hajb). A residuary heir can also appear with nothing when the fixed shares have taken the whole estate. That is not blocking: the heir is entitled, but nothing is left. ## ʿAwl and radd — when the shares don't fit exactly Most families divide perfectly: the fixed shares and the residue add up to exactly one whole. Two mechanisms handle the cases that don't: - **ʿAwl (proportional reduction).** When the fixed shares demand _more_ than the whole estate — for instance a husband (½) with two full sisters (⅔) — the base is raised (here from 6 to 7) and every heir is reduced in the same proportion. No one is dropped. - **Radd (return).** When the fixed shares fall _short_ and there is no residuary heir, the surplus is returned to the fixed-share heirs in proportion. A surviving spouse keeps their fixed share but does not share in the radd. When a spouse is the **only** heir, the Ḥanafī school (by its later fatwa) returns the surplus to them; the other three schools send it to the public treasury (bayt al-māl), and the calculator marks that case for a scholar's review. ## How this was worked out Under the result, **How this was worked out** holds the evidence in three tabs: **Steps**, **Schools** and **Family tree**. (In the embedded view the same three tabs sit inside a folded section of the same name.) A small dot on **Schools** means the four schools differ for this family. A printout includes the Steps and the Family tree always, and the Schools comparison when the schools differ. ### Steps The **Steps** tab shows the working, in three parts: 1. **The base.** The estate divides over a base (aṣl al-masʾala) of a number of shares (sihām), and each heir's portion of that base is listed. If ʿawl, radd or a correction of the base (taṣḥīḥ) changed it, the working shows the base the table is counted in. See [aṣl and taṣḥīḥ](https://qurangallery.com/mirath/rules/asl-and-tashih). 2. **Step by step.** Every step the engine took, in order: the base, each fixed share, each exclusion, the residue, ʿawl or radd, the correction, and any school position applied. Each step names the heirs it touches, gives its basis, links the verse it rests on (an-Nisāʾ 4:11, 4:12 or 4:176, opening in the Quran reader in a new tab), and links the rule it illustrates ("Learn: …"). 3. **Why these shares (daleel).** A one-line justification for every heir's portion, with its verse where there is one. This is the same working a student of farāʾiḍ would write out by hand, and the same trace the [methodology page](https://qurangallery.com/mirath/methodology) describes. ### Family tree The **Family tree** tab draws the deceased with every heir you entered, each labelled with their share; excluded heirs carry the reason. It follows the reading direction of the language you chose. ## Comparing the four schools When the schools give different answers for your family, the line under the school switch says so and offers **Compare the four schools**, which opens the **Schools** tab. **The four schools side by side** lists every heir with their share in each school, highlights the rows where the schools differ, and explains why, heir by heir — for example "Full brother: nothing according to Ḥanafī, but 1/2 according to Mālikī, Shāfiʿī and Ḥanbalī" — with a link to the rule behind the difference. Select a school's name in the table to use it above. The [schools page](https://qurangallery.com/mirath/schools) lists every family in the test suite where the schools differ. ## Print or save as PDF Below the result, press **Print / save as PDF**. Your browser's print dialog opens; choose a printer, or "Save as PDF" to keep a file you can share. The printout contains a summary of what you entered (the deceased, the school, the estate and any debts, funeral costs or bequest, and the surviving heirs), the shares, the full working with its steps and daleel, the family tree, and the scholar disclaimer, followed by the calculator's address and the date. When the schools differ, a compact four-school comparison is printed too. Menus, buttons and the input form are left out. In the **Fractions** view, the money figures are left out of the printout. ## "This case needs a scholar's review" For a few cases the calculator will not show a number it is not certain of. Instead it says **This case needs a scholar's review** with a short reason: - **A spouse is the only heir** in the Mālikī, Shāfiʿī or Ḥanbalī school: the surplus goes to the public treasury (bayt al-māl), which this tool does not distribute. (The Ḥanafī school returns it to the spouse, so the Ḥanafī result is shown.) - **Some groupings of distant relatives** (dhawū al-arḥām) that a school divides by more than one method. - **Impossible input**, such as a husband and a wife together, or two fathers. The [methodology page](https://qurangallery.com/mirath/methodology) lists every such case. > The disclaimer beneath every result says it plainly: this tool follows the classical Sunni rules and shows its evidence, but a real distribution should always be confirmed with a qualified scholar. ## Next steps - [Open calculation method](https://qurangallery.com/mirath/methodology) - [How to calculate Islamic inheritance step by step](https://qurangallery.com/docs/mirath/using-the-calculator) - [Awl, radd and the fixed shares explained](https://qurangallery.com/docs/mirath/inheritance-rules) - [Islamic inheritance calculator for the four schools](https://qurangallery.com/docs/mirath/overview) --- # Inheritance (Mīrāth): Awl, radd and the fixed shares explained Source: https://qurangallery.com/docs/mirath/inheritance-rules > The order estates are paid, the six fixed shares, residuary heirs, blocking, awl and radd, with links to the rule page for each. Under the rules the calculator applies, an estate pays funeral costs, debts and a bequest of up to one third first, and the rest is divided by the six fixed shares (½, ¼, ⅛, ⅔, ⅓, ⅙), then to the residuary heirs. If the shares exceed the estate, **ʿawl** scales them down; if they fall short with no residuary heir, **radd** returns the surplus. The app has a page for each rule at [qurangallery.com/mirath/rules](https://qurangallery.com/mirath/rules). ## Order of distribution Before any heir inherits, these claims are met from the estate, in this order: 1. **Funeral expenses** — a dignified burial. 2. **Debts** — everything owed to people and to God. 3. **Bequest (waṣiyya)** — up to one third of what remains, to non-heirs. 4. **The shares (farāʾiḍ)** — the rest is divided among the heirs by the rules below. The calculator's "Deduct funeral costs, debts or a bequest" section subtracts funeral costs and debts, then a bequest capped at one third of what remains, and divides the rest. See [estate deductions](https://qurangallery.com/mirath/rules/estate-deductions). ## The fixed shares (al-furūḍ) Allah names the shares of close relatives in the Qurʾan — chiefly an-Nisāʾ 4:11, 4:12 and 4:176 (the [verses page](https://qurangallery.com/mirath/verses) lists which shares come from each). Each fraction is conditional on who else survives. There are six of them. | Fraction | Who can receive it | | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **½** | Husband (with no child) · a sole daughter · a sole son's daughter · a sole full sister · a sole paternal sister | | **¼** | Husband (with a child) · wife or wives, shared (with no child) | | **⅛** | Wife or wives, shared (with a child) | | **⅔** | Two or more daughters · two or more son's daughters · two or more full sisters · two or more paternal sisters | | **⅓** | Mother (no child and fewer than two siblings) · two or more maternal siblings, shared equally | | **⅙** | Father (with a child) · mother (with a child or two or more siblings) · grandfather (with a child) · grandmother · a sole maternal sibling · a son's daughter completing a daughter's ⅔ · a paternal sister completing a full sister's ⅔ | What each relative receives in every situation is on their own [heir page](https://qurangallery.com/mirath/heirs) — for example the [mother](https://qurangallery.com/mirath/heirs/mother) or the [full sister](https://qurangallery.com/mirath/heirs/full_sister). ## Residuary heirs (al-ʿaṣaba) After the fixed shares are paid, whatever remains goes to the **residuary heirs** (ʿaṣaba) — the male relatives through the father, nearest first: the son, the son's son (and his son), the father, the grandfather, the full and then the paternal brother, and then the nephews, the paternal uncles and their sons, in that order. Where a male and a female of the same rank inherit together — a son and a daughter, a brother and a sister — the male takes the share of two females. A daughter or a sister normally takes a fixed share, but becomes a residuary alongside her brother, or — for a full or paternal sister — alongside a daughter. See [ʿaṣaba](https://qurangallery.com/mirath/rules/asaba). ## Blocking (al-ḥajb) A nearer heir can exclude a more distant one, either completely (**ḥajb ḥirmān**) or by reducing their share (**ḥajb nuqṣān**). For example: a son blocks the son's son and all the siblings; the father blocks the brothers; the mother is reduced from ⅓ to ⅙ when a child, or two or more siblings, survive. The calculator shows blocked heirs greyed out with the reason they were excluded. See [ḥajb](https://qurangallery.com/mirath/rules/hajb). ## ʿAwl and radd > **ʿAwl (proportional reduction):** sometimes the fixed shares add up to more than the whole estate — for example a husband (½) with two full sisters (⅔). The base of the case is raised so the shares fit, and everyone is reduced in proportion. See [ʿawl](https://qurangallery.com/mirath/rules/awl). > **Radd (return):** the opposite — the fixed shares fall short and there is no residuary heir to take the remainder. The surplus is returned to the fixed-share heirs in proportion, except the spouse. When a spouse is the only heir, the later Ḥanafī fatwa returns the surplus to them; the other three schools send it to the public treasury (bayt al-māl). See [radd](https://qurangallery.com/mirath/rules/radd). When the shares do not divide evenly among several heirs of one kind, the base is multiplied up so every heir gets a whole number of shares — [aṣl and taṣḥīḥ](https://qurangallery.com/mirath/rules/asl-and-tashih). ## The named cases - **[al-ʿUmariyyatān](https://qurangallery.com/mirath/rules/umariyyatan)** — a spouse with both parents: the mother takes one third of what the spouse leaves, not of the whole estate. - **[al-Mushtaraka](https://qurangallery.com/mirath/rules/mushtaraka)** — a husband, a mother or grandmother, two or more maternal siblings and full brothers: in the Mālikī and Shāfiʿī schools the full brothers share the maternal siblings' third. - **[The grandfather with siblings](https://qurangallery.com/mirath/rules/grandfather-and-siblings)** (al-Jadd wa al-Ikhwa) — see the four schools below. - **[al-Akdariyya](https://qurangallery.com/mirath/rules/akdariyya)** — a husband, a mother, a grandfather and one full or paternal sister. - **[al-muʿādda](https://qurangallery.com/mirath/rules/muadda)** — paternal siblings counted against the grandfather alongside full siblings, then giving up their portion to them. ## Distant relatives (dhawū al-arḥām) Relatives with neither a fixed share nor a residuary claim — a daughter's children, a full sister's children, the maternal grandfather, the maternal uncle and aunt, and the paternal aunt — inherit only when no heir but a spouse is left. The Ḥanafī school divides among them by closeness of kinship (qarāba); the Mālikī, Shāfiʿī and Ḥanbalī schools by substitution (tanzīl), each relative standing in for the heir through whom they reach the deceased. A few groupings that a school divides by more than one method are referred to a scholar. See [dhawū al-arḥām](https://qurangallery.com/mirath/rules/dhawu-al-arham). ## The four schools (al-madhāhib) For the overwhelming majority of families, the four Sunni schools — **Ḥanafī, Mālikī, Shāfiʿī and Ḥanbalī** — give exactly the same result. Their numbers differ in a few places: | School | Grandfather with siblings | al-Mushtaraka | Sole spouse with surplus | Dhawū al-arḥām | | ----------- | --------------------------------------------------------------- | ------------- | ------------------------------------ | -------------------------------------------- | | **Ḥanafī** | Treated as the father: excludes the siblings. | No | Returned to the spouse (later fatwa) | Closeness of kinship (qarāba), male double | | **Mālikī** | Shares with them (muqāsama), incl. al-muʿādda and al-Akdariyya. | Yes | Bayt al-māl → scholar's review | Substitution (tanzīl), male double | | **Shāfiʿī** | Shares with them (muqāsama), incl. al-muʿādda and al-Akdariyya. | Yes | Bayt al-māl → scholar's review | Substitution (tanzīl), male double | | **Ḥanbalī** | Shares with them (muqāsama), incl. al-muʿādda and al-Akdariyya. | No | Bayt al-māl → scholar's review | Substitution (tanzīl), male and female equal | Where the grandfather shares, he takes whichever of three outcomes is best for him: a share alongside the siblings as though he were a brother, one third of what remains after the fixed shares, or one sixth of the whole estate. In the Mālikī and Shāfiʿī schools, radd itself follows their later scholars (the earlier position sends the surplus to the bayt al-māl), and the result carries a note saying so. The calculator computes all four schools for every family and tells you whether they agree; when they differ you can compare them side by side. The [schools page](https://qurangallery.com/mirath/schools) shows each school's positions and every test family where the results differ. ## See it in practice - [The calculator](https://qurangallery.com/mirath) — try a family of your own. - [The rules](https://qurangallery.com/mirath/rules) — each topic with examples computed by the calculator. - [Validation](https://qurangallery.com/mirath/test-cases) — every test case run through the engine, with exact fractions and the classical source it was checked against. ## Next steps - [Open inheritance rules](https://qurangallery.com/mirath/rules) - [Read your inheritance result: shares and steps](https://qurangallery.com/docs/mirath/understanding-the-results) - [Deduct funeral costs, debts and bequests before shares](https://qurangallery.com/docs/mirath/debts-and-bequests-first) - [Islamic inheritance calculator for the four schools](https://qurangallery.com/docs/mirath/overview) --- # Inheritance (Mīrāth): Deduct funeral costs, debts and bequests before shares Source: https://qurangallery.com/docs/mirath/debts-and-bequests-first > Funeral costs, debts and a bequest of up to one third are paid before heirs' shares. How the calculator deducts them and where the schools differ. Before any heir receives a share, the calculator deducts three claims from the estate in this order: funeral costs, debts, then a bequest (waṣiyya) of at most one third of what is left. Only the remainder is divided. Open **Deduct funeral costs, debts or a bequest**, just under the estate value at [qurangallery.com/mirath](https://qurangallery.com/mirath), to enter them. ## Steps 1. Enter the **Estate to divide**. 2. Open **Deduct funeral costs, debts or a bequest**. 3. Fill **Debts owed**, **Funeral costs** and **Bequest (waṣiyya)**. Type any bequest figure: the calculator never lets it exceed the third. 4. Read **What remains** (the estate after funeral costs and debts) and **To divide**, the amount left for the heirs. ## Why do debts come before the bequest? The app explains that the Qurʾan sets the shares after any bequest or debt (an-Nisāʾ 4:11–12), that debts owed to people are paid in full before any bequest in all the schools, and that the costs of washing, shrouding and burial come first. Read it on [Before the shares: funeral costs, debts and bequests](https://qurangallery.com/mirath/rules/estate-deductions). ## How large can a bequest be? A bequest may not exceed a third of what remains after debts. The app cites the ḥadīth of Saʿd ibn Abī Waqqāṣ (Ṣaḥīḥ Muslim, no. 1628) and notes that anything beyond a third takes effect only if the heirs consent after the death. Several bequests, and how the schools divide a third that is too small, are on [Bequests: the one-third limit and the heirs' consent](https://qurangallery.com/mirath/rules/bequests-and-consent). ## Can an heir receive a bequest? The Ḥanafī, Shāfiʿī and Ḥanbalī schools let a bequest to an heir take effect if the other heirs consent after the death. The Mālikī school holds it void even then. The same page covers when the heirs' consent counts. ## What about unpaid zakat and other debts to God? The schools differ on whether a debt to God is paid when the will does not mention it. [Debts to God: unpaid zakat, kaffārah and ḥajj](https://qurangallery.com/mirath/rules/debts-to-god) gives each school's rule with its source and a worked example. If you want to draft a will, the app has an [Islamic will builder](https://qurangallery.com/mirath/wasiyyah). ## Limits - The calculator does not decide whether a will or a consent is legally valid in your country. That is for its courts, notaries or registries. - Gifts made in a final illness are explained on [their own rule page](https://qurangallery.com/mirath/rules/gifts-in-final-illness); enter them under **Gifts in the final illness** in the same panel. - A shared link carries the debts, funeral costs and bequests you entered: anyone you send it to sees them. ## Next steps - [Open the calculator](https://qurangallery.com/mirath) and enter an estate with deductions. - [Using the calculator](https://qurangallery.com/docs/mirath/using-the-calculator) walks through every field. - [The rules of inheritance](https://qurangallery.com/docs/mirath/inheritance-rules) - [Islamic inheritance FAQ](https://qurangallery.com/docs/mirath/faq) --- # Inheritance (Mīrāth): Four Sunni schools on inheritance: key differences Source: https://qurangallery.com/docs/mirath/four-schools > The Ḥanafī, Mālikī, Shāfiʿī and Ḥanbalī schools agree for most families. Where they differ, and how to compare all four for your own family. The four Sunni schools (Ḥanafī, Mālikī, Shāfiʿī and Ḥanbalī) give the same shares for most families. The calculator computes all four for every family and tells you whether they agree. The differences are in a few places, each with its own rule page in the app. ## At a glance - **The grandfather with brothers and sisters.** Ḥanafī: he stands in for the father and excludes them. Mālikī, Shāfiʿī and Ḥanbalī: he shares with them (muqāsama, a third or a sixth, whichever is best for him), including al-muʿādda and al-Akdariyya. See [the grandfather with siblings](https://qurangallery.com/mirath/rules/grandfather-and-siblings). - **al-Mushtaraka.** Mālikī and Shāfiʿī: the full brothers share the maternal siblings' third. Ḥanafī and Ḥanbalī: they do not, and are residuaries. See [al-Mushtaraka](https://qurangallery.com/mirath/rules/mushtaraka). - **A spouse who is the only heir.** Ḥanafī: the later fatwa returns the surplus to the spouse. Mālikī, Shāfiʿī and Ḥanbalī: it goes to the bayt al-māl (public treasury), so the calculator marks the case for a scholar's review. See [radd](https://qurangallery.com/mirath/rules/radd). - **Distant relatives (dhawū al-arḥām).** Ḥanafī: by closeness of kinship (qarāba). Mālikī and Shāfiʿī: by substitution (tanzīl), a male taking twice a female. Ḥanbalī: by substitution, males and females equally. See [dhawū al-arḥām](https://qurangallery.com/mirath/rules/dhawu-al-arham). ## Who are the four jurists? The [schools page](https://qurangallery.com/mirath/schools) gives each school's founding jurist, where it is mainly followed, and the positions the calculator applies: Abū Ḥanīfa al-Nuʿmān (Ḥanafī), Mālik ibn Anas (Mālikī), Muḥammad ibn Idrīs al-Shāfiʿī (Shāfiʿī) and Aḥmad ibn Ḥanbal (Ḥanbalī). ## How do I compare the schools for my family? 1. Enter the family in [the calculator](https://qurangallery.com/mirath). 2. Use the **School of law** switch at the top of **The division** to see each school's result. 3. If the line under the switch says the schools differ, press **Compare the four schools**. The side-by-side table highlights the rows that differ and explains why, heir by heir. The schools page also lists every family in the test suite where the results differ, computed live. ## Limits - Only the four Sunni schools are covered; the Jaʿfarī school is not. - Where a school's texts leave a grouping open, the calculator refers it to a scholar instead of guessing. ## Next steps - [Open the schools page](https://qurangallery.com/mirath/schools) - [Understanding the results](https://qurangallery.com/docs/mirath/understanding-the-results#comparing-the-four-schools) - [The rules of inheritance](https://qurangallery.com/docs/mirath/inheritance-rules) - [Learn Islamic inheritance from scratch](https://qurangallery.com/docs/mirath/learn) --- # Inheritance (Mīrāth): Learn Islamic inheritance (farāʾiḍ) from scratch Source: https://qurangallery.com/docs/mirath/learn > A reading order for learning farāʾiḍ with the app: verses, deductions, fixed shares, residuaries, blocking, awl, radd, the schools and the sources. Learn farāʾiḍ, the Islamic law of inheritance, by reading the app's own pages in this order. Each page has examples computed by the calculator, and each example opens in the calculator with that family already filled in. The pages are in all seven languages. ## A reading order 1. **The verses.** [/mirath/verses](https://qurangallery.com/mirath/verses) covers the three verses of sūrat an-Nisāʾ that fix most of the shares (4:11, 4:12 and 4:176), with a short paraphrase of each and a link to read it in the Quran reader. 2. **What is paid first.** [Funeral costs, debts and bequests](https://qurangallery.com/docs/mirath/debts-and-bequests-first) before any share. 3. **The fixed shares and the residuary heirs.** [The rules of inheritance](https://qurangallery.com/docs/mirath/inheritance-rules) in these docs, then [/mirath/rules/asaba](https://qurangallery.com/mirath/rules/asaba) for the residuary heirs. 4. **Blocking.** [/mirath/rules/hajb](https://qurangallery.com/mirath/rules/hajb): how one heir excludes or reduces another. 5. **When the shares do not fit.** [ʿAwl](https://qurangallery.com/mirath/rules/awl) and [radd](https://qurangallery.com/mirath/rules/radd), then [aṣl and taṣḥīḥ](https://qurangallery.com/mirath/rules/asl-and-tashih). 6. **The heirs.** [/mirath/heirs](https://qurangallery.com/mirath/heirs) has a page for every relative: [wife](https://qurangallery.com/mirath/heirs/wife), [grandfather](https://qurangallery.com/mirath/heirs/grandfather), [maternal sister](https://qurangallery.com/mirath/heirs/maternal_sister) and the rest. 7. **The named cases.** [al-ʿUmariyyatān](https://qurangallery.com/mirath/rules/umariyyatan), [al-Mushtaraka](https://qurangallery.com/mirath/rules/mushtaraka), [al-Akdariyya](https://qurangallery.com/mirath/rules/akdariyya), [the grandfather with siblings](https://qurangallery.com/mirath/rules/grandfather-and-siblings) and [al-muʿādda](https://qurangallery.com/mirath/rules/muadda). 8. **Distant relatives.** [/mirath/rules/dhawu-al-arham](https://qurangallery.com/mirath/rules/dhawu-al-arham). 9. **Where the schools differ.** [Four Sunni schools on inheritance](https://qurangallery.com/docs/mirath/four-schools). ## Check what you learned - [Methodology](https://qurangallery.com/mirath/methodology) describes the engine: exact fractions, the order the rules are applied in, and the cases it refers to a scholar. - [Sources](https://qurangallery.com/mirath/sources) lists the classical works the test cases are checked against. - [Validation](https://qurangallery.com/mirath/test-cases) runs every test case through the engine, once for each school it names, and shows expected and computed shares with the classical source. ## Next steps - [Open the calculator](https://qurangallery.com/mirath) and build a family. - [Using the calculator](https://qurangallery.com/docs/mirath/using-the-calculator) shows how to enter one. - [Frequently asked questions](https://qurangallery.com/docs/mirath/faq) --- # Inheritance (Mīrāth): Islamic inheritance FAQ: awl, radd, debts, wills Source: https://qurangallery.com/docs/mirath/faq > Answers on the inheritance calculator's reliability, the four schools, debts and bequests, blocking, awl and radd, distant relatives, sharing and privacy. These answers follow the questions answered in the app at [qurangallery.com/mirath/faq](https://qurangallery.com/mirath/faq). ## How reliable is this calculator? It works in exact fractions — never decimals that could drift — and is checked against the answers in the classical books of farāʾiḍ, covering fixed shares, residuaries, blocking, ʿawl, radd, distant relatives and the named cases. Every test case, with the text it was checked against, runs live on the [validation page](https://qurangallery.com/mirath/test-cases), and the [methodology page](https://qurangallery.com/mirath/methodology) explains how the engine works. > Inheritance is a serious responsibility. Always confirm a real distribution with a qualified scholar before acting on it. ## Which school of law (madhab) does it follow? All four Sunni schools — Ḥanafī, Mālikī, Shāfiʿī and Ḥanbalī. For almost every family they agree, and the calculator says so. When they differ — chiefly when a grandfather inherits with siblings, when a spouse is the only heir, or with distant relatives — it says so and offers "Compare the four schools", a side-by-side table. See [the schools](https://qurangallery.com/mirath/schools). ## Does it account for debts and bequests? Yes. Open "Deduct funeral costs, debts or a bequest" under the estate value. Funeral costs and debts are paid first, then a bequest (waṣiyya) of up to one third of the remainder, and only what is left is divided among the heirs. The one-third cap is enforced automatically. See [estate deductions](https://qurangallery.com/mirath/rules/estate-deductions). ## Why does the spouse receive less when there are children? The Qurʾan (4:12) sets the husband at one half without a child and one quarter with one; the wife at one quarter without a child and one eighth with one. A surviving child reduces the spouse's fixed share. See the [husband](https://qurangallery.com/mirath/heirs/husband) and [wife](https://qurangallery.com/mirath/heirs/wife) pages. ## Why did a brother (or another heir) receive nothing? Because of blocking (ḥajb): a nearer heir can exclude a more distant one. A son, for instance, blocks the grandchildren and all the brothers and sisters. The calculator shows blocked heirs greyed out with the exact reason. See [ḥajb](https://qurangallery.com/mirath/rules/hajb). ## What are ʿawl and radd? **ʿAwl** is when the fixed shares add up to more than the whole estate, so every share is scaled down in proportion. **Radd** is the opposite — the shares fall short with no residuary heir, so the surplus is returned to the fixed-share heirs, the spouse excluded. When a spouse is the only heir, the later Ḥanafī fatwa returns the surplus to them, while the other schools send it to the public treasury. Both are handled automatically, and a note under the share mosaic tells you when they apply. See [ʿawl](https://qurangallery.com/mirath/rules/awl) and [radd](https://qurangallery.com/mirath/rules/radd). ## Does it calculate Shia (Jaʿfarī) inheritance? No. This tool covers the four Sunni schools only. The Jaʿfarī school follows a fundamentally different model (no residuary system, no ʿawl, three priority classes) and is out of scope. ## What about adopted children, step-children, or unmarried partners? They are not heirs under the fixed-share system of farāʾiḍ, so they are not included. A person may, however, provide for them through the bequest (waṣiyya), within its one-third limit. ## Does it handle distant relatives (dhawū al-arḥām)? Yes. When no fixed-share or residuary heir survives other than a spouse, the estate passes to distant relatives: a daughter's or full sister's children, the maternal grandfather, maternal uncles and aunts, and paternal aunts. The Ḥanafī school divides among them by closeness of kinship (qarāba); the Mālikī, Shāfiʿī and Ḥanbalī schools by substitution (tanzīl). The few groupings a school divides in more than one way are referred to a scholar. See [dhawū al-arḥām](https://qurangallery.com/mirath/rules/dhawu-al-arham). ## What doesn't it cover? Relatives who died together with the order of death unknown, and the Jaʿfarī school. It does not distribute to the public treasury (bayt al-māl): a case where a school sends the surplus there is marked for a scholar's review. The [methodology page](https://qurangallery.com/mirath/methodology) lists these. A missing person, an unborn child and an heir of indeterminate sex are covered, each on its own page: [missing heir](https://qurangallery.com/mirath/missing-heir), [unborn child](https://qurangallery.com/mirath/unborn-child) and [intersex heir](https://qurangallery.com/mirath/intersex-heir). ## Why does it sometimes say "needs a scholar's review"? The grandfather with siblings (including al-muʿādda and al-Akdariyya), distant relatives, great-grandchildren and the nephews, uncles and cousins are all computed. A few cases remain: a spouse who is the only heir in a school that sends the surplus to the public treasury, and some groupings of distant relatives that a school divides by more than one method. Rather than show a number it is not certain of, the calculator refers those to a scholar. ## Can I share or save a result? There is no account. The page address always describes the family on screen, so copying the link shares the exact case, and **Print / save as PDF** keeps a copy with the full working. To keep a case for yourself, press **Save case** on the result; it appears under [Saved cases](https://qurangallery.com/mirath/saved) and stays in this browser only. See [Using the calculator](https://qurangallery.com/docs/mirath/using-the-calculator#sharing-a-family-by-link). ## Is any of my information stored? The calculation runs in your browser, and nothing is saved to an account. Everything you enter (the family, the estate value, debts, funeral costs, bequests) is written into the page address so the link can be shared; anyone you send it to sees it. Like any page address, it reaches our server when the page opens; these details are removed from the address before it goes to the site's usage analytics and error reports. Cases you save with **Save case** stay in this browser only; they are not sent to the site and do not follow you to another device. ## More help - [The rules](https://qurangallery.com/mirath/rules) — the reference in plain language. - [Heirs](https://qurangallery.com/mirath/heirs) — what each relative inherits. - [The calculator](https://qurangallery.com/mirath) — try your own family. ## Next steps - [Open inheritance FAQ](https://qurangallery.com/mirath/faq) - [Learn Islamic inheritance (farāʾiḍ) from scratch](https://qurangallery.com/docs/mirath/learn) - [Can you embed the inheritance calculator on a site?](https://qurangallery.com/docs/mirath/embedding-the-calculator) - [Islamic inheritance calculator for the four schools](https://qurangallery.com/docs/mirath/overview) --- # Inheritance (Mīrāth): Can you embed the inheritance calculator on a site? Source: https://qurangallery.com/docs/mirath/embedding-the-calculator > The /mirath/embed view can be framed only by Quran Gallery pages, not other websites. How to open it with a family filled in, and what to link to instead. No: the embedded inheritance calculator at `qurangallery.com/mirath/embed` cannot be placed on another website, because the site sends a same-origin framing policy and browsers block it inside an iframe elsewhere. It is a small, results-first view that runs the same engine with the same exact fractions, designed to sit inside Quran Gallery's own pages. To point someone at a case from your site, link to the full calculator with the family in its address. ## Where you'll see it The embedded calculator is what appears inside the **Quran Gallery chat assistant**. When you describe a family to the assistant — "a wife, two sons and a daughter" — it can show you the shares right there in the conversation, instead of sending you away to the full page. ## What it shows The result comes first: if the family is already known, the shares appear immediately. The panel contains: - **The division**: a sentence stating the case, the **School of law** switch, the share mosaic with a note on ʿawl, radd or a named case when one applies, the **Amounts** / **Fractions** switch, and the shares list with each heir's **Why** and the heirs who receive **No share**; - **How this was worked out**, folded, with the same **Steps**, **Schools** and **Family tree** tabs as on the full page; when the schools differ, **Compare the four schools** opens the **Schools** tab; - **Adjust the family & estate**, which opens the form to change the deceased, the estate, with funeral costs, debts and a bequest, and the heirs; - **Open the full calculator**, at the top, which carries the family on screen over to the full page. When no estate value has been given, it opens in **Fractions**, so it never implies a money figure you didn't provide. ## What it leaves to the full page The embedded view has no examples and no print button. For those, use **Open the full calculator**, which carries over the family, the school and the estate value, along with any funeral costs, debts and bequests entered. See [Understanding the results](https://qurangallery.com/docs/mirath/understanding-the-results) for everything the full page shows. ## Opening it with a family filled in The embedded view reads the same address parameters as the full calculator — `g`, `madhab`, `estate`, `currency` and one parameter per relation — described in [Using the calculator](https://qurangallery.com/docs/mirath/using-the-calculator#sharing-a-family-by-link). For example: ```text https://qurangallery.com/mirath/embed?g=male&madhab=hanafi&wife=1&son=2&daughter=1 ``` opens straight to the shares for a man survived by a wife, two sons and a daughter, in fractions because no estate is given. ## Where it can be placed The embedded view can be framed only by Quran Gallery's own pages: the site sends a same-origin framing policy, so browsers block it inside an iframe on another website. To point someone at a case from elsewhere, link to the full calculator with the family in its address. ## The same caution applies Whether you use the full page or the embedded view, the result is an educational estimate. > Inheritance is exact and the responsibility is serious. The calculator follows the classical Sunni rules and shows its evidence, but always confirm a real, binding distribution with a qualified scholar. ## Related pages - [The calculator](https://qurangallery.com/mirath) — the full experience. - [Understanding the results](https://qurangallery.com/docs/mirath/understanding-the-results) — how to read what either view shows. ## Next steps - [Open calculator embed code](https://qurangallery.com/mirath/embed) - [How to calculate Islamic inheritance step by step](https://qurangallery.com/docs/mirath/using-the-calculator) - [Islamic inheritance FAQ: awl, radd, debts, wills](https://qurangallery.com/docs/mirath/faq) - [Islamic inheritance calculator for the four schools](https://qurangallery.com/docs/mirath/overview) --- # Design Studio: Design Studio overview Source: https://qurangallery.com/docs/studio/overview > A free Islamic poster maker for Quran verses, duas, prayer timetables and greetings. No account, and it works on your phone. Design Studio is a free poster maker for Islamic designs. Pick a design, change the words, and download a poster ready to share or print. It works without an account, on a phone or a computer, in seven languages. Open it at [`qurangallery.com/studio`](https://qurangallery.com/studio). ## What you can make Every design is one of seven kinds of poster: | Kind | Good for | | --------------------------- | ------------------------------------------------------------------------ | | Quran verse | One ayah, or up to ten in a row, with a translation | | Dua | Authentic duas from Hisn al-Muslim and other sources, by topic | | Today's prayer times | Your masjid's adhan and iqamah times for the day | | Monthly / Ramadan timetable | A full month, or the 30 days of Ramadan, to print or share | | Event or class | Halaqas, lectures, iftars and fundraisers | | Greeting | Eid al-Fitr, Eid al-Adha, Ramadan, Jumu'ah, Nikah and the Hijri new year | | Reminder or quote | A short reminder with its source | The Studio home page shows every ready-made design, grouped by kind. Tap one and it opens in the editor with sample words you can change. ## Who it's for Masjid volunteers putting prayer times on a notice board or a screen, teachers announcing a class, families sending Eid greetings, and anyone who wants to share a verse or a dua that looks good. You don't need any design experience: the layout, spacing and text size adjust as you type. ## Where your posters are kept Studio needs no account, so your work stays on your device: - **Drafts** save automatically in your browser while you edit. Open them again from **Drafts** in the editor's top bar, or from **Continue your posters** on the start screen. - **Photos and logos** you add stay in the browser too. They are never uploaded to Quran Gallery. - **Your masjid's name and location** are remembered on the device, so your next prayer-time poster fills itself in. Clearing your browser data, or working in a private window, removes your drafts. Download anything you want to keep. ## Where to go next - New here? Start with [Make your first poster](https://qurangallery.com/docs/studio/getting-started). - A tour of the editor's three tabs: [The Poster Maker editor](https://qurangallery.com/docs/studio/the-editor). - Verses, duas and prayer times: [Quran, duas and prayer times](https://qurangallery.com/docs/studio/quran-and-islamic-content). - Changing the look: [Text, fonts and colours](https://qurangallery.com/docs/studio/text-and-typography) and [Photos, logos and ornaments](https://qurangallery.com/docs/studio/images-shapes-and-assets). - Sizes, downloads and sharing: [Poster sizes and layouts](https://qurangallery.com/docs/studio/sizes-and-formats) and [Downloading and sharing](https://qurangallery.com/docs/studio/exporting-and-sharing). --- # Design Studio: Make your first poster Source: https://qurangallery.com/docs/studio/getting-started > Pick a design, change the words, choose a size and download your first poster. It takes about two minutes and needs no account. This page takes you from the Studio home page to a finished poster, on a phone or a computer. You don't need an account. ## 1. Pick a design Open [`qurangallery.com/studio`](https://qurangallery.com/studio). The home page lists ready-made designs grouped by kind: Quran verses, duas, prayer times, timetables, events, greetings and reminders. Each card shows the design and its size. Tap the one closest to what you want. You can also open **Poster Maker** from the Studio menu and answer **What do you want to make?** The start screen asks a few short questions, such as which verse or where your masjid is, and builds the first version for you. ## 2. Change the words The editor opens with your poster on screen. - **Tap any text on the poster** to edit it. The matching field opens in the **Content** tab. - For a verse, choose **Change verse** and pick the surah, the ayahs and a translation. - For a dua, choose **Choose a dua** and browse by topic or search. - For prayer times, search for your town or masjid, or press **Use my location**. The times fill in by themselves. The layout re-flows as you type. When text gets tight, the editor tells you; try a shorter line or a larger size. ## 3. Choose a size Open the **Size** tab and pick where the poster is going: an Instagram post, a story or WhatsApp status, a masjid screen, or A4 and A3 paper. Changing the size keeps your words and re-arranges the layout. See [Poster sizes and layouts](https://qurangallery.com/docs/studio/sizes-and-formats). ## 4. Try another look This step is optional. The **Look** tab changes the theme, colours, fonts, background and frame, and **Try another look** shows the other designs of the same kind with your words already in them. Tap one to switch. See [Text, fonts and colours](https://qurangallery.com/docs/studio/text-and-typography). ## 5. Download or share Press **Download PNG**. The arrow next to it offers JPG and PDF as well. **Share** sends the poster straight to WhatsApp, Instagram or any other app on your phone. See [Downloading and sharing](https://qurangallery.com/docs/studio/exporting-and-sharing). ## Coming back later Your poster saves in this browser while you work, and the top bar shows **Saved on this device**. To pick it up again, open **Drafts** from the top bar, or **Continue your posters** on the start screen. Drafts stay on this device and in this browser only. --- # Design Studio: The Poster Maker editor Source: https://qurangallery.com/docs/studio/the-editor > A tour of the Poster Maker editor, with the poster preview, the Content, Look and Size tabs, the top bar, undo, drafts and shortcuts. The editor has three parts: the poster preview, a panel with three tabs, and a bar of actions. On a computer the panel sits beside the poster. On a phone the poster stays in the top half of the screen and the tabs sit underneath, so you always see the result while you edit. ## The poster preview The preview is the poster exactly as it will download. - **Tap any text** to jump to its field in the **Content** tab. Press `Esc` to clear the selection. - When text is too long for the space, a hint appears: **Some text is tight. Try a larger size or shorter text.** ## The Content tab Everything written on the poster lives here. The fields depend on the kind of poster: - **Verse and dua posters** show **Your verse** or **Your dua**, with **Change verse** or **Choose a dua**, and switches for the translation and the source. - **Prayer-time posters** start with **Where is your masjid?** The times then fill in for that place. See [Quran, duas and prayer times](https://qurangallery.com/docs/studio/quran-and-islamic-content). - **Event posters** ask what it is called, when and where it is, who is speaking, and how to get in touch. - **Greetings** let you pick the occasion, then edit the message and who it is from. - **My masjid** holds your masjid or organisation name and logo. They are remembered on this device and added to your next poster. ### Arrange & add items Open **Arrange & add items** to work with the poster's blocks one by one: titles, Arabic text, ornaments, the logo, prayer times, the timetable and detail rows. For each block you can: - **Show** or **Hide** it. - **Move up** or **Move down** to change the order. - **Delete** it. - Change its **Text style**, **Text size** and **Alignment**. **Add block** puts a new text, Arabic text, ornament, logo, details or prayer-time block on the poster. The **Footer** line at the bottom is a good place for your masjid's name or website. ## The Look tab Themes, colours, fonts, the layout, the background and the frame. See [Text, fonts and colours](https://qurangallery.com/docs/studio/text-and-typography) and [Photos, logos and ornaments](https://qurangallery.com/docs/studio/images-shapes-and-assets). ## The Size tab Pick where the poster is going: social media, a phone story, a masjid screen or paper. Your words stay and the layout re-arranges. See [Poster sizes and layouts](https://qurangallery.com/docs/studio/sizes-and-formats). ## The top bar - **Back to templates** returns to the start screen. - **Poster name**: tap the name to rename the poster. It becomes the file name of your download. - **Undo** and **Redo**. - **Drafts** lists the posters saved on this device. - **Saving…** and **Saved on this device** show that your work is kept. - **Download** and **Share** send the finished poster out. See [Downloading and sharing](https://qurangallery.com/docs/studio/exporting-and-sharing). ## Keyboard shortcuts On a computer: | Keys | Action | | -------------------------------------- | ------------------------- | | `Ctrl` + `Z` (`⌘` + `Z` on Mac) | Undo | | `Ctrl` + `Y` or `Ctrl` + `Shift` + `Z` | Redo | | `Delete` or `Backspace` | Remove the selected block | | `Esc` | Clear the selection | Shortcuts don't fire while you are typing in a field, so `Backspace` there only deletes text. --- # Design Studio: Quran, duas and prayer times Source: https://qurangallery.com/docs/studio/quran-and-islamic-content > Add Quran verses with a translation, authentic duas by topic, and your masjid's daily prayer times or a monthly or Ramadan timetable. Studio's Quran text, duas and prayer times come from the same verified sources as the rest of Quran Gallery. You choose them from lists; you never have to type Arabic yourself. ## Quran verses On a verse poster, choose **Change verse** in the **Content** tab. 1. Pick the **Surah**. 2. Set **From ayah** and **To ayah**. A poster holds up to ten ayahs. 3. Pick a **Translation**, or **No translation** for Arabic only. 4. Press **Use**. Translations are offered in English (Saheeh International, Dr. Mustafa Khattab, Abdel Haleem, Pickthall, Yusuf Ali, Taqi Usmani, Al-Hilali & Khan, and a transliteration), Urdu, French, Indonesian, Turkish and Bengali. When there is a translation in your language, it is picked first. The reference, such as _Surah Ash-Sharh 94:5-6_, is added below the verse. **Show translation** and **Show the source** turn either line off. ### Quran script In the **Look** tab, **Quran script** switches the Arabic between **Uthmanic Hafs**, **IndoPak Nastaleeq** and **Me Quran**, the same faces the Quran reader uses. A verse you typed into a text block yourself stays in Uthmanic script; choose it again with **Choose a verse** to show it in another script. ## Duas On a dua poster, choose **Choose a dua**. - Pick a topic, or **All topics** to browse everything. - Or type at least two letters into **Search duas**. Duas come from Hisn al-Muslim and the other collections in Quran Gallery's adhkar library. Only duas whose Arabic matches its source are offered. The poster shows the Arabic, a translation and the reference, and you can hide the translation or the source. ## Daily prayer times A **Today's prayer times** poster shows the adhan time for each prayer, with an optional iqamah column. 1. Under **Where is your masjid?**, search for your town or masjid, or press **Use my location**. If location access is blocked, search instead. 2. The times fill in for that place and date. 3. Tick **Add iqamah times** and type your masjid's iqamah for each prayer, for example `13:30`. 4. Add a **Jumu'ah time** if you want it on the poster. **Calculation and clock settings** hold: - **Calculation method**: **Recommended for this place** by default, or any standard method. - **Asr time**: **Standard** or **Hanafi**. - **Clock**: **12-hour** or **24-hour**. - **Show sunrise**. Your masjid's name and location are remembered on this device for your next poster. ## Monthly and Ramadan timetables A **Monthly / Ramadan timetable** poster lists every day in a table. Choose the **Period**: - **Month**: pick a month, or **This month**. - **Ramadan**: set **First day of Ramadan** to the date your community starts fasting. The timetable covers 30 days. Timetables use the same place and calculation settings as daily posters. They look best in the A4 or A3 sizes, downloaded as a PDF for printing. ## Greetings, events and reminders - **Greetings** have ready words for Eid al-Fitr, Eid al-Adha, Ramadan, Jumu'ah, Nikah and the new Hijri year. Pick the **Occasion**, then edit the message and **From**. - **Event** posters have fields for the title, date, time, venue, speaker and contact. - **Reminder or quote** posters take the words and **Who said it, or the source**. --- # Design Studio: Text, fonts and colours Source: https://qurangallery.com/docs/studio/text-and-typography > Change a poster's theme, colours and fonts, and set the style, size and alignment of each line of text in the Poster Maker. Everything about how a poster looks lives in the **Look** tab. Changes apply to the whole poster at once, so the design stays balanced. ## Themes **Themes** sets the colours, fonts and background together. There are fifteen, from **Teal & Gold**, **Parchment** and **Night & Gold** to **Ramadan Night**, **Eid Sand**, **Masjid Navy** and **Fajr Dawn**. Tap a theme to apply it; each preview shows your own poster. Above the themes, **Try another look** shows the other ready-made designs of the same kind, such as the other verse designs, with your words already in them. A theme is a starting point. Anything you change afterwards stays on top of it. ## Colours Open **Customise colours, fonts and background**, then **Colours**. Each colour has its own swatch: | Colour | Used for | | ----------------- | ---------------------------------------- | | Background | The poster's base colour | | Second background | The other end of a gradient | | Text | Titles and main text | | Soft text | Translations, captions and smaller lines | | Accent | Ornaments, frames and highlights | | Panels | The boxes behind prayer times and tables | Tap a swatch to pick from the theme's colours, or use **Pick any colour** or a **Hex colour code**. ## Fonts **Fonts** sets one face for each kind of text: - **Heading font** for titles, such as Playfair Display, Cinzel or DM Serif Display. - **Body font** for the rest of the Latin text. - **Arabic font** for Arabic that isn't Quran text: Amiri, Scheherazade New, Aref Ruqaa, Reem Kufi, Cairo, El Messiri and more. - **Quran script** for verses: Uthmanic Hafs, IndoPak Nastaleeq or Me Quran. - **Urdu font** for Urdu: Gulzar or Mehr Nastaliq. Bengali text uses a Bengali face automatically. ## One line at a time To change a single line, tap it on the poster, or open **Arrange & add items** in the **Content** tab and pick the block. Then set: - **Text style**: **Title**, **Subtitle**, **Small heading**, **Body**, **Caption** or **Reference**. The style decides the font and colour the line takes from the theme. - **Text size**: larger or smaller than the style's default. - **Alignment**: **Auto**, **Start**, **Centre** or **End**. **Auto** follows the language, so Arabic and Urdu lines sit to the right. For an **Arabic text** block, **Script style** chooses **Quran**, **Dua** or **Plain**, which picks the matching font. ## Right-to-left text Arabic and Urdu always run right to left, even on an English poster, and the editor itself switches to right-to-left when you use Studio in Arabic or Urdu. --- # Design Studio: Photos, logos and ornaments Source: https://qurangallery.com/docs/studio/images-shapes-and-assets > Add your own photo or masjid logo, pick an Islamic pattern background, and decorate a poster with frames and ornaments. Studio's patterns and ornaments come from openly licensed art libraries, and your own photos and logos never leave your device. ## Background In the **Look** tab, under **Background**, choose one of four kinds: - **Solid**: one colour. - **Gradient**: two colours blended, with a **Gradient angle**. - **Pattern**: an Islamic geometric pattern over the background colour: **Arches**, **Beads**, **Hexagons**, **Lattice**, **Mosaic** or **Rosettes**. **Pattern strength** makes it bolder or quieter. - **Photo**: your own picture behind the text. ### Using a photo Choose **Photo**, then **Upload a photo** and pick a JPG or PNG, such as a picture of your masjid. - **Darken photo** keeps the text readable on a bright picture. - **Photo position (left to right)** and **Photo position (top to bottom)** choose which part of the picture shows. - **Replace photo** and **Remove photo** do what they say. The photo stays in your browser. It is not uploaded to Quran Gallery. ## Layouts with a photo Two layouts in the **Layout** list are made for photos: - **Photo top** puts the picture in the upper part of the poster and the text below it. - **Full photo** fills the poster with the picture and lays the text over it. The other layouts are **Classic**, **Arch**, **Banner** and **Editorial**. See [Poster sizes and layouts](https://qurangallery.com/docs/studio/sizes-and-formats). ## Your logo Add your masjid or organisation logo under **My masjid** in the **Content** tab, or with **Add block** → **Logo**. - Press **Upload logo** and pick an image. A PNG with a transparent background looks best. - **Replace logo** and **Remove logo** change it later. The logo is remembered on this device and added to your next poster. ## Frames **Frame** draws a border around the poster: **None**, **Line**, **Double**, **Corners** or **Arch**. It uses the theme's accent colour. ## Ornaments Ornaments are decorative blocks that sit between lines of text. Add one with **Add block** → **Ornament**, then choose: - **Bismillah**: بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ in Quran script. - **Line**, **Band**, **Diamond** or **Star** dividers. Move ornaments up or down, or hide them, like any other block. ## Credits Background patterns are Hero Patterns by Steve Schoger (CC BY 4.0). Ornaments and frames come from FreeSVG (CC0). The full list is on the [Studio About page](https://qurangallery.com/studio/about). --- # Design Studio: Poster sizes and layouts Source: https://qurangallery.com/docs/studio/sizes-and-formats > Pick the right size for Instagram, stories, WhatsApp, masjid screens or A4 and A3 print, and choose a layout that fits. Every poster can switch size at any time. Your words, colours and photos stay, and the layout re-arranges itself for the new shape. ## Sizes Open the **Size** tab and pick where the poster is going: | Size | Pixels | Best for | | ----------------------- | ------------ | ------------------------------------------------ | | Instagram post | 1080 × 1080 | Square posts on Instagram, Facebook and WhatsApp | | Portrait post | 1080 × 1350 | Taller posts for Instagram and Facebook | | Story / WhatsApp status | 1080 × 1920 | Full phone screen: Stories, Status, Reels | | Screen / TV | 1920 × 1080 | Masjid screens, slides and YouTube | | A4 print | 210 × 297 mm | Notice boards and flyers | | A3 print | 297 × 420 mm | Large posters for the masjid | The two print sizes render at 300 dots per inch and download as a PDF by default, at the true paper size. ## Layouts **Layout**, in the **Look** tab, decides how the blocks sit on the poster: - **Classic**: centred, with space around the text. - **Arch**: the text sits inside an arched panel. - **Banner**: a wide strip, made for the **Screen / TV** size. - **Editorial**: a bold, magazine-style arrangement. - **Photo top**: a photo above, the text below. - **Full photo**: the text over a full-poster photo. Choose **Banner** in another size and the editor reminds you: **The banner layout looks best in the Screen / TV size.** ## Tips - Long timetables and many lines of text fit best in the **Portrait post**, **Story** or print sizes. - For a masjid screen, use **Screen / TV** with the **Banner** or **Classic** layout. - If the editor warns that text is tight, switch to a taller size or shorten a line. --- # Design Studio: Downloading and sharing Source: https://qurangallery.com/docs/studio/exporting-and-sharing > Download a poster as PNG, JPG or a print-ready PDF, share it straight to WhatsApp or Instagram, and find your drafts again. When your poster is ready, download it or share it straight from the editor. Downloads are full quality and need no account. ## Download The main button downloads the file type that fits the size you picked: **Download PNG** for screen sizes, **Download PDF** for A4 and A3. The arrow beside it opens **Other file types**: | Type | Best for | | ---- | ------------------------------------------------------------- | | PNG | Phones and social media. Sharp text, the default for screens. | | JPG | A smaller file for WhatsApp and email. | | PDF | Printing. A4 and A3 posters come out at the true paper size. | The file is named after your poster, so rename the poster in the top bar first if you want a tidy file name. When it finishes, a message confirms it, such as **PNG saved to your downloads**. ## Share **Share** opens your device's share sheet, so you can send the poster straight to WhatsApp, Instagram, Telegram, email or any other app. On a computer or browser without a share sheet, the poster downloads instead and a message tells you so. ## Printing 1. Choose **A4 print** or **A3 print** in the **Size** tab. 2. Download the PDF. 3. Print at **100%** or **Actual size**, not "fit to page", so the margins stay as designed. Monthly and Ramadan timetables are made for these sizes. ## Drafts Your poster saves automatically in this browser while you edit. - Open **Drafts** in the top bar, or **Continue your posters** on the start screen, to pick up any saved poster. - Delete a draft from the same list when you no longer need it. - Drafts are kept on this device and in this browser only. They don't sync to your other devices, and clearing your browser data removes them. - In a private window drafts can't be saved; the editor warns you so you can download before leaving. - If the device runs out of storage, the editor tells you the latest changes weren't saved. Delete some drafts or download your poster. ## Privacy Your words, photos and logos stay in your browser. The Poster Maker sends nothing you type or upload to Quran Gallery. The only requests it makes are for the Quran text, duas, prayer times and place search you ask for. One older tool works differently: the canvas editor at qurangallery.com/studio/workspace, which Studio no longer links to. Signed in, it saves your designs to your account and uploads the images you add to Quran Gallery's storage, and a design you share gets a public preview link. Signed out, it keeps your work in this browser. --- # Rafiq (Canvas): Rafiq Overview Source: https://qurangallery.com/docs/rafiq/overview > Rafiq is a quiet canvas for reflection where you draw, write, and arrange on infinite boards that sync live across your devices. Rafiq is a reflective canvas — an open, infinite space where you draw, write, and arrange thoughts without structure imposed on you. Open it at [`qurangallery.com/rafiq`](https://qurangallery.com/rafiq). ## What you can do Everything happens on a **board** — an infinite canvas with no fixed edges. Within a board you can: - **Draw freehand** — sketch with a pencil, trace shapes loosely - **Write and annotate** — place text directly on the canvas in multiple font styles and sizes - **Add shapes** — rectangles, circles, diamonds, lines, and arrows with rich style controls - **Insert images** — upload or paste photos and graphics - **Organize** — move, resize, group, align, and layer everything freely Boards are calm by design. There are no notifications, no feeds, no timers — just you and the canvas. ## Two kinds of boards | Board type | Who can use it | Where it's saved | | ---------------- | ------------------------- | --------------------------------------- | | **Synced board** | Signed-in users only | Your account, available on every device | | **Quick sketch** | Anyone, no account needed | This device only | When you are signed in, every board you create is saved to your account and syncs live — open it on your phone or a different computer and your work is there. If you close the tab while a sketch is saving, it picks up when you return. When you are not signed in (or choose **Quick sketch**), the board lives in your browser on this device. It is not backed up and will not appear on other devices. > **Tip:** If you sketched something as a guest and then sign in, your guest boards are automatically moved to your account — nothing is lost. ## Live collaboration When two people have the same synced board open at the same time, they see each other's cursors and selections in real time. Changes appear immediately — no refresh needed. > Guest (device-only) boards do not support live collaboration. Collaboration requires a synced board and a signed-in account. ## Where to go next - [Creating and opening boards](https://qurangallery.com/docs/rafiq/creating-and-opening-boards) — the boards list, Quick sketch, renaming, and how sync works in detail. - [The canvas](https://qurangallery.com/docs/rafiq/the-canvas) — every drawing tool, shape, color option, and keyboard shortcut. --- # Rafiq (Canvas): Creating and Opening Boards Source: https://qurangallery.com/docs/rafiq/creating-and-opening-boards > How to create a new board, start a quick local sketch, open an existing board, rename it, and understand when boards sync across devices. The Rafiq home page at [`qurangallery.com/rafiq`](https://qurangallery.com/rafiq) shows all your boards and gives you two ways to start drawing. ## Your boards list When you are signed in, the home page shows your boards in order of most recently edited. Each board card displays its name and how long ago it was last changed — for example "3m ago" or "2d ago". Click any card to open that board. When you are not signed in, no cloud boards are listed. A notice explains that boards are saved on this device only. ## Starting a new board ### New board (synced) Press **New board** in the top-right corner. This creates a board in your account, names it "Untitled board" by default, and opens it immediately. It starts saving right away — any changes you make are sent to your account and will be there the next time you open Rafiq on any device. **Requires a signed-in account.** If you are not signed in, the **New board** button is not shown. ### Quick sketch (device only) Press **Quick sketch** to open a blank canvas immediately, with no account required. The board stays only on this device and in this browser — it is not backed up to your account, and it will not appear on other devices. **When to use Quick sketch:** brainstorming sessions you do not need to keep, jotting something down quickly, or drawing on a shared device where you do not want to sign in. > If you are not signed in, the primary button reads **Start a board** instead of **Quick sketch** — it behaves the same way: a local, device-only canvas. ## Opening an existing board Click any board card on the home page to open it. Synced boards resume exactly where you left off. The canvas reloads any elements that were saved to your account, so nothing is missing even if you closed the tab mid-session. ## Renaming a board Once a board is open, click the board name in the top-right bar to rename it. Type the new name and press **Enter** (or click away) to save. The new name appears on the home page immediately. ## How syncing works | Situation | What happens | | ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | | You edit a synced board | Changes save automatically in the background — you see "Saving…" then "Saved" in the top bar. | | Two people edit the same synced board | Changes from both appear live; you see the other person's cursor moving. | | You lose your internet connection | Your work stays on screen. Saves that can't reach the server show **Save failed — Retry** in the top bar, so you can resend them once you're back online. | | You close the tab while saving | The save completes silently on your next visit. | | A save fails | The top bar shows "Save failed — Retry". Click to try again. | ## Claiming a guest sketch after signing in If you drew something as a guest (device-only) and then sign in, you can bring that board into your account. When you **reopen a guest board while signed in**, Rafiq claims it into your account and it syncs from then on. Keep the link to any guest board you want to carry over. > Claiming happens per board, at the moment you reopen it while signed in — there's no automatic sweep of your past guest boards when you sign in. Any new board you start while already signed in syncs from the start. --- # Rafiq (Canvas): The Canvas Source: https://qurangallery.com/docs/rafiq/the-canvas > Every drawing tool in Rafiq — freehand drawing, shapes, text, images, color controls, erasing, layers, undo, zoom, and keyboard shortcuts. When you open a board, you land on an infinite canvas. The toolbar runs along the top center of the screen. The properties panel appears on the left when you have an element selected or a drawing tool active. Zoom and history controls sit at the bottom left. ## The toolbar The toolbar holds every drawing tool. Click a tool to activate it, or use its keyboard shortcut. After you draw a shape, the toolbar reverts to the **Selection** tool so you can move it immediately. > Press **Q** (or click the lock icon at the far left of the toolbar) to keep the current tool active after each draw. Press **Q** again to turn tool lock off. ### Drawing tools | Tool | Shortcut | What it does | | ---------------- | -------- | ----------------------------------------------------------------------------------------------------------------------- | | **Hand** | `H` | Pan the canvas by dragging — nothing is created or selected. Hold `Space` to pan temporarily without switching tools. | | **Selection** | `1` | Select, move, and resize elements. Click to select one element; drag to box-select multiple. | | **Rectangle** | `2` | Draw a rectangle by dragging. | | **Diamond** | `3` | Draw a diamond (rotated square) by dragging. | | **Ellipse** | `4` | Draw an ellipse or circle by dragging. | | **Arrow** | `5` | Draw an arrow between two points — or click a series of points to create a jointed arrow, then press `Enter` to finish. | | **Line** | `6` | Draw a straight or jointed line the same way as an arrow. | | **Draw** | `7` | Freehand pencil — draw anything by dragging. | | **Text** | `8` | Click anywhere to place a text box and start typing. Press `Esc` to finish. | | **Insert image** | `9` | Opens a file picker to place an image on the canvas. You can also paste (`⌘V`) or drag and drop an image directly. | | **Eraser** | `0` | Drag across elements to erase them. | ### More tools (+ button) Click the **+** button at the end of the toolbar to reveal additional tools: | Tool | Shortcut | What it does | | ------------------- | -------- | ----------------------------------------------------------------------------------------------- | | **Frame** | `F` | Draw a named container that groups elements visually and in the layers panel. | | **Laser pointer** | `K` | Draw a temporary highlight that fades — useful for pointing things out during a shared session. | | **Lasso selection** | — | Draw a freehand selection boundary to select irregularly placed elements. | ## Selecting and moving elements - **Click** an element to select it. - **Drag** on empty canvas to draw a selection box. By default, elements must be fully inside the box to be selected. Change this to **Overlap** (partially inside) in **Menu → Preferences**. - **Shift+click** to add or remove an element from the current selection. - **Click and drag** a selected element to move it. - **Arrow keys** nudge the selection by one unit. **Shift + Arrow** nudges by a larger step. - **Double-click** a shape to edit its label; double-click a text element to edit its text. - Press `Enter` on a selected element to start editing its label or text inline. ## Properties panel When an element (or set of elements) is selected, a panel appears on the left showing controls for every property you can change. ### Color | Control | What it changes | | -------------- | ------------------------------------------------------------ | | **Stroke** | Outline color of shapes, lines, arrows, and drawn paths. | | **Background** | Fill color of shapes. Set to transparent to remove the fill. | Both pickers offer a row of preset swatches and a custom hex field. You can also pick from recently used colors. ### Fill style When a shape has a non-transparent background, you can choose how it is filled: - **Hachure** — diagonal hatching lines (default). Alt-click Hachure to switch to **Zigzag** hatching. - **Cross-hatch** — intersecting hatching lines. - **Solid** — flat solid fill. ### Stroke width and style | Option | Choices | | ---------------- | ---------------------- | | **Stroke width** | Thin, Bold, Extra bold | | **Stroke style** | Solid, Dashed, Dotted | ### Sloppiness Controls how hand-drawn shapes look — from precise architectural lines to loose cartoonist strokes: - **Architect** — clean, precise - **Artist** — slightly uneven - **Cartoonist** — sketchy and loose ### Edges For rectangles, diamonds, and ellipses: choose **Sharp** corners or **Round** corners. ### Arrowheads For arrows, you can set a head style for both the **Start** and **End** of the arrow. Options include: none, open arrow, filled triangle, outlined triangle, filled circle, outlined circle, filled diamond, outlined diamond, and bar. An additional set of styles is revealed by clicking **⋯**. You can also switch an arrow between **Straight** (direct line) and **Elbow** (right-angle route). ### Text properties When a text element is selected, additional controls appear: | Property | Options | | --------------------------- | -------------------------------- | | **Font family** | Hand-drawn, Normal, Code | | **Font size** | Small, Medium, Large, Very large | | **Text align** (horizontal) | Left, Center, Right | | **Text align** (vertical) | Top, Middle, Bottom | ### Opacity A slider from 0 to 100 controls transparency. Useful for layering elements. ### Layers Shapes stack in the order they were created. Bring an element in front of or behind others: | Button | Action | | -------------- | ------------------------------------------- | | Send to back | Move behind all other elements | | Send backward | Move behind the element directly below | | Bring forward | Move in front of the element directly above | | Bring to front | Move in front of all other elements | ### Align (multi-select) When two or more elements are selected, the **Align** controls appear. You can align elements to their left, right, top, or bottom edges, or center them horizontally or vertically. With three or more elements selected, distribute buttons space them evenly. ### Actions row At the bottom of the properties panel, when one or more elements are selected: - **Duplicate** (`⌘D`) — copy the selection offset by a small amount. - **Delete** (`Delete` / `Backspace`) — remove the selection. - **Link** (`⌘K`) — attach a URL to the selected element (single selection only). Click the element to follow the link. - **Group** (`⌘G`) — group multiple elements so they move and resize together. - **Ungroup** (`⌘⇧G`) — break a group apart. ## Adding images Three ways to place an image on the canvas: 1. **Insert image tool** (`9`) — click the tool then use the file picker to choose an image. 2. **Paste** (`⌘V`) — copy an image to your clipboard and paste it directly. 3. **Drag and drop** — drag an image file from your desktop onto the canvas. Images are stored with your board. They appear at the point where you placed or dropped them and can be moved, resized, and reordered like any other element. ## Erasing Select the **Eraser** (`0`) and drag across any element to remove it. The eraser works by element — dragging across part of a freehand stroke removes the entire stroke. To delete selected elements instead, press `Delete` or `Backspace`. ## Undo and redo | Action | Shortcut | | ------ | -------- | | Undo | `⌘Z` | | Redo | `⌘⇧Z` | The undo/redo buttons also appear at the bottom-left of the canvas. Every change — drawing, moving, styling, deleting — is undoable within your session. ## Zooming and panning | Action | How | | ----------------- | ---------------------------------------------------------- | | Zoom in | `⌘=` or the **+** button (bottom left) | | Zoom out | `⌘−` or the **−** button (bottom left) | | Reset zoom | `⌘0` or click the percentage display | | Zoom to selection | `Shift+2` | | Zoom to fit all | `Shift+1` | | Pan | Hold `Space` and drag, or use the **Hand** tool (`H`) | | Scroll | Scroll wheel (vertical pan), Shift+scroll (horizontal pan) | The current zoom level shows as a percentage between the zoom buttons. If you scroll or pan until all your content is off-screen, a **Scroll back to content** chip appears at the bottom of the canvas. Click it to re-center the view on your elements without changing the zoom level. ## Copy, cut, and paste | Action | Shortcut | | -------------- | --------------------------------------------- | | Copy | `⌘C` | | Cut | `⌘X` | | Paste | `⌘V` | | Paste in place | `⌘⇧V` — paste at the exact original position | | Duplicate | `⌘D` — duplicate in place with a small offset | Copied elements stay in your clipboard across boards. Paste into a different board to move work between them. ## Context menu Right-click any element (or the canvas) to open a context menu with the most common actions: Copy, Cut, Paste, Paste in place, Duplicate, Delete, Flip horizontal, Flip vertical, and layer-order commands. ## Flip In the context menu or via keyboard shortcut: | Action | Shortcut | | --------------- | -------- | | Flip horizontal | `⇧H` | | Flip vertical | `⇧V` | ## Hyperlinks Attach a URL to any single element via `⌘K` or the **Link** button in the properties panel. The element becomes clickable — hold the right modifier key and click to follow the link. ## The menu The **≡** button in the top-left corner opens the main menu, which provides: - **Open** — import a previously exported board file. - **Save to…** (`⌘S`) — export the board as a file you can save locally. - **Export image…** (`⌘⇧E`) — export the canvas (or selection) as a PNG or SVG. - **Command palette** (`⌘/`) — search all available actions by name. - **Help** (`?`) — open the keyboard shortcuts reference. - **Reset the canvas** — clear everything on the board (asks for confirmation). - **Preferences** — advanced options (see below). - **Theme** — switch between Light, Dark, and System (follows your OS setting). - **Canvas background** — choose from five background colors: White, Slate, Blue, Yellow, and Bronze. ## Preferences Open **Menu → Preferences** for these options: | Preference | What it does | | --------------------------------------- | ------------------------------------------------------------------------------------------------------------- | | **Select on: Wrap / Overlap** | Controls whether a drag-to-select box requires elements to be fully inside (Wrap) or just touching (Overlap). | | **Tool lock** (`Q`) | Keep the current tool active after drawing — no auto-return to Selection. | | **Snap to objects** (`Alt+S`) | Snap elements to nearby element edges and centers while dragging. | | **Toggle grid** (`⌘'`) | Show or hide a background grid. | | **Zen mode** (`Alt+Z`) | Hide all panels and controls — just the canvas. Press `Alt+Z` again to restore. | | **View mode** (`Alt+R`) | Lock the canvas so nothing can be edited or drawn. | | **Canvas & Shape properties** (`Alt+/`) | Show a stats panel with exact coordinates, dimensions, and canvas information for selected elements. | | **Arrow binding** | When enabled, arrows snap to the edges of nearby shapes as you draw them. | | **Snap to midpoints** | When enabled, snapping also locks to the midpoints of nearby element edges. | ## Keyboard shortcuts reference Press `?` anywhere on the canvas to open the full keyboard shortcuts panel. All shortcuts are listed there, grouped by category: Tools, Editing, Selection, History, Style, Arrange, Align, Distribute, Flip & lock, Group, View / Zoom, View options, and Export. > On macOS, `⌘` is the Command key and `⌥` is the Option (Alt) key. On Windows and Linux, `⌘` becomes `Ctrl` and `⌥` becomes `Alt`. --- # Meet: Meet overview Source: https://qurangallery.com/docs/meet/overview > Private audio, video, and screen-sharing sessions for the Quran Gallery suite — no account required to join. Quran Gallery Meet lets you start a private video call and invite anyone to join with a single link. It lives at [qurangallery.com/meet](https://qurangallery.com/meet). ## What you can do | Feature | Details | | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Audio and video** | Talk and see each other with your device's microphone and camera. | | **Screen sharing** | Share your entire screen, a window, or a browser tab with everyone in the session. You can choose to share your screen's audio where your browser supports it. | | **In-meeting chat** | Send text messages to everyone in the room without interrupting the call. | | **Device switching** | Change your microphone, camera, or speaker at any time during the call. | | **Invite anyone** | Share a one-click link — no account needed to join a session. | ## Who can join Anyone with the room link can join. You do not need a Quran Gallery account. The person who creates the session can share the link with guests, family, or colleagues and they can enter straight away. ## Privacy Each session has a randomly generated room code that is not guessable or listed publicly. Only people who have your invite link can enter the room. When everyone leaves, the session ends. ## What's next in these docs - **Starting or joining a session** — how to create a room, share the link, and set up your camera and microphone before you join. - **In the meeting** — every control in the toolbar and how the participant grid works. --- # Meet: Starting or joining a session Source: https://qurangallery.com/docs/meet/starting-or-joining-a-meeting > How to create a room, share your invite link, and set up your camera and microphone before you enter a call. ## Creating a new session Open [qurangallery.com/meet](https://qurangallery.com/meet) and click **New session**. A fresh room is created and you land on the setup screen immediately — no sign-in required. To invite others, copy the link from the address bar (or use the **Copy invite link** button inside the room) and send it however you like — message, email, or any other channel. Anyone who opens the link goes straight to the same room. ## Joining an existing session If someone sent you a link, open it directly. Your browser takes you to the setup screen for that room. If you only have a room code, go to [qurangallery.com/meet](https://qurangallery.com/meet), paste the code into the **Room code or link** field, and click **Join**. ## Setting up before you enter The setup screen appears before you enter the room. It gives you a camera preview of how you will look, and lets you choose your devices and display name. ### Your name Type a name in the **Your name** field. This is what other participants see on your tile. The field is pre-filled with your Quran Gallery display name if you are signed in. ### Camera and microphone Two buttons appear at the bottom of the camera preview: - **Microphone button** — the icon turns red and shows a crossed-out microphone when muted. Tap to mute or unmute before joining. - **Camera button** — the icon turns red when your camera is off. Tap to turn it on or off. When the camera is off, the preview shows your initials instead of a video feed. ### Choosing a different device If your computer has more than one camera or microphone, dropdown menus appear in the form panel beside the preview so you can pick the one you want before joining. ### Blocked permissions If your browser has blocked camera or microphone access, you will see a **Camera and microphone are blocked** notice. You can still join the session — select **Join now** and then allow access from your browser's address bar or settings to turn them on once you are inside. ## Entering the room Click **Join now**. You enter the room and your microphone and camera publish immediately (based on what you set on the setup screen). > If you land on a "Video sessions aren't available yet" screen, video calls aren't available in this space yet. This is a temporary state — check back soon. --- # Meet: In the meeting Source: https://qurangallery.com/docs/meet/in-the-meeting > A guide to every control in the toolbar — microphone, camera, screen share, chat, devices, invite link, and leaving. Once you enter a session, your camera and microphone publish automatically based on what you chose on the setup screen. The toolbar runs along the bottom of the screen. ## Toolbar controls | Button | What it does | | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Microphone** | Mute or unmute yourself. The button shows a faint red tint when you are muted. Other participants see a muted-mic icon on your tile. | | **Camera** | Turn your video on or off. The button shows a faint red tint when your camera is off. When off, other participants see your initials instead of a video feed. | | **Screen share** | Share your screen, window, or browser tab with everyone in the room. The button highlights when sharing is active. Click it again to stop. You can choose to share your screen's audio where your browser supports it. | | **Chat** | Open the in-meeting chat panel. A red badge shows how many messages arrived while the panel was closed. | | **Devices** | Open the device picker to change your microphone, camera, or speaker mid-call. | | **Copy invite link** | Copy the room's invite link to your clipboard. The button briefly shows a checkmark when the copy succeeds. | | **Leave** | End your participation and return to the lobby. Other participants stay in the call. | ## Participant grid On large screens, tiles arrange themselves based on how many people are in the room: | Participants | Layout (large screen) | | ------------ | ------------------------------------------------------------------------------------------------------ | | 1 (just you) | Your tile is centred with a "You're the only one here" notice and a reminder to share the invite link. | | 2 – 4 | Two-column grid. | | 5 – 9 | Three-column grid. | | 10 or more | Four-column grid. | On small screens, tiles always stack in a single column regardless of participant count. The room code and total participant count appear at the top of the screen. ### Active speaker highlight The tile of whoever is speaking gets a coloured ring around it so you can easily follow the conversation. ### Muted-mic indicator A small crossed-out microphone icon appears on any participant's tile when their microphone is off. ## Screen share layout When anyone in the room shares their screen, the layout switches automatically: - The shared screen takes up most of the space. - A label in the corner shows whose screen is being shared. - The participant tiles move to a strip on the side (on a large screen) or a scrollable row at the bottom (on a small screen). To stop sharing your own screen, click the **Screen share** button again. ## In-meeting chat Click the **Chat** button (speech-bubble icon) to open the chat panel on the right side of the screen. Type a message and press **Enter** or click the send button. - Your own messages appear on the right side of the panel; others' messages appear on the left. - Each message shows the sender's name and the time it was sent. - When the panel is closed, a red badge on the Chat button counts new messages. Chat messages are visible only to participants currently in the room. They are not saved after everyone leaves. ## Changing devices mid-call Click the **Devices** button (gear icon) to open a small picker: - **Microphone** — switch to a different audio input. - **Camera** — switch to a different video source. - **Speaker** — switch to a different audio output (available on supported browsers). Changes take effect immediately. Click anywhere outside the picker to close it. ## Connection status A banner appears at the top of the meeting area when something changes with your connection: | Banner | Meaning | | ------------------------ | -------------------------------------------------------------------------------------------------------- | | **Connecting…** | You are in the process of joining the session. | | **Reconnecting…** | Your connection dropped briefly and is being restored automatically. | | **Error message (red)** | Something went wrong joining or staying in the session. The banner shows a description of the problem. | | _(disconnected overlay)_ | You have been disconnected. Click **Back to lobby** to return to the home screen and rejoin if you want. | > If you see a reconnecting banner, wait a moment — the session recovers automatically in most cases without you needing to do anything. --- # Maktabah (Library): Maktabah: read classical Islamic books online Source: https://qurangallery.com/docs/maktabah/overview > Read 8,594 classical Arabic books online in Maktabah, page by page as printed, with footnotes kept apart, an Arabic search and a spelling suggestion. **Maktabah** (المكتبة, "the library") is where Quran Gallery publishes the classical Arabic books behind its other apps. It holds tafsir, hadith, fiqh, history and language, 8,594 works in all, and you read them page by page as they were printed. Open it at [`qurangallery.com/maktabah`](https://qurangallery.com/maktabah). You don't need an account to read. ## Common tasks ## Where the books come from Every book comes from [al-Maktabah al-Shāmilah](https://shamela.ws), the open digital library of Islamic texts. Each book and each page links back to the same book or page on shamela.ws. Maktabah gives the text a stable address, shows the printed page numbers, and lets you search it. It never changes the text. Chat's grounded answers, the [MCP for developers](https://qurangallery.com/docs/mcp) and Maktabah all read the same library. So when a chat answer cites a page, you can open that page here and read the whole of it. ## Finding a book - **Core shelves**: the home page opens with the standard references of each field, oldest author first. Examples are the six books of hadith, the major commentaries and the founding works of each school of law. - **Categories**: every book belongs to one of Shamela's categories (Quranic sciences, hadith, fiqh, creed, history, language and more). A category page lists all of its books. - **Authors**: every author has a page listing their works in the library, along with the year they died (AH) where it is known. ## Reading a page A book's page shows its edition, editor and publisher, its volumes, and its table of contents. Choose **Start reading** or any chapter to open the text. Each reading page shows one printed page: - **The printed volume and page** appear at the top, so you can match what you read here against a physical copy. - **The author's text and the footnotes are kept apart.** Footnotes appear under their own heading, because they come from the book's editor and are not the author's words. - **Long pages** are split into parts. Choose **Continue this page** to read the next part. - **Previous and next** move one printed page at a time. - **Text size** has small, medium and large settings, and your choice is remembered on that device. | Term | Plain meaning | | ----------------- | ---------------------------------------------------------------------------------------- | | **Juzʾ / volume** | One volume of a multi-volume printed edition. | | **Taḥqīq** | A critical edition. The editor (_muḥaqqiq_) compares manuscripts and adds the footnotes. | | **Ṭabʿah** | A printing or edition, e.g. "ط الرسالة" (the al-Risālah edition). | ## Going to a printed page If a reference reads "vol. 3, p. 120", open the book and use **Go to a printed page**. Choose the volume, type the page number and choose **Go**. If that page isn't in that volume, Maktabah says so, and the reference may be to a different edition of the book. ## Citing a page Every reading page has a **Cite this page** box with three styles: **Shamela**, **Short** and **Full**. Each one has a copy button. Some books have no printed page numbers; for those, the box notes that the numbers are Shamela's own, so you don't cite them as the printed edition's. ## Searching Search the text of every book from the home page, or search one book from that book's page. Results show the book, its author and the printed page, with your words highlighted. Matches inside footnotes are labelled as footnotes. The search reads Arabic text, so type your query in Arabic. If you search with a misspelled Arabic word, Maktabah shows **Did you mean:** above the results with the standard spelling, taken from how the pages themselves print the word. Choose it to search again. The suggestion appears for text searches in Arabic (words, forms and phrase), not for Exact or Advanced search. ## Asking for a book to be removed If you hold the rights to a book and want it removed, use the **Request removal** link at the bottom of any page. It opens the Quran Gallery [feedback form](https://qurangallery.com/feedback). A removed book's pages say that it was removed at the rights holder's request. ## Next steps - [Open Maktabah](https://qurangallery.com/maktabah) --- # MCP for developers: MCP server for Islamic texts: what it does Source: https://qurangallery.com/docs/mcp/overview > A free MCP server at https://qurangallery.com/mcp/shamela over 8,594 classical Arabic books: verbatim passages with edition, volume, page, Maktabah link. Ask most AI assistants for a hadith or a fiqh ruling and you get a reference recalled from memory. It often looks right. The book exists, the wording is close, the volume and page are plausible — and there is no way to tell, from the answer alone, whether anyone ever printed that page. The Quran Gallery MCP server changes what your assistant has to work with. It searches an actual library, the Maktabah al-Shamela catalogue of **8,594 classical Arabic works by 3,188 authors**, and hands back, for each hit: - the **book**, and which **printing** it is (editions paginate differently — the page number is meaningless without it) - the **author** and the year they died - the **printed volume and page**, as that printing paginates it - the **verbatim Arabic** of the passage - whether the words were found in the **main text or an editor's footnote** - the **edition, editor and publisher**, when the library has them, and a **link to the page in the Maktabah reader** Your assistant quotes what came back instead of reconstructing it. ## Common tasks - [Is there an MCP server for Maktabah al-Shamela?](https://qurangallery.com/docs/mcp/shamela-mcp-server) - [Islamic MCP servers compared: Shamela, hadith and Quran](https://qurangallery.com/docs/mcp/islamic-mcp-servers-compared) - [Connect an AI to the Shamela library: getting started](https://qurangallery.com/docs/mcp/getting-started) - [Connect ChatGPT to the Shamela library](https://qurangallery.com/docs/mcp/chatgpt) - [Connect Claude to the Islamic library (MCP)](https://qurangallery.com/docs/mcp/claude) - [Add the Islamic library MCP server to Claude Code](https://qurangallery.com/docs/mcp/claude-code) - [Connect Cursor to the Islamic texts MCP server](https://qurangallery.com/docs/mcp/cursor) - [Add the Islamic library MCP server to VS Code](https://qurangallery.com/docs/mcp/vscode) - [Connect Gemini CLI to the Islamic texts MCP server](https://qurangallery.com/docs/mcp/gemini-cli) - [Use the Islamic library MCP server with GitHub Copilot](https://qurangallery.com/docs/mcp/copilot) - [Connect any MCP client to the Shamela library](https://qurangallery.com/docs/mcp/connect-any-mcp-client) - [MCP API key and bearer token setup for each client](https://qurangallery.com/docs/mcp/bearer-token-setup) - [shamela_search_library: search Arabic books with citations](https://qurangallery.com/docs/mcp/search-library) - [MCP tools for classical Arabic books: the full list](https://qurangallery.com/docs/mcp/tools) - [Use the Shamela MCP server from Python, LangChain and agents](https://qurangallery.com/docs/mcp/use-with-langchain-and-agents) - [Hosted MCP server or your own RAG or OpenITI corpus?](https://qurangallery.com/docs/mcp/vs-own-rag-and-openiti) - [Choose a Shamela MCP scope: one book or all](https://qurangallery.com/docs/mcp/scopes) - [Why scope matters: one search on one shelf and on all](https://qurangallery.com/docs/mcp/why-scope-matters) - [How to read a Shamela MCP search result](https://qurangallery.com/docs/mcp/reading-results) - [Verify an AI-quoted passage against the printed page](https://qurangallery.com/docs/mcp/verify-a-quotation) - [Grounding rules: citing classical Islamic texts with MCP](https://qurangallery.com/docs/mcp/grounding-rules) - [Search the main text or the footnotes of a Shamela book](https://qurangallery.com/docs/mcp/search-main-text-or-footnotes) - [Hadith takhrij with MCP: find a hadith across collections](https://qurangallery.com/docs/mcp/hadith-takhrij) - [How Arabic search behaves in Shamela MCP](https://qurangallery.com/docs/mcp/arabic-search-behaviour) - [Edition, editor and publisher in Shamela MCP results](https://qurangallery.com/docs/mcp/edition-metadata) - [Ten test cases for the Shamela MCP server, with real results](https://qurangallery.com/docs/mcp/test-cases) - [MCP prompts and custom instructions for cited answers](https://qurangallery.com/docs/mcp/custom-instructions) - [MCP rate limits and error codes](https://qurangallery.com/docs/mcp/limits-and-errors) - [Quran Gallery Shamela MCP: frequently asked questions](https://qurangallery.com/docs/mcp/faq) ## Who this is for Anyone building or using an AI assistant that needs to talk about classical Islamic texts and be checkable: researchers, students, developers of Islamic apps, and anyone who has been burned by a confident citation that turned out not to exist. You need nothing to start: add `https://qurangallery.com/mcp/shamela` to your assistant and ask. Keyless use is limited per IP address; an optional free key raises the limits ([Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors)). The library covers **8,594 works, 3,188 authors and 41 categories**, and every tool is read-only. ## What it does not do This matters more than the feature list, so it is here rather than in a footnote. **It cannot stop your assistant from misattributing a passage.** What the server guarantees is that the passage, the book and the page are real — that they were retrieved, not composed. It does not guarantee that the sentence your assistant builds around them is a fair reading of the text. A model can still quote a real page and draw a wrong conclusion from it. **It is not a substitute for a scholar.** Retrieval quality is not the same as understanding. A passage found in a Hanafi manual is evidence of what that manual says, not a ruling for your situation. **Searches return excerpts; reading tools return pages.** A search result is a page-scoped passage with its citation attached. If you need more, `shamela_read` (`unit: 'page'`) returns a full page and `shamela_read` (`unit: 'range'`) returns up to twenty consecutive ones. There is no single call that exports a book, and the rate limit is what stands between reading and scraping — please stay on the reading side of that line. > If you want the reasoning behind the design — why search is scoped, why an exact-phrase miss is reported rather than hidden — the [Reading a result](https://qurangallery.com/docs/mcp/reading-results) page covers the parts that affect how you should read the output. ## What you get **15 tools, all read-only, the same for every client.** Four are ours: `shamela_search_library`, which requires a named scope and is the right first call for most questions, and `search` and `fetch`, the standard pair ChatGPT deep research expects, a quick generic entry (one argument, unscoped), and `shamela_verify_quote`, which checks whether an Arabic quotation occurs in the library and where. The other 11 are the library server's own, exposed under their own names: isnād chains, narrator dossiers, boolean and diacritic-exact search, resolving a printed citation back to a page, per-verse tafsir, and reading a page in full. The server also offers three ready-made prompts (`takhrij_hadith`, `cite_passage`, `compare_tafsir`) and one resource, `qurangallery://grounding-rules`. It never grades a hadith and gives no rulings. The short version: start with `shamela_search_library`, reach for the raw tools when it cannot do what you need. > **Queries must be in Arabic.** A query with no Arabic words is rejected outright. If you are working from an English question, translate the search terms first — nothing translates them for you. | Page | What it covers | | --------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [Getting started](https://qurangallery.com/docs/mcp/getting-started) | Add the server to Claude, ChatGPT, Gemini CLI, Cursor or VS Code; run a first search; add a key for more | | Connect your client, step by step | [ChatGPT](https://qurangallery.com/docs/mcp/chatgpt) and [Claude](https://qurangallery.com/docs/mcp/claude) with screenshots; [Claude Code](https://qurangallery.com/docs/mcp/claude-code), [Gemini CLI](https://qurangallery.com/docs/mcp/gemini-cli), [Cursor](https://qurangallery.com/docs/mcp/cursor), [VS Code](https://qurangallery.com/docs/mcp/vscode), [GitHub Copilot](https://qurangallery.com/docs/mcp/copilot) | | [The shamela_search_library tool](https://qurangallery.com/docs/mcp/search-library) | Every parameter and every field that comes back | | [The full tool surface](https://qurangallery.com/docs/mcp/tools) | All of them, plus prompts and the resource, grouped by what they are for | | [Choosing a scope](https://qurangallery.com/docs/mcp/scopes) | The twelve scopes, and why `shamela_search_library` requires one | | [Reading a result](https://qurangallery.com/docs/mcp/reading-results) | Footnote vs main text, exact match vs loose match | | [Grounding rules](https://qurangallery.com/docs/mcp/grounding-rules) | The citation contract: quote only results, matn vs footnote, no invented data | | [Hadith takhrij](https://qurangallery.com/docs/mcp/hadith-takhrij) | Locate a hadith across collections with its isnād, without grading | | [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors) | Rate limits, error responses, what to retry | ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Is there an MCP server for Maktabah al-Shamela?](https://qurangallery.com/docs/mcp/shamela-mcp-server) - [Islamic MCP servers compared: Shamela, hadith and Quran](https://qurangallery.com/docs/mcp/islamic-mcp-servers-compared) --- # MCP for developers: Is there an MCP server for Maktabah al-Shamela? Source: https://qurangallery.com/docs/mcp/shamela-mcp-server > Yes. Quran Gallery runs a hosted MCP server at qurangallery.com/mcp/shamela over 8,594 Shamela books: no key, 15 read-only tools, printed-page citations. Yes. Quran Gallery runs a hosted MCP server over the Maktabah al-Shamela (المكتبة الشاملة) library. Its address is: ``` https://qurangallery.com/mcp/shamela ``` This address is the endpoint for clients. The page `https://qurangallery.com/mcp` is the human page about it, not an endpoint, so do not paste that one into a client. Paste the endpoint URL into any client that accepts a remote MCP server (ChatGPT, Claude, Claude Code, Gemini CLI, Cursor, VS Code, GitHub Copilot, or your own code). There is nothing to install, no account to create and no key to request. ## At a glance | Question | Answer | | ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Where does it run? | Hosted by Quran Gallery. Nothing installs on your machine and the Shamela desktop application is not needed. | | Transport | Streamable HTTP, `POST` only. It is not an SSE endpoint and not a stdio program. | | Account or key? | None to start. An optional free key (`qg_sk_…`) sent as `Authorization: Bearer …` raises the limits. There is no OAuth sign-in. | | What is in it? | **8,594 works by 3,188 authors in 41 categories**, from Maktabah al-Shamela. | | Tools | **15**, all read-only, the same for every client: four curated ones (`shamela_search_library`, plus `search` and `fetch`, a quick generic entry, and `shamela_verify_quote`, a quotation check) and 11 `shamela_*` library tools. | | Limits | Without a key: **10 tool calls a minute and 200 a day** per IP address. With a free key: **60 a minute**. See [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). | | What a hit contains | Verbatim Arabic, the book, the author and death year, the **printed volume and page**, the edition, editor and publisher when the library records them, whether the words are in the **main text or an editor's footnote**, and a link to the page in the Maktabah reader. | | Open source? | No. The server's source code is not published. The public repository [`qurangallery/kb-mcp`](https://github.com/qurangallery/kb-mcp) holds documentation only. Tools, parameters and behaviour are documented in these pages. | | Affiliation | Run by Quran Gallery. It is not operated by shamela.ws; each hit links to the page in the Maktabah reader so you can check it. | ## What makes it different from reading Shamela yourself Maktabah al-Shamela is a library of text. An assistant that retrieves from it without further structure can return the right words with the wrong provenance: a footnote presented as the author's sentence, an automatic page number presented as the printed one, a page from one printing cited against another. The server returns those facts as separate fields, so the assistant does not have to guess them: - **`printedPage`** is the volume and page as the printing paginates them, for example `1/ 6` for page 6 of volume 1. - **`matchedIn`** says whether your words were found in the `body` (the author's text, the _matn_) or in a `footnote` (the editor's or commentator's words). - **`edition`, `editor` and `publisher`** appear when the library records them, and are left out when it does not. Nothing is filled in. - **`sourceUrl`** is the page in the Maktabah reader, so a reader can open the same page. See [Reading a result](https://qurangallery.com/docs/mcp/reading-results) for how to read those fields and [Edition metadata](https://qurangallery.com/docs/mcp/edition-metadata) for what the library does and does not store. ## A first request, end to end This is one real request. It asks the hadith collections for a famous hadith: ```bash curl -s https://qurangallery.com/mcp/shamela \ -H 'Content-Type: application/json' \ -H 'Accept: application/json, text/event-stream' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"shamela_search_library","arguments":{"query":"إنما الأعمال بالنيات","scope":"hadith-primary"}}}' ``` The result has five passages: three exact-phrase hits and two looser matches in _Sunan al-Nasa'i_. One is _Sahih al-Bukhari_, edition ط السلطانية, printed page `1/ 6`, found in the main text, with the source page at `https://qurangallery.com/maktabah/book/1681/10`. Another is _Sunan Abi Dawud_ (ed. al-Arna'ut), printed page `3/ 526`, flagged `footnote`: the words there are an editor's note quoting a commentator, not Abu Dawud's own text. ## What it covers The 41 categories include the Quran and its sciences, tafsir, hadith and its sciences, fiqh across the four schools and comparative fiqh, creed (ʿaqīda), Arabic language, history, biography and more. Twelve ready-made search scopes cover 7,084 of those works for the common questions, such as `hadith-primary` (eight collections pinned to named printings), `tafsir-canonical` or `fiqh-hanafi` ([Choosing a scope](https://qurangallery.com/docs/mcp/scopes)). The other 1,510 works are reachable through the raw `shamela_*` tools. Search queries must be in Arabic. `shamela_search_library` and `search` reject a query with no Arabic words, with a message that tells the assistant to translate it first. ## What it will not do - **It does not grade hadith and gives no rulings.** It finds and cites texts. Any grading you see in a result is quoted from the book and attributed to whoever wrote it. - **It cannot make an assistant read a passage fairly.** The passage, book and page come from the library, not from the model. The sentence the assistant builds around them is still the assistant's. - **It is not a book download.** Searches return excerpts and reading tools return pages; the rate limits are what keep it a research tool. ## Related pages | Page | Use it for | | ------------------------------------------------------------------------ | --------------------------------------------------------------- | | [Getting started](https://qurangallery.com/docs/mcp/getting-started) | Connecting ChatGPT, Claude, Cursor, VS Code or Gemini CLI | | [Connect any MCP client](https://qurangallery.com/docs/mcp/connect-any-mcp-client) | SDKs, `mcp-remote`, curl, MCP Inspector | | [Islamic MCP servers compared](https://qurangallery.com/docs/mcp/islamic-mcp-servers-compared) | How this server differs from the other servers people ask about | | [Verify a quotation against the printed page](https://qurangallery.com/docs/mcp/verify-a-quotation) | Checking a citation an AI gave you | | [Search the main text or the footnotes](https://qurangallery.com/docs/mcp/search-main-text-or-footnotes) | Filtering by layer | | [Frequently asked questions](https://qurangallery.com/docs/mcp/faq) | Keys, limits, tool count, the other things named Quran Gallery | ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Connect an AI to the Shamela library: getting started](https://qurangallery.com/docs/mcp/getting-started) - [Islamic MCP servers compared: Shamela, hadith and Quran](https://qurangallery.com/docs/mcp/islamic-mcp-servers-compared) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Islamic MCP servers compared: Shamela, hadith and Quran Source: https://qurangallery.com/docs/mcp/islamic-mcp-servers-compared > Islamic MCP servers compared, dated: Quran Gallery, Shamela Link, official Shamela, alhoqbani, Makteb, Moheet, turath.io. Account, corpus, source, page. Several MCP servers now serve Islamic texts, and they are not interchangeable. They differ in what they cover, whether they need an account, where they run, and whether a result tells you the printed page and the layer of the page it came from. This page compares them on the points people ask about. Every figure for another project is **that project's own published claim, read on 2026-11-01**, with a link. A cell marked † was last read on 2026-10-13 and was not read again. Projects change; check the source before you rely on a row. Where a page does not say something, or could not be read, the table says _not stated_ or _not verified_ rather than guessing. The Quran Gallery column is checked against its own `tools/list` on the same day. ## Servers for classical Islamic books Quran Gallery, Shamela Link, the official Shamela MCP, alhoqbani/shamela-mcp and themuhammad-personal/shamela-mcp serve the Maktabah al-Shamela library. Makteb and Moheet Corpus are listed because people ask about them; their own pages describe separate catalogues and do not mention Shamela. | Server | Address | Where it runs | Account to connect | Source code | | --------------------------------------------------------------------------------------- | --------------------------------------------------------- | ----------------------------------------------------------- | --------------------------------------------------------------------------- | ------------------------- | | Quran Gallery | `https://qurangallery.com/mcp/shamela` | Hosted | None. An optional free key raises the limit | Not published | | [Shamela Link](https://shamela.link/en) | `https://shamela.link/mcp` | Hosted | Free account, OAuth sign-in | Not stated | | [Official Shamela MCP](https://shamela.ws/mcp-guide/) | `https://mcp.shamela.ws` | Hosted by the Shamela project | None for the server, no API key. ChatGPT and Claude need their own accounts | Not stated | | [alhoqbani/shamela-mcp](https://github.com/alhoqbani/shamela-mcp) | Local extension for the Claude app (`.mcpb`) | On your computer, against the Shamela 4 library you install | None (local) | Yes, MIT licence | | [themuhammad-personal/shamela-mcp](https://github.com/themuhammad-personal/shamela-mcp) | `https://shamela-mcp.themuhammadpersonal.workers.dev/mcp` | Hosted as a Cloudflare Worker by an individual | Not verified | Yes, MIT licence, 0 stars | | [Makteb](https://makteb.org/mcp) | `https://api.makteb.org/mcp` | Hosted | None stated | Not stated | | [Moheet Corpus](https://moheet-ablibrary.net) | Not verified | Hosted | Not verified | Not stated | ## What each one covers | Server | Corpus (its own claim) | Tools | | --------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | | Quran Gallery | 8,594 works, 3,188 authors, 41 categories (Maktabah al-Shamela) | 15 | | Shamela Link | 8,598 books, 3,190 authors, 41 categories (Shamela) | 34 | | Official Shamela MCP | Shamela books; no count stated on the guide page | 4 in its `tools/list` on 2026-11-01: `shamela_find`, `shamela_find_scoped`, `shamela_open`, `shamela_open_many` | | alhoqbani/shamela-mcp | Whatever you have installed in Shamela 4 | 34 (v1.3.0) † | | themuhammad-personal | Shamela, through shamela.ws | Not verified | | Makteb | 48,000+ books, Sunni and Shia (its own catalogue) | 5 | | Moheet Corpus | 15,800 books and 12,579,226 indexed passages, Ahl al-Bayt library (its own) | Not verified | How each one connects: Quran Gallery accepts any MCP client that supports remote servers over Streamable HTTP. Shamela Link has guides for Claude, ChatGPT and Hermes Agent. The official Shamela guide is in Arabic and covers ChatGPT (a plugin-store entry named «المكتبة الشاملة»), Claude and Antigravity. Makteb's page shows setups for several editors and assistants and configures its address as an SSE endpoint. alhoqbani's README lists Windows 10 and 11 and says macOS is "possible but not yet tested" †. Moheet Corpus is available in Arabic, English and Persian. Sources: Quran Gallery [what the server is](https://qurangallery.com/docs/mcp/shamela-mcp-server); Shamela Link ([home page](https://shamela.link/en) for the counts, [guide](https://shamela.link/en/guide) for the rest); official Shamela MCP ([guide](https://shamela.ws/mcp-guide/) and a `tools/list` request to `https://mcp.shamela.ws`); [alhoqbani/shamela-mcp README](https://github.com/alhoqbani/shamela-mcp); [themuhammad-personal/shamela-mcp README](https://github.com/themuhammad-personal/shamela-mcp); [Makteb MCP page](https://makteb.org/mcp); [Moheet Corpus home page](https://moheet-ablibrary.net). The alhoqbani README opens with a note that Shamela can now be reached remotely through shamela.link, so a person who does not want to install anything is pointed there. ## What each result tells you This is the part that decides whether a quotation can be checked. | Server | Printed volume and page | Main text vs footnote | Verify a quotation you already have | | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ | | Quran Gallery | Yes, per hit (`printedPage`). `shamela_find` (`kind: 'work'`) and `shamela_cite` (`mode: 'printed_page'`) return a `citable` flag that says whether a book's numbering matches a real printed edition | Yes, on every hit (`matchedIn`), and searchable by layer ([guide](https://qurangallery.com/docs/mcp/search-main-text-or-footnotes)) | No single tool. A short sequence does it ([guide](https://qurangallery.com/docs/mcp/verify-a-quotation)) | | Shamela Link | Yes. Its home page says it cites down to the book, volume and page, and its guide says some books carry Shamela's automatic pagination and the citation tool says so | Yes. Its guide says results keep them apart | Yes, per its guide | | Official Shamela MCP | Not verified | Not verified | Not verified | | alhoqbani/shamela-mcp | Yes. Its README says results show the printed page number † | Yes. Its README says it separates main text from the footnote † | Yes, `shamela_verify_quote` (named in its README) † | | themuhammad-personal | Yes. Its README lists volume and printed page numbers | Yes. Its README lists footnotes as separated | Not verified | | Makteb | Its page says `read_book_pages` returns exact volume, page and unit citations | Not stated | Not stated | | Moheet Corpus | Its home page says each result returns book, volume and page | Its home page says editors' notes appear in place | Not verified | Quran Gallery also returns edition, editor and publisher when the library records them, never invented ([details](https://qurangallery.com/docs/mcp/edition-metadata)), and a `sourceUrl` that links to the page in the Maktabah reader. The other servers' pages did not state either one; that is _not stated_, not a statement that they lack it. ## Servers for turath.io books turath.io is a separate digital library of classical Islamic books (a project by Nuqayah), not the Shamela library. Several open-source projects wrap it. They are small and MIT licensed, and run on your computer. adelpro/turath-mcp can also be started as an HTTP server that you host yourself. | Project | What it is | Facts it states | | ----------------------------------------------------------- | -------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [opin22/turath-mcp](https://github.com/opin22/turath-mcp) | MCP server over the public turath.io API | 5 tools (book info, page, search, author, book file), "8,500+ books", no API key, started from a clone with Node.js 22 or later; 4 stars | | [adelpro/turath-mcp](https://github.com/adelpro/turath-mcp) | MCP server over turath.io through the `turath-sdk` package | 5 tools, stdio (`npx -y turath-mcp`) or Streamable HTTP, responses cached for 30 days; 1 star | | [mwijanarko1/nusus](https://github.com/mwijanarko1/nusus) | TypeScript SDK, command-line tool and an optional local MCP server (`nusus-mcp`) | 5 MCP tools (`find_books`, `find_authors`, `retrieve`, `get_context`, `get_book`), stdio, no key. Its README says its `page-id` is Turath's internal page, not the printed page † | Quran Gallery is hosted, so nothing runs on your machine; it serves the Shamela library; and every hit carries the printed volume and page and the layer (main text or footnote) as separate fields. ## Servers for other texts These are good at different jobs. They do not cover the Shamela library. | Server | What it is | Facts it states | | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | | [hadith-mcp.org](https://hadith-mcp.org) | Hadith collections | GPL-3.0; 6 tools, 50,000+ hadith from Sahih al-Bukhari, Sahih Muslim and 15 more collections, no authentication † | | [mcp.quran.ai](https://mcp.quran.ai/documentation) | The Quran with tafsir and translations ([source](https://github.com/quran/quran-mcp)) | 16 tools, remote at `https://mcp.quran.ai`, no key † | | [tafsircenter/tafsir-mcp](https://github.com/tafsircenter/tafsir-mcp) | The Quran with five classical tafsirs and word-level analysis | Hosted at `https://mcp.tafsir.net/mcp`, MIT code; 13 tools † | `ragaeeb/shamela` on GitHub is a library for working with Shamela data from code, not an MCP server. OpenITI, a corpus of Arabic texts, is the usual starting point for building your own system; see [Quran Gallery versus building your own](https://qurangallery.com/docs/mcp/vs-own-rag-and-openiti). ## Choosing - **You want to paste a URL and be done.** Quran Gallery needs no account, no key and no install. The official Shamela MCP needs no key either. Shamela Link is hosted too, and asks for a free account and an OAuth sign-in first. - **You want everything on your own machine, with source code you can read.** alhoqbani/shamela-mcp is MIT licensed and runs locally against your Shamela install. Quran Gallery's source is not public. - **You want one tool that checks a quotation.** Shamela Link and alhoqbani/shamela-mcp document one. Quran Gallery gives you the pieces instead: an exact search, a printed-page resolver and a page reader. That works, but it is a few calls, not one. - **You need a catalogue larger than Shamela, including Shia works.** Makteb states 48,000+ books and Moheet Corpus states 15,800 books in the Ahl al-Bayt tradition. Quran Gallery serves only the Shamela library. - **You want something small you can read and run yourself against turath.io.** The open-source turath.io projects above do that. They are a different library with their own result fields, so read each README for what a hit returns. - **You only need hadith or only the Quran.** The specialist servers above are narrower on purpose. ## Why the shape of a hit matters A search hit can be a block of text, or it can be a set of fields. When your words were found in a footnote, a block of text hides that, and an assistant will tend to attribute the sentence to the book's author. Shamela Link and alhoqbani/shamela-mcp both say they keep the main text and the footnote apart; what differs between servers is which other facts come with each hit. Quran Gallery returns the layer, the edition, the printed page and the source link as separate fields, so the assistant has no need to infer them and a reader can check each one. [Reading a result](https://qurangallery.com/docs/mcp/reading-results) shows a real case: the same hadith found in the main text of _Sahih al-Bukhari_ and in an editor's footnote in _Sunan Abi Dawud_. ## What Quran Gallery does not claim It does not grade hadith, issue rulings, or replace a scholar. It is not open source. It does not cover texts outside the Shamela library. It is run by Quran Gallery and is not a service of shamela.ws. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Is there an MCP server for Maktabah al-Shamela?](https://qurangallery.com/docs/mcp/shamela-mcp-server) - [Connect an AI to the Shamela library: getting started](https://qurangallery.com/docs/mcp/getting-started) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Connect an AI to the Shamela library: getting started Source: https://qurangallery.com/docs/mcp/getting-started > Add the Quran Gallery MCP server to ChatGPT, Claude, Cursor, VS Code or Gemini CLI by URL. No account or key needed. Run your first cited search. Paste one URL into your assistant and ask a question. No account and no key are needed to start; a free key raises the limits when you need more. ## 1. Add the server The server speaks MCP over **streamable HTTP** at: ``` https://qurangallery.com/mcp/shamela ``` That URL is all a client needs. The text behind it is the Maktabah al-Shamela library (8,594 works); Quran Gallery runs this server, and shamela.ws does not. Where you paste it depends on the app: | You use | Where the URL goes | Guide | | ---------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------- | | ChatGPT | Plugins → **Add → Add custom MCP server**, Authentication **No authentication** | [Step by step, with screenshots](https://qurangallery.com/docs/mcp/chatgpt) | | Claude (claude.ai, Claude Desktop) | Settings → Connectors → **+ Add → Add custom connector** | [Step by step, with screenshots](https://qurangallery.com/docs/mcp/claude) | | Claude Code | One terminal command | [Claude Code](https://qurangallery.com/docs/mcp/claude-code) | | Gemini CLI | One terminal command | [Gemini CLI](https://qurangallery.com/docs/mcp/gemini-cli) | | Cursor | `~/.cursor/mcp.json` | [Cursor](https://qurangallery.com/docs/mcp/cursor) | | VS Code, GitHub Copilot | `.vscode/mcp.json` | [VS Code](https://qurangallery.com/docs/mcp/vscode), [Copilot](https://qurangallery.com/docs/mcp/copilot) | **ChatGPT**: open [ChatGPT Plugins](https://chatgpt.com/plugins), click **Add → Add custom MCP server**, name it _Quran Gallery_ and paste the URL. Set Authentication to **No authentication**, because it starts on OAuth and fails there. Tick _I understand and want to continue_, click **Create as a plugin**, then **Connect**. Older accounts use **Settings → Apps & Connectors → Advanced settings → Developer mode → Create**. [Step by step](https://qurangallery.com/docs/mcp/chatgpt). **Claude** (claude.ai and Claude Desktop): open **Settings → Connectors** (some versions: **Customize → Connectors**), click **+ Add → Add custom connector**, name it _Quran Gallery_, paste the URL and click **Continue**. Keep **No sign-in**, click **Add**, then **Connect**. Switch it on for a chat from **+ → Connectors**. [Step by step](https://qurangallery.com/docs/mcp/claude). **Claude Code** ([details](https://qurangallery.com/docs/mcp/claude-code)): ```bash claude mcp add --transport http quran-gallery https://qurangallery.com/mcp/shamela ``` **Gemini CLI** ([details](https://qurangallery.com/docs/mcp/gemini-cli)): ```bash gemini mcp add --transport http quran-gallery https://qurangallery.com/mcp/shamela ``` **Cursor** ([details](https://qurangallery.com/docs/mcp/cursor)) — in `~/.cursor/mcp.json`: ```json { "mcpServers": { "quran-gallery": { "url": "https://qurangallery.com/mcp/shamela" } } } ``` **VS Code** and **GitHub Copilot** ([VS Code](https://qurangallery.com/docs/mcp/vscode), [Copilot](https://qurangallery.com/docs/mcp/copilot)) — in `.vscode/mcp.json`: ```json { "servers": { "quran-gallery": { "type": "http", "url": "https://qurangallery.com/mcp/shamela" } } } ``` **Claude Desktop config file**: Claude Desktop does not connect to a remote server written into `claude_desktop_config.json` as a `"url"` entry, so a config copied from the Cursor block above fails there. Add the server under **Settings → Connectors** instead ([Claude](https://qurangallery.com/docs/mcp/claude)). If you need the config file, run it through the `mcp-remote` bridge, which needs Node.js: ```json { "mcpServers": { "quran-gallery": { "command": "npx", "args": ["-y", "mcp-remote", "https://qurangallery.com/mcp/shamela"] } } } ``` Save the file and restart Claude Desktop. Menu names move between releases. If yours differ, look for _connectors_, _integrations_ or _MCP servers_ in the client's settings — any client that accepts a remote MCP URL works. > Use the full path, `/mcp/shamela`. The bare `/mcp` is the page describing the server, not the endpoint, and pointing a client at it will not work. ## 2. Ask something Restart your client if it asks you to, then ask a question that needs a text: > _Find the hadith "إنما الأعمال بالنيات" in the primary collections and tell me exactly which printed page it's on._ Your assistant should call `shamela_search_library`, and the answer should name a book, a printing, and a page — for that hadith, **صحيح البخاري, ط السلطانية, page 1/6**. If it answers from memory instead of calling the tool, say so directly: _"Use the Quran Gallery library tool and quote the printed page it returns."_ ## 3. Check the connection Your client should list 15 tools, starting with `shamela_search_library` (see [the full tool surface](https://qurangallery.com/docs/mcp/tools)). If it lists none, the server could not be reached — see [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). You can also check by hand: ```bash curl -X POST https://qurangallery.com/mcp/shamela \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' ``` It returns a JSON object listing the tools, `shamela_search_library` first. Without a key, listing tools does not spend your tool-call allowance. ## 4. Optional: add a key for higher limits Without a key you get **10 tool calls a minute and 200 a day** per IP address, and the two page-range readers return a few pages per call (see [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors)). That covers trying the server and occasional lookups. For research sessions, or anything you build on it, a free key is available: **60 calls a minute**, no daily cap, full page ranges. Skip this section until you hit a limit. Sign in to your Quran Gallery account, go to **Developers**, and create a key with a descriptive name. The full key is shown **once**, on creation. Copy it then — only the first few characters are visible afterwards. Keys look like this: ``` qg_sk_ghjKm4x… ``` `sk` stands for _secret key_. Treat it exactly like a password: it authenticates as **you**, it belongs in a password manager or a secret store, and it must never be committed to git or pasted into a public issue. Send it as a bearer token on every request. In a config file: ```json { "mcpServers": { "quran-gallery": { "type": "http", "url": "https://qurangallery.com/mcp/shamela", "headers": { "Authorization": "Bearer qg_sk_your_key_here" } } } } ``` Or with Claude Code: ```bash claude mcp add --transport http quran-gallery \ https://qurangallery.com/mcp/shamela \ --header "Authorization: Bearer qg_sk_your_key_here" ``` The key travels only in `Authorization: Bearer …` — no query parameter, no OAuth flow. A client that accepts only a bare URL stays on the keyless limits. > Full details on creating, rotating and revoking keys are in [API keys](https://qurangallery.com/docs/accounts/api-keys). ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Islamic MCP servers compared: Shamela, hadith and Quran](https://qurangallery.com/docs/mcp/islamic-mcp-servers-compared) - [Connect ChatGPT to the Shamela library](https://qurangallery.com/docs/mcp/chatgpt) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Connect ChatGPT to the Shamela library Source: https://qurangallery.com/docs/mcp/chatgpt > Add the Quran Gallery MCP server to ChatGPT step by step, with screenshots: one URL, No authentication, then search 8,594 classical Arabic books. **No account, no sign-in, no key.** Add this URL to ChatGPT as a custom MCP server and set Authentication to **No authentication**: ``` https://qurangallery.com/mcp/shamela ``` Setup takes about a minute. It worked on a Free ChatGPT account when this guide was written (October 2026). On a Business or Enterprise workspace, an admin may have to allow custom MCP servers first. **Saw “Some app settings were rejected”?** An earlier version of our server caused this error for every ChatGPT user. It is fixed. Follow the steps below and add the server again. ## 1. Open Plugins and add a custom server Open [chatgpt.com/plugins](https://chatgpt.com/plugins). At the top right, click **Add**, then **Add custom MCP server**. ## 2. Fill in the form | Field | Enter | | ---------------------- | ----------------------------------------------------------------------------------------------------------------------- | | Icon (optional) | [quran-gallery-icon.png](https://qurangallery.com/docs/screenshots/mcp/quran-gallery-icon.png): download it, then click **+** and pick the file | | Name | `Quran Gallery` | | Description (optional) | `Search classical Arabic Islamic books with printed-page citations` | | Connection | Keep **Server URL** selected and paste `https://qurangallery.com/mcp/shamela` | | Authentication | **No authentication** | Tick **I understand and want to continue**, then click **Create as a plugin**. **Change Authentication to No authentication** The field starts on **OAuth**. Our server needs no sign-in, so with OAuth ChatGPT stops with “Couldn't discover OAuth settings”. Open the menu and choose **No authentication**. Type the URL yourself or copy it from this page. A link copied from an email can be a `google.com/url?q=…` redirect rather than the address itself, and ChatGPT rejects it. ## 3. Connect ChatGPT shows what the plugin may do. Click **Connect**. A message confirms _Quran Gallery is now connected_. ## 4. Check that it is installed Open [Settings → Plugins](https://chatgpt.com/settings/plugins-settings). _Quran Gallery_ appears in the list with its icon. All of its tools are read-only. ## 5. Use it in a chat Start a new chat. Click **+** in the message box and pick **Quran Gallery**. Then ask your question. The answer names the edition, volume and printed page, and links to that page in the Maktabah reader: ## Manage, refresh or remove Open [Settings → Plugins](https://chatgpt.com/settings/plugins-settings) and click _Quran Gallery_. Under **Manage app** you can rename it, **Refresh tools** after our server adds a tool, or **Delete app**. You cannot edit the server URL or the icon once the plugin exists. To change either, delete the plugin and add it again. ## Deep research ChatGPT deep research and company knowledge need two read-only tools named `search` and `fetch`. This server provides both, listed to every client alongside the other tools. `search` takes one query and returns `results` with `id`, `title` and `url`; `fetch` takes an `id` and returns `id`, `title`, `text`, `url` and `metadata`. The `url` of every result is the page in the Maktabah reader. ## First prompt to try > _Find the hadith «إنما الأعمال بالنيات» in the primary collections and tell me which book, edition, volume and page it is printed on. Quote the Arabic exactly._ Your assistant should call `shamela_search_library` (or `search` then `fetch`). The hits include **صحيح البخاري, ط السلطانية, page 1/6**, with a link to that page in the Maktabah reader. If it answers from memory instead, say: _"Use the Quran Gallery library tool and quote what it returns."_ Search queries must be in Arabic; your assistant translates English terms first ([details](https://qurangallery.com/docs/mcp/search-library)). Ready-made prompts for takhrīj, citing a passage and comparing tafsir are listed in [the full tool surface](https://qurangallery.com/docs/mcp/tools). ## Troubleshooting - **"Some app settings were rejected. Check the server URL or tunnel ID, icon, and authentication settings."** Check three things. The URL must be exactly `https://qurangallery.com/mcp/shamela`, not a redirect link from an email. Authentication must be **No authentication**. The icon must be a PNG of at least 256×256 pixels and under 10 KB; ours fits, or you can leave the icon out. If you tried before our fix, add the server again. - **"Couldn't discover OAuth settings."** Authentication was left on OAuth. Change it to **No authentication**. - **"An app with this name already exists."** You added it before. Delete the old plugin first (see _Manage, refresh or remove_), or pick another name. - **Create as a plugin does not respond.** Tick _I understand and want to continue_ first. - **No Plugins page or no Add custom MCP server.** Older accounts reach the same form through **Settings → Apps & Connectors → Advanced settings → Developer mode → Create**. Use the same URL and **No authentication**. On a work account, ask your workspace admin to allow custom MCP servers. - **429, "Keyless limit reached".** Keyless use allows 10 tool calls a minute and 200 a day per IP address. Wait for the `Retry-After` header. See [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). - **503.** The server or the library behind it is briefly unavailable. Retry after the `Retry-After` header. If the plugin lists zero tools, wait a minute and click **Refresh tools**. - **The tools do not appear, or a tool you expect is missing.** ChatGPT reads the tool list when you create the plugin. Click **Refresh tools**, then start a new conversation. - **Connection fails immediately.** The endpoint is `/mcp/shamela`. The bare `/mcp` is a web page, not the server. ## Optional: a free key for higher limits A key is never required. A free key raises the limit to 60 calls a minute and lifts the keyless page-range caps. ChatGPT's custom-server form offers only OAuth or no authentication, with no field for a bearer header, so ChatGPT stays on the keyless tier. If you need the key, use Claude, Claude Code, Cursor, VS Code or Gemini CLI. Create one on the **Developers** page of your Quran Gallery account ([how keys work](https://qurangallery.com/docs/accounts/api-keys)). ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Connect an AI to the Shamela library: getting started](https://qurangallery.com/docs/mcp/getting-started) - [Connect Claude to the Islamic library (MCP)](https://qurangallery.com/docs/mcp/claude) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Connect Claude to the Islamic library (MCP) Source: https://qurangallery.com/docs/mcp/claude > Add the Quran Gallery MCP server to Claude (claude.ai and Desktop) as a custom connector, with screenshots. No account or key, 8,594 Arabic works. **No account, no sign-in, no key.** In Claude, add one custom connector with this URL: ``` https://qurangallery.com/mcp/shamela ``` The steps are the same on claude.ai and in Claude Desktop. Free plans can add one custom connector. On Team and Enterprise plans, an Owner adds it under **Organization settings → Connectors** and each member then switches it on. ## 1. Open Connectors and add a custom connector Open **Settings → Connectors** ([claude.ai/settings/connectors](https://claude.ai/settings/connectors)). Some versions put it under **Customize → Connectors**. Click **+ Add**, then **Add custom connector**. ## 2. Name it and paste the URL Name it `Quran Gallery`, paste `https://qurangallery.com/mcp/shamela`, and click **Continue**. ## 3. Keep No sign-in, then add and connect Claude checks the server and selects **No sign-in**, marked _Detected_. Leave it selected. You can ignore the **Request headers** section unless you have a key (see the end of this page). Click **Add**, then **Connect**. A message confirms _Connected to Quran Gallery_. ## 4. Choose when Claude may use the tools The connector page lists 15 read-only tools, set to **Needs approval** by default. Leave that to approve each call, or set **Read-only tools** to **Always allow** to skip the prompts. ## 5. Switch it on in a chat In a chat, click **+**, open **Connectors**, and switch **Quran Gallery** on. ## 6. Ask, and approve the first call When Claude first uses a tool, it asks. Click **Allow once**, or **Always allow** for that tool. The answer names each printed edition with its volume and page: ## First prompt to try > _Find the hadith «إنما الأعمال بالنيات» in the primary collections and tell me which book, edition, volume and page it is printed on. Quote the Arabic exactly._ Your assistant should call `shamela_search_library` (or `search` then `fetch`). The hits include **صحيح البخاري, ط السلطانية, page 1/6**, with a link to that page in the Maktabah reader. If it answers from memory instead, say: _"Use the Quran Gallery library tool and quote what it returns."_ Search queries must be in Arabic; your assistant translates English terms first ([details](https://qurangallery.com/docs/mcp/search-library)). Ready-made prompts for takhrīj, citing a passage and comparing tafsir are listed in [the full tool surface](https://qurangallery.com/docs/mcp/tools). ## Troubleshooting - **429, "Keyless limit reached".** Keyless use allows 10 tool calls a minute and 200 a day per IP address. Wait for the `Retry-After` header, or add a free key (below). See [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). - **503.** The server or the library behind it is briefly unavailable. Retry after the `Retry-After` header. If the connector lists zero tools, wait a minute and refresh the tool list. - **The tools do not appear, or a tool you expect is missing.** On the connector page, open the **⋮** menu and choose **Refresh tools list**, then start a new chat. - **Claude answers without the library.** Check that the connector is switched on for this chat (step 5), and ask it to use the Quran Gallery tools. - **Connection fails immediately.** The endpoint is `/mcp/shamela`. The bare `/mcp` is a web page, not the server. ## Optional: a free key for higher limits A key is never required. A free key raises the limit to 60 calls a minute and lifts the keyless page-range caps. Create one on the **Developers** page of your Quran Gallery account ([how keys work](https://qurangallery.com/docs/accounts/api-keys)). Add the key at step 3. Keep **No sign-in** selected, and under **Request headers** add a header named `Authorization` with the value `Bearer qg_sk_your_key_here`. Use your own key in place of the placeholder. If the connector already exists, remove it from the **⋮** menu and add it again with the header. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Connect ChatGPT to the Shamela library](https://qurangallery.com/docs/mcp/chatgpt) - [Add the Islamic library MCP server to Claude Code](https://qurangallery.com/docs/mcp/claude-code) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Add the Islamic library MCP server to Claude Code Source: https://qurangallery.com/docs/mcp/claude-code > One command adds the Quran Gallery MCP server to Claude Code: classical Arabic books, printed-page citations, no account and no key. **No account, no sign-in, no key.** One command: ```bash claude mcp add --transport http quran-gallery https://qurangallery.com/mcp/shamela ``` ## Steps 1. Run the command above in your terminal. It registers the server for you in the local scope; add `--scope user` to make it available in every project, or `--scope project` to share it through `.mcp.json`. 2. Run `claude mcp list`, or start `claude` and run `/mcp`. `quran-gallery` should show as connected. 3. Ask a question that needs a text (below). Claude Code asks before it runs each tool the first time. Approve it. The answer gives each edition with its volume, printed page and Maktabah link, and quotes the Arabic: To remove it: `claude mcp remove quran-gallery`. ## First prompt to try > _Find the hadith «إنما الأعمال بالنيات» in the primary collections and tell me which book, edition, volume and page it is printed on. Quote the Arabic exactly._ Your assistant should call `shamela_search_library` (or `search` then `fetch`). The hits include **صحيح البخاري, ط السلطانية, page 1/6**, with a link to that page in the Maktabah reader. If it answers from memory instead, say: _"Use the Quran Gallery library tool and quote what it returns."_ Search queries must be in Arabic; your assistant translates English terms first ([details](https://qurangallery.com/docs/mcp/search-library)). Ready-made prompts for takhrīj, citing a passage and comparing tafsir are listed in [the full tool surface](https://qurangallery.com/docs/mcp/tools). ## Troubleshooting - **429, "Keyless limit reached".** Keyless use allows 10 tool calls a minute and 200 a day per IP address. Wait for the `Retry-After` header, or add a free key (below). See [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). - **503.** The server or the library behind it is briefly unavailable. Retry after the `Retry-After` header; if the client lists zero tools, wait a minute and reconnect. - **The tools do not appear, or a tool you expect is missing.** Run `/mcp` and reconnect the server, or restart `claude`; the tool list is read when the server connects. - **Connection fails immediately.** The endpoint is `/mcp/shamela`; the bare `/mcp` is a web page, not the server. ## Optional: a free key for higher limits A key is never required. A free key raises the limit to 60 calls a minute and lifts the keyless page-range caps. Create one on the **Developers** page of your Quran Gallery account ([how keys work](https://qurangallery.com/docs/accounts/api-keys)), then send it as a bearer token. Add it with `--header`: ```bash claude mcp add --transport http quran-gallery \ https://qurangallery.com/mcp/shamela \ --header "Authorization: Bearer qg_sk_your_key_here" ``` Treat the key like a password and keep it out of git. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Connect Claude to the Islamic library (MCP)](https://qurangallery.com/docs/mcp/claude) - [Connect Cursor to the Islamic texts MCP server](https://qurangallery.com/docs/mcp/cursor) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Connect Cursor to the Islamic texts MCP server Source: https://qurangallery.com/docs/mcp/cursor > Add the Quran Gallery MCP server to Cursor through mcp.json: search classical Arabic books with printed-page citations, no key needed. **No account, no sign-in, no key.** Cursor reads MCP servers from `mcp.json`. ## Steps 1. Open `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` in a project (that project only). Create the file if it does not exist. 2. Add the server: ```json { "mcpServers": { "quran-gallery": { "url": "https://qurangallery.com/mcp/shamela" } } } ``` 3. Save. Cursor lists MCP servers on its **Customize** page; `quran-gallery` should show as enabled with its tools. 4. Open a chat in Agent mode and ask a question that needs a text (below). The [/mcp page](https://qurangallery.com/mcp) also has a one-click install button for Cursor. ## First prompt to try > _Find the hadith «إنما الأعمال بالنيات» in the primary collections and tell me which book, edition, volume and page it is printed on. Quote the Arabic exactly._ Your assistant should call `shamela_search_library` (or `search` then `fetch`). The hits include **صحيح البخاري, ط السلطانية, page 1/6**, with a link to that page in the Maktabah reader. If it answers from memory instead, say: _"Use the Quran Gallery library tool and quote what it returns."_ Search queries must be in Arabic; your assistant translates English terms first ([details](https://qurangallery.com/docs/mcp/search-library)). Ready-made prompts for takhrīj, citing a passage and comparing tafsir are listed in [the full tool surface](https://qurangallery.com/docs/mcp/tools). ## Troubleshooting - **429, "Keyless limit reached".** Keyless use allows 10 tool calls a minute and 200 a day per IP address. Wait for the `Retry-After` header, or add a free key (below). See [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). - **503.** The server or the library behind it is briefly unavailable. Retry after the `Retry-After` header; if the client lists zero tools, wait a minute and reconnect. - **The tools do not appear, or a tool you expect is missing.** Toggle the server off and on in Cursor’s MCP list, or restart Cursor; the tool list is cached per session. - **Connection fails immediately.** The endpoint is `/mcp/shamela`; the bare `/mcp` is a web page, not the server. ## Optional: a free key for higher limits A key is never required. A free key raises the limit to 60 calls a minute and lifts the keyless page-range caps. Create one on the **Developers** page of your Quran Gallery account ([how keys work](https://qurangallery.com/docs/accounts/api-keys)), then send it as a bearer token. Add a `headers` entry: ```json { "mcpServers": { "quran-gallery": { "url": "https://qurangallery.com/mcp/shamela", "headers": { "Authorization": "Bearer qg_sk_your_key_here" } } } } ``` Keep a file that holds a key out of git. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Add the Islamic library MCP server to Claude Code](https://qurangallery.com/docs/mcp/claude-code) - [Add the Islamic library MCP server to VS Code](https://qurangallery.com/docs/mcp/vscode) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Add the Islamic library MCP server to VS Code Source: https://qurangallery.com/docs/mcp/vscode > Add the Quran Gallery MCP server to VS Code with mcp.json, no key needed, and search classical Arabic books with printed-page citations in chat. **No account, no sign-in, no key.** VS Code reads MCP servers from an `mcp.json` file. ## Steps 1. In your workspace, create `.vscode/mcp.json`. (Or run **MCP: Add Server** from the Command Palette and follow the guided flow, choosing the HTTP type and the URL below.) 2. Add the server: ```json { "servers": { "quran-gallery": { "type": "http", "url": "https://qurangallery.com/mcp/shamela" } } } ``` 3. Save. VS Code shows a **Start** action above the server entry; start it and trust it when asked. 4. Open the chat view in agent mode, check that _quran-gallery_ appears in the tools list, and ask a question (below). For the same setup through GitHub Copilot, see [GitHub Copilot in VS Code](https://qurangallery.com/docs/mcp/copilot). The [/mcp page](https://qurangallery.com/mcp) has a one-click VS Code install button. ## First prompt to try > _Find the hadith «إنما الأعمال بالنيات» in the primary collections and tell me which book, edition, volume and page it is printed on. Quote the Arabic exactly._ Your assistant should call `shamela_search_library` (or `search` then `fetch`). The hits include **صحيح البخاري, ط السلطانية, page 1/6**, with a link to that page in the Maktabah reader. If it answers from memory instead, say: _"Use the Quran Gallery library tool and quote what it returns."_ Search queries must be in Arabic; your assistant translates English terms first ([details](https://qurangallery.com/docs/mcp/search-library)). Ready-made prompts for takhrīj, citing a passage and comparing tafsir are listed in [the full tool surface](https://qurangallery.com/docs/mcp/tools). ## Troubleshooting - **429, "Keyless limit reached".** Keyless use allows 10 tool calls a minute and 200 a day per IP address. Wait for the `Retry-After` header, or add a free key (below). See [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). - **503.** The server or the library behind it is briefly unavailable. Retry after the `Retry-After` header; if the client lists zero tools, wait a minute and reconnect. - **The tools do not appear, or a tool you expect is missing.** Restart the server from the `mcp.json` editor (the inline Restart action) or run **MCP: List Servers** and restart it. - **Connection fails immediately.** The endpoint is `/mcp/shamela`; the bare `/mcp` is a web page, not the server. ## Optional: a free key for higher limits A key is never required. A free key raises the limit to 60 calls a minute and lifts the keyless page-range caps. Create one on the **Developers** page of your Quran Gallery account ([how keys work](https://qurangallery.com/docs/accounts/api-keys)), then send it as a bearer token. Add a `headers` entry to the server: ```json { "servers": { "quran-gallery": { "type": "http", "url": "https://qurangallery.com/mcp/shamela", "headers": { "Authorization": "Bearer qg_sk_your_key_here" } } } } ``` Do not commit a workspace file that contains a key. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Connect Cursor to the Islamic texts MCP server](https://qurangallery.com/docs/mcp/cursor) - [Connect Gemini CLI to the Islamic texts MCP server](https://qurangallery.com/docs/mcp/gemini-cli) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Connect Gemini CLI to the Islamic texts MCP server Source: https://qurangallery.com/docs/mcp/gemini-cli > Add the Quran Gallery MCP server to Gemini CLI with one command or settings.json: classical Arabic books, printed-page citations, no key needed. **No account, no sign-in, no key.** One command: ```bash gemini mcp add --transport http quran-gallery https://qurangallery.com/mcp/shamela ``` ## Steps 1. Run the command above inside your project folder. It writes the server to `.gemini/settings.json` in that folder. Add `--scope user` to write it to `~/.gemini/settings.json`, so it works in every project. 2. Run `gemini mcp list`. `quran-gallery` should show as **Connected**. 3. Start `gemini` and ask a question that needs a text (below). Gemini CLI asks before each tool call the first time. Approve it. The answer gives the edition, volume and printed page, and a link to the page in the Maktabah reader. The link has the form `https://qurangallery.com/maktabah/book/{bookId}/{pageId}`, for example `qurangallery.com/maktabah/book/1681/10` for Sahih al-Bukhari, so it opens the page on Quran Gallery: To remove it: `gemini mcp remove quran-gallery`. ## Or edit settings.json yourself Add the server to `~/.gemini/settings.json` (all projects) or `.gemini/settings.json` (one project): ```json { "mcpServers": { "quran-gallery": { "url": "https://qurangallery.com/mcp/shamela", "type": "http" } } } ``` This is what the command writes. `"httpUrl": "https://qurangallery.com/mcp/shamela"` works too. Keep `"type": "http"` next to `url`, because older Gemini CLI versions read a bare `url` as an SSE endpoint. ## First prompt to try > _Find the hadith «إنما الأعمال بالنيات» in the primary collections and tell me which book, edition, volume and page it is printed on. Quote the Arabic exactly._ Your assistant should call `shamela_search_library` (or `search` then `fetch`). The hits include **صحيح البخاري, ط السلطانية, page 1/6**, with a link to that page in the Maktabah reader. If it answers from memory instead, say: _"Use the Quran Gallery library tool and quote what it returns."_ Search queries must be in Arabic; your assistant translates English terms first ([details](https://qurangallery.com/docs/mcp/search-library)). Ready-made prompts for takhrīj, citing a passage and comparing tafsir are listed in [the full tool surface](https://qurangallery.com/docs/mcp/tools). ## Troubleshooting - **400, "schema at properties.transmission.items.items must be a boolean or an object".** An earlier version of our server sent a tool schema the Gemini API rejected, and every prompt failed with this error. It is fixed. Restart `gemini`. - **429, "Keyless limit reached".** Keyless use allows 10 tool calls a minute and 200 a day per IP address. Wait for the `Retry-After` header, or add a free key (below). See [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). - **503.** The server or the library behind it is briefly unavailable. Retry after the `Retry-After` header. If the client lists zero tools, wait a minute and reconnect. - **The tools do not appear, or a tool you expect is missing.** Restart `gemini` and run `/mcp list`. The tool list is read at startup. - **`gemini mcp list` shows the server as Disabled, or "Gemini CLI is not running in a trusted directory".** Gemini CLI switches off MCP servers in a folder you have not trusted, and `gemini mcp remove` cannot find them there either. Open `gemini` once in that folder and trust it. In a script or with `-p`, you can pass `--skip-trust` instead. - **Connection fails immediately.** The endpoint is `/mcp/shamela`. The bare `/mcp` is a web page, not the server. ## Optional: a free key for higher limits A key is never required. A free key raises the limit to 60 calls a minute and lifts the keyless page-range caps. Create one on the **Developers** page of your Quran Gallery account ([how keys work](https://qurangallery.com/docs/accounts/api-keys)), then send it as a bearer token. Add it with `--header` (or `-H`): ```bash gemini mcp add --transport http quran-gallery \ https://qurangallery.com/mcp/shamela \ --header "Authorization: Bearer qg_sk_your_key_here" ``` In `settings.json`, the same key goes in a `headers` object next to `url`: ```json { "mcpServers": { "quran-gallery": { "url": "https://qurangallery.com/mcp/shamela", "type": "http", "headers": { "Authorization": "Bearer qg_sk_your_key_here" } } } } ``` Keep the key out of any settings file you commit. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Add the Islamic library MCP server to VS Code](https://qurangallery.com/docs/mcp/vscode) - [Use the Islamic library MCP server with GitHub Copilot](https://qurangallery.com/docs/mcp/copilot) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Use the Islamic library MCP server with GitHub Copilot Source: https://qurangallery.com/docs/mcp/copilot > Give GitHub Copilot agent mode in VS Code the Quran Gallery MCP server: classical Arabic books with printed-page citations, no account or key. **No account, no sign-in, no key.** GitHub Copilot in VS Code uses the same MCP configuration as VS Code itself, and calls MCP tools from **agent mode**. ## Steps 1. Create `.vscode/mcp.json` in your workspace (or run **MCP: Add Server** from the Command Palette): ```json { "servers": { "quran-gallery": { "type": "http", "url": "https://qurangallery.com/mcp/shamela" } } } ``` 2. Start the server from the **Start** action above its entry and trust it. 3. Open the Copilot chat view and switch to **Agent** mode. Open the tools picker and confirm the _quran-gallery_ tools are ticked. 4. Ask a question that needs a text (below). Organisation policy can disable MCP servers for Copilot; if the tools never appear, ask your administrator whether MCP is allowed. Full steps and key setup are on the [VS Code page](https://qurangallery.com/docs/mcp/vscode). ## First prompt to try > _Find the hadith «إنما الأعمال بالنيات» in the primary collections and tell me which book, edition, volume and page it is printed on. Quote the Arabic exactly._ Your assistant should call `shamela_search_library` (or `search` then `fetch`). The hits include **صحيح البخاري, ط السلطانية, page 1/6**, with a link to that page in the Maktabah reader. If it answers from memory instead, say: _"Use the Quran Gallery library tool and quote what it returns."_ Search queries must be in Arabic; your assistant translates English terms first ([details](https://qurangallery.com/docs/mcp/search-library)). Ready-made prompts for takhrīj, citing a passage and comparing tafsir are listed in [the full tool surface](https://qurangallery.com/docs/mcp/tools). ## Troubleshooting - **429, "Keyless limit reached".** Keyless use allows 10 tool calls a minute and 200 a day per IP address. Wait for the `Retry-After` header, or add a free key (below). See [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). - **503.** The server or the library behind it is briefly unavailable. Retry after the `Retry-After` header; if the client lists zero tools, wait a minute and reconnect. - **The tools do not appear, or a tool you expect is missing.** Open the tools picker and make sure the server is ticked; restart the server from **MCP: List Servers**. - **Connection fails immediately.** The endpoint is `/mcp/shamela`; the bare `/mcp` is a web page, not the server. ## Optional: a free key for higher limits A key is never required. A free key raises the limit to 60 calls a minute and lifts the keyless page-range caps. Add a `headers` entry exactly as shown on the [VS Code page](https://qurangallery.com/docs/mcp/vscode). Create one on the **Developers** page of your Quran Gallery account ([how keys work](https://qurangallery.com/docs/accounts/api-keys)). ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Connect Gemini CLI to the Islamic texts MCP server](https://qurangallery.com/docs/mcp/gemini-cli) - [Connect any MCP client to the Shamela library](https://qurangallery.com/docs/mcp/connect-any-mcp-client) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Connect any MCP client to the Shamela library Source: https://qurangallery.com/docs/mcp/connect-any-mcp-client > Connect the Shamela MCP server (Streamable HTTP, no key) from the TypeScript SDK, mcp-remote, MCP Inspector, curl or Python; avoid three setup traps. The server is a plain remote MCP endpoint. Any client that speaks the Streamable HTTP transport can use it, whether or not it appears in a list of supported apps. The ready-made steps for ChatGPT, Claude, Claude Code, Gemini CLI, Cursor, VS Code and Copilot are in [Getting started](https://qurangallery.com/docs/mcp/getting-started). This page is for everything else: SDKs, scripts, desktop apps that only run local programs, and debugging a connection that will not come up. ``` https://qurangallery.com/mcp/shamela ``` ## What the endpoint is | Property | Value | | ----------------- | ------------------------------------------------------------------------------------------------------------------------------- | | Transport | Streamable HTTP. Every message is a `POST` with a JSON-RPC body | | Not supported | SSE-only clients (the old HTTP+SSE transport), stdio, `GET` event streams. A `GET` with `Accept: text/event-stream` returns 405 | | State | None. The server issues no session id, so each request stands alone | | Replies | A single JSON object, `Content-Type: application/json` | | Protocol versions | `2025-11-25` and `2025-06-18` | | Authentication | None. An optional `Authorization: Bearer qg_sk_…` raises the limits | | CORS | Open (`Access-Control-Allow-Origin: *`), so a browser client can call it | A `GET` with `Accept: application/json` returns a small JSON description of the endpoint, which is handy for checking that a URL is the right one. ## The three traps **1. Use the full path.** The endpoint is `/mcp/shamela`. The address `/mcp` is a web page. A `POST` to it is redirected (308) to `/mcp/`, which is the web page. That address answers a `POST` with 405 Method Not Allowed, or with HTML if the client turns the request into a `GET`, so the client never receives a JSON-RPC reply. **2. Do not leave a placeholder in the `Authorization` header.** The server checks any bearer token it is sent, so a keyless connection that carries a header such as `Bearer qg_sk_your_key_here` is rejected with HTTP 401 and `-32001`, "That API key is not valid." Either send a real key or send no `Authorization` header at all. A completely empty header is ignored, but `Bearer` with nothing after it, which is what an unset environment variable in a header template produces, is rejected with the same 401. **3. Use a client that speaks Streamable HTTP.** A client configured for the older SSE transport will get a 405 on its first request. Switch it to `http` or `streamable-http`, or put `mcp-remote` in front of it (below). ## TypeScript or JavaScript SDK With the official `@modelcontextprotocol/sdk` package: ```typescript import { Client } from '@modelcontextprotocol/sdk/client/index.js'; import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js'; const client = new Client({ name: 'example', version: '1.0.0' }); await client.connect( new StreamableHTTPClientTransport(new URL('https://qurangallery.com/mcp/shamela')) ); const { tools } = await client.listTools(); console.log(tools.length, tools[0].name); // 15 shamela_search_library const result = await client.callTool({ name: 'shamela_search_library', arguments: { query: 'إنما الأعمال بالنيات', scope: 'hadith-primary' } }); const hit = result.structuredContent.passages[0]; console.log(hit.book, hit.printedPage, hit.matchedIn, hit.sourceUrl); await client.close(); ``` This snippet was run on 2026-11-01 with `@modelcontextprotocol/sdk` 1.32.2, the latest 1.x release that day; it printed `14 shamela_search_library` and the first passage's book, printed page `5/ 305`, `body` and source link. That run was before `shamela_verify_quote` was added; the endpoint now lists 15 tools, so the same code now prints `15 shamela_search_library`. (The SDK also publishes a 2.x line as `@modelcontextprotocol/client`; the code above is the 1.x API.) The four curated tools declare an `outputSchema`, so `structuredContent` validates against it and `passages` is typed. To send a key, pass headers to the transport: `new StreamableHTTPClientTransport(url, { requestInit: { headers: { Authorization: 'Bearer qg_sk_your_key_here' } } })`, replacing the placeholder with your own key. ## Desktop apps that only run local programs: mcp-remote Some clients can launch a local command but cannot connect to a URL. `mcp-remote` is a small bridge that runs locally and talks to the remote server for them. For Claude Desktop's configuration file, or any client that uses the same `mcpServers` format: ```json { "mcpServers": { "qurangallery-shamela": { "command": "npx", "args": ["-y", "mcp-remote", "https://qurangallery.com/mcp/shamela"] } } } ``` It needs Node.js installed. Claude Desktop can also add the URL directly as a custom connector, which needs no bridge: see [Claude](https://qurangallery.com/docs/mcp/claude). ## MCP Inspector To see the raw tool list and call tools by hand: ```bash npx @modelcontextprotocol/inspector --cli https://qurangallery.com/mcp/shamela \ --transport http --method tools/list ``` The CLI form above was run on 2026-11-01 with `@modelcontextprotocol/inspector` 2.13.0 and returned the tool list. For the web interface, run `npx @modelcontextprotocol/inspector` with no arguments, choose the transport **Streamable HTTP** and paste the URL. ## curl, or any HTTP library There is nothing to negotiate. Send the JSON-RPC message with both content types in `Accept`: ```bash curl -s https://qurangallery.com/mcp/shamela \ -H 'Content-Type: application/json' \ -H 'Accept: application/json, text/event-stream' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' ``` The same call from Python's standard library: ``` import json, urllib.request def call(method, params=None, id=1): req = urllib.request.Request( 'https://qurangallery.com/mcp/shamela', data=json.dumps({'jsonrpc': '2.0', 'id': id, 'method': method, 'params': params or {}}).encode(), headers={'Content-Type': 'application/json', 'Accept': 'application/json, text/event-stream'}, ) return json.load(urllib.request.urlopen(req)) tools = call('tools/list')['result']['tools'] hit = call('tools/call', { 'name': 'shamela_search_library', 'arguments': {'query': 'إنما الأعمال بالنيات', 'scope': 'hadith-primary'}, })['result']['structuredContent']['passages'][0] print(len(tools), hit['book'], hit['printedPage'], hit['matchedIn']) ``` A message that expects no reply, such as `notifications/initialized`, is answered with HTTP 202 and an empty body. ## Limits that matter to a script Keyless use allows 10 tool calls a minute and 200 a day per IP address. Connecting and listing tools are not tool calls, so keyless they do not use that allowance; they have a flood ceiling of 60 requests a minute per IP. With a key they count toward the key's 60. A 429 carries `Retry-After` and `RateLimit-*` headers. With a free key the allowance is 60 tool calls a minute. If the key service cannot be reached at that moment, a request that carries a key gets HTTP 503, `-32002` and `Retry-After: 30`: retry it, and do not read it as a bad key. The full table is in [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). ## If a client connects but shows no tools - The URL ends in `/mcp/shamela`, not `/mcp`. - The client is on Streamable HTTP, not SSE. - It asked for the list after the connection was established. Most clients have a refresh action for the tool list. - The `Authorization` header is either a real key or absent. - The library service behind the server may be briefly unreachable. `tools/list` then returns no tools, with HTTP 200, rather than listing tools that would fail. Wait a minute and reconnect. - Some clients cap the number of tools they will load across all servers. There are 15 here; turn off servers you do not need. ## Related - [What the server is, and what it is not](https://qurangallery.com/docs/mcp/shamela-mcp-server) - [Frequently asked questions](https://qurangallery.com/docs/mcp/faq) - [Tool reference](https://qurangallery.com/docs/mcp/tools) ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Use the Islamic library MCP server with GitHub Copilot](https://qurangallery.com/docs/mcp/copilot) - [MCP API key and bearer token setup for each client](https://qurangallery.com/docs/mcp/bearer-token-setup) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: MCP API key and bearer token setup for each client Source: https://qurangallery.com/docs/mcp/bearer-token-setup > Get a free Quran Gallery key and send it as a bearer token from Claude Code, Cursor, VS Code, Gemini CLI or mcp-remote, then test it with one curl call. A key is optional. Without one, every client in this section works on the keyless tier. A free key raises the limit and lifts the page-range caps. This page shows, for each client, where the key goes, how to test it, and what the two errors you are most likely to meet look like. **ChatGPT does not use a key** ChatGPT's custom connector form offers OAuth or no authentication, and has no field for a bearer token. Add the server there with **No authentication** (ChatGPT). A key is for the other clients on this page and for scripts. ## 1. Get a free key 1. Sign in at [accounts.qurangallery.com](https://accounts.qurangallery.com/developers) (the Developers page; the server's own `GET` answer links to the same address). Create an account if you have none. 2. Create a key and give it a name you will recognise, such as `laptop-claude-code`. 3. Copy the full key when it is shown. It is shown once; afterwards only its first characters are visible. Keys start with `qg_sk_`. How keys are created, rotated and revoked is covered in [API keys](https://qurangallery.com/docs/accounts/api-keys). ## 2. What a key changes | | Without a key | With a free key | | ---------------------------------- | --------------------------------------------- | --------------------------------- | | Tool calls | **10 a minute and 200 a day**, per IP address | **60 requests a minute**, per key | | `shamela_read` (`unit: 'range'`) | Up to 5 pages per call | Up to 20 | | `shamela_read` (`unit: 'section'`) | Up to 10 pages per call | Up to 100 | The full table, with the `RateLimit-*` headers, is in [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). ## 3. Per-client setup In every example, `qg_sk_...` stands for your own key. Do not paste the placeholder as it is: a key that is sent is always checked, so the placeholder is refused with a 401 (see [what a 401 looks like](#what-a-401-looks-like)). Where a client can read the key from an environment variable or ask for it, that is shown instead of a literal value. The server URL is the same everywhere: ``` https://qurangallery.com/mcp/shamela ``` ### Claude Code Set the key in your shell, then register the server with `--header`. The shell expands the variable, so the key is not typed into the command: ```bash export QG_MCP_KEY='qg_sk_...' claude mcp add --transport http quran-gallery \ https://qurangallery.com/mcp/shamela \ --header "Authorization: Bearer $QG_MCP_KEY" ``` `claude mcp add` stores the header value in the Claude Code configuration for the scope you chose, so that file now holds the key. Run `claude mcp list` to confirm the server shows as connected. To go back to keyless use, run `claude mcp remove quran-gallery` and add it again without `--header`. ### Cursor In `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (one project), add `headers`. Cursor resolves `${env:NAME}` in `headers`, so the key can stay in an environment variable instead of the file: ```json { "mcpServers": { "quran-gallery": { "url": "https://qurangallery.com/mcp/shamela", "headers": { "Authorization": "Bearer ${env:QG_MCP_KEY}" } } } } ``` Start Cursor from a shell where `QG_MCP_KEY` is set, or set it for your user account, then toggle the server off and on in Cursor's MCP list. If the variable is not set when Cursor starts, the header is wrong and the server answers 401. ### VS Code Use an input, so VS Code asks for the key once and keeps it out of `.vscode/mcp.json`: ```json { "inputs": [ { "type": "promptString", "id": "qg-key", "description": "Quran Gallery API key (qg_sk_...)", "password": true } ], "servers": { "quran-gallery": { "type": "http", "url": "https://qurangallery.com/mcp/shamela", "headers": { "Authorization": "Bearer ${input:qg-key}" } } } } ``` Start the server from the **Start** action above its entry. VS Code asks for the key on the first start. According to the same VS Code reference, a server that needs an interactive input like this one is not forwarded to Copilot harness sessions, so use it in VS Code chat ([VS Code](https://qurangallery.com/docs/mcp/vscode)). ### Gemini CLI With the command, using `--header` (or `-H`): ```bash gemini mcp add --transport http quran-gallery \ https://qurangallery.com/mcp/shamela \ --header "Authorization: Bearer qg_sk_..." ``` In `settings.json`, the streaming URL is `httpUrl` and the key goes in `headers`: ```json { "mcpServers": { "quran-gallery": { "httpUrl": "https://qurangallery.com/mcp/shamela", "headers": { "Authorization": "Bearer qg_sk_..." } } } } ``` Gemini CLI writes `settings.json` in your project folder by default, or in `~/.gemini/` with `--scope user`. Either way the key is now in that file: keep it out of git ([Gemini CLI](https://qurangallery.com/docs/mcp/gemini-cli)). ### mcp-remote (Claude Desktop and other clients that run local commands) `mcp-remote` is a local bridge for clients that can start a program but cannot connect to a URL ([Connect any MCP client](https://qurangallery.com/docs/mcp/connect-any-mcp-client)). It takes the header as the argument after `--header`, and the value can read an environment variable: ```json { "mcpServers": { "quran-gallery": { "command": "npx", "args": [ "-y", "mcp-remote", "https://qurangallery.com/mcp/shamela", "--header", "Authorization:${QG_AUTH}" ], "env": { "QG_AUTH": "Bearer qg_sk_..." } } } } ``` The space inside `Bearer qg_sk_...` sits in `env` rather than in `args`, because some clients mangle a space inside an argument. The `mcp-remote` README describes this for Cursor, Codex CLI and Claude Desktop on Windows. It needs Node.js. ## 4. Test a key with one call Before blaming a client, send an `initialize` request yourself. Read the key into a shell variable first, so it does not end up in your history: ```bash read -rs QG_MCP_KEY # paste the key, press Enter curl -s -i https://qurangallery.com/mcp/shamela \ -H 'Content-Type: application/json' \ -H 'Accept: application/json, text/event-stream' \ -H "Authorization: Bearer $QG_MCP_KEY" \ -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1"}}}' ``` A valid key returns `HTTP/2 200` and a JSON body whose `serverInfo.name` is `qurangallery-shamela`, with `ratelimit-limit: 60` in the headers (the keyed limit). Run it once, not in a loop. ## 5. What the errors look like ### What a 401 looks like A key that is sent is always checked. A wrong, deleted or placeholder key is refused rather than treated as keyless. This is the real response to a placeholder key, read from the live endpoint on 2026-11-01: ``` HTTP/2 401 www-authenticate: Bearer realm="qurangallery-mcp", error="invalid_token" {"jsonrpc":"2.0","id":null,"error":{"code":-32001,"message":"That API key is not valid."}} ``` Fix it by sending the real key, or by removing the `Authorization` header altogether. A header with nothing after `Bearer`, which is what an unset environment variable in a header template produces, gets the same 401. ### What a 429 looks like A rate limit gives HTTP 429, the JSON-RPC code `-32004`, and a `retry-after` header in seconds. The bodies below are quoted from the server code, not from a live trigger, because producing a 429 means spending the keyless allowance. Keyless, the message names the limit and where to get a key: ``` {"jsonrpc":"2.0","id":null,"error":{"code":-32004,"message":"Keyless limit reached: 10 tool calls a minute per IP. A free API key raises it to 60 a minute: https://accounts.qurangallery.com/developers"}} ``` The daily limit says "200 tool calls a day" in place of the minute figure. With a key, the message is `Rate limit exceeded.` Wait for the `retry-after` seconds and try again. The other errors (403, 503) are in [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). ## 6. Key hygiene - **Never commit a key.** Keep it in your shell, a password manager or the client's secret input (the VS Code `inputs` above), and keep any config file that holds a literal key out of git. - **One key per machine or tool**, named for it, so you can delete one without breaking the others. - **If a key leaks, delete it first, then create a replacement.** A deleted key can keep working for up to a minute because verified keys are cached ([Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors)). - **Never put a key in a URL.** The server reads it only from `Authorization: Bearer`; a query parameter does nothing. - **Do not paste a key into a chat.** Your assistant does not need to see it; the client sends it. ## Related - [Getting started](https://qurangallery.com/docs/mcp/getting-started) - [Connect any MCP client](https://qurangallery.com/docs/mcp/connect-any-mcp-client) - [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors) ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Connect any MCP client to the Shamela library](https://qurangallery.com/docs/mcp/connect-any-mcp-client) - [shamela_search_library: search Arabic books with citations](https://qurangallery.com/docs/mcp/search-library) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: shamela_search_library: search Arabic books with citations Source: https://qurangallery.com/docs/mcp/search-library > Parameters and result fields of shamela_search_library, the MCP tool that returns verbatim Arabic passages with edition, page and a Maktabah link. Three parameters. It searches a named slice of the library and returns passages with their citations attached. This is one of 15 tools, and the one to try first — it is the only search that refuses to run unscoped and that tells you how it matched. For everything it cannot do, see [the full tool surface](https://qurangallery.com/docs/mcp/tools). ## Parameters | Parameter | Required | Type | Notes | | --------- | -------- | ------- | ------------------------------------------------------------------------------------------- | | `query` | yes | string | **Arabic text only.** A quoted wording works best; a topic also works. | | `scope` | **yes** | string | One of twelve names — see [Choosing a scope](https://qurangallery.com/docs/mcp/scopes). This tool will not run without one. | | `limit` | no | integer | Passages to return, 1–10. Defaults to 5. | `scope` being required is the single most important thing about this tool, and the [scopes page](https://qurangallery.com/docs/mcp/scopes) explains why in full: unscoped, this library ranks by how often a word appears, which buries the books you actually want. ### The query must be in Arabic The library is Arabic and so is the index. A query with no Arabic words is **rejected outright** — it is a tool error (`isError`), not an empty result, and the message tells the model what to do: > _The library is Arabic, so the query must contain Arabic words. Translate the search terms into Arabic and call again, for example «إنما الأعمال بالنيات» for "actions are judged by intentions"._ That applies to English (`prayer intention`) and to transliteration (`innama al-a'mal bil-niyyat`) alike. If your assistant is working from an English question, it has to translate the search terms into Arabic before calling this tool. Nothing translates them for it. The unscoped `search` tool behaves the same way. **Diacritics do not matter.** `انما الاعمال بالنيات` and `إِنَّمَا الْأَعْمَالُ بِالنِّيَّاتِ` return the same results, so there is no need to vowel a query or strip vowels from one you copied. ## What comes back A result object with the passages and some context about the search itself. The shape is published as the tool's `outputSchema` in `tools/list`, so a client can read it without this page: | Field | Meaning | | ----------------- | --------------------------------------------------------------------------------------------------------- | | `passages` | The hits, described below. | | `relaxedToTokens` | `true` when the exact phrase was not found and a looser word search answered instead. | | `scope` | The scope that was searched, echoed back. | | `booksSearched` | How many books were in that scope. | | `totalMatches` | How many pages matched in total, of which you received up to `limit`. Can be `null` on the fallback pass. | | `note` | Present only when the result needs a caveat — see below. | Each entry in `passages`: | Field | Meaning | | -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | | `book` | Title **including the printing**, e.g. `صحيح البخاري - ط السلطانية`. | | `author` | The author's name. | | `authorDied` | Year of death in AH, or `null` if unknown. | | `printedPage` | Volume and page as that printing paginates it, e.g. `1/ 6`. | | `arabic` | The passage itself, verbatim, with all markup removed. | | `matchedIn` | `body`, `footnote`, `both`, or `unknown` — where the words were found. | | `matchQuality` | How the match was made, e.g. `exact_phrase`. | | `bookId`, `pageId` | The page's Shamela identifiers. | | `edition`, `editor`, `publisher` | Bibliographic data for that printing. **Present only when the library has them**; never guessed. | | `sourceUrl` | `https://qurangallery.com/maktabah/book/{bookId}/{pageId}`, the same page in the Maktabah reader. Credit al-Maktaba al-Shamela when you quote. | ## The two passes Search runs the strict pass first, then falls back: 1. **Exact phrase.** Your words, in order, as written. 2. **Words together**, if the phrase found nothing — the same words anywhere on a page, in any order. You are always told which one answered, via `relaxedToTokens`. That flag is not bookkeeping; it changes what the result means, and [Reading a result](https://qurangallery.com/docs/mcp/reading-results) covers how. The fallback exists because transmitted wording varies between printings. Searching `إنما الأعمال بالنيات` as a strict phrase finds one book and misses Sahih al-Bukhari, which prints `بالنية`. The looser pass finds al-Bukhari, Ibn Majah, Abu Dawud and al-Nasa'i. Running only the strict pass would turn a famous, well-attested hadith into a "not found" — which in this subject is its own kind of false claim. ## A worked example Searching `إنما الأعمال بالنيات` in the `hadith-primary` scope returns, among others: | Field | Value | | -------------- | ------------------------------------------------------------------------------- | | `book` | صحيح البخاري - ط السلطانية | | `author` | البخاري | | `authorDied` | 256 | | `printedPage` | `1/ 6` | | `matchedIn` | `body` | | `matchQuality` | `exact_phrase` | | `arabic` | …عُمَرَ بْنَ الْخَطَّابِ ﵁ عَلَى الْمِنْبَرِ، قَالَ: سَمِعْتُ رَسُولَ اللهِ ﷺ، يَقُولُ: «إِنَّمَا الْأَعْمَالُ بِالنِّيَّاتِ… | With `booksSearched: 8` and `relaxedToTokens: false` — eight edition-pinned collections, and the exact phrase was found. The leading `…` is deliberate: it marks a passage that begins mid-sentence, because the excerpt is a window onto the page rather than the whole page. ## Excerpt length Passages are capped at roughly 1,600 Arabic characters and truncated with a trailing `…` if longer. This tool returns quotations, not books. If you need the whole page rather than the matching window, take the `bookId` and `pageId` from a result and pass them to `shamela_read` (`unit: 'page'`). `shamela_read` (`unit: 'range'`) and `shamela_read` (`unit: 'section'`) read further — see [the full tool surface](https://qurangallery.com/docs/mcp/tools). ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [MCP API key and bearer token setup for each client](https://qurangallery.com/docs/mcp/bearer-token-setup) - [MCP tools for classical Arabic books: the full list](https://qurangallery.com/docs/mcp/tools) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: MCP tools for classical Arabic books: the full list Source: https://qurangallery.com/docs/mcp/tools > The 15 read-only tools of the Quran Gallery MCP server, plus 3 prompts and a resource: search, reading, citations, isnad, narrators, tafsir, catalogue. Fifteen tools, the same for every client, all read-only. Four are ours (`shamela_search_library`, `search`, `fetch`, `shamela_verify_quote`); eleven come from the library server itself. Nine of those eleven are routers: each takes one mode argument (`match`, `kind`, `unit` or `mode`) that selects what it does, and the tables below list every mode on its own row. `search` and `fetch` are the standard pair ChatGPT deep research requires, and every client sees them. Alongside the tools the server offers three prompts and one resource. Your client lists them for you. This page is a map, so you know what exists and which one to reach for — every tool carries its own parameter documentation in the schema your client already received. > **Start with `shamela_search_library`.** It requires a scope and reports how it matched, which is the right default for "find me this text." Reach for the raw `shamela_*` tools when you need something it cannot do. All queries must be in Arabic. ## Searching | Tool | Use it when | | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `shamela_search_library` | **The default.** Scoped search with citations and match reporting. See [its reference](https://qurangallery.com/docs/mcp/search-library). | | `search` | **Quick generic entry; the pair ChatGPT deep research needs.** One query across the whole library; returns `results` of `id`, `title`, `url`. Details below. | | `shamela_search` (`match: 'words'`) | You want the raw page search, including **unscoped**. Ranks by term frequency — read the warning below. | | `shamela_search` (`match: 'phrase'`) | You need an exact consecutive phrase, or proximity matching. | | `shamela_search` (`match: 'exact'`) | Diacritics (التشكيل) and hamza/alef forms must match exactly. | | `shamela_search` (`match: 'boolean'`) | You need OR and NOT, not just AND. | | `shamela_find` (`kind: 'heading'`) | You are looking for a chapter or section heading, not body text. | | `shamela_lookup_hadith` (`mode: 'search'`) | You have a hadith's wording and want the collections carrying it. | | `shamela_search` (`match: 'batch'`) | Up to 24 scoped searches in one call, merged and deduplicated. | | `shamela_survey_topic` | Before searching: how much does the library hold on a term, and on which shelves, centuries, books and authors? Counts the word as written by default; `mode: 'morphological'` counts every form of its root. | > **`shamela_search` (`match: 'words'`) will run unscoped, and usually should not.** Ranking is by term frequency, which knows nothing about scholarly authority. Unscoped, `التيمم` returns 26,098 hits topped by a 710 AH poetry anthology, and `إنما الأعمال بالنيات` returns 6,815 hits in which Sahih al-Bukhari never appears. Pass a scope, or use `shamela_search_library`. ## `search` and `fetch` ChatGPT deep research and company knowledge expect two tools with fixed shapes. They are listed to every client, as the standard pair. Both are a quick, generic entry: one argument, unscoped. For hadith, tafsir or fiqh prefer `shamela_search_library`, and use `shamela_search` for a scope, an exact phrase or paging. | Tool | Input | Returns | | -------- | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | | `search` | `query` (Arabic) | `results`: up to 10 of `{ id, title, url }`. `id` is `bookId:pageId`; `url` is the page in the Maktabah reader. | | `fetch` | `id` from a `search` result | `{ id, title, text, url, metadata }`. The `text` keeps the main text and the footnote apart, with the footnote under its own label. | Both return structured content and the same JSON as text. `search` is unscoped, so it ranks like `shamela_search` (`match: 'words'`); prefer `shamela_search_library` when your client does not need this shape. ## Reading | Tool | Use it when | | ----------------------------------- | ----------------------------------------------------------------------------------- | | `shamela_read` (`unit: 'page'`) | You have a `book_id` + `page_id` and want the full page — body, footnotes, and all. | | `shamela_read` (`unit: 'range'`) | You need up to 20 consecutive pages. | | `shamela_read` (`unit: 'section'`) | You want every page under one chapter heading. | | `shamela_read` (`unit: 'toc'`) | The table of contents of a book. | | `shamela_read` (`unit: 'parts'`) | The volumes of a multi-volume work. | | `shamela_read` (`unit: 'services'`) | Which verses, hadith keys and isnād markers a page carries. | ## Citations | Tool | Use it when | | --------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `shamela_cite` (`mode: 'printed_page'`) | **Verifying a citation.** Turn «vol. 4, p. 405» into the page ids that carry it. | | `shamela_verify_quote` | **Checking a quotation.** Does this Arabic wording occur in the library, and where: book, printed page, main text or footnote. See [Verify an AI-quoted passage](https://qurangallery.com/docs/mcp/verify-a-quotation). | | `shamela_find` (`kind: 'work'`) | Resolve a cited title (and author, and edition) to a catalogue entry — or refuse. | | `shamela_cite` (`mode: 'citation'`) | Format a citation in one of three styles. | | `shamela_find` (`kind: 'name'`) | Disambiguate an Arabic name fragment to book or author ids. | Those first two are the reason this surface is worth having. A claim like _"al-Mughni, 4/405"_ can be checked rather than believed: resolve the work, resolve the page, read it. ## Isnād and narrators | Tool | Use it when | | ----------------------------------------------- | --------------------------------------------------------------- | | `shamela_lookup_rijal` (`mode: 'narrators'`) | Find a narrator by name — 18,989 of them, death years 2–774 AH. | | `shamela_lookup_rijal` (`mode: 'narrator'`) | The full dossier: lineage, death year, ṭabaqa, gradings. | | `shamela_lookup_rijal` (`mode: 'isnad_search'`) | Search 45,220 indexed chains across ten hadith books. | | `shamela_lookup_rijal` (`mode: 'isnad'`) | The chain(s) printed on one page, with narrator names resolved. | | `shamela_lookup_hadith` (`mode: 'sources'`) | Every collection recording the same hadith, by its shared key. | ## Qur'an and tafsir | Tool | Use it when | | -------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `shamela_lookup_quran` (`mode: 'search'`) | Search the 6,236 verses (Hafs from Asim). | | `shamela_lookup_quran` (`mode: 'aya'`) | Fetch verses by number, or by surah + ayah. | | `shamela_lookup_tafsir` (`mode: 'coverage'`) | Which tafsir books comment on this verse, with the page of each, and an honest status for the books the index does not cover. `downloaded_only: false` adds books whose text is not on the server. | | `shamela_lookup_tafsir` (`mode: 'texts'`) | The actual commentary texts for one verse, across sources, in one call. | ## Catalogue | Tool | Use it when | | ---------------------------------------- | ------------------------------------------------------------------ | | `shamela_find` (`kind: 'book'`) | Find books by name, author, or bibliographic description. | | `shamela_find` (`kind: 'author'`) | Find authors by name or biography. | | `shamela_get_details` (`kind: 'book'`) | Full metadata for one book. | | `shamela_get_details` (`kind: 'author'`) | Full metadata for one author, optionally with their books. | | `shamela_find` (`kind: 'category'`) | All 41 categories with book counts. | | `shamela_find` (`kind: 'period'`) | Filter the catalogue by period, AND-combining constraints. | | `shamela_get_brief` | The library server's own operating brief for programmatic callers. | ## Prompts Ready-made prompts your client may list. Each is English text that tells the model to answer in your language. | Prompt | Arguments | What it does | | ---------------- | --------------- | -------------------------------------------------------------------------------------------------------------------- | | `takhrij_hadith` | `text` | Locates a hadith across the collections with its isnād, and never grades it. See [Hadith takhrij](https://qurangallery.com/docs/mcp/hadith-takhrij). | | `cite_passage` | `text` | Finds a passage and cites it with edition, volume and page. | | `compare_tafsir` | `surah`, `ayah` | Compares what the available tafsir books say on one verse. | ## Resource `qurangallery://grounding-rules` is a `text/markdown` resource holding the citation contract. See [Grounding rules](https://qurangallery.com/docs/mcp/grounding-rules). ## What is not exposed Three of the library server's tools are withheld, and not because they are powerful. They report on **the machine the server runs on**, so a remote caller would be reading facts about our infrastructure while believing they were reading facts about a library: - `shamela_list_downloaded_books` — what is downloaded on the host. Use `shamela_find` (`kind: 'book'`), which reads the catalogue, or `shamela_get_details` (`kind: 'book'`), which says whether a book's text is on the server. - `shamela_check_health` — server version and internal diagnostics. - `shamela_get_guide` — the user guide for the Shamela **desktop extension**, describing an interface you do not have. Nothing about the corpus is withheld. ## Old tool names Library server 1.4.0 folded 39 tools into nine routers. The old names still work, unlisted, and the result carries `_meta.deprecated_alias` naming the new tool. They are removed only after they have had no calls for 14 days. The old name maps to the new tool and the mode value to send: | Old name | Now | | ------------------------------ | ------------------------------------------------------------------- | | `shamela_books_by_period` | `shamela_find` (`kind: 'period'`) | | `shamela_brief` | `shamela_get_brief` | | `shamela_get_author` | `shamela_get_details` (`kind: 'author'`) | | `shamela_get_aya` | `shamela_lookup_quran` (`mode: 'aya'`) | | `shamela_get_book` | `shamela_get_details` (`kind: 'book'`) | | `shamela_get_book_parts` | `shamela_read` (`unit: 'parts'`) | | `shamela_get_book_section` | `shamela_read` (`unit: 'section'`) | | `shamela_get_books_for_hadith` | `shamela_lookup_hadith` (`mode: 'sources'`) | | `shamela_get_citation` | `shamela_cite` (`mode: 'citation'`) | | `shamela_get_isnad` | `shamela_lookup_rijal` (`mode: 'isnad'`) | | `shamela_get_narrator` | `shamela_lookup_rijal` (`mode: 'narrator'`) | | `shamela_get_page` | `shamela_read` (`unit: 'page'`) | | `shamela_get_page_services` | `shamela_read` (`unit: 'services'`) | | `shamela_get_pages_range` | `shamela_read` (`unit: 'range'`) | | `shamela_get_tafseer_of_aya` | `shamela_lookup_tafsir` (`mode: 'coverage'`) | | `shamela_get_tafseer_texts` | `shamela_lookup_tafsir` (`mode: 'texts'`) | | `shamela_get_toc` | `shamela_read` (`unit: 'toc'`) | | `shamela_guide` | `shamela_get_guide` | | `shamela_health` | `shamela_check_health` | | `shamela_list_books_by_period` | `shamela_find` (`kind: 'period'`) | | `shamela_list_categories` | `shamela_find` (`kind: 'category'`) | | `shamela_list_tafsirs_for_aya` | `shamela_lookup_tafsir` (`mode: 'coverage'`) | | `shamela_recon` | `shamela_survey_topic` (`root` → `term`) | | `shamela_resolve` | `shamela_find` (`kind: 'name'`) | | `shamela_resolve_name` | `shamela_find` (`kind: 'name'`) | | `shamela_resolve_printed_page` | `shamela_cite` (`mode: 'printed_page'`) | | `shamela_resolve_work` | `shamela_find` (`kind: 'work'`) | | `shamela_root_stats` | `shamela_survey_topic` (`mode: 'morphological'`) (`root` → `term`) | | `shamela_search_authors` | `shamela_find` (`kind: 'author'`) | | `shamela_search_batch` | `shamela_search` (`match: 'batch'`) (`probes` → `queries`) | | `shamela_search_books` | `shamela_find` (`kind: 'book'`) | | `shamela_search_boolean` | `shamela_search` (`match: 'boolean'`) | | `shamela_search_exact` | `shamela_search` (`match: 'exact'`) | | `shamela_search_hadith` | `shamela_lookup_hadith` (`mode: 'search'`) | | `shamela_search_isnad` | `shamela_lookup_rijal` (`mode: 'isnad_search'`) | | `shamela_search_narrators` | `shamela_lookup_rijal` (`mode: 'narrators'`) | | `shamela_search_pages` | `shamela_search` (`match: 'words'`) | | `shamela_search_phrase` | `shamela_search` (`match: 'phrase'` or `'near'`) (`mode` → `match`) | | `shamela_search_quran` | `shamela_lookup_quran` (`mode: 'search'`) | | `shamela_search_titles` | `shamela_find` (`kind: 'heading'`) | Prefer the new names, and send the mode argument shown in the second column. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [shamela_search_library: search Arabic books with citations](https://qurangallery.com/docs/mcp/search-library) - [Use the Shamela MCP server from Python, LangChain and agents](https://qurangallery.com/docs/mcp/use-with-langchain-and-agents) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Use the Shamela MCP server from Python, LangChain and agents Source: https://qurangallery.com/docs/mcp/use-with-langchain-and-agents > Call the Quran Gallery MCP server from Python with langchain-mcp-adapters and LlamaIndex, pass a key, and print volume, page and matchedIn per passage. You can call the server from your own code, not only from a chat app. The endpoint is a standard remote MCP server over streamable HTTP, so any client library that speaks that transport works: ``` https://qurangallery.com/mcp/shamela ``` No account or key is needed to try it. Without a key you get the keyless limits (10 requests a minute, 200 a day, per IP address); with a free key you get 60 a minute. See [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). This page holds the recipes that were run against the live endpoint on 1 November 2026, with the package versions they ran on. Recipes that were not run are not on this page. | Package | Version run | | ------------------------ | ----------- | | `langchain-mcp-adapters` | 0.3.2 | | `langchain-core` | 1.7.3 | | `llama-index-tools-mcp` | 0.4.8 | | `llama-index-core` | 0.14.25 | | `mcp` (Python SDK) | 1.30.0 | Python 3.12.8 was used. Both libraries listed 14 tools from this endpoint, the same set described in [the full tool surface](https://qurangallery.com/docs/mcp/tools). Since that run `shamela_verify_quote` has been added, so the endpoint now lists 15 tools; the outputs below are from the run. ## Connect with LangChain `langchain-mcp-adapters` turns each MCP tool into a LangChain tool. Install it, then point it at the URL with the `http` transport (streamable HTTP): ```sh pip install langchain-mcp-adapters ``` ```python import asyncio from langchain_mcp_adapters.client import MultiServerMCPClient async def main(): client = MultiServerMCPClient( { "shamela": { "transport": "http", "url": "https://qurangallery.com/mcp/shamela", } } ) tools = await client.get_tools() print(len(tools), "tools") asyncio.run(main()) ``` The output when this was run was `14 tools`. ## Connect with LlamaIndex ```sh pip install llama-index-tools-mcp ``` ```python import asyncio from llama_index.tools.mcp import BasicMCPClient, McpToolSpec async def main(): client = BasicMCPClient("https://qurangallery.com/mcp/shamela") spec = McpToolSpec(client=client) tools = await spec.to_tool_list_async() print(len(tools), "tools") asyncio.run(main()) ``` The output when this was run was `14 tools`. The tool list feeds a LlamaIndex agent the same way any other tool list does. ## Call a tool and read the citation This script calls [`shamela_search_library`](https://qurangallery.com/docs/mcp/search-library) and prints the book, the printed volume and page, and where the words were found. It does not need a model or a model key, so it is the quickest way to check your setup. ```python import asyncio import json from langchain_mcp_adapters.client import MultiServerMCPClient async def main(): client = MultiServerMCPClient( { "shamela": { "transport": "http", "url": "https://qurangallery.com/mcp/shamela", } } ) tools = {t.name: t for t in await client.get_tools()} blocks = await tools["shamela_search_library"].ainvoke( {"query": "إنما الأعمال بالنيات", "scope": "hadith-primary", "limit": 3} ) result = json.loads(blocks[0]["text"]) for p in result["passages"]: print(p["book"], p["printedPage"], p["matchedIn"]) asyncio.run(main()) ``` Output when this was run: ``` سنن ابن ماجه - ت الأرنؤوط 5/ 305 body صحيح البخاري - ط السلطانية 1/ 6 body سنن أبي داود - ت الأرنؤوط 3/ 526 footnote ``` Three things to notice, each explained in [Reading a result](https://qurangallery.com/docs/mcp/reading-results): - `printedPage` is volume and page in that printing, such as `5/ 305`. - `matchedIn` is `body`, `footnote`, `both` or `unknown`. The third row above matched in a footnote, which is an editor's note and not the author's text. See [Main text or footnotes](https://qurangallery.com/docs/mcp/search-main-text-or-footnotes). - `scope` is required. See [Choosing a scope](https://qurangallery.com/docs/mcp/scopes). The query must be in Arabic; a query with no Arabic words is a tool error that tells the caller to translate it. When you give these tools to a model, the model does that translation before it calls. ## Pass a key A key raises the limit from 10 to 60 requests a minute. Create a free one at [accounts.qurangallery.com/developers](https://accounts.qurangallery.com/developers), keep it in an environment variable, and send it as a bearer token in the `headers` of the connection. Never put a real key in source code. ```python import os connection = { "transport": "http", "url": "https://qurangallery.com/mcp/shamela", "headers": {"Authorization": f"Bearer {os.environ['QG_API_KEY']}"}, } ``` Use `connection` as the value under `"shamela"` in `MultiServerMCPClient`. LlamaIndex's `BasicMCPClient` has a `headers` argument for the same header: ```python client = BasicMCPClient( "https://qurangallery.com/mcp/shamela", headers={"Authorization": f"Bearer {os.environ['QG_API_KEY']}"}, ) ``` A key that is sent is checked. A key that is not valid gets a 401 instead of falling back to the keyless tier, so a typo shows up at once. When this was run with a deliberately invalid placeholder key, the connection failed. It was not run with a valid key. Full setup, including the clients that take a key in a config file, is in [Bearer-token setup](https://qurangallery.com/docs/mcp/bearer-token-setup). ## Not covered here The OpenAI Responses API remote-MCP tool and the Anthropic Messages API MCP connector can also call a remote MCP server by URL. They need a model account to run, and were not run for this page, so they are not described. For those, use the endpoint URL above and the client's own documentation. ## Related - [Connect any MCP client](https://qurangallery.com/docs/mcp/connect-any-mcp-client) - [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors) - [Building your own corpus instead](https://qurangallery.com/docs/mcp/vs-own-rag-and-openiti) ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [MCP tools for classical Arabic books: the full list](https://qurangallery.com/docs/mcp/tools) - [Hosted MCP server or your own RAG or OpenITI corpus?](https://qurangallery.com/docs/mcp/vs-own-rag-and-openiti) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Hosted MCP server or your own RAG or OpenITI corpus? Source: https://qurangallery.com/docs/mcp/vs-own-rag-and-openiti > Qdrant, pgvector or web search instead of a hosted MCP server? What a self-built RAG over classical books must do, what hosted returns, when to build. There are two reasonable ways to give an AI assistant classical Arabic books: connect to a hosted server, or build your own search over a corpus you hold. This page sets out what each involves so you can choose. Neither is the right answer for everyone. The Quran Gallery MCP server is **hosted and closed-source**. It searches a fixed library of 8,594 classical Arabic works. It cannot ingest your texts, and it has rate limits (see [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors)). ## What you build, and what the server returns | Task | If you build it yourself | What the hosted server returns | | --------------------------------- | --------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | | Get the texts | Choose a corpus, check its licence, download it, keep it updated. | A fixed library of 8,594 works from the Shamela catalogue, already loaded. | | Clean the text | Remove markup, fix OCR or conversion errors, decide how to treat diacritics. | Verbatim passages with markup removed. Diacritics do not affect matching ([Arabic search](https://qurangallery.com/docs/mcp/arabic-search-behaviour)). | | Map to a printed edition | Work out which printing each text follows and how its pages are numbered. | Title including the printing, plus volume and page as that printing paginates it, such as `1/ 6`. | | Separate main text from footnotes | Detect editor notes and keep them apart from the author's words. | A `matchedIn` field per passage: `body`, `footnote`, `both` or `unknown` ([details](https://qurangallery.com/docs/mcp/search-main-text-or-footnotes)). | | Cite the source | Design a citation format and a link back to the source page. | Edition data where the library has it, and a `sourceUrl` to the same page in the Maktabah reader. | | Rank results for a question | Choose and tune a ranking method; decide which books should come first. | A required `scope` naming one of twelve shelves, so results come from the books you meant ([Scopes](https://qurangallery.com/docs/mcp/scopes)). | | Host and run it | Pay for storage, an index, an embedding model if you use one, and keep it online. | Nothing to host. You call one URL. | Building your own gives you all of this under your control, and costs the time to do each row well. The hosted server gives you the right-hand column in one URL, with the limits it has. ## Vector database or web search instead? The usual self-built answer is a vector database (Qdrant, PostgreSQL with pgvector, Chroma or Pinecone) filled with chunked, embedded book text and queried through LangChain or LlamaIndex. The other common answer is a web search API such as Tavily, Brave Search or Exa. Both are reasonable. Neither is the same job as the hosted server. LangChain and LlamaIndex are frameworks that wire a retriever to a model. They do not supply the corpus, the printed page or the edition, and both can instead call the hosted server as a tool ([Python, LangChain and agents](https://qurangallery.com/docs/mcp/use-with-langchain-and-agents)). ### What a self-built vector stack has to do A vector database stores vectors and returns the nearest ones. Everything that makes a result citable has to be built around it: - **Get and clean the corpus.** Download a text collection, check its licence, strip markup and conversion errors, and keep it updated. Whether a downloaded text carries the printed volume and page for each passage, and which printing it follows, is for that corpus's own documentation to say (see [OpenITI and KITAB](#openiti-and-kitab) below). Check it text by text before you rely on it for citations. - **Keep main text apart from footnotes.** If editor notes are chunked and embedded with the author's words, a hit can quote an editor as the author. You have to detect the notes and store the layer with each chunk. - **Keep edition metadata.** A page number means nothing without the printing. Edition, editor and publisher must travel with every chunk. - **Normalise Arabic for search.** The hosted server folds diacritics, hamza on alif, ta marbuta and ha, and alif maqsura and ya the same way in the index and in your query, and offers an exact mode when a spelling must match ([Arabic search](https://qurangallery.com/docs/mcp/arabic-search-behaviour)). In your own stack you choose and build that folding, on both sides. - **Host it and re-index it.** Storage, the database, an embedding model, and a full re-index whenever you change chunking, folding or model. ### What web search gives you A web search API returns pages from the open web. It does not return the printed book, so there is no volume and page, and no guarantee that the quote exists in the edition you would cite. That makes it useful for background reading and weak for citing a classical text. ### Comparison | | Hosted MCP server | Vector database RAG | Web search API | | --- | --- | --- | --- | | Setup time | Paste one URL; a first cited search in about a minute ([getting started](https://qurangallery.com/docs/mcp/getting-started)) | Build ingestion, chunking, embedding and an index first | Get an API key and write the glue code | | Printed page citation | Volume and page as the printing paginates it | Only if your source text and chunking keep it | No: it returns web pages | | Footnotes kept apart | Yes: `matchedIn` per passage | Only if you detect and separate them | No | | Edition metadata | Where the library has it | Only what your corpus provides | No | | Cost | Free; keyless 10 calls a minute and 200 a day per IP address, free key 60 a minute ([limits](https://qurangallery.com/docs/mcp/limits-and-errors)) | Hosting, embeddings and re-indexing | The provider's per-search pricing; check theirs | | Works offline | No | Yes, if the index and model run locally | No | ### When building your own is still right A vector database is the right tool when the texts are yours (a manuscript collection, a teaching library, notes), when it must run offline, when you want your own ranking or embeddings, or when the books are not among the 8,594 works, including Shia or other catalogues the library does not cover. See [When your own corpus is the right choice](#when-your-own-corpus-is-the-right-choice). Web search is the right tool when you want current background from the open web and do not need to cite a printed page. ## When your own corpus is the right choice Build your own, or use an open corpus directly, when you need any of these: - **Private or custom texts.** Your own manuscripts, a teaching collection, or notes. The hosted server cannot add them. - **Offline use.** The hosted server needs an internet connection. - **A corpus outside the 8,594 works.** If the books you need are not in the library, check [the scopes page](https://qurangallery.com/docs/mcp/scopes) for what is covered. Twelve scopes cover 26 of the library's 41 categories (7,084 books); the rest are reached through the raw tools described in [the tool surface](https://qurangallery.com/docs/mcp/tools). - **Full control of ranking.** If you need your own ranking, embeddings or filters, you need your own index. - **No rate limits.** A large batch job over the whole corpus is better run against data you hold than through a rate-limited service. You can also use both: a hosted server for citations from published classical works, and your own index for material only you hold. ## OpenITI and KITAB OpenITI and KITAB are public research projects that publish corpora. They are described here from their own pages, read on 1 November 2026. Neither is a competitor product, and this page does not rank them. - **OpenITI** (Open Islamicate Texts Initiative) describes itself as "a multi-institutional effort to construct the first machine-actionable scholarly corpus of premodern Islamicate texts". The corpus is published as a release on GitHub, with a suggested citation per version. Sources: [openiti.org](https://openiti.org/), [the OpenITI release README](https://raw.githubusercontent.com/OpenITI/RELEASE/master/README.md), [the OpenITI GitHub](https://github.com/OpenITI/OpenITI). - **KITAB** (Knowledge, Information Technology, and the Arabic Book) invites readers to "explore the OpenITI corpus and reuse data", and publishes text-reuse data. Source: [kitab-project.org](https://kitab-project.org/). If you want the raw texts to build on, start from these sources and read their documentation for the format, licence and edition coverage of each text. This page does not state those, because they are theirs to describe. ## Choosing | If you want… | Consider | | ------------------------------------------------------------------ | --------------------------------------------------------------- | | Cited passages in your assistant in a minute, from published books | The hosted server: [getting started](https://qurangallery.com/docs/mcp/getting-started) | | Your own texts, offline use or your own ranking | Your own corpus, possibly built on OpenITI | | Your own code to call the hosted server | [Python, LangChain and agents](https://qurangallery.com/docs/mcp/use-with-langchain-and-agents) | | A comparison with other Islamic MCP servers | [Islamic MCP servers compared](https://qurangallery.com/docs/mcp/islamic-mcp-servers-compared) | ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Use the Shamela MCP server from Python, LangChain and agents](https://qurangallery.com/docs/mcp/use-with-langchain-and-agents) - [Choose a Shamela MCP scope: one book or all](https://qurangallery.com/docs/mcp/scopes) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Choose a Shamela MCP scope: one book or all Source: https://qurangallery.com/docs/mcp/scopes > shamela_search_library names one of twelve shelves. What each contains, what they leave out, and why scoping matters even where it is optional. `shamela_search_library` requires a scope. The raw `shamela_*` searches do not — but the reason the curated one insists is worth understanding before you decide to skip it. ## Why a scope is required Full-text search over this library ranks results by **term statistics** — roughly, how unusual your words are and how often they appear on a page. That is a reasonable default for a search engine and a bad one for a library of religious texts, because term frequency knows nothing about scholarly authority. Two real examples, both from searching the whole library: - **`التيمم`** (dry ablution) returns **26,098 hits**, topped by a poetry anthology from 710 AH. Every fiqh manual that actually rules on the subject sits below it. - **`إنما الأعمال بالنيات`** returns **6,815 hits** in which **Sahih al-Bukhari never appears at all** — buried under minor collections that merely repeat the hadith more often per page. An assistant handed those results would cite them confidently. `shamela_search_library` therefore will not run without a scope. `shamela_search` (`match: 'words'`) will, and there are real uses for it — but if you are asking "where is this text printed," scope the search. The raw `shamela_*` searches take a scope _object_ (`{"book_ids": […]}` or `{"category_ids": […]}`), but they also accept one of the twelve names below as a plain string: `shamela_search` (`match: 'words'`) with `"scope": "fiqh-shafii"` runs the same shelf `shamela_search_library` would. An unknown name returns a tool error listing the valid ones. `shamela_find` (`kind: 'book'`) searches the catalogue rather than page text and has no `book_ids`, so the two book-pinned scopes (`hadith-primary`, `tafsir-canonical`) are refused there; the category scopes work. ## The twelve scopes | Scope | Contains | Books | | ------------------ | ---------------------------------------------------------------------- | ----- | | `hadith-primary` | The eight primary collections, each pinned to a specific printing | 8 | | `tafsir-canonical` | Ibn Kathir, al-Tabari, Ibn al-Jawzi and three more, read in that order | 6 | | `fiqh-hanafi` | Hanafi fiqh, plus usul and general fiqh | 1,034 | | `fiqh-maliki` | Maliki fiqh, plus usul and general fiqh | 1,036 | | `fiqh-shafii` | Shafi'i fiqh, plus usul and general fiqh | 1,037 | | `fiqh-hanbali` | Hanbali fiqh, plus usul and general fiqh | 1,100 | | `fiqh-comparative` | All four schools, plus inheritance, governance and fatwa collections | 1,559 | | `aqeedah` | Creed and sects | 958 | | `hadith-sciences` | Hadith commentary, takhrij, and the sciences of hadith | 1,957 | | `tafsir` | The whole tafsir shelf and Quranic sciences | 586 | | `seerah` | Prophetic biography, history, and biographical dictionaries | 972 | | `lugha` | Arabic language, lexicons, grammar and adab | 1,052 | ## The two small scopes are small on purpose `hadith-primary` (8 books) and `tafsir-canonical` (6 books) are curated lists, not categories. **`hadith-primary`** pins each collection to a named printing: al-Bukhari is the Sultaniyya, Muslim is the ʿAbd al-Baqi numbering, and so on. This does two jobs at once. It keeps the search focused — the full sunnah category is 1,243 books, and searching all of them surfaces minor works that merely repeat a hadith. And it makes the page number mean something: printings paginate differently, so a volume and page without a named edition is not a citation a reader can check. **`tafsir-canonical`** exists because the underlying verse index reads books in catalogue order, which is an accident of numbering rather than a judgement. For one verse that meant a grammar-parsing work and an esoteric commentary were surfaced while Ibn Kathir and al-Tabari — both indexed for that same verse — went unread. The curated list fixes the order. Use the broad `tafsir` scope (586 books) when you want breadth; use `tafsir-canonical` when you want the works most readers would expect to be consulted first. ## Picking one | If you are asking about… | Start with | | ------------------------------------------------ | ----------------------------------------------------------- | | Whether a hadith exists, and where it is printed | `hadith-primary` | | What a well-known commentator said about a verse | `tafsir-canonical` | | A ruling within one school | `fiqh-hanafi`, `fiqh-maliki`, `fiqh-shafii`, `fiqh-hanbali` | | How the schools differ on a question | `fiqh-comparative` | | A grading, a chain, or how a hadith was received | `hadith-sciences` | | A point of creed | `aqeedah` | | An event, a life, or a narrator's biography | `seerah` | | What an Arabic word means or how it is parsed | `lugha` | > Scope narrows _which books_ are searched, never how the words are matched. A scope with 8 books and one with 1,957 run the same search — you get fewer, better-placed results from the small one. ## What the scopes do not cover The twelve scopes span 26 of the catalogue's 41 categories — **7,084 of 8,594 books**. The remaining 1,510 have no scope of their own and are reachable only through the raw `shamela_*` tools: | Not in any scope | Books | | ---------------------------------------------------------------- | ----- | | الأدب — literature and belles-lettres | 406 | | كتب عامة — general works | 357 | | التجويد والقراءات — tajwīd and qirāʾāt | 152 | | الجوامع — comprehensive collections | 137 | | فهارس الكتب والأدلة — indexes and guides | 102 | | البلدان والرحلات — geography and travel | 97 | | العلل والسؤلات الحديثية — hadith defects and questions | 78 | | الأنساب — genealogy | 52 | | البلاغة — rhetoric | 44 | | Six smaller categories (poetry, medicine, logic, prosody, other) | 85 | If your question lands on one of those shelves — a qirāʾāt ruling, a narrator's genealogy, a point of ʿilal — `shamela_search_library` will come back empty even though the books are there. Use `shamela_search` (`match: 'words'`) with an explicit `category_ids` scope instead, which you can look up with `shamela_find` (`kind: 'category'`). If a scope returns nothing, that is information rather than a dead end. Try the broader neighbour — `tafsir-canonical` → `tafsir`, or one school → `fiqh-comparative` — and note that the narrower shelf was silent. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Hosted MCP server or your own RAG or OpenITI corpus?](https://qurangallery.com/docs/mcp/vs-own-rag-and-openiti) - [Why scope matters: one search on one shelf and on all](https://qurangallery.com/docs/mcp/why-scope-matters) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Why scope matters: one search on one shelf and on all Source: https://qurangallery.com/docs/mcp/why-scope-matters > One Arabic query run in three scopes and across the whole library, with real results, plus the twelve scopes and an example question for each. A search over 8,594 books has to decide which books to look in. The Quran Gallery Shamela server at `https://qurangallery.com/mcp/shamela` makes you name a shelf (a _scope_) for its main search tool, `shamela_search_library`. This page shows what that changes by running one query in several scopes. All results below were returned by the live server on 2026-11-01. For the list of scopes and what they leave out, see [Choosing a scope](https://qurangallery.com/docs/mcp/scopes). ## One query, four places The query is «إنما الأعمال بالنيات», the wording of a well-known hadith. The first three rows use `shamela_search_library`, so they are comparable. The last row is a different tool, described below. | Where it was searched | Books searched | Matches | What the first rows were | | ------------------------------------------------- | -------------- | ------- | ---------------------------------------------------------------------------------------------------------------------- | | `hadith-primary` | 8 | 3 | _Sunan Ibn Majah_ `5/ 305`, _Sahih al-Bukhari_ `1/ 6`, _Sunan Abi Dawud_ `3/ 526` (a footnote) | | `tafsir-canonical` | 6 | 12 | _Tafsir Ibn Kathir_ `3/ 196`, then four pages of _al-Tafsir al-Munir_ by al-Zuhayli | | `lugha` | 1,052 | 99 | _Ihya' 'Ulum al-Din_ `4/ 362`, then four books on other subjects that quote the hadith | | the whole library, `shamela_search` with no scope | all | 6,815 | The first 10 rows were commentaries, a fatwa collection and other works. None was one of the eight primary collections | The query is the same and the engine is the same. What differs is the question the call answers. - In `hadith-primary` the answer to "where is this hadith printed?" comes first, with the edition and the printed page. - In `tafsir-canonical` the wording is found too, but in commentaries that quote it. - In `lugha` the hits are books that quote the hadith while discussing something else. - Across the whole library the count is 6,815 pages and the first rows were works that discuss the hadith. This is a correct result for "which pages mention these words". It is a poor one for "where is the hadith printed". None of these is wrong. An assistant that searches only one place and reports it as the answer to a different question is wrong. ### Why the whole-library list reads that way Full-text search ranks by term statistics: how rare the words are and how often they occur on a page. It has no notion of which book is the source and which one quotes it. A scope is how you tell it. The `hadith-primary` shelf contains eight books, so every hit is in a collection. The whole-library call used `shamela_search` (`match: 'words'`) with no `scope`. That tool allows it. `shamela_search_library` does not: calling it with no scope is an error that lists the twelve names ([Ten test cases](https://qurangallery.com/docs/mcp/test-cases), case 8). ## The same rule applies to a fiqh question The four school scopes search the school's own shelf first and then fill from the wider scope (usul, general fiqh, issues). For `fiqh-shafii` a search for «زكاة الفطر» reported `booksSearched: 90`, which is the Shafi'i shelf, and `totalMatches: 100`. The first rows were: | Book | Printed page | Edition | | ------------------------------------------------------------- | ------------ | ------------------------ | | _Asna al-matalib fi sharh Rawd al-talib_, Zakariyya al-Ansari | `2/ 487` | ed. al-'Ilmiyya | | _Hilyat al-'ulama'_, al-Shashi | `7/ 187` | ed. al-Risala al-Haditha | | _'Ujalat al-muhtaj_, Ibn al-Mulaqqin | `1/ 495` | none in the result | This shows where the topic is discussed in the school's books. It is not a ruling. An answer built on it should say which school's books were searched and quote the passage, not summarise a position. ## One scope is one shelf per call A call to `shamela_search_library` takes one `scope`. It does not take a list, and it does not combine two shelves. To look in two places, make two calls and keep the results apart, naming the scope beside each: 1. Search `hadith-primary` for the printed source. 2. Search `hadith-sciences` or `tafsir-canonical` for what scholars said about it. 3. In the answer, say which result came from which shelf. Two shelves in one call would bring back the problem above, a single ranked list that mixes sources with the books that quote them. If a scope finds nothing, widen it deliberately (for example `tafsir-canonical` to `tafsir`, or one school to `fiqh-comparative`) and say that the narrower one was silent. ## The twelve scopes The names, labels and contents below are those defined in the server's scope list. Book counts are from [Choosing a scope](https://qurangallery.com/docs/mcp/scopes). The example questions show what each scope is for, and each is a thing to look for in the books. None of them asks for a ruling. | Scope | What it covers | Books | Example question | | ------------------ | ------------------------------------------------------------------------ | ----- | -------------------------------------------------------------- | | `hadith-primary` | The eight primary hadith collections, each pinned to one printing | 8 | Where is the wording «إنما الأعمال بالنيات» printed? | | `tafsir-canonical` | Ibn Kathir, al-Tabari, Ibn al-Jawzi first, then three more | 6 | What do the main commentaries say on «آية الكرسي»? | | `fiqh-hanafi` | Hanafi fiqh, plus usul, general fiqh and issues | 1,034 | Which Hanafi books have a chapter «باب زكاة الفطر»? | | `fiqh-maliki` | Maliki fiqh, plus usul, general fiqh and issues | 1,036 | Which Maliki books discuss «صلاة الجمع في السفر»? | | `fiqh-shafii` | Shafi'i fiqh, plus usul, general fiqh and issues | 1,037 | Which Shafi'i books discuss «زكاة الفطر»? | | `fiqh-hanbali` | Hanbali fiqh, plus usul, general fiqh and issues | 1,100 | Which Hanbali books discuss «التيمم»? | | `fiqh-comparative` | All four schools, plus comparative works, inheritance, governance, fatwa | 1,559 | Where do the schools' books treat «الوقف» side by side? | | `aqeedah` | Creed and sects | 958 | Which creed texts use the term «الإيمان»? | | `hadith-sciences` | Hadith commentary, takhrij and the sciences of hadith | 1,957 | Where do commentaries on hadith discuss «إنما الأعمال بالنيات»? | | `tafsir` | The whole tafsir shelf and Quranic sciences | 586 | Which tafsir works discuss «القيوم»? | | `seerah` | Prophetic biography, history and biographical dictionaries | 972 | Where is «غزوة بدر» described, and by whom? | | `lugha` | Arabic language, lexicons, grammar and adab | 1,052 | How do the lexicons define «النية»? | Together the twelve scopes cover 26 of the 41 catalogue categories, which is 7,084 of 8,594 books. The rest (tajwid and qira'at, hadith defects, genealogy and others) are reachable only through the raw `shamela_*` tools. For the school scopes the count above is the whole scope. A search first queries the school's own shelf, which is smaller (90 books for Shafi'i), as the result above shows. ## What to take from this - Pick the scope that matches the question: a source, a commentary, a school's books, a language point. - Report the scope next to the result. "Found in the eight primary collections" and "found in a language book" are different claims. - Do not treat a long hit list as stronger evidence than a short one from the right shelf. - To check a result you have, [read the page back](https://qurangallery.com/docs/mcp/verify-a-quotation) and use the printed edition and page in the citation. [Reading a result](https://qurangallery.com/docs/mcp/reading-results) explains each field. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Choose a Shamela MCP scope: one book or all](https://qurangallery.com/docs/mcp/scopes) - [How to read a Shamela MCP search result](https://qurangallery.com/docs/mcp/reading-results) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: How to read a Shamela MCP search result Source: https://qurangallery.com/docs/mcp/reading-results > Two fields decide what a result actually proves: whether the words were in the main text or a footnote, and whether the exact phrase was found. A citation that is real but misread is still a wrong answer. Two fields on every result decide what it proves, and both are easy to skip past. ## `matchedIn` — the main text, or an editor's note? Modern printings of classical works carry two layers on the page: the author's text (the _matn_), and the editor's footnotes — cross-references, gradings, and quotations from other scholars. Your words may have been found in either. | Value | What it means | | ---------- | ----------------------------------------------------------------- | | `body` | The words are in the author's own text. | | `footnote` | The words are in an **editor's footnote**, not the author's text. | | `both` | They appear in both layers on that page. | | `unknown` | The source did not say. | This distinction changes the claim entirely. Searching `إنما الأعمال بالنيات` in `hadith-primary` returns a hit in _Sunan Abi Dawud_, page 3/526 — with `matchedIn: "footnote"`. Reading it shows why: the words are in a note quoting **al-Khattabi's commentary** on the hadith. Abu Dawud did not write that sentence. Presenting it as the matn of Abu Dawud would be a fabrication built entirely out of true parts: a real book, a real page, a real quotation, and a false attribution. > When `matchedIn` is `footnote`, say so. "An editor's note in _Sunan Abi Dawud_ quotes al-Khattabi as saying…" is accurate. "Abu Dawud says…" is not. ## `relaxedToTokens` — how close was the match? | Value | What was found | | ------- | ---------------------------------------------------------------------- | | `false` | Your **exact phrase**, in order, as you wrote it. | | `true` | The phrase was **not found**. These pages carry your words separately. | When it is `true`, the result also carries a `note` saying so in plain language: > _The exact phrase was not found. These pages carry the words separately, so they answer a weaker question than the one asked._ This is the difference between "this wording is printed here" and "these words appear near each other on this page." Both are useful; only the first supports a quotation. A page found by the looser pass may be discussing something else entirely and merely share vocabulary. ## When nothing is found If neither pass finds anything, you get an empty `passages` list and: > _Neither the exact phrase nor its words together appear anywhere in this scope._ **This is a finding, not a failure.** A negative result from a scope of 8 edition-pinned hadith collections is genuine evidence — it means that wording is not in those eight books, which is often precisely what someone wants to know about a quotation circulating online. It is not, however, evidence about the whole library. Say which scope was searched. "Not in the eight primary collections" is a real claim; "does not exist" is not one this tool can support. ## Reading the excerpt The `arabic` field is the passage as printed, with all markup removed. A leading `…` means the excerpt begins mid-sentence — it is a window onto the page, not the whole page. A trailing `…` means it was truncated at the length cap. Quote it as it stands. Do not repair, re-point, or modernise the Arabic; if it looks odd, that is usually the printing, and altering it breaks the one guarantee the excerpt carries. ## What a result proves, in one line A result proves that **this passage is printed in this book at this page in this edition**. Everything beyond that — that it is authentic, that it is the majority view, that it answers the question asked — is a separate judgement the tool does not make and cannot make for you. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Why scope matters: one search on one shelf and on all](https://qurangallery.com/docs/mcp/why-scope-matters) - [Verify an AI-quoted passage against the printed page](https://qurangallery.com/docs/mcp/verify-a-quotation) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Verify an AI-quoted passage against the printed page Source: https://qurangallery.com/docs/mcp/verify-a-quotation > Check an AI-given quotation, volume and page against the Shamela library: resolve the edition and printed page, read it, tell main text from footnote. An assistant that quotes a classical book from memory can give you a real title, a plausible volume and page, and wording that is close but not exact. The fix is to check the quotation against the book instead of trusting it. This page shows how, with the tools on `https://qurangallery.com/mcp/shamela`. If you have the wording, start with `shamela_verify_quote`: it checks whether the words occur in the library and says where. If you also have a volume and page, or need to read the page around the words, the four steps further down do that, and each step is a tool call whose result decides the next one. ## The one-call check: `shamela_verify_quote` Give it the Arabic wording (at least three words) and, to narrow the search, a `scope` or a `bookId`. With neither, it searches the whole library and says so in `searched`. If both are given, `bookId` wins and `searched.ignoredScope` names the scope that was set aside. ```json { "name": "shamela_verify_quote", "arguments": { "quote": "إِنَّمَا الْأَعْمَالُ بِالنِّيَّاتِ، وَإِنَّمَا لِكُلِّ امْرِئٍ مَا نَوَى", "bookId": 1681, "limit": 1 } } ``` The answer has `verdict: "found"` and one match: `docId` `1681:10`, volume `1`, printed page `6`, edition `ط السلطانية`, `matchedIn: "body"`, `exact: true`, `differences: []`. The `docId` goes straight into `fetch` to read the page. **What "exact" means.** The tool ignores diacritics, tatweel, alef forms (أ إ آ ٱ as ا), alef maqsura (ى as ي), punctuation and runs of whitespace when it looks for the words. `exact` is `true` only when the page's characters equal the quotation's once whitespace and the order of combining marks are set aside. The same sentence typed without diacritics, `إنما الأعمال بالنيات وإنما لكل امرئ ما نوى`, is still `found`, but with `exact: false` and `differences` such as `the page has 30 more diacritic mark(s) than the quotation` and `punctuation differs`. A found quotation with `exact: false` is real wording in a different spelling, not a miss. **Main text or footnote.** `matchedIn` is `body` for the author's text and `foot` for the editor's or commentator's footnote. When it is `foot`, the answer's `note` says the words are the editor's, not the author's. When the words are in both, `body` is reported. **Not found.** A sentence that is in none of the eight primary hadith collections, searched with `scope: "hadith-primary"`, returns: ```json { "verdict": "not_found", "matches": [], "searched": { "scope": "hadith-primary", "normalisation": ["…"] }, "note": "Not found in the searched scope: the \"hadith-primary\" scope (…). This says only that no page there carries these words in this order; it does not mean the quotation is false, …" } ``` "Not found" is a statement about the scope that was searched. It does not say the quotation is false or that it appears nowhere. Widen the scope, name another book with `bookId`, or try a shorter distinctive part of the wording. **Input errors.** A quote of fewer than three Arabic words, a quote with no Arabic script, an unknown `scope` and a bad `bookId` each return a tool error that names the fix. `limit` is at most 10 (default 5). The tool reports where words are printed. It does not say whether a passage is authentic, and it is not a ruling. ## Before you start: is the page number comparable? A page number only means something against the printing it came from. _Sahih al-Bukhari_ in the Sultaniyya edition puts the hadith «إنما الأعمال بالنيات» at volume 1, page 6. The edition edited by al-Bugha puts the same hadith at volume 1, page 3. Both are correct for their own printing. The library also holds books whose page numbers are not a printing's at all. Of the 8,594 entries, **7,177** are flagged by Shamela as matching a printed edition and **1,417** are not: their numbers are Shamela's own. A quotation cannot be verified against a printed page in those books, and a citation that uses such a number should not be passed off as the printing's. So the first question is always: _which edition did the quotation claim?_ ## Step 1. Resolve the edition ```json { "name": "shamela_find", "arguments": { "kind": "work", "title": "صحيح البخاري", "edition": "ط السلطانية" } } ``` This returns `status: "exact"` with `match.book_id` 1681 and `citable: true`. Two things can go differently: - **The edition is not in the library.** Asking for `ط دار طوق النجاة` returns `status: "not_found"`, `reason: "edition_not_found"` and an `available_editions` list: al-Bugha, the Saharanpuri-Nadwi edition, al-Ta'sil, the Ata'at al-Ilm entry (whose `citable` is `false`) and the Sultaniyya. The quotation cannot be checked against that printing here; say so, and offer the nearest ones. - **`citable` is `false`.** Stop. The numbering is not a printing's. The title must be the start of the work's name, and `author` is a filter, not a search. For a title that two works share, such as _al-Mughni_, `ambiguity` says whether the doubt is about the edition or about the work. ## Step 2. Resolve the printed page ```json { "name": "shamela_cite", "arguments": { "mode": "printed_page", "book_id": 1681, "part": "1", "page": 6 } } ``` The result is `status: "ok"` and `page_ids: [9, 10, 11]`. **One printed page can span several library pages**, so read all of them. Reading only the first and concluding the quotation is absent is a false negative. When the citation is wrong, the status says how: | `status` | Meaning | | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `page_not_in_part` | The volume exists but has no such page. For page 99999 of volume 1 the result carries `page_range` 2 to 173. The citation belongs to another printing, or was invented | | `part_not_found` | That volume does not exist. `available_parts` lists the ones that do | | `no_printed_pagination` | The book has no printed numbering to resolve | | `book_not_downloaded` | The library does not hold that book's text | Volume labels are not always digits. A printing can have a front-matter part labelled «المقدمة» (the introduction), and its page is cited as, for example, `المقدمة/ 5` in the al-Bugha edition. ## Step 3. Read the page and check the words ```json { "name": "shamela_read", "arguments": { "book_id": 1681, "page_id": 10 } } ``` The page comes back as three fields. `body` is the author's text, `foot` is the editor's footnotes and `comment` is readers' notes. For page id 10, `body` contains the hadith in full: `«إِنَّمَا الْأَعْمَالُ بِالنِّيَّاتِ، وَإِنَّمَا لِكُلِّ امْرِئٍ مَا نَوَى…»`, and `foot` is empty. Compare the quotation with `body` and with `foot` separately. The layer is part of the claim: "Abu Dawud says…" is false when the words are in an editor's note that quotes someone else ([Reading a result](https://qurangallery.com/docs/mcp/reading-results)). A search can do steps 2 and 3 in one move when you have the wording but not the page. `shamela_search_library` takes the quoted phrase and a scope; each passage carries `printedPage` and `matchedIn`, and the result carries `relaxedToTokens`. If `relaxedToTokens` is `true`, the exact phrase was **not** found and the pages shown only share vocabulary with it. ## Step 4. Write the citation ```json { "name": "shamela_cite", "arguments": { "book_id": 1681, "page_id": 10, "style": "short" } } ``` This returns `البخاري، صحيح البخاري، ج ١، ص ٦.` together with `components`, including `auto_numbered: false`. The default `shamela` style gives `«صحيح البخاري» (١/ ٦)`. Other styles are `full`, `bibtex` and `ris`. For a book with Shamela's own numbering, `auto_numbered` is `true`, and every style except `short` says in the citation that the numbering is Shamela's. ## Reading the outcome | What you find | What you may say | | --------------------------------------------- | -------------------------------------------------------------------- | | Words in `body` of the cited page | The quotation is printed there, in the author's text | | Words only in `foot` | The quotation is in the editor's note, not the author's text | | Words on a different page of the same edition | The wording is real and the page reference is wrong | | Words in another edition only | The reference belongs to a different printing | | Words nowhere in the scope you searched | They are not in those books. This does not prove they appear nowhere | | The cited page does not exist | The reference is for another printing, or was invented | A search result, including an empty one, is a statement about the scope you searched, not about the whole tradition. Say which books were searched. ## What this does and does not establish It establishes where a passage is printed and in which layer. It does not establish that the passage is authentic, that the attribution inside the passage is sound, or that the assistant read it fairly. Those are judgements for a scholar. See [Grounding rules](https://qurangallery.com/docs/mcp/grounding-rules) for the contract an assistant should follow when it quotes from these tools. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [How to read a Shamela MCP search result](https://qurangallery.com/docs/mcp/reading-results) - [Grounding rules: citing classical Islamic texts with MCP](https://qurangallery.com/docs/mcp/grounding-rules) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Grounding rules: citing classical Islamic texts with MCP Source: https://qurangallery.com/docs/mcp/grounding-rules > The citation contract for answers built on the Quran Gallery MCP server: quote only tool results, separate matn from footnote, never invent edition data. An assistant connected to the library can still write a bad answer. These rules are the contract that keeps an answer checkable. The server also publishes them to your client as the resource `qurangallery://grounding-rules`, and its instructions point the model at the same behaviour. ## The rules 1. **Quote only what a tool returned.** Attribute a text to a book only if it came back in a tool result. Do not complete a quotation, an isnād or a wording from general knowledge. 2. **Keep the main text and the footnote apart.** Every passage says where the words were found in `matchedIn`: `body`, `footnote`, `both` or `unknown`. The body is the author's text (the _matn_ / المتن). A footnote is the editor's or commentator's voice. Never present a footnote as the author's words ([Reading a result](https://qurangallery.com/docs/mcp/reading-results)). 3. **Printed page is not Shamela numbering.** `printedPage` is the volume and page as that printing paginates it, such as `1/ 6`. When the library numbers a book automatically, the page is a Shamela page number, not the printed one, and must be labelled that way. Cite the edition with the page: the same page number means different text in a different edition. 4. **Never invent publication data.** `edition`, `editor` and `publisher` appear on a passage only when the library has them. When they are missing, say they are not available. Do not fill them from memory. 5. **Say how the match was made.** `relaxedToTokens: true` means the exact phrase was not found, only its words. That supports "these words appear on this page", not "this wording is printed here". 6. **A miss is scoped.** "Not found in these eight collections" is a finding. "Does not exist" is not one the tools can support. 7. **No grading and no rulings.** The server never grades a hadith as ṣaḥīḥ, ḥasan or ḍaʿīf, and gives no fatwā. If a source quotes a grading, report it as that source's statement, with the book and page. 8. **Credit the source.** Every passage carries a `sourceUrl` of the form `https://qurangallery.com/maktabah/book/{bookId}/{pageId}`. Link it, and credit shamela.ws as the origin of the text. ## What a passage carries | Field | Use | | -------------------------------- | --------------------------------------------------------- | | `book`, `author`, `authorDied` | Name the work and its author; `authorDied` is in AH. | | `printedPage` | The printed volume and page. | | `edition`, `editor`, `publisher` | Only when present. Never guess them. | | `matchedIn`, `matchQuality` | Main text vs footnote; exact vs loose match. | | `bookId`, `pageId` | The Shamela identifiers of the page. | | `sourceUrl` | The page in the Maktabah reader, to verify the quotation. | | `arabic` | The passage, verbatim. Quote it as it stands. | A good citation reads: _al-Bukhārī, Ṣaḥīḥ al-Bukhārī, ṭ. al-Sulṭāniyya, 1/6 (main text), Maktabah link._ A bad one names a book and a hadith number the model remembered. ## Checking an answer Take the `sourceUrl` or the `bookId` and `pageId`, open the page, and compare. Your assistant can do it for you with `shamela_read` (`unit: 'page'`), or turn a printed citation back into a page with `shamela_cite` (`mode: 'printed_page'`) ([the full tool surface](https://qurangallery.com/docs/mcp/tools)). ## What the server does not guarantee It guarantees that a passage, book and page are real and were retrieved. It does not guarantee that the sentence your assistant builds around them is a fair reading. See [What the MCP server does](https://qurangallery.com/docs/mcp/overview). ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Verify an AI-quoted passage against the printed page](https://qurangallery.com/docs/mcp/verify-a-quotation) - [Search the main text or the footnotes of a Shamela book](https://qurangallery.com/docs/mcp/search-main-text-or-footnotes) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Search the main text or the footnotes of a Shamela book Source: https://qurangallery.com/docs/mcp/search-main-text-or-footnotes > Tell an author's main text from an editor's footnote in Shamela MCP results: the matchedIn field, search_in, body or footnote-only search, citable_only. **How do you tell whether a sentence in a Shamela search result is the author's main text or an editor's footnote?** Read the `matchedIn` field on each hit, search one layer with `search_in`, or read the page and compare its `body` and `foot` fields. The rest of this page shows each of the three on the live server. A page in a printed classical book has two voices. The **main text** (_matn_) is the author's. The **footnotes** (_hawashi_) are usually an editor's: sources, variant readings, and quotations from other scholars. A search that cannot tell them apart will attribute an editor's note to the author. Maktabah al-Shamela stores them in separate fields, and the Quran Gallery server at `https://qurangallery.com/mcp/shamela` keeps them separate in every result. ## Three ways a client can tell 1. **`matchedIn` on every curated hit.** `shamela_search_library` says `body`, `footnote`, `both` or `unknown` for each passage. 2. **`search_in` on the raw search tools.** `shamela_search` can be limited to `body` or `foot`, and its hits report `matched_in`. 3. **The page itself.** `shamela_read` (`unit: 'page'`) returns `body`, `foot` and `comment` as separate fields, so a client can compare the two layers of one page. ## See which voice a hit came from Every passage from `shamela_search_library` has a `matchedIn` field: `body` (the main text), `footnote`, `both` (the words occur in each), or `unknown` (the layer could not be determined). The raw `shamela_*` search tools report the same thing as `matched_in`, a list that can hold `body`, `foot` or both. A real example. This request searches the eight primary hadith collections for «إنما الأعمال بالنيات»: ```json { "name": "shamela_search_library", "arguments": { "query": "إنما الأعمال بالنيات", "scope": "hadith-primary" } } ``` On 2026-11-01 it returned five passages, listed here by book: | Book | Printed page | `matchedIn` | `matchQuality` | | ---------------------------------- | ------------ | ----------- | -------------- | | _Sunan Ibn Majah_, ed. al-Arna'ut | `5/ 305` | `body` | `exact_phrase` | | _Sahih al-Bukhari_, ed. Sultaniyya | `1/ 6` | `body` | `exact_phrase` | | _Sunan Abi Dawud_, ed. al-Arna'ut | `3/ 526` | `footnote` | `exact_phrase` | | _Sunan al-Nasa'i_, ed. al-Risala | `1/ 59` | `both` | `all_terms` | | _Sunan al-Nasa'i_, ed. al-Risala | `6/ 298` | `both` | `all_terms` | The two al-Nasa'i passages carry the words in the main text and in a footnote (`both`), and match as separate words, not as the exact phrase (`all_terms`): the main text there reads «إنَّما الأعمالُ بالنِّيَّة», in the singular. The Abu Dawud passage is the one a careless reader gets wrong. On that page the main text reads «إنما الأعمال بالنية», in the singular. The exact wording the search matched is in the editor's footnote, which quotes al-Khattabi: «قال الخطابي: قوله: إنما الأعمال بالنيات…». Abu Dawud's own words are not what matched. ## Search only one voice Two modes of `shamela_search` take the filter as an ordinary top-level argument, `search_in`: `match: 'phrase'` and `match: 'boolean'`. Its values are `body` and `foot`, and the default is both. Body only: ```json { "name": "shamela_search", "arguments": { "match": "phrase", "query": "إنما الأعمال بالنيات", "scope": { "book_ids": [117359, 98138, 1681] }, "search_in": ["body"] } } ``` This returns two verified hits, _Sunan Ibn Majah_ `5/ 305` and _Sahih al-Bukhari_ `1/ 6`, both with `matched_in: ["body"]`. Footnotes only, same query and books: ```json { "name": "shamela_search", "arguments": { "match": "phrase", "query": "إنما الأعمال بالنيات", "scope": { "book_ids": [117359, 98138, 1681] }, "search_in": ["foot"] } } ``` This returns one hit, _Sunan Abi Dawud_ `3/ 526`, with `matched_in: ["foot"]`. `shamela_search` (`match: 'words'`) takes the same filter inside an `options` object: ```json { "name": "shamela_search", "arguments": { "query": "الوقف", "scope": { "category_ids": [6] }, "options": { "search_in": ["body"] } } } ``` Where `search_in` goes depends on the tool, and the tool's schema is the authority. A misplaced argument is rejected, not ignored: sending `options` to `shamela_search` (`match: 'phrase'`) fails with "BAD_ARG: `options` is not used when match='phrase'; it applies to match='words'.". ### What the filter does not reach The page also has a third field, `comment`, that holds readers' notes. It is not searchable: `search_in` accepts only `body` and `foot`, and `comment` is rejected as an invalid value ("Expected 'body' | 'foot', received 'comment'"). `shamela_find` (`kind: 'heading'`), `shamela_find` (`kind: 'book'`) and `shamela_find` (`kind: 'author'`) also accept `options.search_in`, but it changes nothing, because they search chapter headings and catalogue entries, not page text. In a test, «باب الصيام» returned the same 634 headings for `["body"]`, `["foot"]` and both. Search page text with `shamela_search` (`match: 'words'`) or `shamela_search` (`match: 'phrase'`). ## Combine terms across a layer `shamela_search` (`match: 'boolean'`) takes `all_of`, `any_of` and `none_of` terms, evaluated as one query over the whole index, so `total_hits` is exact. With `search_in` set, each sub-search looks only in the layer you named. It also lists `zero_hit_terms`, the words that occur nowhere in the index, which is how you tell a misspelled term from a genuinely rare one. ## Read both layers of one page `shamela_read` (`unit: 'page'`) returns the page as separate fields: `body`, `foot` and `comment`. For _Sahih al-Bukhari_ page id 10 (printed `1/ 6`), `body` holds the hadith with its chain and `foot` is empty. For Abu Dawud page id 1796 (printed `3/ 526`), both are filled (checked 2026-11-01: `body` 414 characters, `foot` 1,069). The footnote and comment come with the first part of the body when a long page is split into parts of about 4,000 characters. ## Citing only printed pages Not every book's page numbers match a printing. `scope.citable_only: true` keeps only the books Shamela marks as matching a printed edition. In the current library that is 7,177 of 8,594 entries; the other 1,417 are paginated by Shamela itself, and a page number from them is not a reference to any published edition. Set it whenever the answer will quote a page as a citation. A search that combines the two filters, restricted to category 6: ```json { "name": "shamela_search", "arguments": { "query": "الوقف", "scope": { "category_ids": [6], "citable_only": true }, "options": { "search_in": ["body"] } } } ``` This kind of query reports its own scale: `scope_count` is the number of books it ranged over and `total_hits` the number of pages that match. ## What the curated tools do `shamela_search_library`, `search` and `fetch` take no layer filter. They return both voices and mark which is which: `shamela_search_library` gives every passage a `matchedIn`, `search` appends "[footnote match]" to the title of a footnote hit, and `fetch` returns the page with its footnotes under a separate label. The default job is "find where this is printed, and tell me which voice said it". Use the raw tools above when you need to exclude one voice, for example when you are looking for an author's definition and want to ignore every editor's quotation of it. See [Reading a result](https://qurangallery.com/docs/mcp/reading-results) for the full field list and [Verify a quotation](https://qurangallery.com/docs/mcp/verify-a-quotation) for checking a citation against the page. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Grounding rules: citing classical Islamic texts with MCP](https://qurangallery.com/docs/mcp/grounding-rules) - [Hadith takhrij with MCP: find a hadith across collections](https://qurangallery.com/docs/mcp/hadith-takhrij) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Hadith takhrij with MCP: find a hadith across collections Source: https://qurangallery.com/docs/mcp/hadith-takhrij > Locate a hadith in the primary collections with its isnad and printed page using the Quran Gallery MCP tools and the takhrij_hadith prompt. No grading. _Takhrīj_ (تخريج الحديث) here means locating where a hadith is recorded, with its chains of transmission (_isnād_, إسناد) and the exact printed pages. It does **not** mean grading it. The server never calls a hadith ṣaḥīḥ, ḥasan or ḍaʿīf, and gives no rulings; see [Grounding rules](https://qurangallery.com/docs/mcp/grounding-rules). ## The ready-made prompt Your client lists a prompt called `takhrij_hadith`, with one argument, `text`: the wording of the hadith. In clients that show MCP prompts, pick it and paste the wording. The prompt tells the model to find the hadith across the collections, report each isnād, and answer in your language without grading. Without prompt support, use the steps below. ## Steps by hand 1. **Search the primary collections.** Call `shamela_search_library` with the Arabic wording and `scope: "hadith-primary"` ([scopes](https://qurangallery.com/docs/mcp/scopes)). Read `matchedIn` and `relaxedToTokens`: only `body` with an exact phrase shows that the wording is printed there ([Reading a result](https://qurangallery.com/docs/mcp/reading-results)). 2. **Find every collection that records it.** Use `shamela_lookup_hadith` (`mode: 'search'`) with the wording to list the collections carrying it, and `shamela_lookup_hadith` (`mode: 'sources'`) with the hadith's shared key to list the books that record the same hadith. 3. **Read the chains.** `shamela_lookup_rijal` (`mode: 'isnad'`) returns the chain or chains printed on one page, with narrator names resolved. `shamela_lookup_rijal` (`mode: 'isnad_search'`) searches the indexed chains across ten hadith books. 4. **Identify the narrators.** `shamela_lookup_rijal` (`mode: 'narrators'`) finds a narrator by name and `shamela_lookup_rijal` (`mode: 'narrator'`) returns the dossier (lineage, death year, ṭabaqa). Where a dossier quotes critics' gradings, they are the critics' words, and are to be reported as quoted. 5. **Open the page.** `shamela_read` (`unit: 'page'`) returns the full page with the footnotes, and the passage's `sourceUrl` links to it in the Maktabah reader. 6. **Cite each collection** as in [Grounding rules](https://qurangallery.com/docs/mcp/grounding-rules): book, edition, volume and page, main text or footnote. ## What a good answer contains - Each collection and page where the hadith is printed, with its isnād as printed. - Wording differences between collections, quoted exactly. - Which hits are in the author's text and which are in an editor's footnote. - A statement of what was searched, so a miss is read as a miss in that scope only. It does not contain a verdict on authenticity. For that, consult a qualified scholar and the books themselves. ## Example Ask your assistant: _Use takhrij_hadith for «إنما الأعمال بالنيات»._ In the primary collections the search finds, among others, Ṣaḥīḥ al-Bukhārī (ط السلطانية, 1/6), and a footnote in Sunan Abī Dāwūd (3/526) that quotes al-Khaṭṭābī's commentary on it. The first is the author's text; the second is not Abu Dawud's own wording. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Search the main text or the footnotes of a Shamela book](https://qurangallery.com/docs/mcp/search-main-text-or-footnotes) - [How Arabic search behaves in Shamela MCP](https://qurangallery.com/docs/mcp/arabic-search-behaviour) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: How Arabic search behaves in Shamela MCP Source: https://qurangallery.com/docs/mcp/arabic-search-behaviour > What the Shamela MCP search ignores and keeps: diacritics, hamza, ta marbuta, exact search, root expansion, wildcards, boolean queries, empty results. An assistant that searches an Arabic library needs to know what the search treats as the same word. This page records the behaviour of the Quran Gallery server at `https://qurangallery.com/mcp/shamela`, each point checked against the running server on 2026-11-01. ## The query must be Arabic The library is Arabic. `shamela_search_library` and `search` reject a query that has no Arabic letters, and the error tells the assistant what to do: > The library is Arabic, so the query must contain Arabic words. Translate the search terms into Arabic and call again, for example «إنما الأعمال بالنيات» for "actions are judged by intentions". The result is marked `isError`, so the assistant reads the message and retries. A query that mixes Arabic with other words is accepted. The raw `shamela_*` tools pass the query through unchanged. `shamela_search` (`match: 'phrase'`) answers an English query with `BAD_ARG: Query has no searchable Arabic words.`, while `shamela_search` (`match: 'words'`) searches the letters as given, which can only match Latin text inside the library and is almost never what you meant. ## What the search ignores The index stores words in a normalised form, and your query is normalised the same way, so these differences do not change the result. | Difference | Example | Same result? | | ---------------------- | ----------------------------------------------- | --------------------------------------------------------------------- | | Diacritics (_tashkil_) | «إِنَّمَا الأَعْمَالُ بِالنِّيَّاتِ» and «إنما الأعمال بالنيات» | Yes | | Hamza on alif | «انما الاعمال بالنيات» and «إنما الأعمال بالنيات» | Yes | | Ta marbuta and ha | «رحمة الله» and «رحمه الله» | Yes: 37 hits in _Sahih al-Bukhari_ (Sultaniyya) for both | | Alif maqsura and ya | «النبى» and «النبي» | Yes: the same 4,707 pages in _Sahih al-Bukhari_ (Sultaniyya) for both | The proof for the first two rows is the hadith search: the vocalised phrase, the bare phrase and the bare-alif phrase all return the same passages from the eight primary collections (five passages, three of them exact-phrase matches; see [Search the main text or the footnotes](https://qurangallery.com/docs/mcp/search-main-text-or-footnotes)). The result of `shamela_search` (`match: 'words'`) lists `normalized_tokens`, the form actually searched, so an assistant can see what its query became. The consequence is that you cannot find a diacritised spelling by typing the diacritics into an ordinary search, and you cannot exclude one by omitting them. When the distinction matters, use the exact search below. ## When the distinction matters: exact search `shamela_search` (`match: 'exact'`) runs in two stages. A normalised search gathers candidates, then each candidate's raw page text is checked in the server against what you typed. You choose what must match exactly with a `preserve` object whose three flags are `preserve_diacritics`, `preserve_hamza` and `preserve_digits`; at least one must be true. ```json { "name": "shamela_search", "arguments": { "match": "exact", "query": "عِلْم", "preserve": { "preserve_diacritics": true }, "scope": { "book_ids": [1681] }, "limit": 5 } } ``` Type the query with the diacritics you need. With `limit` 5 it scanned 40 candidates in that book, reached the candidate cap, and verified 24 pages whose raw text has «عِلْم» as written. At the default `limit` of 20 the cap is higher: it scanned 62 candidates, did not hit the cap, and verified 38. The cap scales with `limit`, which is why a negative needs `candidate_cap_hit` checked. With `preserve_hamza`, a search for «أحمد» in the same book scanned 40 candidates at `limit` 5, hit the candidate cap and verified 40 pages whose raw text has that spelling. Two fields tell you how far to trust a negative: `candidate_cap_hit` says the candidate list was truncated, and `total_verified` says how many of the scanned candidates passed. Narrow the scope and run it again if the cap was hit. The `preserve_*` options also exist on `shamela_search` (`match: 'words'`), but there they are declared and not supported: they return `OPTION_NOT_SUPPORTED`. Use `shamela_search` (`match: 'exact'`) for them. ## Root expansion `shamela_search` (`match: 'words'`) accepts `options.morphology: true`, which expands each word to the Arabic roots a morphological analyser finds for it. Arabic roots are ambiguous and the analyser keeps every reading, so a word is searched under all of them. For «كتب» the response lists exactly what was searched in `morphology_expanded_to`: ``` "كتب": ["كتب", "تبب", "توب", "وتب"] ``` The extra readings include roots to do with perdition and repentance. In _Sahih al-Bukhari_ (Sultaniyya), «كتب» matches 110 pages without root expansion and 714 with it. Treat root expansion results as a superset of the word you asked for, read the expansion list, and prefer a plain or phrase search when you want that word and no other. ## Wildcards Set `options.wildcards: true` and use `*` for any run of letters (including none) and `?` for exactly one letter. In the same book, `صيا*` matches 52 pages. Wildcards cannot be combined with `morphology`: asking for both returns `OPTION_CONFLICT`. One limit follows from the way words are stored. The index folds each word as a whole and some spellings change shape, for example «مائة» is stored as «ميه», so a wildcard that begins with the printed letters, such as `مائ*`, will miss it. Search the word itself when the spelling is irregular. ## Boolean queries `shamela_search` (`match: 'boolean'`) takes `all_of`, `any_of` and `none_of` lists, with at least one of `all_of` or `any_of`. It runs as one query over the whole index, so `total_hits` is exact, and it returns `zero_hit_terms` for words that occur nowhere. For example, `all_of: ["الوقف"]`, `any_of: ["المسجد", "المقبرة"]`, `none_of: ["البيع"]` in category 17 ranged over 153 books and found 397 pages. See [Search the main text or the footnotes](https://qurangallery.com/docs/mcp/search-main-text-or-footnotes) for combining it with a layer filter. ## When nothing matches `shamela_search` (`match: 'words'`) has `options.relax_when_empty`, on by default. If the full query finds nothing, it retries requiring fewer of the words, never fewer than half, and says so in the response with `relaxed_min_match` and `relaxed_of_terms`. The query «إنما الأعمال بالنيات زززكك», where the fourth word is made up, came back in _Sahih al-Bukhari_ with `relaxed_min_match: 3` of 4 and one hit. Set `options.relax_when_empty` to `false` when an empty answer is the answer you need; the same query then returns no hits. `shamela_search_library` has the same idea in its own form: it tries the exact phrase first, then a word search, and reports which answered with `relaxedToTokens`. When it is `true`, the phrase itself was not found. An assistant should say so, not present the hit as a quotation of the phrase. ## Ranking Without a scope the ranking is by term frequency, so a commentary or a poetry anthology that repeats the words often can rank above the hadith collection. That is why `shamela_search_library` requires a scope and why the twelve ready-made scopes exist ([Choosing a scope](https://qurangallery.com/docs/mcp/scopes)). The unscoped `search` tool keeps the default for deep research, with that trade-off. ## Summary for an assistant 1. Translate to Arabic before searching. 2. Do not rely on diacritics or hamza to narrow an ordinary search. 3. Use `shamela_search` (`match: 'exact'`) when a spelling must match. 4. Read `morphology_expanded_to` when using root expansion. 5. Check `relaxedToTokens` and `relaxed_min_match` before calling a hit a quotation. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Hadith takhrij with MCP: find a hadith across collections](https://qurangallery.com/docs/mcp/hadith-takhrij) - [Edition, editor and publisher in Shamela MCP results](https://qurangallery.com/docs/mcp/edition-metadata) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Edition, editor and publisher in Shamela MCP results Source: https://qurangallery.com/docs/mcp/edition-metadata > What the Shamela library records about an edition (edition, editor, publisher), what it never stores (city, edition number), and how to pick a printing. A page number is only meaningful against the printing it came from. This page says what the Quran Gallery server at `https://qurangallery.com/mcp/shamela` can tell you about a printing, what it cannot, and how to choose one on purpose. ## What the library records In Maktabah al-Shamela, each printing of a work is its own catalogue entry with its own book id. The edition is carried in the entry's name, as a suffix after a dash: «صحيح البخاري - ط السلطانية», «سنن أبي داود - ت الأرنؤوط». From the name and the book's front matter, the library derives three fields: | Field | Meaning | Example | | ----------- | ---------------------------------------------------------------- | -------------------------------- | | `edition` | The printing's label from the entry name | ط السلطانية, ت الأرنؤوط, ت التركي | | `editor` | The editor (_muhaqqiq_), when the name or front matter gives one | الأرنؤوط | | `publisher` | The publisher, when the front matter gives one | السلطانية | All three come back on every passage from `shamela_search_library` and `fetch`, and from `shamela_get_details` (`kind: 'book'`), but **only when they are recorded**. In a passage from `shamela_search_library` or `fetch`, a field that is not recorded is left out; `shamela_get_details` (`kind: 'book'`) returns it as `null`. Nothing is filled in from general knowledge, because a plausible publisher that is wrong is worse than none. Real entries show how uneven the data is (read from `shamela_get_details` and `shamela_find` on 2026-11-01): | Book id | Entry | `edition` | `editor` | `publisher` | | ------- | -------------------------------------------------------------- | ----------- | ------------ | ------------ | | 1681 | صحيح البخاري - ط السلطانية | ط السلطانية | not recorded | السلطانية | | 117359 | سنن أبي داود - ت الأرنؤوط | ت الأرنؤوط | الأرنؤوط | not recorded | | 6910 | المغني لابن قدامة - ت التركي | ت التركي | التركي | not recorded | | 9823 | شرح البخاري للسفيري = المجالس الوعظية في شرح أحاديث خير البرية | none | none | none | ## What it never records The library does not store the **city of publication** or the **edition number** (first printing, second printing). `shamela_cite` (`mode: 'citation'`) says so in a `notes` list, for example: ``` publisher not available in master.db edition number not available in master.db city of publication not available in master.db ``` So a full bibliographic entry cannot be built from the metadata alone. `shamela_get_details` (`kind: 'book'`) words the same limits in its own `notes` ("city of publication and edition number are not stored in master.db"), and the notes tell the assistant which parts to leave out or to take from the book's title page. For a book with a scanned printing, `shamela_get_details` (`kind: 'book'`) returns a `scan` manifest and often a cover image, and its notes add that the attached cover often prints the editor that the metadata lacks. If you read it from the image, attribute it to the cover, not to the metadata. Covers are not universal. The library lists 1,745 scanned books, and 376 of them ship no cover image, so a missing cover does not mean a missing scan. ## Choose a printing on purpose `shamela_find` (`kind: 'work'`) turns a title and an edition into a book id: ```json { "name": "shamela_find", "arguments": { "kind": "work", "title": "صحيح البخاري", "edition": "ط السلطانية" } } ``` This resolves exactly to book 1681, with `citable: true` and `downloaded: true`. The `title` must be the start of the work's name, `author` is a filter, and `edition` is matched against the entry's label. When the edition you name is not in the library, the call fails in a way the assistant can act on. For «ط دار طوق النجاة» it returns `status: "not_found"`, `reason: "edition_not_found"` and `available_editions`, the printings that do exist: | Book id | Printing | `citable` | | ------- | ----------------------------- | --------- | | 735 | ت البغا | true | | 907 | بحاشية السهارنفوري - ت الندوي | true | | 1284 | ط التأصيل | true | | 1376 | ن عطاءات العلم | **false** | | 1681 | ط السلطانية | true | The assistant should say that the printing asked for is not available and name the nearest, not quote one printing's page number against another's. `citable: false` means the numbers are Shamela's own, not a printing's ([Verify a quotation](https://qurangallery.com/docs/mcp/verify-a-quotation)). Some ready-made scopes already pin printings. `hadith-primary`, for instance, pins _Sahih al-Bukhari_ to the Sultaniyya printing and _Sahih Muslim_ to the ʿAbd al-Baqi numbering ([Choosing a scope](https://qurangallery.com/docs/mcp/scopes)). ## The same work in several entries `shamela_get_details` (`kind: 'book'`) lists the other entries of the same work in `same_group`. For book 1681 it lists seven: four other printings of _Sahih al-Bukhari_ (al-Bugha, the Saharanpuri-Nadwi printing, al-Ta'sil and the Ata'at al-Ilm printing) and three abridgments. The tool's own note is the rule to follow: **hits from two entries of one group are not independent sources.** Two sets of results that agree because they are the same text, in two printings, are one witness. Searches across several printings make this visible. When hits land in two or more entries of one work, `shamela_search` (`match: 'words'`) adds `edition_groups` so they can be read as one source. ## Using it in a citation `shamela_cite` (`mode: 'citation'`) combines the printed page with what it knows. For _Sunan Abi Dawud_ (ed. al-Arna'ut), page id 1796, the full style gives: ``` أبو داود (ت ٢٧٥هـ). سنن أبي داود. ٢٧٥هـ، ج ٣، ص ٥٢٦. ``` with the notes «المحقق (من اسم الشاملة): الأرنؤوط» and three lines saying that edition number, publisher and city are not available. The citation names what is known and lists what is not, which is the honest shape for a classical text whose printing details the library did not record. Other styles are `shamela`, `short`, `bibtex` and `ris`. Ask for the one your reader needs and keep the notes with it. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [How Arabic search behaves in Shamela MCP](https://qurangallery.com/docs/mcp/arabic-search-behaviour) - [Ten test cases for the Shamela MCP server, with real results](https://qurangallery.com/docs/mcp/test-cases) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Ten test cases for the Shamela MCP server, with real results Source: https://qurangallery.com/docs/mcp/test-cases > Ten calls to run on the Quran Gallery Shamela MCP server: a found hadith, a footnote, a wrong scope, a quote not found, and errors, with real output. These are ten checks anyone can run against `https://qurangallery.com/mcp/shamela` to see whether an assistant is reading the library or making up a citation. Each one has the question, the exact tool call, what a correct answer must contain, and an example of a wrong answer. The "returned" lines are what the server returned when this page was written, on 2026-11-01. The server identified itself as `qurangallery-shamela` version 0.3.0 in its `initialize` reply and described a library of 8,594 works. The `shamela_check_health` tool is not exposed on the public endpoint, so the version comes from `initialize`. The expected results below are what the calls returned, not what a reader might hope for. If the library is updated, a page number or count can change; the shape of the answer should not. ## How to run them Any client from [the setup pages](https://qurangallery.com/docs/mcp/getting-started) works. To call the endpoint directly, send a JSON-RPC request: ```bash curl -s https://qurangallery.com/mcp/shamela \ -H 'content-type: application/json' \ -H 'accept: application/json, text/event-stream' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"shamela_search_library","arguments":{"query":"إنما الأعمال بالنيات","scope":"hadith-primary"}}}' ``` The ten cases use nine distinct calls. Without a key the limit is 10 calls a minute, so leave a few seconds between them ([Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors)). These checks do not grade anything. A case that finds a hadith in a book stops at "found in this book, on this printed page". Whether a hadith is sound, or what it rules, is not something this server decides. ## 1. A hadith found in a named book **Question.** Where is «إنما الأعمال بالنيات» printed in the primary hadith collections? ```json { "name": "shamela_search_library", "arguments": { "query": "إنما الأعمال بالنيات", "scope": "hadith-primary" } } ``` **Returned.** `booksSearched: 8`, `relaxedToTokens: false`, `totalMatches: 3`. The first three passages are `exact_phrase` matches: | Book | Printed page | `pageId` | `matchedIn` | | ---------------------------------- | ------------ | -------- | ----------- | | _Sunan Ibn Majah_, ed. al-Arna'ut | `5/ 305` | 2939 | `body` | | _Sahih al-Bukhari_, ed. Sultaniyya | `1/ 6` | 10 | `body` | | _Sunan Abi Dawud_, ed. al-Arna'ut | `3/ 526` | 1796 | `footnote` | Two more passages from _Sunan al-Nasa'i_, ed. al-Risala (`1/ 59` and `6/ 298`) came back with `matchQuality: "all_terms"` and `matchedIn: "both"`. On the first of them the printed wording is «إنَّما الأعمالُ بالنِّيَّة», singular, so it is not the exact phrase. **A correct answer contains:** the book title with its edition, the author, the printed volume and page (`1/ 6` for al-Bukhari), where it matched (`body`), and a `sourceUrl` such as `https://qurangallery.com/maktabah/book/1681/10`. It says the wording is printed there. It does not go on to say what the hadith proves. **Failure example.** "It is in Sahih al-Bukhari, volume 1, page 12." The page is invented: the search returned `1/ 6`. A second failure is naming the book with no edition, since the printed page means nothing without one. ## 2. A hit that is the editor's footnote **Question.** In the same results, whose words matched in _Sunan Abi Dawud_? This uses the call from case 1. Look at the third row. **Returned.** `matchedIn: "footnote"`, printed page `3/ 526`. The matched text is an editor's note that quotes al-Khattabi: «قال الخطابي: قوله: إنما الأعمال بالنيات…». **A correct answer contains:** the words "footnote" or "editor's note", the name al-Khattabi as the person quoted, and the book and page. It does not say Abu Dawud wrote them. **Failure example.** "Abu Dawud says: «إنما الأعمال بالنيات معناه أن صحة الأعمال…»". The book and page are real, and the quotation is real. The attribution is wrong. See [Search the main text or only the footnotes](https://qurangallery.com/docs/mcp/search-main-text-or-footnotes). ## 3. Ask for footnotes only **Question.** Which of those three books has the phrase only in a footnote? ```json { "name": "shamela_search", "arguments": { "match": "phrase", "query": "إنما الأعمال بالنيات", "scope": { "book_ids": [117359, 98138, 1681] }, "search_in": ["foot"] } } ``` **Returned.** `total_verified: 1`, `scope_count: 3`. One result: book id 117359, `printed_page: "3/ 526"`, `matched_in: ["foot"]`, `matched_in_section: "footnote"`. **A correct answer contains:** exactly one book, _Sunan Abi Dawud_, and the page `3/ 526`. It also says the other two books (ids 98138 and 1681) did not match in a footnote. **Failure example.** Listing al-Bukhari as a footnote hit because it appeared in case 1. The filter returned one result, and a longer list means the answer did not use it. ## 4. The wrong scope **Question.** Where is the hadith printed, if the assistant searches `lugha` (Arabic language, lexicons, grammar and adab)? ```json { "name": "shamela_search_library", "arguments": { "query": "إنما الأعمال بالنيات", "scope": "lugha" } } ``` **Returned.** `booksSearched: 1052`, `totalMatches: 99`, `relaxedToTokens: false`. The first five rows are _Ihya' 'Ulum al-Din_ (`4/ 362`), _Min hady al-salaf fi talab al-'ilm_ (`19`), _Nur al-huda wa-zulumat al-dalal_ (`252`), _al-Tibyan fi qawa'id al-nahw_ (`83`) and _Hada'iq al-awliya'_ (`2/ 156`). All five are books that quote the hadith while discussing something else. None is a hadith collection. **A correct answer contains:** a statement that these books quote the wording but are not where it is printed as a hadith, and that this scope holds no hadith collection. It re-runs the search in `hadith-primary` before giving a source. **Failure example.** "The hadith comes from Ihya' 'Ulum al-Din, volume 4, page 362." The wording is on that page, but the page is a quotation in a book about something else. [Why scope matters](https://qurangallery.com/docs/mcp/why-scope-matters) shows the same query in four places. ## 5. A quotation that is not found **Question.** Is a given sentence in the primary hadith collections? This case uses a string of letters that is not a sentence in any language, so the correct answer is "not found". ```json { "name": "shamela_search_library", "arguments": { "query": "ظظظظ غغغغ ضضضض", "scope": "hadith-primary" } } ``` **Returned.** `passages` is empty, `relaxedToTokens: true`, `booksSearched: 8`, `totalMatches: null`, and the note: "Neither the exact phrase nor its words together appear anywhere in this scope." **A correct answer contains:** "not found in the searched scope", the scope name (`hadith-primary`) or the count of books searched (8). It does not say the text is false, invented or weak, because an empty result in eight books says nothing about the other 8,586. **Failure example.** "This hadith does not exist." The tool supports a narrower statement only: the words are not in these eight books. ## 6. A near match is not a quote **Question.** Is «مفتاح الجنة تحت لسان الغراب الأزرق» in the primary collections? This sentence was made up for the test. ```json { "name": "shamela_search_library", "arguments": { "query": "مفتاح الجنة تحت لسان الغراب الأزرق", "scope": "hadith-primary" } } ``` **Returned.** `relaxedToTokens: true`, `totalMatches: null`, and a note that begins "Neither the exact phrase nor all of its words together were found." The first five rows are _Sahih Muslim_ (`4/ 2250`, `2/ 680`, `3/ 1433`), _Sunan Ibn Majah_ (`1/ 467`) and _Sunan al-Nasa'i_ (`5/ 316`), each with `matchQuality: "relaxed"`. They share single words such as «الجنة» with the query and say something else. **A correct answer contains:** that the exact wording was not found, that `relaxedToTokens` is `true`, and that the pages returned are near matches to be read before anyone quotes them. It does not present any of them as the sentence asked about. **Failure example.** "Yes, it is in Sahih Muslim, volume 4, page 2250." The page is a `relaxed` match for single words. It is not the sentence. ## 7. A question in English **Question.** What happens if the assistant sends an English query? ```json { "name": "shamela_search_library", "arguments": { "query": "intentions", "scope": "hadith-primary" } } ``` **Returned.** A tool error (`isError: true`), not an empty list: "The library is Arabic, so the query must contain Arabic words. Translate the search terms into Arabic and call again, for example «إنما الأعمال بالنيات» for "actions are judged by intentions"." **A correct answer contains:** a retry with Arabic search terms, or a statement that the search needs Arabic words. It does not report "no results". **Failure example.** "Nothing about intentions was found in the hadith collections." The search never ran. ## 8. A search with no scope **Question.** What happens if `scope` is left out? ```json { "name": "shamela_search_library", "arguments": { "query": "إنما الأعمال بالنيات" } } ``` **Returned.** A tool error: "scope is required and must be one of: hadith-primary, tafsir-canonical, fiqh-hanafi, fiqh-maliki, fiqh-shafii, fiqh-hanbali, fiqh-comparative, aqeedah, hadith-sciences, tafsir, seerah, lugha. Pick the one closest to the question and call again." **A correct answer contains:** a retry with one of the twelve names. See [Choosing a scope](https://qurangallery.com/docs/mcp/scopes). **Failure example.** Quoting results from an earlier search as though this call had produced them. ## 9. Diacritics make no difference **Question.** Does a fully vowelled query give a different result? ```json { "name": "shamela_search_library", "arguments": { "query": "إِنَّمَا الْأَعْمَالُ بِالنِّيَّاتِ", "scope": "hadith-primary" } } ``` **Returned.** The same five passages as case 1, in the same order, with the same page ids and `matchedIn` values and `totalMatches: 3`. **A correct answer contains:** the same books and pages as case 1. See [How Arabic search behaves](https://qurangallery.com/docs/mcp/arabic-search-behaviour). **Failure example.** Reporting a different set of books for the vowelled query than for the plain one. ## 10. Read the page back **Question.** Is the printed page the search reported the page that holds the text? ```json { "name": "shamela_read", "arguments": { "unit": "page", "book_id": 1681, "page_id": 10 } } ``` **Returned.** `book_name: "صحيح البخاري - ط السلطانية"`, `printed_page: "1/ 6"`, `body_total_parts: 1`, an empty `foot`, `prev_page_id: 9` and `next_page_id: 11`. The `body` starts with the numbered chain «١ - حَدَّثَنَا الْحُمَيْدِيُّ عَبْدُ اللهِ بْنُ الزُّبَيْرِ…» and contains «إِنَّمَا الْأَعْمَالُ بِالنِّيَّاتِ». The page sits under the heading «بدء الوحي». **A correct answer contains:** the same book, edition and printed page (`1/ 6`) as case 1, and a quotation taken from the `body` without changes. **Failure example.** Citing `1/ 7` because "the next page usually carries the rest". The page the search returned is the one to cite, and the neighbouring page id is a separate page. [Verify a quotation](https://qurangallery.com/docs/mcp/verify-a-quotation) covers the full routine. ## If a case fails A result that differs from the "returned" lines is not automatically a fault. The library is updated, and page ids and counts can move. These are the things that should not change: the Arabic-only error, the required scope, the `matchedIn` and `relaxedToTokens` fields, and the rule that a quotation is cited to a printed edition and page. A different result for those is worth reporting to the person who runs your assistant, with the exact call you made. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Edition, editor and publisher in Shamela MCP results](https://qurangallery.com/docs/mcp/edition-metadata) - [MCP prompts and custom instructions for cited answers](https://qurangallery.com/docs/mcp/custom-instructions) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: MCP prompts and custom instructions for cited answers Source: https://qurangallery.com/docs/mcp/custom-instructions > The three ready-made prompts and the grounding-rules resource of the Quran Gallery MCP server, a system prompt for cited answers, and how to load them. Two things shape how an assistant answers from this library: what the server hands your client, and what you tell the assistant yourself. This page covers both. The server publishes three prompts and one resource. For clients that do not show them, or when you want your own wording, a system prompt below does the same job. ## What the server publishes The server answers `prompts/list` and `resources/list` (read from the live endpoint on 2026-11-01). It sends the text of each prompt when your client asks for it. ### The three prompts | Prompt | Arguments | What it asks the assistant to do | | ---------------- | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | | `takhrij_hadith` | `text` (required): the hadith wording, Arabic works best, up to 2,000 characters | Locate the hadith across the hadith collections: each source, its isnad and printed page. It does not grade the hadith. | | `cite_passage` | `text` (required): the passage to source, Arabic, up to 2,000 characters | Find the book, edition and printed page a passage comes from, and cite it with a link to the page. | | `compare_tafsir` | `surah` (required): 1 to 114; `ayah` (required): a whole number from 1 to 286 | Compare how the major tafsir works explain one ayah, each view quoted and attributed to its author. | A prompt is a message the server writes for you. Choosing one fills in the question and tells the assistant which tools to use and how to cite. It does not run anything by itself. The message is in English and tells the assistant to answer in your language and keep Arabic quotations in Arabic. All three end with the same instructions: follow the grounding rules, quote only what the tools return, keep the main text apart from footnotes, give the printed volume and page and the edition data only when the tools return them, and include each `sourceUrl`. `takhrij_hadith` adds that the assistant must not state or imply a verdict on the hadith's authenticity. The server locates sources; it does not grade them ([Hadith takhrīj](https://qurangallery.com/docs/mcp/hadith-takhrij)). A bad argument is refused with a message that names the fix: an empty or over-long `text`, or a `surah` or `ayah` that is not a whole number in range. ### The grounding-rules resource The resource `qurangallery://grounding-rules` (name `grounding-rules`, Markdown) holds the citation contract: eight short rules. The same rules are explained one by one in [Grounding rules](https://qurangallery.com/docs/mcp/grounding-rules). A client that supports resources can attach it to a conversation, which gives the assistant the rules in full. ## A system prompt for cited answers Paste this into your assistant's custom instructions, project instructions or system prompt. It works with any client that connects to the server, including ones that do not show MCP prompts. ```text You can search a library of classical Islamic books through the Quran Gallery MCP server. When a question needs a text, use its tools. Do not answer from memory. Searching - Search queries must be in Arabic. Translate the user's terms first. - Start with shamela_search_library and name a scope that fits the question. Quoting and citing - Quote only what a tool returned. Never complete a quotation, an isnad or a reference from memory. - Give, for every passage: the book, the author (with death year when given), the printed volume and page, and a link to the sourceUrl. - Give the edition, editor and publisher only when a tool returned them. If they are missing, say they are not available. Do not guess. - Say whether the wording is in the main text or in a footnote. If it was found only in a footnote, say it is the editor's or commentator's note, not the author's words. - If the page number is Shamela's automatic numbering, say so. It is not the printed edition's page. When nothing is found - Say "not found in the scope I searched" and name the scope. Do not say the text does not exist, and do not substitute a source you remember. Limits - Do not grade hadith as sahih, hasan or da'if, and do not give fatwas or legal rulings. If a source quotes a grading, report it as that source's statement, with book and page. - Where scholars or schools differ, present each view attributed to its holder. Do not choose between them unless the user asks for a comparison. Answer in the language the user writes in. Keep Arabic quotations in Arabic and add a translation when the user does not write Arabic. ``` Adjust the tone and length to taste, but keep the rules about quoting, footnotes, missing data and "not found". They are what makes an answer checkable: a reader can open each `sourceUrl` and compare ([Grounding rules](https://qurangallery.com/docs/mcp/grounding-rules)). ## Load them in your client The system prompt works everywhere. The server's own prompts and resource depend on the client: | Client | Server prompts | Grounding-rules resource | | ------------------------------ | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | | Claude Code | Supported: listed as `/servername:promptname`, and `/mcp__servername__promptname` also runs one | Supported: type `@` and pick it, or write `@server:protocol://resource/path` | | Cursor | The documentation lists prompts as supported but does not say how to invoke one: not verified | The documentation lists resources as supported but does not say how to attach one: not verified | | VS Code | Supported: type `/.` in chat | Supported: **Add Context** then **MCP Resources**, or run **MCP: Browse Resources** | | Gemini CLI | Supported: a prompt becomes a slash command, with arguments as `--name="value"` or by position | Not documented on the MCP page: not verified | | ChatGPT | Not verified | Not verified | | Claude (claude.ai and Desktop) | Not verified | Not verified | "Not verified" means the client's documentation did not state it on the day this page was written, and we did not test it. Use the system prompt in those clients. ### Claude Code With the server added as `quran-gallery` ([Claude Code](https://qurangallery.com/docs/mcp/claude-code)), type `/` and look for the three prompts. Prompt arguments are passed space-separated after the command. Because the arguments are split on spaces, a long hadith text is easier to give in the system prompt or the chat itself. To put the system prompt in place for a project, save it in the project's `CLAUDE.md`. ### Cursor Put the system prompt in a project rule or in the user rules in Cursor's settings ([Cursor](https://qurangallery.com/docs/mcp/cursor)). The server's prompts are described as supported; if you do not see them, use the system prompt. ### VS Code With the server added as `quran-gallery` ([VS Code](https://qurangallery.com/docs/mcp/vscode)), type `/quran-gallery.` in chat to list its prompts, for example `/quran-gallery.compare_tafsir`. For the system prompt, save it as a custom instructions file in the workspace, or paste it at the start of a chat. ### Gemini CLI With the server added ([Gemini CLI](https://qurangallery.com/docs/mcp/gemini-cli)), run a prompt by its name as a slash command, for example `/compare_tafsir --surah=2 --ayah=255`. For the system prompt, put it in a `GEMINI.md` file in the project folder. ## Related - [Grounding rules](https://qurangallery.com/docs/mcp/grounding-rules) - [Hadith takhrīj](https://qurangallery.com/docs/mcp/hadith-takhrij) - [Reading a result](https://qurangallery.com/docs/mcp/reading-results) - [Tool reference](https://qurangallery.com/docs/mcp/tools) ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Ten test cases for the Shamela MCP server, with real results](https://qurangallery.com/docs/mcp/test-cases) - [MCP rate limits and error codes](https://qurangallery.com/docs/mcp/limits-and-errors) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: MCP rate limits and error codes Source: https://qurangallery.com/docs/mcp/limits-and-errors > Keyless limits of 10 requests a minute and 200 a day per IP, 60 a minute with a free key, and the 401, 403, 429 and 503 errors you can get. ## Rate limits Two tiers. No account or key is needed: without a key you are on the keyless tier; a free key ([Getting started](https://qurangallery.com/docs/mcp/getting-started)) moves you to the keyed one. | | Keyless | With a free key | | ---------------------------------- | --------------------------------------------- | --------------------------------- | | Tool calls | **10 a minute and 200 a day**, per IP address | **60 requests a minute**, per key | | Connecting and listing tools | Free; a flood ceiling of 60 a minute per IP | Counted in the 60 | | `shamela_read` (`unit: 'range'`) | Up to 5 pages per call | Up to 20 | | `shamela_read` (`unit: 'section'`) | Up to 10 pages per call | Up to 100 | All windows are sliding. A refused call spends nothing — hitting the per-minute limit does not eat into the daily one. **Keyless** limits are counted per IP address, because there is nothing else to count on. All keyless callers also share one pool of capacity, so at a busy moment a keyless call can be refused before you reach your own limit; the error says so. A shorter page range is not a lost page: the response says where to continue. **Keyed** limits are counted against the **key**, not your IP address. MCP clients often sit behind shared networks, and every search runs against a shared library service, so the cost is real regardless of where the request came from. Every response carries the current state: | Header | Meaning | | --------------------- | --------------------------------------------- | | `ratelimit-limit` | The ceiling that is closest to being reached. | | `ratelimit-remaining` | Requests left under that ceiling. | | `ratelimit-reset` | Seconds until its window resets. | Exceed a limit and you get **429** with a `retry-after` header and a message naming which limit you hit. Wait that long and resume — or, if the message is about the keyless tier, add a key. > One `shamela_search_library` call is one request against your limit, even though it may run two passes internally. ## The four errors to handle A request with no key is never refused for lacking one. A key that is sent is checked, and a bad one is refused rather than quietly treated as keyless — otherwise you would never learn it had stopped working. Every error body is a JSON-RPC error with `id: null`, so the code tells you which case you hit even when the status is hidden. | Status | JSON-RPC code | Meaning | What to do | | ------- | ------------- | --------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | | **401** | `-32001` | A key was sent and is not valid. | Check the `Authorization: Bearer …` header. If the key was deleted, create a new one — or remove the header to continue on the keyless tier. | | **403** | `-32003` | The key is valid but may not use the server: its account is suspended. | See [Banned accounts](https://qurangallery.com/docs/accounts/banned-accounts). | | **429** | `-32004` | A rate limit was reached; the message says which. The `Retry-After` header says how many seconds to wait. | Wait, then retry. Keyless callers can also add a free key. | | **503** | `-32002` | Your key could not be verified right now, so the request was refused rather than waved through. | Transient. Retry after the `Retry-After` header (30 seconds). | A **503** means the server could not confirm your key was valid, so it refused the request rather than guessing. It never admits an unverifiable key — a request that cannot be authenticated is rejected, not waved through. A key that was verified in the last ten minutes is still accepted while the accounts service is briefly failing, so a transient outage does not lock out a working key. A key that is genuinely invalid is always a **401**, never a 503: if you keep getting 401, retrying will not help. ## Malformed requests and server faults Besides those four, the server sends only these, which a normal MCP client never triggers: | Status | JSON-RPC code | Meaning | What to do | | ------- | ------------- | --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | | **400** | `-32700` | The body is not valid JSON. | Fix the request; retrying it unchanged fails the same way. | | **400** | `-32600` | The body is JSON but not a JSON-RPC 2.0 request (missing `jsonrpc: "2.0"` or `method`, or a batch). | Send one request per POST — MCP 2025-06-18 has no batching. | | **500** | `-32603` | An unexpected fault on the server. | Retry once after a few seconds; if it persists, the fault is ours. | A **502** or **504** does not come from the MCP server — it comes from the proxy in front of it while the server is restarting or unreachable. Treat it like a 500 and retry shortly. ## Two kinds of failure Once you are authenticated, failures arrive in one of two shapes, and the difference is deliberate. **A tool error** comes back as a normal result marked `isError`, with a message your assistant can read and act on. Send an invalid scope — to `shamela_search_library` or to any `shamela_*` search that takes one — and you get the list of valid ones back, so the model can simply retry with a real scope. A query with no Arabic words gets a message to translate it and call again: > _scope is required and must be one of: hadith-primary, tafsir-canonical, fiqh-hanafi, …_ **A protocol error** comes back as a JSON-RPC error, for problems your assistant cannot fix by trying again — asking for a tool that does not exist, or sending a malformed request. | Situation | Shape | | ----------------------------------------- | ----------------------------------- | | Missing or invalid `scope` | Tool error (`isError`) | | Empty `query` | Tool error (`isError`) | | Library drops out during a call | Tool error (`isError`) | | Library already unreachable when you call | Protocol error `-32601` (see below) | | Unknown tool name | Protocol error `-32601` | | Malformed JSON-RPC request | Protocol error `-32600` | The split matters because many clients never show a protocol error to the model — it just sees the call fail. Putting recoverable mistakes in the result is what lets an assistant correct itself instead of giving up. ## When the library is unavailable If the library service cannot be reached, `tools/list` returns **no tools** rather than advertising one that would fail mid-call, and any attempted call returns protocol error `-32601` with a message saying the library is temporarily unreachable. This is HTTP 200, not a 503. This is why a client that suddenly lists zero tools is showing you a real signal, not a configuration problem. Give it a minute and reconnect. ## Losing a key Keys cannot be recovered — only a hash is stored. If you lose one or think it has leaked, **delete it first, then create a replacement.** Deleting first closes the window in which someone else holds a working key. > **Revocation takes up to 60 seconds to reach this endpoint.** Verified keys are cached for a minute so that every tool call does not require a round trip to the accounts service. A key you just deleted may keep working until that minute is up — measured at ~6 seconds in practice, but plan for 60. > > That window matters when you are revoking a **leaked** key rather than tidying up. Delete it immediately anyway; then treat the next minute as still-exposed rather than assuming the door shut the moment you clicked. Full key management is covered in [API keys](https://qurangallery.com/docs/accounts/api-keys). ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [MCP prompts and custom instructions for cited answers](https://qurangallery.com/docs/mcp/custom-instructions) - [Quran Gallery Shamela MCP: frequently asked questions](https://qurangallery.com/docs/mcp/faq) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # MCP for developers: Quran Gallery Shamela MCP: frequently asked questions Source: https://qurangallery.com/docs/mcp/faq > Answers about the Quran Gallery MCP server for Maktabah al-Shamela: no key, 15 tools, 8,594 books, limits, closed source, printed page, footnotes. Short answers to the questions people and assistants ask most. Each links to the page that has the detail. ## Does Quran Gallery have an MCP server? Yes. It is a hosted server over the Maktabah al-Shamela library at: ``` https://qurangallery.com/mcp/shamela ``` It is live now and anyone can connect to it. See [What the server is](https://qurangallery.com/docs/mcp/shamela-mcp-server). ## Is `/mcp` or `/mcp/shamela` the address to paste into my AI app? Paste `https://qurangallery.com/mcp/shamela`. That is the endpoint, the only address that speaks the MCP protocol. `https://qurangallery.com/mcp` is a web page for people; a client that is given it receives a redirect and a web page, not a reply it can read. A plain `GET` of `/mcp/shamela` returns a short JSON description of the endpoint, which is handy for checking that you have the right URL. [Connect any MCP client](https://qurangallery.com/docs/mcp/connect-any-mcp-client) covers the three setup traps. ## Do I need an API key or an account? No. Connecting and searching work without either. An optional free key, sent as `Authorization: Bearer qg_sk_…`, raises the limit from 10 tool calls a minute to 60, and lets the two bulk readers return more pages per call (the table below). ChatGPT's connector form offers OAuth or no authentication, so there you leave authentication off and use the keyless limit; a key is for the other clients. There is also no OAuth sign-in: a client that offers one should be set to _no authentication_. ## How many tools does it have? **15**, all read-only, the same for every client. Four are curated for assistants that work from a question: `shamela_search_library` (scoped search), `search` and `fetch` (the standard pair ChatGPT deep research expects: a quick generic entry with one argument, unscoped; for hadith, tafsir or fiqh prefer `shamela_search_library`), and `shamela_verify_quote` (checks whether an Arabic quotation occurs in the library and where). The other 11 are the library's own tools, named `shamela_*`: searching by phrase, boolean query, page and title, reading a page or a range, resolving a title and a printed page, citations, tafsir and hadith helpers, and catalogue lookups. The server also offers three prompts (`takhrij_hadith`, `cite_passage`, `compare_tafsir`) and one resource, `qurangallery://grounding-rules`. The tools are listed in [the tool reference](https://qurangallery.com/docs/mcp/tools). ## What is in the library? **8,594 works by 3,188 authors in 41 categories**, from Maktabah al-Shamela: the Quran and its sciences, tafsir, hadith and its sciences, fiqh across the four schools and comparatively, creed, Arabic language, history, biography and more. Twelve ready-made scopes (`hadith-primary`, `tafsir-canonical`, `fiqh-hanafi`, `fiqh-maliki`, `fiqh-shafii`, `fiqh-hanbali`, `fiqh-comparative`, `aqeedah`, `hadith-sciences`, `tafsir`, `seerah`, `lugha`) select shelves of the library for common questions, and two of them, `hadith-primary` (8 books) and `tafsir-canonical` (6), are curated lists of named books; `hadith-primary` pins specific printings. Together the twelve cover 7,084 of the 8,594 works. The raw tools reach every work. See [Choosing a scope](https://qurangallery.com/docs/mcp/scopes). ## Is it open source? No. The server is closed source. The public repository [`qurangallery/kb-mcp`](https://github.com/qurangallery/kb-mcp) holds documentation only; its README says "Hosted service, source not published". The behaviour is documented in these pages, and each result links to the page in the Maktabah reader so a reader can check it without trusting the server. ## Is it the official Shamela server? No. It is run by Quran Gallery and is not operated by shamela.ws. The text and its page structure come from Maktabah al-Shamela, and the server attributes each passage to it. ## What does a result contain? The book, the author and death year, the verbatim Arabic, the **printed volume and page** as that printing paginates it (`printedPage`), whether the words were in the **main text or a footnote** (`matchedIn`), the edition, editor and publisher when the library records them, and the `sourceUrl` in the Maktabah reader. Searches also say whether the exact phrase was found or only a looser word match (`relaxedToTokens`). See [Reading a result](https://qurangallery.com/docs/mcp/reading-results). ## What if a book has no printed page? `printedPage` can be `null`, and some books are paginated by Shamela itself, not by a printing. In the current library 7,177 of the 8,594 entries match a printed edition and 1,417 do not. For those, the page numbers are Shamela's own and must not be cited as a printing's. `shamela_cite` (`mode: 'printed_page'`) reports `citable: false`, and `shamela_cite` (`mode: 'citation'`) reports `auto_numbered: true` and adds «بترقيم الشاملة آليا» to the citation. The page is still reachable through `sourceUrl`. See [Verify a quotation](https://qurangallery.com/docs/mcp/verify-a-quotation). ## How do I tell the author's words from an editor's? Read `matchedIn`: `body` is the author's text, `footnote` is the editor's, and `both` means the words occur in each. The raw search tools can search only one of them. See [Search the main text or the footnotes](https://qurangallery.com/docs/mcp/search-main-text-or-footnotes). ## Can it check a quotation an AI gave me? Not with a single tool. It takes a few calls: resolve the edition, resolve the printed page, read the page, then compare the text in the main text and the footnotes separately. [Verify a quotation](https://qurangallery.com/docs/mcp/verify-a-quotation) shows each step with real results. ## Does it return an edition, publisher or city? Edition label, editor and publisher, when the library has recorded them. It does not store the city of publication or the edition number, and says so in its notes. [Edition metadata](https://qurangallery.com/docs/mcp/edition-metadata) has examples. ## What are the rate limits? | | Without a key | With a free key | | ---------------------------- | ----------------------------------------- | -------------------- | | Tool calls | 10 a minute and 200 a day, per IP address | 60 a minute, per key | | Connecting and listing tools | Free, with a flood ceiling of 60 a minute | Counted in the 60 | | Reading a range of pages | Up to 5 pages | Up to 20 | | Reading a book section | Up to 10 pages | Up to 100 | A 429 response carries `Retry-After` and `RateLimit-*` headers. The error codes, 401, 403, 429 and 503, are covered in [Limits and errors](https://qurangallery.com/docs/mcp/limits-and-errors). ## Which AI apps work with it? Any client that supports a remote MCP server over Streamable HTTP: ChatGPT, Claude, Claude Code, Gemini CLI, Cursor, VS Code, GitHub Copilot, and your own code through an SDK. Setup for each is in [Getting started](https://qurangallery.com/docs/mcp/getting-started), and [Connect any MCP client](https://qurangallery.com/docs/mcp/connect-any-mcp-client) covers SDKs, `mcp-remote`, curl and debugging. ## Can I search in English? Not directly. The library is Arabic, so a query must contain Arabic words. A query without any is refused with a message telling the assistant to translate the terms first, and the assistant normally does so and retries. [How Arabic search behaves](https://qurangallery.com/docs/mcp/arabic-search-behaviour) covers diacritics, hamza and roots. ## What does it not do? - It does not grade hadith and does not issue rulings. A grading in a result is quoted from the book. - It does not return page images or OCR text; it returns the library's text and a link to the page in the Maktabah reader. (A book's scan details appear in `shamela_get_details` where the library has a scan.) - It does not accept English queries for search: the query must contain Arabic words. - It does not cover texts outside the Maktabah al-Shamela library, and it is not operated by shamela.ws. ## Does it grade hadith or give rulings? No. It finds and cites texts. A grading you see in a result is quoted from the book and belongs to whoever wrote it. [Hadith takhrij with MCP](https://qurangallery.com/docs/mcp/hadith-takhrij) shows how to trace a hadith through the sources, and [Grounding rules](https://qurangallery.com/docs/mcp/grounding-rules) sets out what an assistant should and should not conclude from a passage. ## Is it the same as other things called Quran Gallery or Quran MCP? No. The MCP server is the one at `qurangallery.com/mcp/shamela`. The site `qurangallery.app` is the earlier site of the same project. The Quran server at `mcp.quran.ai` is a separate project for the Quran text, tafsir and translations, not this one. For other servers see [Islamic MCP servers compared](https://qurangallery.com/docs/mcp/islamic-mcp-servers-compared). ## Why does a connector sometimes list no tools? The server republishes the library's tools, and if the library service behind it is unreachable at that moment it returns an empty list rather than advertising tools that would fail. Give it a minute and refresh the tool list. A request that carries a key can also receive a 503 when the key check is briefly unavailable; retry after the time in `Retry-After`. ## Next steps - [Open Quran Gallery MCP](https://qurangallery.com/mcp) - [Is there an MCP server for Maktabah al-Shamela?](https://qurangallery.com/docs/mcp/shamela-mcp-server) - [MCP rate limits and error codes](https://qurangallery.com/docs/mcp/limits-and-errors) - [MCP server for Islamic texts: what it does](https://qurangallery.com/docs/mcp/overview) --- # Desk — New Tab: Desk — New Tab privacy policy Source: https://qurangallery.com/docs/new-tab/privacy > What Desk — New Tab keeps on your device, what syncs when you sign in, the permissions it asks for, and how to delete your data. Desk — New Tab is the new-tab extension published by Quran Gallery for Chrome, Edge and Firefox. This page says what it keeps on your device, what leaves your browser, which permissions it asks for, and how to delete your data. The short version: your open tabs, history and bookmarks stay on your device. Only your own tasks, notes, saved sessions, quick links and settings sync, and only when you sign in. ## What stays on your device The extension reads browser data only through the optional permissions listed below, and only for the feature that needs them. It reads nothing until you use that feature. - **Open tabs** are listed so you can switch to them and find duplicates. They are never sent anywhere. - **History and bookmarks** are searched on your device to answer the command bar and its suggestions. They are never sent anywhere. - **Top sites** are read on your device to suggest quick links. Only the quick links you keep can sync, and only when you are signed in. - **Tab groups** are read on your device so they can be shown and saved as sessions. Tasks, notes, saved sessions, quick links and settings are kept in the browser's local database on your device. Your sign-in tokens are kept in the extension's local storage, as described below. The "Yesterday" session, the last browsing session saved automatically, is kept on your device only and never syncs. ## Optional widgets Desk has three optional widgets: the Hijri date, prayer times, and a verse or dhikr of the day. All three are off until you turn them on in Settings → Widgets. Their data ships inside the extension, so they work offline and are never sent to a server. Your switches and your verse or dhikr choice sync with your other settings, but the prayer-times city you pick from the list stays on that browser and does not sync. ## What syncs when you sign in Signing in with a Quran Gallery account is optional. When you sign in, these sync between the browsers and devices you sign in to: - tasks - notes - sessions you save by name, with their tab titles and URLs - quick links - settings Sign-in is handled by accounts.qurangallery.com, which issues the tokens and refreshes them. Your synced data is not stored there. The extension opens the Quran Gallery sign-in page and signs in with OAuth 2.1 using PKCE, so your password never reaches the extension. The extension then keeps an access token, valid for 24 hours, and a refresh token, in browser storage on this device. Each refresh replaces the refresh token, and it expires after 90 days unused. Sync data is stored on Quran Gallery's own server at qurangallery.com/desk, in a PostgreSQL database for Desk and tied to your account. Each sync carries a random device ID, created for each browser. It is not linked to your hardware, and it only stops a browser from receiving back changes it sent itself. For each connected browser, accounts keeps the browser's label (its name) and when it was last used. Desk keeps no connection open. Changes are sent a few seconds after you stop typing, and at least once a minute while you keep typing. While a Desk tab is open and visible, the extension checks for changes from your other browsers about every 15 minutes. When a check finds nothing new, the next check waits longer, up to every 4 hours, and goes back to every 15 minutes once a change arrives from another browser or you make one. With no Desk tab open, it checks for nothing. Offline, it keeps your changes on the device and sends them when the connection returns. If you never sign in, nothing leaves your browser. The optional widgets read only data bundled in the extension. ## What the extension does not do - **No ads.** It does not inject ads into web pages or search results. - **No tracking and no analytics.** - **No selling or sharing of your data with third parties.** - **No change to your default search engine.** Web searches you run from the command bar go to your default search engine, the same as a search typed in the address bar. Suggestions come from your history, bookmarks and open tabs on your device. There is no third-party suggestion service. ## Permissions and why The extension asks for these permissions. The required ones are granted when you install the extension. Each optional permission is requested the first time you use the feature that needs it. If you say no, that feature stays off until you allow it. | Permission | Type | Used for | | --- | --- | --- | | `storage` | Required | Saving your settings and sign-in tokens on this device. | | `identity` | Required | Opening the Quran Gallery sign-in window. | | `alarms` | Required | Running the focus timer and sync in the background. | | `accounts.qurangallery.com` and `qurangallery.com/desk` | Required (site access) | Signing in and refreshing your tokens with accounts, and sending sync requests to Desk on Quran Gallery's server. | | `topSites` | Optional | Reading your most-visited sites to suggest quick links. | | `tabs` | Optional | Listing open tabs across windows, switching to them and finding duplicates. | | `tabGroups` | Optional | Showing your tab groups and saving them as sessions. Firefox has no tab groups. | | `history` | Optional | Searching your history from the command bar. | | `bookmarks` | Optional | Searching your bookmarks from the command bar. | | `search` | Optional | Running web searches through your default search engine. | | `notifications` | Optional | Showing a notice when a focus timer ends. | | `favicon` | Optional | Showing site icons on quick links. Chromium browsers only; Firefox does not receive it. | ## How to delete your data - **Sign out on this browser.** In the extension's settings, choose Sign out. The extension sends anything still waiting to sync and waits for the server to confirm it, then clears this browser's copy. Your account keeps its copy. - **Delete Desk data.** In Settings → Connected browsers on accounts.qurangallery.com, choose Delete Desk data. It removes everything Desk synced to your account and signs every browser out at once. Each browser keeps its own local copy, which you delete by removing the extension. - **Disconnect a browser.** In Settings → Connected browsers on accounts.qurangallery.com, each connected browser has a Disconnect button. It stops that browser syncing within a day. To delete the data kept on that browser, remove the extension. - **Remove the extension.** Removing Desk — New Tab from the browser deletes the data it keeps on that device. - **Delete your account.** Deleting your Quran Gallery account deletes all the synced data held for it: tasks, notes, sessions, quick links and settings. - **Deleted items.** When you delete a task, note, session or quick link while signed in, the server keeps a deletion marker for 90 days, so your other browsers remove it too. After 90 days the marker is purged. ## Contact For questions about this policy or your data, use the feedback form at https://qurangallery.com/feedback. --- # Blog: Free Islamic articles by category, with RSS and search Source: https://qurangallery.com/docs/blog/overview > Articles and reflections on the Quran and Islamic tradition, in seven languages, free to read with no account, plus RSS and JSON feeds. The Quran Gallery Blog at [qurangallery.com/blog](https://qurangallery.com/blog) is a public reading space for long-form Islamic writing. It brings together articles and reflections, all grounded in the same commitment to careful sourcing that runs through the rest of the suite. It is free to read. You do not need an account. If you are already signed in to Quran Gallery, your account chrome appears in the top bar, but every post is fully visible to anyone who visits. ## Common tasks - [Find and read Islamic articles by topic](https://qurangallery.com/docs/blog/finding-and-reading-articles) - [Subscribe to the blog: RSS, Atom and JSON feed](https://qurangallery.com/docs/blog/subscribe-with-a-feed-reader) - [Search the blog fast with Ctrl+K](https://qurangallery.com/docs/blog/search-and-shortcuts) ## What you will find Posts are grouped into two categories: | Category | What it contains | | --------------- | -------------------------------------------------------------------------------------------- | | **Articles** | In-depth written pieces on topics from tafsir and fiqh to Islamic history and practice. | | **Reflections** | Shorter, more personal pieces — spiritual observations, tadabbur, and contemplative writing. | Each post shows its category, the date it was published, and an estimated reading time so you can judge at a glance whether to read now or save for later. Posts carry one team byline, so you will see "The Quran Gallery team" rather than individual author names. ## Ways to browse - **Collections** — series of essays gathered in reading order, so you can start at part one and continue. - **Hijri-season shelves** — essays grouped by the time of the Islamic year they suit, such as Ramadan or Dhul Hijjah. - **Categories and topics** — pick Articles or Reflections, or follow a topic tag. - **Search** — press Cmd+K (Ctrl+K on Windows and Linux) or `/` to search the text of the essays. See [Search and keyboard shortcuts](https://qurangallery.com/docs/blog/search-and-shortcuts). ## Languages The blog is available in seven languages: English, Arabic, Urdu, Indonesian, Turkish, Bengali, and French. Use the language switch to move between them. ## Citations and the source reader Essays that quote classical works cite the edition, volume, and page. A citation opens the printed page in the source reader, so you can check the passage for yourself. ## Following new posts The blog publishes an RSS feed (`/blog/rss.xml`) and a JSON Feed (`/blog/feed.json`). Each language has its own feed too. See [Subscribe with a feed reader](https://qurangallery.com/docs/blog/subscribe-with-a-feed-reader). ## How the blog fits into the suite The blog is a companion to the rest of Quran Gallery. A reflection on a particular verse might link naturally to reading that passage in the Quran Reader, or an article on memorisation technique might complement your work in Madrasah. The apps share one account, so switching between them is seamless. > New posts appear in the **Latest** section on the blog home page as soon as they are published — no sign-in needed to see them. ## Next steps - [Open the Quran Gallery Blog](https://qurangallery.com/blog) - [Find and read Islamic articles by topic](https://qurangallery.com/docs/blog/finding-and-reading-articles) - [Subscribe to the blog: RSS, Atom and JSON feed](https://qurangallery.com/docs/blog/subscribe-with-a-feed-reader) --- # Blog: Find and read Islamic articles by topic Source: https://qurangallery.com/docs/blog/finding-and-reading-articles > Browse the blog by category or tag, search by word, open an article with its date, reading time and related posts, and follow new posts by RSS. Open [qurangallery.com/blog](https://qurangallery.com/blog), then use the category cards, the tag cloud or the **Search blog…** button to find an article. Select its title to read it. ## The blog home page Open [qurangallery.com/blog](https://qurangallery.com/blog) to reach the blog home. The page has three sections: - **Browse by category** — two cards (Articles and Reflections) each showing how many posts are in that category. Select one to see only that type of writing. - **Latest** — all published posts in reverse-chronological order. Each entry shows the title, a short excerpt, the date, the category, the reading time, and any tags. - **Tags** — a cloud of every tag used across the blog. Each tag shows a count of how many posts carry it. ## Browsing by category Select a category card on the home page, or go directly: - `https://qurangallery.com/blog/category/articles` - `https://qurangallery.com/blog/category/reflections` The category page lists every post in that group, newest first. A back link at the top returns you to all posts. ## Browsing by tag Tags appear below each post excerpt on the home page, and in a tag cloud lower down. Selecting a tag takes you to a page listing every post that shares it: `https://qurangallery.com/blog/tag/` Like category pages, tag pages show the title, excerpt, date, category, and reading time for each match. The back link returns you to all posts. ## Searching A **Search blog…** button sits in the bar just below the site header on every page. Select it — or press ⌘K (Ctrl+K on Windows and Linux), the shortcut shown on the button — to open the search dialog. Type any word or phrase and matching posts appear immediately — results include the post title and excerpt so you can pick the right one at a glance. > Search covers all published post titles, excerpts, and body text, so you can find a piece even if you only remember a phrase from inside it. ## Reading an article Selecting any post title — whether from the home page, a category page, a tag page, or search results — opens the full article. An article page includes: - **Category badge** and the full title at the top. - **Author name**, **publication date** (and an "updated" date if the post was revised), and **reading time** — shown in a row just below the title. - **Cover image** (if the author provided one) before the body text. - **Full body** of the post in a clean, readable layout. - **Tags** listed at the foot of the article — each is a link to the corresponding tag page. - **Related posts** (when available) — a short list of posts from the same category or sharing tags, shown below the article. A back link at the top of every article ("All posts") returns you to the blog home. ### Updated posts If a post has been revised since it was first published, the header shows both the original publication date and the date it was last updated, so you always know how current the information is. ## Following via RSS To receive new posts in an RSS reader, subscribe to: `https://qurangallery.com/blog/rss.xml` The feed includes the title, excerpt, author, category, and tags for each post, and delivers up to the 50 most recent entries. Most RSS readers (Feedly, NetNewsWire, Inoreader, and others) accept this URL directly — look for an "Add feed" or "Subscribe" option and paste it in. > A JSON Feed is also available at `https://qurangallery.com/blog/feed.json` for readers that prefer that format. For step-by-step setup in Feedly, Inoreader, and NetNewsWire, see [Subscribe with a feed reader](https://qurangallery.com/docs/blog/subscribe-with-a-feed-reader). ## Next steps - [Open the Quran Gallery Blog](https://qurangallery.com/blog) - [Search the blog fast with Ctrl+K](https://qurangallery.com/docs/blog/search-and-shortcuts) - [Subscribe to the blog: RSS, Atom and JSON feed](https://qurangallery.com/docs/blog/subscribe-with-a-feed-reader) --- # Blog: Subscribe to the blog: RSS, Atom and JSON feed Source: https://qurangallery.com/docs/blog/subscribe-with-a-feed-reader > Follow the Quran Gallery Blog in Feedly, Inoreader or NetNewsWire with the RSS, Atom, JSON Feed or OPML address, in each of seven languages. Subscribe by pasting `https://qurangallery.com/blog/rss.xml` into your feed reader. The Atom, JSON Feed and OPML addresses are in the table below, and each language has its own feed. ## The feed addresses | Format | Address | | --------- | ------------------------------------------ | | RSS | `https://qurangallery.com/blog/rss.xml` | | JSON Feed | `https://qurangallery.com/blog/feed.json` | | Atom | `https://qurangallery.com/blog/atom.xml` | | OPML | `https://qurangallery.com/blog/feeds.opml` | Each feed lists the 50 newest posts with the title, the whole essay, the date, the category, and the tags, so you can read each post inside your reader. ## One feed per language The feeds above are in English. For another language, add its code after `/blog/`: - `https://qurangallery.com/blog/ar/rss.xml` — Arabic - `https://qurangallery.com/blog/ur/rss.xml` — Urdu - `https://qurangallery.com/blog/id/rss.xml` — Indonesian - `https://qurangallery.com/blog/tr/rss.xml` — Turkish - `https://qurangallery.com/blog/bn/rss.xml` — Bengali - `https://qurangallery.com/blog/fr/rss.xml` — French The same pattern works for JSON Feed: `https://qurangallery.com/blog//feed.json`. Each category and each topic has its own feed too: `https://qurangallery.com/blog/category/articles/rss.xml`, `https://qurangallery.com/blog/category/reflections/rss.xml`, and `https://qurangallery.com/blog/tag//rss.xml` for topics with several posts. Use `feed.json` instead of `rss.xml` for JSON Feed. The OPML file lists every feed at once, for readers that import a list. ## Feedly 1. Open [feedly.com](https://feedly.com) and sign in. 2. Select **Add content** (the plus button). 3. Paste `https://qurangallery.com/blog/rss.xml` into the search box. 4. Select the result, then **Follow**, and choose a folder. ## Inoreader 1. Open [inoreader.com](https://www.inoreader.com) and sign in. 2. Select **Add new subscription** (the plus button). 3. Paste `https://qurangallery.com/blog/rss.xml` and press Enter. 4. Select **Subscribe**. ## NetNewsWire 1. Open NetNewsWire on your Mac or iPhone. 2. Choose **File → New Web Feed** (on iPhone, select the plus button, then **New Web Feed**). 3. Paste `https://qurangallery.com/blog/rss.xml`. 4. Choose a folder and select **Add**. ## Any other reader Look for "Add feed", "Subscribe", or "Add subscription", and paste the RSS address. If your reader asks for a JSON Feed, use the `feed.json` address instead. ## If a reader cannot find the feed Paste the full address including `https://`. If it still fails, open the address in your browser first. You should see the feed's text. If you do, the feed is working and the problem is in the reader. ## Next steps - [Open the Quran Gallery Blog](https://qurangallery.com/blog) - [Find and read Islamic articles by topic](https://qurangallery.com/docs/blog/finding-and-reading-articles) - [Search the blog fast with Ctrl+K](https://qurangallery.com/docs/blog/search-and-shortcuts) --- # Blog: Search the blog fast with Ctrl+K Source: https://qurangallery.com/docs/blog/search-and-shortcuts > Press Ctrl+K (Cmd+K on a Mac) or the / key to search the title, excerpt and body text of every blog essay, in the language you are reading. Press **Ctrl+K** (**Cmd+K** on a Mac) or **/** on any blog page to search the title, excerpt and body text of every essay. ## Open search Search is available on every page of the blog. There are three ways to open it: - Press **Cmd+K** on a Mac, or **Ctrl+K** on Windows and Linux. - Press **/** (slash) when no text box is focused. - Select the **Search blog…** button in the bar below the site header. Press the same Cmd/Ctrl+K again to close it. ## What it searches Search looks through the title, the excerpt, and the body text of the published essays. You can find a piece from a phrase you remember from inside it. Results show the title and excerpt so you can pick the right one. ## Results in your language Results come from the language you are reading in. If you are on the Arabic blog, you search the Arabic essays. Switch the language with the language switch to search in another one. ## Browse instead When you do not have a word to search for, browse: - **Collections** — series of essays in reading order. Open the archive from the blog home page. - **Topics** — every tag lists the essays that carry it. - **Seasons** — shelves grouped by the Hijri season they suit. - **Categories** — Articles or Reflections. ## Next steps - [Open the Quran Gallery Blog](https://qurangallery.com/blog) - [Find and read Islamic articles by topic](https://qurangallery.com/docs/blog/finding-and-reading-articles) - [Subscribe to the blog: RSS, Atom and JSON feed](https://qurangallery.com/docs/blog/subscribe-with-a-feed-reader)