{"id":"com.qurangallery/mcp","slug":"com-qurangallery-mcp","title":"Quran Gallery MCP","description":"Classical Islamic library (Shamela, 8,594 books): verbatim Arabic cited by volume and page. No key.","version":"0.3.0","publisher":{"kind":"domain","id":"qurangallery.com","label":"qurangallery.com","url":"https://qurangallery.com"},"website":"https://qurangallery.com/mcp","repository":"","remotes":[{"type":"streamable-http","url":"https://qurangallery.com/mcp/shamela","headers":[{"description":"Optional. Free Quran Gallery API key as a bearer token: 60 tool calls a minute with no daily cap, instead of the keyless 10 a minute and 200 a day. Create one at https://accounts.qurangallery.com/developers. Omit the header to use the server with no account.","value":"Bearer {api_key}","isSecret":true,"variables":{"api_key":{"description":"Optional Quran Gallery API key (starts with qg_sk_).","isSecret":true,"placeholder":"qg_sk_..."}},"name":"Authorization"}]}],"packages":[],"published":"2026-10-16","updated":"2026-10-16","status":"online","auth":"","latency_ms":3068,"checked":"2026-11-19","uptime":100,"checks":3,"tools":[{"name":"shamela_search_library","title":"Search the classical Islamic library","description":"Search one named shelf of the classical Islamic library (8,594 works) for quotable passages: verbatim Arabic with book, author, printed volume/page, edition and a link to the page in the Quran Gallery Maktabah reader. The default first search for hadith, tafsir, fiqh or creed. Not for isnads, narrators or diacritic-exact wording. Use shamela_search (match \"words\") to pin books or categories or to ","read_only":true},{"name":"search","title":"Quick generic search of the whole library","description":"Search the whole classical Islamic library (8,594 works, no scope) and get up to 10 pages as {id, title, url}; pass an id to `fetch` to read the page. This is the generic one-argument entry (the standard search/fetch pair); the scoped tools answer research questions better. Use shamela_search_library for a hadith, tafsir or fiqh question: unscoped ranking is by term frequency, so a poetry antholog","read_only":true},{"name":"fetch","title":"Read a library page","description":"Read one library page whole by the id `search` returned: main text, then its footnotes under their own label (the editor's words, never the author's), with book, author, printed volume/page, edition data and the link to the page in the Quran Gallery Maktabah reader. Use shamela_read instead to read one body part at a time (unit \"page\"), a run of pages (unit \"range\") or a whole chapter (unit \"secti","read_only":true},{"name":"shamela_verify_quote","title":"Check whether a quotation occurs in the library","description":"Checks whether an Arabic quotation occurs in the classical library and where: book, author, printed volume/page, edition, and whether the words are in the main text or in an editor's footnote. Use it on a passage an assistant quoted from memory. Matching ignores diacritics, tatweel and alef forms; exact says whether the page spells the words as given, and differences says how they differ. \"not_fou","read_only":true},{"name":"shamela_search","title":"Search page text (words, phrase, exact, boolean, batch)","description":"Full-text search inside the pages (matn and footnotes) of installed books. `match` picks how the query is read:\n- words (default): every word required, ranked by relevance; options add morphology, wildcards, chronological sort. An all-words miss retries with fewer words (relaxed_min_match).\n- phrase: the words consecutively (a quotation). near: all words within `distance`, any order. Both verified","read_only":true},{"name":"shamela_find","title":"Find books, headings, authors, categories or names","description":"Catalogue lookup — which books, headings, authors and shelves exist, not page text. `kind`:\n- book (default): titles, authors, publication lines, subject descriptions → book_ids, installed or not. no_title_match: not proof the book is held. downloaded:false → another edition (shamela_get_details(kind='book') same_group) or catalogue metadata only.\n- heading: chapter/section headings, i.e. where bo","read_only":true},{"name":"shamela_read","title":"Read pages, sections and tables of contents","description":"Read an installed book's text and structure by internal ids. `unit`:\n- page (default): one page_id → body (author's matn), foot (editor's footnotes), printed page label, prev/next page ids, enclosing headings.\n- range: up to 20 consecutive pages from start_page_id, each with text, footnotes, printed page — to read on past a hit or through a span.\n- section: one chapter by title_id with its sub-hea","read_only":true},{"name":"shamela_get_details","title":"Get book or author details","description":"Catalogue record for one book (kind=book, default) or one author (kind=author), installed or not.\n- book: authors, category, type, printed-edition flag, whether the text is installed here, the scanned printing and the other editions of the same work (same_group). When a reader tool says BOOK_NOT_DOWNLOADED, pick an installed entry from same_group or answer from this record. Read book_date, edition","read_only":true},{"name":"shamela_cite","title":"Format a citation or resolve a printed page","description":"Citations. mode=citation (default): build one for a book, optionally a page and quoted text — Shamela's copy format, short inline, full with death year, or BibTeX/RIS. Call it whenever you attribute a quote; it needs only the catalogue, plus the installed text for a page's printed number. Read page_resolved, components.auto_numbered and notes[] before presenting.\nmode=printed_page: map a printed c","read_only":true},{"name":"shamela_lookup_quran","title":"Search the Quran or get an ayah","description":"Qur'an text. mode=search (default): find verses by Arabic words, typed in إملائي spelling or pasted in Uthmani rasm; words ANDed, results in mushaf order (aya_id 1–6236), not relevance. Zero hits usually means a misspelling: drop a word or use options.wildcards.\nmode=aya: fetch verses you can already cite, by aya_id OR surah + aya (never both or neither: BAD_ARG); `count` gives a run that continue","read_only":true},{"name":"shamela_lookup_tafsir","title":"Tafsir coverage and texts for an ayah","description":"Tafsir on one verse (aya_id OR surah + aya, else BAD_ARG). mode=coverage (default): which tafsir books cover it, fetching no text — shelves 3 (tafsir) and 4 (Qur'anic sciences; not 5, tajwid and qira'at) crossed with Shamela's curated tafsir index, plus index hits from other shelves (in_tafsir_categories:false). Status per book: indexed_covers (with page_id), indexed_no_entry_for_this_aya, or not_","read_only":true},{"name":"shamela_lookup_hadith","title":"Find a hadith or the books that carry it","description":"Hadith. mode=search (default): find a hadith by its wording and trace its takhrij — searches the hadith shelves (Sunnah collections, commentaries, takhrij, hadith sciences) in matn and footnotes, reads hadith keys off the matching pages and lists every collection indexing the same hadith. No offset; if the full text matches nothing, one word is dropped and named in `relaxed`. Takhrij covers only k","read_only":true},{"name":"shamela_lookup_rijal","title":"Narrators and isnads","description":"Hadith narrators and isnad chains, from Shamela's rijal register and isnad index. `mode`:\n- narrators (default): a narrator by name → narrator_id, most-documented first, then earliest death year. Names collide: confirm the death year before using an id.\n- narrator: one dossier by narrator_id — lineage, death year, tabaqa, Ibn Hajar's and al-Dhahabi's grades, critics' jarh wa-ta'dil verdicts verbat","read_only":true},{"name":"shamela_survey_topic","title":"Survey a topic across the library","description":"Count how much the library holds on a term and where: the exact matching-page total plus its distribution by category, Hijri century, book and author (top 15 each). Statistics only, never passages — use shamela_search(match='words') instead to retrieve and read the pages. Run it before searching to size a topic and pick scope.category_ids (map by_category names to ids with shamela_find(kind='categ","read_only":true},{"name":"shamela_get_brief","title":"Server capabilities and search pitfalls","description":"Return this server's machine-readable capability handshake: capabilities, numeric limits, retired tool names with their replacements, and traps (ways a result misleads, each with the response field that proves it fired). Call it first from a programmatic client: inputs are strict, so an argument an older build lacks (e.g. `shape`, response_format:'none') is a hard validation error that fails the w","read_only":true}],"server_info":{"name":"qurangallery-shamela","title":"Quran Gallery — Classical Islamic Library","version":"0.3.0"},"category":"web-search","tags":[],"kind":"remote","source":"registry","submitted":{},"first_party":true,"domain_rank":326576,"score":100,"indexable":true,"first_seen":"2026-10-15","stars":0,"badges":["official"],"sponsor":null,"page":"https://agentsindex.org/agents/com-qurangallery-mcp/"}