Quran logo

Quran

Access Quran chapters, verses, metadata, and keyword search through MCP using the Al-Quran Cloud API.

Install Quran

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "quran-2": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-quran"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 4 tools correctly (2d ago).

Overview

The Quran MCP server exposes Quran chapter metadata, complete surahs, individual ayahs, and keyword search through MCP. It connects to the Al-Quran Cloud API through the Pipeworx gateway, with a hosted endpoint and a standalone npm-based stdio option. Use it when an agent needs to retrieve Arabic text, supported English translations, verse references, or searchable Quran content. The gateway endpoint also exposes shared Pipeworx tools, while the local package provides only the Quran tools.

Use cases

  • List Quran chapters and their metadata
  • Retrieve a complete surah in Arabic or English
  • Look up an ayah by chapter and verse
  • Search Quran translations for a keyword

Key features

  • Lists all 114 surahs
  • Retrieves full surahs and individual ayahs
  • Supports Arabic and English editions
  • Searches up to 30 matching verses
  • Offers hosted MCP and local stdio access

Tools4

What Quran lets your agent do. Expand a tool for its parameters.

Verified live~475 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

What it can do

From the 4 tools this server returned when we ran it.

Read-only tools · 4
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age135 days
Maintainers1

Observed 2026-10-21 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @pipeworx/mcp-quran (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads474Package downloads in the last 30 days.
Last commit27d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed4Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Quran works

What Quran MCP server does

The Quran MCP server gives MCP-compatible AI clients access to Quran content through four focused tools. It can enumerate all 114 surahs, retrieve a complete surah, retrieve one ayah, and search verses for a keyword. Results include identifying information such as surah and ayah numbers where relevant, making the server suitable for verse lookup and basic text exploration.

list_surahs returns each chapter's Arabic name, English name, English translation, verse count, and revelation type. get_surah retrieves every ayah in a selected chapter. get_ayah accepts either a chapter-and-verse reference such as 2:255 or a global ayah number from 1 through 6236. search_quran returns up to 30 matching verses and defaults to the en.asad English translation.

How it works

The hosted MCP connection is available at https://gateway.pipeworx.io/quran/mcp. It exposes the Quran pack's tools along with shared Pipeworx gateway tools. The gateway can also route broader questions through ask_pipeworx, which is useful when a request extends beyond the Quran pack. A full gateway connection is available at https://gateway.pipeworx.io/mcp if an agent needs all catalog sources listed directly.

The same functionality can run locally through the @pipeworx/mcp-quran npm package. The local process communicates over standard input and output and serves only the four Quran-specific tools. HTTP access is also available through the gateway's tool endpoint, such as a POST request to /v1/tools/list_surahs.

Setup and configuration

For a hosted connection, add the gateway URL to the MCP client's server configuration:

config.json
{
  "mcpServers": {
    "quran": {
      "url": "https://gateway.pipeworx.io/quran/mcp"
    }
  }
}

For a local stdio connection, configure the client to run npx -y @pipeworx/mcp-quran.

Tools and capabilities

  • List all 114 surahs with names, verse counts, and Meccan or Medinan classification.
  • Retrieve a full surah in a selected edition.
  • Retrieve one ayah by surah:ayah reference or global number.
  • Search up to 30 matching ayahs by keyword.
  • Use en.asad or en.sahih for supported English translation examples, or quran-uthmani for Arabic text.

The edition is selected when calling the retrieval and search tools. Search defaults to en.asad, but another translation or the Arabic edition can be supplied.

Limitations and notes

The server exposes Quran retrieval and search functions rather than general religious research or interpretation tools. Search results are capped at 30 matching verses. Surah numbers must be between 1 and 114, while global ayah references must be between 1 and 6236.

A hosted pack endpoint includes shared Pipeworx meta-tools in addition to the four Quran tools, so its tool list is larger than the local package's list. The gateway's initialization response is the authoritative source for the exact tools exposed at connection time. The project is licensed under MIT.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Quran

Quran is an MCP server that connects AI clients to the Al-Quran Cloud API through Pipeworx. Its main tools list surahs, retrieve complete surahs, fetch individual ayahs by reference or global number, and search Quran verses across supported English translations or Arabic text.

Run `npx -y @pipeworx/mcp-quran` through your MCP client's stdio configuration. The standalone package requires no Pipeworx account. Alternatively, configure the hosted endpoint at `https://gateway.pipeworx.io/quran/mcp` without installing the package.

Yes, Quran works with Cursor through the hosted MCP endpoint. Add `https://gateway.pipeworx.io/quran/mcp` as an MCP server in the client's configuration, or configure Cursor to launch `npx -y @pipeworx/mcp-quran` locally.

Pass an ayah reference and select the `quran-uthmani` edition. The `get_ayah` tool accepts a reference such as `2:255` or a global number from 1 to 6236, while `get_surah` retrieves a complete chapter in the selected edition.

Yes, `search_quran` searches English translations and defaults to `en.asad`. You can provide another edition, such as `en.sahih`, and the tool returns up to 30 matching verses with their surah and ayah numbers.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewQuran AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/quran-2?style=directory)](https://allmcps.com/mcp/quran-2)
HTML Embed
<a href="https://allmcps.com/mcp/quran-2"><img src="https://allmcps.com/api/badge/quran-2?style=directory" alt="Quran on AllMCPs" /></a>