macau_indicator

Pack: macau-stats · 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/macau_indicator for the schema, then POST the same URL with its arguments for the data.

Latest published value (and, when a reliable match exists, recent history) for one of Macau’s 143 DSEC key indicators. Pass either the numeric id from macau_indicators, or a name keyword (English, 中文 or Portuguese, e.g. “gross revenue of games of chance”, “population”, “turismo”). Always returns the current value with its reference period and unit; periods (default 24) additionally attempts a historical series by matching the indicator against DSEC’s general statistics database — this succeeds for many series but not all (some key indicators, notably gaming revenue, exist only as a curated latest-value widget with no general-catalog counterpart), in which case history is null and history_note explains why. Sourced from DSEC’s public TimeSeriesDatabase.asmx web service.

Parameters

NameTypeRequiredDescription
idnumbernoNumeric KeyIndicatorID from macau_indicators, e.g. 15 for “Gross revenue of games of chance”.
namestringnoIndicator name or keyword, English/中文/Portuguese, e.g. “gaming revenue”, “population”.
periodsnumbernoHow many historical periods to attempt to fetch when a general-catalog match is found (default 24).

Example call

Arguments

{
  "id": 15
}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('macau_indicator', {
  "id": 15
});

More examples

{
  "name": "population",
  "periods": 8
}

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 macau-stats pack
{
  "mcpServers": {
    "macau-stats": {
      "url": "https://gateway.pipeworx.io/macau-stats/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 22, 2026