Morocco communes is an MCP server with 13 tools an agent can call, among them commune_at, communes_near, get_commune. It answers at https://communes.pages.dev/mcp over streamable HTTP, and it listed its tools to an anonymous client, so no sign-in was needed for that. Our probes reached it 4 of 4 times since 23 September 2026; the last check, on 7 November 2026, succeeded.
Morocco's régions, provinces and communes: HCP codes, names, census population and boundaries
Description as the publisher wrote it.
| Tool | What it does |
|---|---|
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. Inputs: lat, lng |
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. Inputs: lat, lng, radius_km, limit |
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 Inputs: id |
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 Inputs: unit, fraction, figures |
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 Inputs: unit, level, topics |
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 Inputs: unit, level, topics |
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 Inputs: unit, level, topics, area, sex, census |
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 Inputs: unit, level |
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; Inputs: unit, limit |
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 Inputs: unit, level |
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 Inputs: region, province, cercle, type, sort, min_population |
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 Inputs: query, levels, limit |
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 Inputs: query, limit |
Every block below points at https://communes.pages.dev/mcp. Pick your client and copy.
claude mcp add --transport http morocco-communes https://communes.pages.dev/mcp
{
"mcpServers": {
"morocco-communes": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://communes.pages.dev/mcp"]
}
}
}{
"mcpServers": {
"morocco-communes": {
"url": "https://communes.pages.dev/mcp"
}
}
}{
"servers": {
"morocco-communes": {
"type": "http",
"url": "https://communes.pages.dev/mcp"
}
}
}{
"context_servers": {
"morocco-communes": {
"url": "https://communes.pages.dev/mcp"
}
}
}{
"mcpServers": {
"morocco-communes": {
"serverUrl": "https://communes.pages.dev/mcp"
}
}
}{
"mcpServers": {
"morocco-communes": {
"url": "https://communes.pages.dev/mcp"
}
}
}name: Morocco communes
version: 0.0.1
schema: v1
mcpServers:
- name: Morocco communes
type: streamable-http
url: https://communes.pages.dev/mcp{
"mcpServers": {
"morocco-communes": {
"httpUrl": "https://communes.pages.dev/mcp"
}
}
}{
"mcpServers": {
"morocco-communes": {
"type": "http",
"url": "https://communes.pages.dev/mcp"
}
}
}{
"mcpServers": {
"morocco-communes": {
"url": "https://communes.pages.dev/mcp"
}
}
}goose://extension?url=https%3A%2F%2Fcommunes.pages.dev%2Fmcp&type=streamable_http&id=morocco-communes&name=Morocco%20communes
It answered our last check on 7 November 2026 in 513 ms. Over 4 checks since 23 September 2026 it answered 4. Status here comes from Neuronto's own probes, not from the publisher.
13, as returned by the server's own tools/list on 12 November 2026: commune_at, communes_near, get_commune, get_douars, get_economy, get_housing, get_indicators, get_insights, and 5 more.
It answered our last check on 7 November 2026 in 513 ms. Over 4 checks since 23 September 2026 it answered 4.
Put the server under mcpServers in ~/.cursor/mcp.json with the URL https://communes.pages.dev/mcp. The exact JSON is above, with the same setup for Claude Code, Claude Desktop, VS Code, Windsurf, Zed, Gemini CLI and the rest.
It listed its tools to an anonymous client, so reading the tool list needs no key. Individual tools can still ask for credentials in their own inputs.
Publisher: io.github.zkousama. Endpoint host: communes.pages.dev. ARD identifier: urn:air:io.github.zkousama:mcp:morocco-communes.
First indexed 21 September 2026. The tools are exactly what the server returned; nothing on this page
is inferred from its name. Ranking in Neuronto search is never for sale.