KitScout

Categories › Knowledge & Everyday › Government & public data

Morocco communes

MCP serverGitHub-verified authorRemote● LiveFree to try

Morocco's régions, provinces and communes: HCP codes, names, census population and boundaries

Install

Remote server: your requests and data go to communes.pages.dev. Claude Code: claude mcp add --transport http morocco-communes https://communes.pages.dev/mcp · Claude app: Settings → Connectors → Add custom connector.

What it can do

The tools this server listed when we connected to it, in its own words.

  • search_douars — Find douars, the villages and hamlets of Morocco's rural communes as HCP's 2024 census lists them, by name, in Arabic or in Latin letters: ت
  • search — Find régions, provinces and préfectures, cercles, communes and arrondissements of Morocco by name. Takes French or Arabic, a slug, or anothe
  • get_commune — One commune's names, type, région, province and cercle, 2024 and 2014 population, the change between them, a point inside it, the communes i
  • communes_near — Communes within a radius of a point, nearest first. Distance is measured to each commune's centroid, so the nearest commune isn't always the
  • commune_at — The commune whose boundary contains a point, with its names, type, parents and population, and in Casablanca, Rabat, Fès, Marrakech, Salé an
  • list_communes — Which commune has the most or the least of something is one call here: sort by that figure, and every commune in the filter comes back in or
  • get_unit — One région, province, préfecture or cercle: its name in French and Arabic, its 2024 population and households, the units above it, how many
  • get_indicators — HCP's census figures for Morocco or any région, province or préfecture, cercle, commune or arrondissement: age, marital status, fertility, d
  • get_economy — HCP's 2024 count of economic establishments for Morocco or any région, province or préfecture, cercle, commune or arrondissement: how many e
  • get_housing — HCP's 2024 count of urban dwellings for Morocco or any unit that has an urban area: how many there are, how many are occupied, vacant or sec
  • get_insights — For a commune, up to 3 of its 2024 census figures that stand out: among the highest or lowest communes, moved far more or less than other co
  • get_neighbourhoods — The neighbourhoods OpenStreetMap and Poste Maroc name in a commune, a city's arrondissements included, with the arrondissement each was plac
  • get_douars — The douars of a rural commune from HCP's 2024 census, the villages and hamlets it's made of, grouped in its fractions (mashyakha), named in

KitScout test notes

Not tested by KitScout yet. When our harness runs it, pros, cons and the tasks we tried appear here, with the date and evidence.

Similar tools