get_poverty
Pack: worldbank-poverty · 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_poverty for the schema, then POST the same URL with its arguments for the data.
Official World Bank poverty & inequality estimates for a country (or all countries).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
country | string | no | ISO3 country code (e.g. “BRA”, “IND”, “NGA”) or “all” for every country. Default “all”. |
year | string | no | Reporting year (e.g. “2020”) or “all” for the full time series. Default “all”. |
povline | number | no | Poverty line in $/day (2017 PPP). Common values: 2.15, 3.65, 6.85. Default 2.15. |
fill_gaps | boolean | no | If true, interpolate/extrapolate estimates for years without a survey. Default false (survey years only). |
Example call
Arguments
{
"country": "IND",
"year": "2020",
"povline": 2.15
}
curl
curl -X POST https://gateway.pipeworx.io/worldbank-poverty/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_poverty","arguments":{"country":"IND","year":"2020","povline":2.15}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_poverty', {
"country": "IND",
"year": "2020",
"povline": 2.15
});
More examples
{
"country": "all",
"year": "all",
"povline": 3.65,
"fill_gaps": true
}
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 worldbank-poverty pack
{
"mcpServers": {
"worldbank-poverty": {
"url": "https://gateway.pipeworx.io/worldbank-poverty/mcp"
}
}
}
See Getting Started for client-specific install steps.