Quran Gallery MCP

com.qurangallery/mcp · v0.3.0 · productivity

Quran Gallery MCP is healthy: it completed an MCP handshake in 2972 ms and exposes 15 tools.

Classical Islamic library (Shamela, 8,594 books): verbatim Arabic cited by volume and page. No key.

Endpoint: https://qurangallery.com/mcp/shamela (streamable-http)

No repository listed · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count15
Latency2972 ms
Last checked (UTC)2026-11-29T16:40:38.175Z

Health history

Checked (UTC)StatusLatencyError
2026-11-29T16:40:38.175ZHealthy2972
2026-11-27T07:55:51.996ZHealthy272
2026-11-25T00:40:30.262ZHealthy1521
2026-11-22T19:45:26.135ZFailing723initialize HTTP 521
2026-11-20T16:20:38.961ZHealthy1219
2026-11-18T14:00:46.256ZHealthy1319
2026-11-16T13:00:15.753ZHealthy1475
2026-11-14T13:31:05.155ZHealthy2524
2026-11-12T15:05:30.613ZHealthy1774
2026-11-10T17:45:40.846ZHealthy1808
2026-11-08T21:45:18.366ZHealthy1080
2026-11-07T03:00:46.368ZHealthy1105
2026-11-05T09:05:48.522ZHealthy1711
2026-11-03T15:50:36.861ZHealthy2529
2026-11-01T23:50:31.005ZHealthy3647
2026-10-31T08:50:27.247ZHealthy492
2026-10-29T18:45:22.165ZHealthy406
2026-10-28T04:55:10.787ZHealthy742
2026-10-26T16:30:13.010ZHealthy1457
2026-10-25T04:50:08.274ZHealthy868

Tools (15)

shamela_search_librarySearch 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, narrat
searchSearch 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_librar
fetchRead 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
shamela_verify_quoteChecks 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; e
shamela_searchFull-text search inside the pages (matn and footnotes) of installed books. `match` picks how the query is read: - 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). - phrase
shamela_findCatalogue lookup — which books, headings, authors and shelves exist, not page text. `kind`: - 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(kin
shamela_readRead an installed book's text and structure by internal ids. `unit`: - page (default): one page_id → body (author's matn), foot (editor's footnotes), printed page label, prev/next page ids, enclosing headings. - range: up to 20 consecutive pages from start_page_id, each with text, footnotes, printed
shamela_get_detailsCatalogue record for one book (kind=book, default) or one author (kind=author), installed or not. - 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_DOW
shamela_citeCitations. 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_
shamela_lookup_quranQur'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. mode=aya: fetch verses you can alread
shamela_lookup_tafsirTafsir 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_categ
shamela_lookup_hadithHadith. 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;
shamela_lookup_rijalHadith narrators and isnad chains, from Shamela's rijal register and isnad index. `mode`: - 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. - narrator: one dossier by narrator_id — linea
shamela_survey_topicCount 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
shamela_get_briefReturn 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