get_series_data

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

Fetch the actual time-series observations for a CBS series by its numeric series id (the leaf id found via catalog_browse). Returns metadata (subject path, unit, prices, last update) plus an array of observations with TimePeriod (e.g. “2026-04”) and Value. Covers Israeli economic and demographic statistics. Optionally filter by start_period / end_period (YYYY-MM or YYYY).

Parameters

NameTypeRequiredDescription
series_idintegeryesNumeric series id, e.g. 1 (foreign-trade deficit).
start_periodstringnoEarliest period, e.g. “2025-01” or “2024”.
end_periodstringnoLatest period, e.g. “2026-06”.
langstringnoContent language. Default “en”.

Example call

Arguments

{
  "series_id": 1
}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_series_data', {
  "series_id": 1
});

More examples

{
  "series_id": 1,
  "start_period": "2025-01",
  "end_period": "2026-06",
  "lang": "en"
}

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

See Getting Started for client-specific install steps.

Regenerated from source · build October 16, 2026