Morocco Communes

Morocco's 1,503 communes as open data: HCP codes, the 2024 and 2014 censuses, boundaries, an HTTP API and an MCP server.

LLM Mart 1 views 36 listing impressions

Morocco Communes provides official HCP codes, names in French and Arabic, population from the 2024 and 2014 censuses, and boundaries for each commune. The product is free to use. It offers an HTTP API, an MCP server, an npm package, and a Python package.

Boundaries are available as TopoJSON files, one per région. The live API allows querying by name, code, point, or proximity.

Summary drafted from the project's own website. Every sentence is backed by text on that page and was reviewed before publishing.