MCP server
Quran Gallery MCP Official
com.qurangallery/mcp
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
Classical Islamic library (Shamela, 8,594 books): verbatim Arabic cited by volume and page. No key.
Working at last checkVerified publisher: qurangallery.comAbout 22,743 tokens per request once connected14 tools
https://qurangallery.com/mcp/shamela
At a glance
- Type
- MCP server
- Publisher
- qurangallery.com (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 14
- Token cost
- About 22,743 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http qurangallery https://qurangallery.com/mcp/shamela
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.qurangallery] url = "https://qurangallery.com/mcp/shamela"
Gemini CLI
{"mcpServers":{"qurangallery":{"httpUrl":"https://qurangallery.com/mcp/shamela"}}}
Cursor
{"mcpServers":{"qurangallery":{"url":"https://qurangallery.com/mcp/shamela"}}}
VS Code
{"servers":{"qurangallery":{"type":"http","url":"https://qurangallery.com/mcp/shamela"}}}
Antigravity
agy mcp add qurangallery https://qurangallery.com/mcp/shamela
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"qurangallery","server_url":"https://qurangallery.com/mcp/shamela","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"qurangallery","server_url":"https://qurangallery.com/mcp/shamela"}
Tools
fetch~299 tokens
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 shamela.ws link. Use shamela_read instead to read one body part at a time (unit "page"),search~370 tokens
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_librarshamela_cite~1148 tokens
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_shamela_find~4365 tokens
Catalogue 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(kinshamela_get_brief~396 tokens
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 anshamela_get_details~744 tokens
Catalogue 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_DOWshamela_lookup_hadith~1125 tokens
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;shamela_lookup_quran~1405 tokens
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. mode=aya: fetch verses you can alreadshamela_lookup_rijal~2186 tokens
Hadith 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 — lineashamela_lookup_tafsir~873 tokens
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_categshamela_read~1666 tokens
Read 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, printedshamela_search~5882 tokens
Full-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). - phraseshamela_search_library~606 tokens
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 shamela.ws link. The default first search for hadith, tafsir, fiqh or creed. Not for isnads, narrators or diacritic-exact wording. Use shshamela_survey_topic~1678 tokens
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
Browse
Related MCP servers
- AskSakina Islamic Knowledge
Curated Islamic MCP: Quran (Arabic + Pickthall), 440 du'as, 99 Names, crisis-aware. - Micro Mu
News, web search, mail, markets, weather, places, files, calendar, contacts. 67 tools, one endpoint. - Wasilah
Prayer times, Qibla, Hijri calendar, 99 Names, Quran audio, Bangladesh offsets. English + Bengali. - Vedaword
Sanskrit scripture search: Mahabharata, Upanishads, Gita; cited verses, honest no-answer. - Tarteel MCP Server
Quran MCP server for translation, tafsir, mutashabihat, recitation playlists, and prayer times. - Uwear
AI photoshoot studio: garments, avatars, locations, and art direction - Source Library
Search 15K rare pre-modern texts translated to English: philosophy, religion, science, literature. - Belcome
Find salons, barbershops, spas and med spas on Belcome, see services, prices and open times.
Badge for your README
[](https://aptlynx.net/servers/com.qurangallery/mcp)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents