Skip to content
← Directory

mcp · United States

morocco-communes

Morocco's 1,503 communes as open data: HCP codes, the 2024 and 2014 censuses, boundaries, an HTTP API and an MCP server.

Feature or claim this listing

Feature this listing — founding Featured slots are 50% off for 6 months

Represent morocco-communes? Send a claim for review so we can discuss listing updates. Claims do not automatically grant ownership or verification.

Explore paid sponsorship →

What's in it

Data offered docs-verified
administrative units: 12 régions, 75 provinces/préfectures, 8 préfectures d'arrondissements, 213 cercles, 1,503 communes, 41 arrondissements · official HCP geographic codes with French and Arabic names · population for 2024 and 2014 · census indicators (age, education, languages, work, housing) for 2024 and 2014 · 2024 count of economic establishments · 2024 urban housing stock by dwelling · 2024 douar-level data for rural communes (33,189 douars) · 2014 to 2024 commune crosswalk · commune boundaries from OpenStreetMap (ODbL) · per-commune insights: standout 2024 figures with neighbour and 2014 comparison · computed search, nearest-commune and point-in-commune lookups via the API
Coverage docs-verified
Morocco (national: 12 régions, 1,503 communes) · 2014 and 2024 censuses
Resolution llm-inferred
Commune level (1,503 communes) and the arrondissement, cercle, province and région levels above; douar level (33,189 douars, 2024, rural communes only); census data at two points in time (2014, 2024) with no sub-annual temporal resolution
Formats docs-verified
JSON · CSV · TopoJSON · GeoJSON · HTTP JSON API · ES modules with types (npm package) · pandas DataFrame or list of dicts (PyPI package)
Access docs-verified
Free and unmetered for pre-rendered API files; no auth (ENTRY auth null). Data licences vary by directory: HCP census files CC BY 4.0, geometry/ ODbL share-alike. ENTRY lists MIT, which DOCS do not state.

Useful for

Use cases llm-inferred
Rural water or sanitation scheme scoping: douar-level households, people and distance to primary school, collège, lycée and health centre for villages of 30+ households · Socio-economic baseline for an EIA or social impact assessment: commune population, census indicators and 2014 to 2024 change, via get_commune and get_indicators · Site screening: resolve a project's coordinates to its commune and neighbouring communes with commune_at and communes_near · Demand estimates for water or civils projects: commune and urban housing stock counts from the 2024 census
Audience llm-inferred
GIS analysts · planners · environmental consultants · civils engineers scoping rural water or sanitation · data analysts

Limitations

Constraints llm-inferred
Morocco only; no UK coverage · Douar names are Arabic only; a Latin name is given only where an external source supplies one · Douar demographic detail (nationality, age, sex, dwelling type, distances to services) is only published for douars of 30+ households; smaller ones get null · Boundaries come from OpenStreetMap and five commune fields are ODbL share-alike, which may constrain redistribution · Census snapshots only (2014, 2024); no update schedule is stated · Licence in ENTRY (MIT) does not match the per-directory licences in DOCS; check before reuse · Insights exclude communes where the two censuses disagree and possible data errors

Example tool calls docs-verified

Find communes matching 'tanger' (French, Arabic, slug or code search)

{
  "tool": "search",
  "arguments": {
    "q": "tanger",
    "levels": "commune",
    "limit": 10
  }
}
Licence
MIT
Authentication
Unknown — review source docs
GitHub stars
49
Last commit
17/10/2026
Last successful page check
14/10/2026
Page health
healthy
Package
Not recorded
Verification
Not independently verified

Auto-extracted, unverified fields: tools, auth. Check upstream documentation.

Provenance & evidence

Daily discovery 2026-10-17: GitHub search; verified via GitHub API. Tools/install/auth auto-extracted from README.

Metadata observed 14/10/2026 · daily-2026-10-17 (github-search)

Related sources

Browse: GIS & earth observation