Koskamo

Quran Gallery MCP

An official MCP server provided by Quran Gallery that connects AI assistants to a classical Islamic library of 8,594 works. It enables agents to search for verbatim Arabic passages and receive citations including the printed edition, volume, and page number, ensuring grounded and verifiable answers without requiring authentication.

Endpoint and access

No sign-in: your client connects and lists tools immediately, with no account or key.

Quran Gallery MCP logo, by Quran GalleryNo sign-inEndpoint checked 2026-10-18Operated by Quran Gallery
MCP endpoint (Streamable HTTP)
https://qurangallery.com/mcp/shamela
Vendor documentation

What you can do with it

  • Search classical Arabic books with verbatim citations
  • Retrieve printed edition, volume, and page references
  • Ground AI answers in verified Islamic texts
  • Connect AI assistants like ChatGPT or Claude to the library
Tools advertised by the last live check:
  • shamela_search_library
  • search
  • fetch
  • shamela_search
  • shamela_find
  • shamela_read
  • shamela_get_details
  • shamela_cite
  • shamela_lookup_quran
  • shamela_lookup_tafsir
  • shamela_lookup_hadith
  • shamela_lookup_rijal
  • shamela_survey_topic
  • shamela_get_brief

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers a Streamable HTTP server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http quran-gallery-mcp https://qurangallery.com/mcp/shamela

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add quran-gallery-mcp --url https://qurangallery.com/mcp/shamela

Cursor

Merge this server into .cursor/mcp.json in your project, then enable quran-gallery-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "quran-gallery-mcp": {
      "url": "https://qurangallery.com/mcp/shamela"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure). The type must be streamableHttp for a remote HTTP server.
Cline configuration
{
  "mcpServers": {
    "quran-gallery-mcp": {
      "type": "streamableHttp",
      "url": "https://qurangallery.com/mcp/shamela",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start quran-gallery-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "quran-gallery-mcp": {
      "type": "http",
      "url": "https://qurangallery.com/mcp/shamela"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http quran-gallery-mcp https://qurangallery.com/mcp/shamela

Claude Desktop

Merge this into claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude Desktop.
Claude Desktop configuration
{
  "mcpServers": {
    "quran-gallery-mcp": {
      "url": "https://qurangallery.com/mcp/shamela"
    }
  }
}

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "quran-gallery-mcp": {
      "serverUrl": "https://qurangallery.com/mcp/shamela"
    }
  }
}

Do you run Quran Gallery MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing