MCP server exposing 3 tools for morocco-hcp-statistics.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/morocco-hcp-statistics/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
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.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.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/morocco-hcp-statistics/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io