MADRASA
A curated catalog of AI education programs and AI research structures in Morocco.
MADRASA is a community-maintained catalog for discovering AI-related education and research opportunities in Morocco. This repository helps students, researchers, and contributors discover Moroccan educational programs and research structures related to AI.
| File | Description |
|---|---|
catalog/education_programs.json |
Main catalog of AI education programs. |
catalog/research_structures.json |
AI-related labs, centers, doctoral structures, and research groups. |
api/stats.json |
Generated counts used by interfaces and badges. |
api/*-badge.json |
Shields.io endpoint badge files generated from the catalog. |
docs/schema.md |
Field definitions and accepted values. |
The repository uses JSON as the source of truth. URLs are stored as lists, because one entry may need more than one official source.
Common rules:
host_institutionis always a list.domainsis always a list.urlis always a non-empty list of raw URLs.unitmay be a string, a list,null, or absent.statusmeans operational status:active,likely_active,unknown, orinactive.last_checkedmust useYYYY-MM-DD.
{
"program_id": "inpt-master-data-ia",
"name": "Data and Artificial Intelligence",
"level": "Master",
"degree_type": "Master",
"host_institution": ["National Institute of Posts and Telecommunications"],
"unit": null,
"city": "Rabat",
"region": "Rabat-Sale-Kenitra",
"mode": "alternance",
"duration_years": 2,
"language": ["French"],
"tuition": "funded",
"tuition_amount_mad": null,
"admission": ["Degree-based access"],
"domains": ["Data Science", "Data Engineering", "AI", "Machine Learning"],
"status": "active",
"url": ["https://masterdata-ia.inpt.ac.ma/"],
"last_checked": "2026-06-23",
"notes": "Alternance-based master program."
}{
"structure_id": "um6p-colcom-bioinformatics-lab",
"name": "Bioinformatics Laboratory",
"type": "Laboratory",
"host_institution": ["Mohammed VI Polytechnic University"],
"unit": ["College of Computing"],
"city": "Benguerir",
"region": "Marrakesh-Safi",
"domains": ["Bioinformatics", "Computational Biology", "Computational Genomics", "AI", "Machine Learning"],
"status": "active",
"url": ["https://bioinformatics.um6p.ma/"],
"last_checked": "2026-08-01",
"notes": null
}# Validate the catalog
python scripts/validate_catalog.py
# Generate badge/stat files
python scripts/build_stats.py
# Check that generated badge/stat files are up to date
python scripts/build_stats.py --check
# Pretty-print programs
python -m json.tool catalog/education_programs.json
# Search with jq
jq '.[] | select(.level == "PhD")' catalog/education_programs.json
jq '.[] | select(.city == "Rabat")' catalog/education_programs.json| Status | Meaning |
|---|---|
active |
The program or structure appears currently operational based on available public sources. |
nonactive |
The entry is archived, discontinued, expired, or kept only for historical tracking. |
- Check whether the entry already exists.
- Add or update one JSON object.
- Use official URLs whenever possible.
- Update
last_checkedusingYYYY-MM-DD. - Run
python scripts/validate_catalog.py. - Run
python scripts/build_stats.pyif counts changed. - Open a pull request.
This is an independent community catalog. Always verify admission details, accreditation, fees, deadlines, and requirements on the official institution website.
Browse the catalog at https://madrasa.mair.ma/.
The frontend lives in website/. Cloudflare Pages publishes
every successful build from main, including changes to root catalog/*.json.
There is no separate website dataset to maintain.
