L'Agora
MCPResponds

Morocco communes

io.github.zkousama/morocco-communes

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

No review yet · 0 questions Write a reviewAsk the authorFollow this entry

Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.

All projects by zkousama

Repository
github.com/zkousama/morocco-communes
Server address
https://communes.pages.dev/mcp (streamable-http)
Version
1.9.1
Author
zkousama (namespace verified by the registry)
Source
Official MCP registry (updated Sep 29, 2026)

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Questions for the author

No question yet.

Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.

Continue with GoogleGet a link by email

How to install it

Claude Code

In a terminal:

claude mcp add --transport http morocco-communes https://communes.pages.dev/mcp
Claude (app and claude.ai)

Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.

https://communes.pages.dev/mcp
ChatGPT

In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.

https://communes.pages.dev/mcp
Cursor ~/.cursor/mcp.json

Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):

{
  "mcpServers": {
    "morocco-communes": {
      "url": "https://communes.pages.dev/mcp"
    }
  }
}
VS Code .vscode/mcp.json

Add this to your project’s .vscode/mcp.json:

{
  "servers": {
    "morocco-communes": {
      "type": "http",
      "url": "https://communes.pages.dev/mcp"
    }
  }
}

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

Responds The server speaks MCP and lists its tools.

Date
Nov 28, 2026, 11:18 (test run by L’Atlas)
Response time
761 ms (whole test)
Tools found
13
Announced name
morocco-communes 1.10.0
Protocol
MCP 2025-11-25
Next test
Dec 5, 2026
See the tools (13)
  • 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: تشديرت and Tachdirt both find the douar of Asni. HCP names douars in Arabic only; the Latin name come
  • search
    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 known by: Fez finds Fès, Mogador finds Essaouira. A neighbourhood's name finds the
  • 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 it borders and how much boundary it shares with each, and in the 6 cities divided into them, its arro
  • 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 one that contains the point: commune_at gives that one.
  • commune_at
    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 arrondissement too. Use it to turn coordinates, from a map or a device, into a commune.
  • 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 order with its value, with no need to look them up one by one. Communes filtered by région, province o
  • 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 units it holds, and the ones directly under it, named: a région's provinces, a province's cercles. T
  • get_indicators
    HCP's census figures for Morocco or any région, province or préfecture, cercle, commune or arrondissement: age, marital status, fertility, disability, schooling, illiteracy, the languages people read and write and the local languages they u
  • 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 establishments were mapped, how many are public services, how many are associations in premises of th
  • 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 second homes, what kind they are (villa, apartment, traditional or modern Moroccan house, slum, rural-t
  • 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 communes since 2014, or far from its province's figure. Each comes with its context as numbers, worked
  • get_neighbourhoods
    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 point, where its name comes from, and the postcodes Poste Maroc lists under it;
  • 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 Arabic only. Each has its kind (grouped, split into sub-douars, or dispersed), its households and it

What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more

Cite this entry

For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.

Morocco communes · L’Agora · Tested on

[Morocco communes — L’Agora](https://lagora.dev/en/entry/io.github.zkousama/morocco-communes)

Sources, methodology and limitations

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.zkousama/morocco-communes on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.zkousama/morocco-communes on L’Agora](https://lagora.dev/badge/io.github.zkousama/morocco-communes.svg?lang=en)](https://lagora.dev/en/entry/io.github.zkousama/morocco-communes)

HTML

<a href="https://lagora.dev/en/entry/io.github.zkousama/morocco-communes"><img src="https://lagora.dev/badge/io.github.zkousama/morocco-communes.svg?lang=en" alt="io.github.zkousama/morocco-communes on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

Report this entry