Quran APISAFE
Quran.com API integration for verse search, translation and tafsir
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
MCP server to interact with Quran.com corpus via the official REST API v4.
Overview
This is a Model Context Protocol (MCP) server generated from the OpenAPI specification.
Endpoints
The following endpoints from the API have been made available as tools, that LLMs can use via compatible clients.
Chapters
- GET /chapters - List Chapters
- GET /chapters/{id} - Get Chapter
- GET /chapters/{chapter_id}/info - Get Chapter Info
Verses
- GET /verses/bychapter/{chapternumber} - Get verses by Chapter / Surah number
- GET /verses/bypage/{pagenumber} - Get all verses of a specific Madani Mushaf page
- GET /verses/byjuz/{juznumber} - Get verses by Juz number
- GET /verses/byhizb/{hizbnumber} - Get verses by Hizb number
- GET /verses/byrub/{rubelhizbnumber} - Get verses by Rub el Hizb number
- GET /verses/bykey/{versekey} - Get verse by key
- GET /verses/random - Get a random verse
Juzs
- GET /juzs - Get list of all juzs
Search
- GET /search - Search the Quran for specific terms
Translations
- GET /resources/translations - Get list of available translations
- GET /resources/translations/{translation_id}/info - Get information of a specific translation
Tafsirs
- GET /resources/tafsirs - Get list of available tafsirs
- GET /resources/tafsirs/{tafsir_id}/info - Get the information of a specific tafsir
- GET /quran/tafsirs/{tafsir_id} - Get a single tafsir
Audio
- GET /resources/chapter_reciters - List of Chapter Reciters
- GET /resources/recitation_styles - Get the available recitation styles
Languages
- GET /resources/languages - Get all languages
Setup
Requirements
- Node.js 22+
- Docker
Building the Docker Image
Before using the Docker-based production mode, you need to build the Docker image:
# Build the Docker image docker build -t quran-mcp-server .
Claude Desktop
47d6b8fca506OBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add quran-mcp-server --env API_KEY=${API_KEY} -- npx -y quran-mcp-server@v4{
"mcpServers": {
"quran-mcp-server": {
"command": "npx",
"args": [
"-y",
"quran-mcp-server@v4"
],
"env": {
"API_KEY": "${API_KEY}"
}
}
}
}Exposed tools (3)
3 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
Muallim | read | Educational recitation with pauses for learning |
Mujawwad | read | Recitation with melody and artistic voice |
Murattal | read | Recitation at a normal pace |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (3 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (1)
body-parser, express
Gates applied: no_behavioural_pass.
47d6b8fca506full audit observations/trust-audit/mcp-server/djalal__quran-api.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | 47d6b8fca506 | SAFE | B | 89 | first audit |
Questions
What is the Quran API MCP server?
Quran.com API integration for verse search, translation and tafsir
What tools does Quran API expose?
3 in total: 3 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Quran API safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Quran API need?
It reads API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Quran API run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as quran-mcp-server at v4.
How current is this page?
The grade is for one exact copy of the source (47d6b8fca506), read on 2026-10-07. The repository is watched and re-audited when it changes.