widequran-mcp
MCP server for WideQuran — query Quran ayahs, surahs, hadith collections, tafsir commentary, and Quranic figures directly from Claude, Cursor, and Windsurf. Access 114 surahs, 31,240 ayahs, 7,604 hadith, and multiple tafsir traditions through your AI assistant.
Browse the Quran at widequran.com — 114 surahs, 31,240 ayahs across multiple translations, 7,604 hadith from major collections, tafsir commentary, and encyclopedic data on Quranic people and topics.
Table of Contents
- Install
- Configure
- Available Tools
- Example Conversations
- Quran Data Overview
- Environment Variables
- Also Available
- WideHoly Scripture Platform
- License
Install
pip install widequran-mcp
Or with uvx (no install needed):
uvx widequran-mcp
Configure
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"widequran": {
"command": "uvx",
"args": ["widequran-mcp"]
}
}
}
Or if installed with pip:
{
"mcpServers": {
"widequran": {
"command": "widequran-mcp"
}
}
}
Cursor
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"widequran": {
"command": "uvx",
"args": ["widequran-mcp"]
}
}
}
Windsurf
Edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"widequran": {
"command": "uvx",
"args": ["widequran-mcp"]
}
}
}
Available Tools
| Tool | Description |
|---|---|
get_ayah |
Get a Quran ayah by surah and ayah number, with Arabic text and translation |
search_quran |
Search Quran text across all ayahs |
get_surah |
Get surah information — name, revelation type, ayah count |
get_hadith |
Get a hadith by collection and number, with grade and narrator |
get_tafsir |
Get tafsir (exegetical commentary) for a specific ayah |
get_person |
Get information about a Quranic person or prophet |
Example Conversations
Once configured, ask your AI assistant:
- "Show me Surah Al-Fatihah, ayah 1 with the Sahih translation"
- "Search the Quran for ayahs about mercy"
- "Tell me about Surah Yasin — how many ayahs does it have?"
- "Get hadith number 1 from Sahih Bukhari"
- "What does Ibn Kathir say about Surah 2, ayah 255 (Ayat al-Kursi)?"
- "Tell me about the prophet Ibrahim in the Quran"
- "Find Quran verses about patience and perseverance"
- "Get hadith number 25 from Sahih Muslim"
The server calls the WideQuran API and returns structured data including Arabic text, translations, hadith grades, tafsir commentary, and biographical information.
Quran Data Overview
| Category | Content |
|---|---|
| Surahs | 114 surahs (86 Meccan, 28 Medinan) |
| Ayahs | 31,240 ayahs across multiple translations (Sahih International, Pickthall, Yusuf Ali) |
| Hadith | 7,604 hadith from Bukhari, Muslim, Tirmidhi, Abu Dawud, and more |
| Tafsir | Commentary from Ibn Kathir, Al-Jalalayn, Al-Tabari, and others |
| People | Prophets and figures mentioned in the Quran (Ibrahim, Musa, Isa, Maryam, Yusuf) |
| Structure | 30 juz, 60 hizb, page and ruku markers |
Environment Variables
| Variable | Default | Description |
|---|---|---|
WIDEQURAN_BASE_URL |
https://widequran.com/api/v1/quran |
Override API base URL |
Also Available
| Platform | Install | Link |
|---|---|---|
| PyPI | pip install widequran |
PyPI |
WideHoly Scripture Platform
| Site | Domain | Focus |
|---|---|---|
| WideBible | widebible.com | Bible — 66 books, 31,102 verses, KJV and modern translations |
| WideQuran | widequran.com | Quran — 114 surahs, 31,240 ayahs, hadith, tafsir |
| WideTorah | widetorah.com | Torah — Pentateuch, Talmud, Mishnah, Jewish commentary |
| WideGita | widegita.com | Bhagavad Gita — 18 chapters, 700 shlokas, Sanskrit and translations |
| WideSutra | widesutra.com | Buddhist sutras — Pali Canon, Mahayana, Zen texts |
| WideHoly | wideholy.com | Multi-religion scripture encyclopedia and cross-reference hub |
Learn More About the Quran
- Scripture: Surahs · Translations
- Reference: People · Topics · Glossary
- Study: Tafsir · Hadith Collections · Juz Divisions
- Tools: Search · Developer Docs
- API: Developer Docs · OpenAPI Spec
License
MIT License — see LICENSE for details.
Metadata
Release files for widequran-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| widequran_mcp-0.1.1.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| widequran_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / widequran_mcp-0.1.1.tar.gz
| Download URL | widequran_mcp-0.1.1.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41f74d6e0268192a3ba234b8066e8e3b723bf24c6f2d077d424fb32a5604d0d8
|
|
BLAKE2b-256 checksum How to use checksums |
ec8d5b420146c6249f2d92200360e6127f1c78aed509de0405f737539e4fdab4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / widequran_mcp-0.1.1-py3-none-any.whl
| Download URL | widequran_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e2115d169226d1f5be84c7fb0db69888112dda769e789c5a898079186152e46c
|
|
BLAKE2b-256 checksum How to use checksums |
12c3c32453483eff1ab4eacd296781302e8f624e95530eb7dca8cc8abb1ad353
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|