gastat_series
Pack: gastat · Endpoint: https://gateway.pipeworx.io/gastat/mcp
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
| Name | Type | Required | Description |
|---|---|---|---|
indicator_id | string | yes | GASTAT indicator id, e.g. “131” (population by year) or “132” (population growth rate). From gastat_search or gastat_headline. |
recent | number | no | Most 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, or use one-click install buttons:
{
"mcpServers": {
"gastat": {
"url": "https://gateway.pipeworx.io/gastat/mcp"
}
}
}
See Getting Started for client-specific install steps.