country_co2_emissions
Pack: worldbank · 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/country_co2_emissions for the schema, then POST the same URL with its arguments for the data.
National CO2 emissions for ANY country worldwide, annual, from the World Bank (AR5 basis, excluding LULUCF). PREFER for “CO2 emissions of
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
country_codes | string | yes | One or more ISO country codes, comma- or semicolon-separated (e.g. “BR”, “US,CN,IN”). Also accepts “WLD” for the world total. |
date_range | string | no | Year range “start:end” (default “2015:2024”). Example: “2000:2024”. |
per_capita | boolean | no | Return tonnes of CO2 per person instead of national totals (computed from population for the same year). Default false. |
Example call
Arguments
{
"country_codes": "IN"
}
curl
curl -X POST https://gateway.pipeworx.io/worldbank/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"country_co2_emissions","arguments":{"country_codes":"IN"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('country_co2_emissions', {
"country_codes": "IN"
});
More examples
{
"country_codes": "US,CN,DE,BR",
"date_range": "2000:2024",
"per_capita": 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 pack
{
"mcpServers": {
"worldbank": {
"url": "https://gateway.pipeworx.io/worldbank/mcp"
}
}
}
See Getting Started for client-specific install steps.