Skip to content

Quran Gallery Developers

For Developers

Connect your own AI assistant to a classical library of 8,594 works and get back a named printed edition, volume and page with the verbatim Arabic.

37 tools12 scopes8,594 worksa key on every callqueries in Arabic

Connect

endpoint:  https://qurangallery.com/mcp/shamela
transport: streamable-http
header:    Authorization: Bearer qg_sk_…

A first call

search_library(query, scope, limit?)

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_library",
    "arguments": {
      "query": "إنما الأعمال بالنيات",
      "scope": "hadith-primary"
    }
  }
}

Get a key

Create a key under Developers in your Quran Gallery account. Every call is attributed to a key, and keys are rate limited per key.

Open Developers in your account

What it does not do

  • Searches return page-scoped excerpts with citations and the reading tools return whole pages — no single call exports a book.

  • It cannot stop your model from misattributing a passage. What it guarantees is that the passage, the book and the page are real.

  • No anonymous access — every call is attributed to a key.

Next

Build with Quran Gallery's data and services.

  • REST API

    Coming Soon

    Access Quran text, translations, and audio programmatically.

  • SDKs

    Coming Soon

    Client libraries for JavaScript, Python, and more.

Want to be notified when developer tools launch? Contact us