Skip to main content
MCP server CX Codex

Morocco communes — Claude Code MCP server: features and setup

Give an AI agent access to Morocco’s administrative areas, census figures and boundaries. Useful for looking up communes and comparing their recorded statistics.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http morocco-communes https://communes.pages.dev/mcp
Open on GitHub

What Morocco communes does

Morocco communes provides information on Morocco’s regions, provinces, communes and other administrative divisions. The dataset includes HCP codes, French and Arabic names, census figures from 2014 and 2024, counts of economic establishments, and boundaries sourced from OpenStreetMap. The MCP server makes this information available to an agent; an HTTP API is provided as well.

Census indicators cover population, age, education, languages, work and housing. The collection also includes rural douars and a crosswalk between administrative units in the two census years. Licensing varies by dataset section. Geometry and some OpenStreetMap-derived fields use ODbL, so check those terms before reusing them.

Claude Code connects over HTTP with claude mcp add. Codex and Cursor are among the other listed platforms. The two census vintages make year-to-year comparisons possible without treating the figures as a single snapshot.

What it helps with

  • Find a commune by name or code
  • Look up a commune’s census population
  • Compare indicators from 2014 and 2024
  • Identify neighbouring communes

Example prompts for the agent

  • Find the commune of Tanger and show its code and population.
  • Compare this commune’s employment figures in the 2014 and 2024 censuses.
  • Which communes border this one? Show their boundaries.

How to install Morocco communes

Platform CLI: remote server

claude mcp add --transport http morocco-communes https://communes.pages.dev/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Morocco communes

How do I install Morocco communes in Claude Code?

Run claude mcp add --transport http morocco-communes https://communes.pages.dev/mcp. This registers the MCP server over HTTP.

What does Morocco communes do?

It gives an agent access to information about Morocco’s administrative divisions, census indicators and geographic boundaries. Place search is also available.

Which census figures can I compare?

The dataset has indicators for 2014 and 2024, including age, education, languages, work and housing.

Similar MCP servers

All MCP servers for Data and databases →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor