Skip to main content

MCP server for WideQuran — query Quran ayahs, surahs, hadith, and tafsir from Claude, Cursor, and Windsurf

Project description

widequran-mcp

PyPI version Python License: MIT

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

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

License

MIT License — see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

widequran_mcp-0.1.1.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

widequran_mcp-0.1.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file widequran_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: widequran_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for widequran_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 41f74d6e0268192a3ba234b8066e8e3b723bf24c6f2d077d424fb32a5604d0d8
MD5 423b40020d063c50f64397b57bc49a3e
BLAKE2b-256 ec8d5b420146c6249f2d92200360e6127f1c78aed509de0405f737539e4fdab4

See more details on using hashes here.

File details

Details for the file widequran_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: widequran_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for widequran_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2115d169226d1f5be84c7fb0db69888112dda769e789c5a898079186152e46c
MD5 b3a5e0508b30f25fb47ad3a331b6cb9f
BLAKE2b-256 12c3c32453483eff1ab4eacd296781302e8f624e95530eb7dca8cc8abb1ad353

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page