morocco-communes
Active·★ 50·MIT·Updated 2026-10-21
This project offers an open dataset and a robust HTTP API for Morocco's administrative divisions, including detailed census figures and OpenStreetMap boundaries. It provides data for 12 regions, 75 provinces, 1,503 communes, and more, available through pre-rendered, alias, and computed API tiers, as well as npm and PyPI packages.
#Data Processing#HTTP API#Geographic Data#Census Data#Open Data#Node.js#Python#Frontend Development
01
Features
01Comprehensive dataset of Morocco's administrative divisions with HCP codes, names (French/Arabic), population, and census indicators.
02Multi-tiered HTTP API (Pre-rendered, Alias, Computed) for flexible data access, including search, geospatial queries, and sorted lists.
03OpenAPI 3.1 specification and MCP server for direct integration with programs and LLM agents.
04Available as npm and PyPI packages for developers and data analysts, providing the dataset in different formats.
05Interactive docs site with maps, charts, and detailed information for each administrative unit.
02
Compatibility
Node.js
Runtime
Verified via docs
Python
Library
Verified via docs
Cloudflare Pages
Deployment
Verified via docs
Cloudflare Workers
Deployment
Verified via docs
LLM Agents
Integration
Verified via docs
OpenAPI
API Spec
Verified via docs
03
Quick start
1
$ pnpm install
2
$ pnpm dataset:build
3
$ pnpm build
04
Use cases
↳Developing web applications that require accurate and up-to-date administrative division data for Morocco.
↳Data analysis and research on demographic, economic, and geographic trends within Morocco.
↳Integrating with AI agents or LLMs for natural language queries about Moroccan geography and census data.
↳Building custom forms or components that allow users to select Moroccan administrative units.
↳Educational purposes, providing a rich dataset and visualization tool for studying Morocco's regional structure.
05
Alternatives
wisp-science★ 1.1k
Open-source, local-first desktop AI research workbench for scientific computing with Python/R, MCP bioinformatics tools, SSH/WSL/GPU runtimes, and OpenAI/Anthropic models.
datagouv-mcp★ 1.6k
Official data.gouv.fr Model Context Protocol (MCP) server that allows AI chatbots to search, explore, and analyze datasets from the French national Open Data platform, directly through conversation.
ru-marketplace-mcp★ 162
MCP-серверы для российских маркетплейсов: Wildberries, Ozon, Яндекс Маркет, Детский мир, Авито, Мегамаркет, Lamoda, DNS, Ситилинк, Taobao и сравнение цен по всем сразу. Только чтение, ключи не нужны.
bibverify★ 98
Cross-platform BibTeX verification for researchers and AI assistants — CLI, Python API, MCP server, and explainable multi-source matching.
calibremcp★ 48
FastMCP 3.2 server for Calibre e-book library management — AI-assisted search, RAG, and agentic workflows). MCP server for claude, cursor and other MCP clients. Webapp and tauri windows desktop app for use by humans.
geodata★ 41
Lightweight open-source visualiser for India admin boundaries — pick a layer, view, download parquet
Comments
Log in to leave a comment
No comments yet. Be the first!