{
 "type": "mcp",
 "name": "Morocco communes",
 "registry_name": "io.github.zkousama/morocco-communes",
 "also_published_as": [],
 "description": "Morocco's régions, provinces and communes: HCP codes, names, census population and boundaries",
 "url": "https://communes.pages.dev/mcp",
 "transport": "streamable-http",
 "website": null,
 "repo": "https://github.com/zkousama/morocco-communes",
 "ours": false,
 "publisher": "io.github.zkousama",
 "categories": [
  "gov-records",
  "real-estate",
  "security"
 ],
 "tests": {
  "tested_at": "2026-11-24T21:41:23.981Z",
  "http_status": 200,
  "initialize": "ok",
  "tools_list": "ok",
  "tool_count": 13,
  "latency_ms": 424,
  "tools_list_ms": 485,
  "protocol_version": "2025-06-18",
  "oauth_discovery": null,
  "server_info": {
   "name": "morocco-communes",
   "version": "1.10.0"
  },
  "error": null
 },
 "signals": {
  "github_stars": 51,
  "license": "MIT",
  "repo_pushed_at": "2026-11-14T02:13:18Z",
  "repo_archived": false,
  "npm_downloads_30d": null,
  "adoption_note": null,
  "registry_updated_at": "2026-09-29T21:07:17.886241Z",
  "registry_published_at": "2026-09-29T21:07:17.886241Z",
  "pypi_downloads": "missing"
 },
 "checks": {
  "latency": 95.4,
  "tool_docs": 100,
  "breadth": 67.1,
  "freshness": 100,
  "license": 100,
  "adoption": 42.9,
  "protocol": 100
 },
 "score": 78.9,
 "missing": [],
 "tools": [
  "search_douars",
  "search",
  "get_commune",
  "communes_near",
  "commune_at",
  "list_communes",
  "get_unit",
  "get_indicators",
  "get_economy",
  "get_housing",
  "get_insights",
  "get_neighbourhoods",
  "get_douars"
 ],
 "tool_docs": [
  {
   "n": "search_douars",
   "d": "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: تشديرت and Tachdirt b"
  },
  {
   "n": "search",
   "d": "Find régions, provinces and préfectures, cercles, communes and arrondissements of Morocco by name. Takes French or Arabic, a slug, or another name a place is kn"
  },
  {
   "n": "get_commune",
   "d": "One commune's names, type, région, province and cercle, 2024 and 2014 population, the change between them, a point inside it, the communes it borders and how mu"
  },
  {
   "n": "communes_near",
   "d": "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 one that contains t"
  },
  {
   "n": "commune_at",
   "d": "The commune whose boundary contains a point, with its names, type, parents and population, and in Casablanca, Rabat, Fès, Marrakech, Salé and Tanger the arrondi"
  },
  {
   "n": "list_communes",
   "d": "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 order with its value, "
  },
  {
   "n": "get_unit",
   "d": "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 units it holds, and "
  },
  {
   "n": "get_indicators",
   "d": "HCP's census figures for Morocco or any région, province or préfecture, cercle, commune or arrondissement: age, marital status, fertility, disability, schooling"
  },
  {
   "n": "get_economy",
   "d": "HCP's 2024 count of economic establishments for Morocco or any région, province or préfecture, cercle, commune or arrondissement: how many establishments were m"
  },
  {
   "n": "get_housing",
   "d": "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 second homes, what kind"
  },
  {
   "n": "get_insights",
   "d": "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 communes since 2014, o"
  },
  {
   "n": "get_neighbourhoods",
   "d": "The neighbourhoods OpenStreetMap and Poste Maroc name in a commune, a city's arrondissements included, with the arrondissement each was placed in where it has a"
  },
  {
   "n": "get_douars",
   "d": "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 Arabic only. Each ha"
  }
 ],
 "passed": true,
 "auth_required": false,
 "fail_reason": null,
 "category_confidence": 0.965,
 "category_source": "classifier",
 "category_scores": {
  "gov-records": 2.62,
  "real-estate": 0.37,
  "calculators": 0.25,
  "maps": 0.15
 },
 "subcategory": "statistics-open-data",
 "id": "io-github-zkousama-morocco-communes",
 "listing": {
  "plan": "curated",
  "fee_usd": null,
  "note": "Listing fees are not active. Placement is earned only by test results."
 },
 "status": "listed",
 "first_seen": "2026-11-24",
 "uptime_days": "2/2",
 "ranks": [
  {
   "category": "gov-records/statistics-open-data",
   "kind": "mcp",
   "rank": 6
  }
 ]
}