Morocco Hcp Statistics
v0.1.0Morocco, Haut-Commissariat au Plan (HCP) -- quarterly Bulletin statistique.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ma_bulletins
List the Moroccan Haut-Commissariat au Plan (HCP) quarterly statistical bulletins covered: title, quarter, publication date, how many indicator series parsed from each, plus the topic areas (prices, tourism, trade, labour, public finance, stock exchange, national accounts, ...). Start here for data_as_of and coverage.
ma_indicators
Search Morocco's national economic and social indicators from the HCP quarterly bulletin (monthly and quarterly series: consumer and producer price indexes by city, industrial/mining/energy output, tourism nights, external trade, exchange rates, public finances, Casablanca stock exchange, labour force, national accounts). Accepts French or English terms ("inflation", "indice general", "tourisme", "chomage", "euro"); optional topic filter. Returns ids with latest value; call ma_indicator_series for history. With no arguments lists the topics.
| Parameter | Type | Description |
|---|---|---|
limit | number | Max results (1-100, default 25) |
search | string | Words from the indicator name, French or English, e.g. "indice general", "inflation", "nuitees", "euro". All words must match. |
topic | string | Optional topic filter (substring), e.g. "IPC", "Tourisme", "COMMERCE EXTERIEUR", "FINANCES PUBLIQUES". Listed by ma_bulletins. |
ma_indicator_series
Time series for one Moroccan HCP indicator by id (from ma_indicators): every period with its value, latest value, and the change vs the previous period and vs a year earlier. Optional from/to as YYYY-MM, YYYY-Qn or a bare year. A miss returns found:false with data_as_of and nearby ids.
| Parameter | Type | Description |
|---|---|---|
id * | string | Indicator id returned by ma_indicators |
from | string | Earliest period, e.g. "2025-01", "2025-Q1" or "2025" |
to | string | Latest period, e.g. "2026-06", "2026-Q2" or "2026" |