Dataset Viewer

The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.

Tafsir MCP — Quranic Database

قاعدة بيانات القرآن الكريم والتفاسير لمشروع tafsir-mcp

برعاية مركز تفسير للدراسات القرآنية


📖 Overview

This dataset is the data backbone for tafsir-mcp, a Model Context Protocol (MCP) server providing scholarly, offline-first access to the Holy Quran for AI assistants like Claude Code, Cursor, and any MCP-compatible client.

All content is sourced from and reviewed by Tafsir Center for Quranic Studies (tafsir.net).


📊 Content

Category Count
Surahs (chapters) 114
Ayahs (verses) 6,236
Words (Othmani script) 77,432
Distinct Arabic roots 1,891
Classical tafsirs (full coverage) 5
Mukhtasar tafsir languages 3 (AR, EN, BN)
Ayahs with asbab al-nuzool 201
Mushaf pages (with extracted fawaed) 604
File size ~214 MB

Classical Tafsirs Included

Tafsir Author Death Year (AH)
Jami' al-Bayan (الطبري) Abu Ja'far al-Tabari 310
Tafsir al-Quran al-Azim (ابن كثير) Ibn Kathir 774
Ma'alim al-Tanzil (البغوي) al-Baghawi 510
Taysir al-Karim al-Rahman (السعدي) al-Sa'di 1376
al-Tafsir al-Muyassar King Fahd Complex Contemporary
al-Mukhtasar fi al-Tafsir Tafsir Center Contemporary

📂 File Format

Single SQLite 3.x database (quran.db).


🚀 Usage

Via tafsir-mcp (recommended)

pip install tafsir-mcp
# Database auto-downloads from this dataset on first run

Direct SQLite access

from huggingface_hub import hf_hub_download
import sqlite3

db_path = hf_hub_download(
    repo_id="tafsircenter/tafsir-mcp-data",
    filename="quran.db",
    repo_type="dataset",
)
conn = sqlite3.connect(f"file:{db_path}?mode=ro", uri=True)

📜 License — CC BY 4.0

  • ✅ Share, adapt, use commercially
  • 📌 Attribution required: "Tafsir Center for Quranic Studies (https://tafsir.net)"

Full license: creativecommons.org/licenses/by/4.0


🏛️ Source

Sourced from official content systems of Tafsir Center for Quranic Studies, used in production and reviewed by the Center's scholars.


📧 Contact

Downloads last month
93