# Quran Gallery MCP

> Quran Gallery MCP is a free MCP server for religion. Cited search of 8,594 classical Islamic works with verbatim Arabic, volume and page. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API, Web
- **Website:** https://qurangallery.com/mcp
- **MCP Registry name:** com.qurangallery/mcp
- **Categories:** religion, books and literature
- **Listing updated:** 2026-11-16

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://qurangallery.com/mcp/shamela
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://qurangallery.com/mcp/shamela"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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.

## 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

- [一孔录《论语》 Yikonglu Analects](https://ai-powered.com/mcp/yikonglu-analects): 一孔录《论语》 Yikonglu Analects is a free MCP server for books and literature.
- [List Of Books](https://ai-powered.com/mcp/list-of-books): List Of Books is a freemium MCP server for books and literature.
- [Madeenan Quran and Hadith Sources](https://ai-powered.com/mcp/madeenan-quran-and-hadith-sources): Madeenan Quran and Hadith Sources is a freemium MCP server for religion.
- [Book Cover Generator](https://ai-powered.com/mcp/book-cover-generator): Book Cover Generator is an open-source MCP server for design and media.
- [SalahTable](https://ai-powered.com/mcp/salahtable): SalahTable is a free MCP server for religion.
- [Shakespeare's Monologues](https://ai-powered.com/mcp/shakespeare-s-monologues): Shakespeare's Monologues is an open-source MCP server for books and literature.
- [Hero of You](https://ai-powered.com/mcp/hero-of-you): Hero of You is a free MCP server for books and literature.
- [INKFLOW Studio](https://ai-powered.com/mcp/inkflow-studio): INKFLOW Studio is a freemium MCP server for books and literature.

---
Source: https://ai-powered.com/mcp/quran-gallery-mcp
