CoolFace
Datasetpublic

tafsircenter/tafsir-mcp-data

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). 📊… See the full description on the dataset page: https://huggingface.co/datasets/tafsircenter/tafsir-mcp-data.

sourceHugging Facecc-by-4.0updated 4mo agoView on Hugging Face
4likes234downloads
Dataset Card

Tafsir MCP — Quranic Database

<div align="center">

قاعدة بيانات القرآن الكريم والتفاسير لمشروع [tafsir-mcp](https://github.com/tafsircenter/tafsir-mcp)

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

</div>


📖 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

CategoryCount
Surahs (chapters)114
Ayahs (verses)6,236
Words (Othmani script)77,432
Distinct Arabic roots1,891
Classical tafsirs (full coverage)5
Mukhtasar tafsir languages3 (AR, EN, BN)
Ayahs with asbab al-nuzool201
Mushaf pages (with extracted fawaed)604
File size~214 MB

Classical Tafsirs Included

TafsirAuthorDeath Year (AH)
Jami' al-Bayan (الطبري)Abu Ja'far al-Tabari310
Tafsir al-Quran al-Azim (ابن كثير)Ibn Kathir774
Ma'alim al-Tanzil (البغوي)al-Baghawi510
Taysir al-Karim al-Rahman (السعدي)al-Sa'di1376
al-Tafsir al-MuyassarKing Fahd ComplexContemporary
al-Mukhtasar fi al-TafsirTafsir CenterContemporary

📂 File Format

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


🚀 Usage

Via tafsir-mcp (recommended)

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

Direct SQLite access

python
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