get_series_data
Pack: un-sdg · Endpoint: https://gateway.pipeworx.io/un-sdg/mcp
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
| Name | Type | Required | Description |
|---|---|---|---|
seriesCode | string | yes | SDG series code, e.g. “SI_POV_DAY1” (from list_indicators/list_series). |
areaCode | string | yes | M49 geographic area code, e.g. “1” for World (from list_geoareas). |
timePeriodStart | string | no | Optional earliest year, e.g. “2010”. |
timePeriodEnd | string | no | Optional latest year, e.g. “2020”. |
pageSize | number | no | Max observations to return (default 100). |
Example call
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":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"un-sdg": {
"url": "https://gateway.pipeworx.io/un-sdg/mcp"
}
}
}
See Getting Started for client-specific install steps.