gastat_series

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

Fetch the full time series for a GASTAT indicator id (from gastat_search or gastat_headline) — multiple periods for comparison over time, not just the latest value. Covers population, employment, GDP, consumer prices, trade indices, etc. Some indicators require a region/sector breakdown GASTAT does not expose through this call; those return a clear message rather than raw data — retry with a different indicator from gastat_search.

Parameters

NameTypeRequiredDescription
indicator_idstringyesGASTAT indicator id, e.g. “131” (population by year) or “132” (population growth rate). From gastat_search or gastat_headline.
recentnumbernoMost recent periods to return (1-100, default 20).

Example call

Arguments

{
  "indicator_id": "131"
}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('gastat_series', {
  "indicator_id": "131"
});

More examples

{
  "indicator_id": "132",
  "recent": 5
}

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

See Getting Started for client-specific install steps.

Regenerated from source · build October 22, 2026