Morocco HCP Statistics

liveReference

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.

3tools
0msauth
free tier50 calls/day

Tools

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, t

No parameters required.

▶Try it
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, to

No parameters required.

▶Try it
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-

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.

List available tools
bash
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"}'
Call a tool
bash
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.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("ma_bulletins", {});
ask_pipeworx
// 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");