Skip to content
MCP server

Quran Gallery MCP

Cited search of 8,594 classical Islamic works with verbatim Arabic, volume and page

Install
Pricing
Free
Platforms
API, Web
Runs
Remotely
Version
0.3.0
Listing updated
1 day ago

About Quran Gallery MCP

Quran Gallery MCP is a free MCP server for religion. It runs as a hosted remote server, so there is nothing to install locally.

This server searches a library of classical Islamic books drawn from Shamela, covering 8,594 works by 3,188 authors, and returns the exact Arabic passage with the book, author and death year, printed volume and page, edition, publisher and whether the words come from the author's main text or an editor's footnote. The aim is to replace references an assistant would otherwise recall from memory with checkable citations.

The main tool, shamela_search_library, requires a scope so the right shelf is searched first: examples include the primary hadith collections, canonical tafsir, the four Sunni fiqh schools and creed. The site explains that unscoped ranking is by term frequency and can bury famous texts. It tries an exact phrase first and falls back to a token search, saying which one answered. Eleven further shamela tools handle narrator and isnad lookups, citation resolution, Quran and tafsir by verse, reading a page and catalogue details, and shamela_verify_quote checks whether an Arabic quotation exists in the library. Queries must be in Arabic.

It is free, open to any remote MCP client with no key, and ships three prompts: takhrij_hadith, cite_passage and compare_tafsir. Search and fetch tools match the shape ChatGPT deep research expects.

Install

Run in a terminal

claude mcp add --transport http mcp https://qurangallery.com/mcp/shamela

Add to Settings → Connectors → Add custom connector

https://qurangallery.com/mcp/shamela
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "url": "https://qurangallery.com/mcp/shamela"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://qurangallery.com/mcp/shamela"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://qurangallery.com/mcp/shamela"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://qurangallery.com/mcp/shamela"
    }
  }
}

Tools this server provides (13)

Taken from the project documentation; the running server may differ.

shamela_search_library
Scoped exact-phrase and token search returning verbatim Arabic with citation.
shamela_verify_quote
Checks whether an Arabic quotation occurs in the library.
shamela_search
Raw search over the library.
shamela_survey_topic
Surveys a topic across the library.
shamela_lookup_rijal
Looks up narrators.
shamela_lookup_hadith
Looks up hadith and chains.
shamela_cite
Resolves a printed citation to a page.
shamela_lookup_quran
Looks up Quran verses.
shamela_lookup_tafsir
Finds tafsir by verse.
shamela_read
Reads a page in full.
shamela_find
Finds books in the catalogue.
shamela_get_details
Gets book details.
shamela_get_brief
Gets a short book brief.

What it does

Verbatim citations
Returns Arabic copied from the page with volume, page and edition.
Scoped search
Searches a chosen shelf such as hadith, tafsir or a fiqh school.
Quote verification
Checks whether an Arabic quotation occurs in the library and where.
Narrator lookups
Looks up narrators and isnad chains.
Main text or footnote
Marks whether the match is the author's text or an editor's note.
Ready-made prompts
Includes takhrij_hadith, cite_passage and compare_tafsir.

Good for

  • Find the printed page of a hadith in the primary collections
  • Verify a quotation an AI attributed to a classical author
  • Compare tafsir of one verse across scholars
  • Look up a narrator's biography
  • Cite a fiqh opinion by school

Pricing

Free

Free, no key

Prices change. Check qurangallery.com before you buy.

Quran Gallery MCP FAQ

Is it free?

Yes. The site says it is free with no account or key.

What languages do queries use?

Queries must be in Arabic.

How many works are covered?

8,594 works by 3,188 authors from Shamela.

Which endpoint should I use?

The full path ending in /shamela, https://qurangallery.com/mcp/shamela.

Is Quran Gallery MCP free?

Yes. Quran Gallery MCP is free to use.

How do I add Quran Gallery MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://qurangallery.com/mcp/shamela

What are the best alternatives to Quran Gallery MCP?

The closest alternatives to Quran Gallery MCP are 一孔录《论语》 Yikonglu Analects, List Of Books, Madeenan Quran and Hadith Sources, Book Cover Generator and SalahTable.

Alternatives to Quran Gallery MCP

  1. List Of Books

    MCP server

    Book series reading orders, author series and book-to-series lookups via MCP and REST

    • 5 tools
    • Remote
    • Freemium
    • Books and literature
  2. Read-only MCP server for citing Quran, Hadith, Tafsir and dua sources in AI answers

    Runs locally
    • 7 tools
    • Freemium
    • Religion
  3. Book covers from a title and author: 39 styles, SVG, PNG and print-ready PDF export

    • 4 tools
    • Remote
    • Open source
    • Design and media
  4. SalahTable

    MCP server

    Prayer times for 407 cities with 15 methods, both Asr schools, Qibla and monthly tables

    • 6 tools
    • Remote
    • Free
    • Religion
  5. Search Shakespeare monologues by character, play or style, with plain-English paraphrases

    • 10 tools
    • Remote
    • Open source
    • Books and literature