get_series_data

Pack: un-sdg · 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.

Get observations for an SDG series in a geographic area over a time range. seriesCode comes from list_indicators/list_series; areaCode is an M49 code from list_geoareas. Returns { data: […] } where each observation has value, timePeriodStart, geoAreaName, source, footnotes, etc.

Parameters

NameTypeRequiredDescription
seriesCodestringyesSDG series code, e.g. “SI_POV_DAY1” (from list_indicators/list_series).
areaCodestringyesM49 geographic area code, e.g. “1” for World (from list_geoareas).
timePeriodStartstringnoOptional earliest year, e.g. “2010”.
timePeriodEndstringnoOptional latest year, e.g. “2020”.
pageSizenumbernoMax observations to return (default 100).

Example call

Arguments

{
  "seriesCode": "SI_POV_DAY1",
  "areaCode": "1"
}

curl

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

TypeScript (@pipeworx/sdk)

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

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

More examples

{
  "seriesCode": "SI_POV_DAY1",
  "areaCode": "4",
  "timePeriodStart": "2010",
  "timePeriodEnd": "2020",
  "pageSize": 50
}

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

See Getting Started for client-specific install steps.

Regenerated from source · build October 15, 2026