ma_bulletins

Pack: morocco-hcp-statistics · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/ma_bulletins for the schema, then POST the same URL with its arguments for the data.

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.

Example call

Arguments

{}

curl

curl -X POST https://gateway.pipeworx.io/morocco-hcp-statistics/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ma_bulletins","arguments":{}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('ma_bulletins', {});

Response shape

FieldTypeDescription
foundboolean
reasonstring
messagestring
sourcestring
data_as_ofstring
latest_bulletinstring
reuse_termsstring
captured_atstring
countnumber
topicsarray
bulletinsarray
notestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "reason": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "latest_bulletin": {
      "type": "string"
    },
    "reuse_terms": {
      "type": "string"
    },
    "captured_at": {
      "type": "string"
    },
    "count": {
      "type": "number"
    },
    "topics": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "topic": {
            "type": "string"
          },
          "indicators": {
            "type": "number"
          }
        },
        "additionalProperties": true
      }
    },
    "bulletins": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "quarter": {
            "type": [
              "string",
              "null"
            ]
          },
          "published": {
            "type": "string"
          },
          "parse_status": {
            "type": "string"
          },
          "indicators_parsed": {
            "type": "number"
          },
          "sheets_not_parsed": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": true
      }
    },
    "note": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the morocco-hcp-statistics pack
{
  "mcpServers": {
    "morocco-hcp-statistics": {
      "url": "https://gateway.pipeworx.io/morocco-hcp-statistics/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 30, 2026