Morocco HCP Statistics
liveReferenceMorocco's national economic and social indicators from the Haut-Commissariat au Plan quarterly bulletin: consumer prices by city, industrial output, tourism, trade, exchange rates, public finance, labour force and national accounts.
Tools
ma_bulletinsList 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, t
No parameters required.
Try it
ma_indicatorsSearch 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, to
No parameters required.
Try it
ma_indicator_seriesTime 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-
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/morocco-hcp-statistics/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/morocco-hcp-statistics/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"ma_bulletins","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("ma_bulletins", {});// Or ask in plain English:
const answer = await px.ask("morocco's national economic and social indicators from the haut-commissariat au plan quarterly bulletin: consumer prices by city, industrial output, tourism, trade, exchange rates, public finance, labour force and national accounts");