MCPcopy Index your code
hub / github.com/Iduoad/Mrrakc

github.com/Iduoad/Mrrakc @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
111 symbols 266 edges 22 files 23 documented · 21% updated 5mo ago★ 332 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Mrrakc

Mrrakc is a structured data project that documents places, people, and provinces in Morocco, with a focus on cultural, historical, and geographical information.

🗂️ Project Structure

  • data/ - Contains all the data files organized by type:
  • people/ - Information about notable individuals
  • places/ - Information about locations, landmarks, and sites
  • provinces/ - Information about administrative regions
  • schema/ - JSON schema definitions that validate the data structure

🚀 Getting Started

Installation

Clone the repository:

git clone https://github.com/yourusername/mrrakc.git
cd mrrakc

Validation

To validate all data files:

mise install
boon schema/provinces data/provinces
boon schema/people data/people
boon schema/places data/places

📝 Data Structure

Places

Places represent physical locations such as museums, parks, historical sites, etc. Each place has:

  • Categorization (kind) in the format category/type (e.g., culture/museum)
  • Name and slug identifier
  • Description
  • Geographic location (province, coordinates)
  • Associated people
  • Timeline of significant events
  • Access information
  • Links to external resources

People

People represent notable individuals associated with places. Each person has:

  • Name and slug identifier
  • Biographical information
  • Birth place
  • Designations (roles/professions)
  • Timeline of significant events
  • Links to external resources

Provinces

Provinces represent administrative regions in Morocco. Each province has:

  • Name and slug identifier
  • Region (larger administrative area it belongs to)
  • Country (always "Morocco")

🤝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for details on how to add or modify data. We encourage the use of AI; however, all outputs should be carefully verified to ensure their accuracy and reliability.

📊 Usage Ideas

This dataset can be used for:

  • Creating interactive maps of cultural and historical sites
  • Building educational tools about Moroccan heritage
  • Developing tourism applications
  • Research on historical connections between people and places
  • Analysis of cultural landmarks and their distribution

📄 License

This project is licensed under [LICENSE] - see the LICENSE file for details.

🙏 Acknowledgements

  • Contributors who have added data to this project
  • Open source tools and libraries that make this project possible

Extension points exported contracts — how you extend this code

MapPoint (Interface)
(no doc)
web/src/types/map.ts
Place (Interface)
(no doc)
web/scripts/build_maps.ts
MapFiltersState (Interface)
(no doc)
web/src/types/map.ts
MapData (Interface)
(no doc)
web/scripts/build_maps.ts
Props (Interface)
(no doc)
web/src/components/react/MapBottomSheet.tsx
Person (Interface)
(no doc)
web/scripts/build_maps.ts
Props (Interface)
(no doc)
web/src/components/react/MapFilters.tsx
Plan (Interface)
(no doc)
web/scripts/build_maps.ts

Core symbols most depended-on inside this repo

log
called by 55
scripts/kml_to_places.py
toggleFilter
called by 5
web/src/components/react/ExplorerMap.tsx
getIcon
called by 4
web/src/components/react/InteractiveMap.tsx
getFiles
called by 4
web/scripts/build_maps.ts
point_in_polygon
called by 2
scripts/kml_to_places.py
handleFocus
called by 2
web/src/components/react/InteractiveMap.tsx
scrollToStep
called by 2
web/src/components/react/PlanView.tsx
fitMapToAll
called by 2
web/src/components/react/PlanView.tsx

Shape

Function 50
Method 31
Interface 22
Class 8

Languages

TypeScript64%
Python36%

Modules by API surface

scripts/kml_to_places.py40 symbols
web/src/components/react/PlanView.tsx14 symbols
web/scripts/build_maps.ts12 symbols
web/src/components/react/InteractiveMap.tsx8 symbols
web/src/components/react/MapBottomSheet.tsx5 symbols
web/src/components/react/ExplorerMap.tsx5 symbols
web/src/components/react/MapFilters.tsx4 symbols
web/src/components/react/MarkdownRenderer.tsx3 symbols
web/src/components/react/GameQuiz.tsx3 symbols
web/src/components/react/GameMap.tsx3 symbols
web/src/types/map.ts2 symbols
web/src/components/react/MapCategoryChips.tsx2 symbols

For agents

$ claude mcp add Mrrakc \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact