

Climate, Environment, and Land Data Hub
Data
Available ActionsEach successful request consumes credits as outlined below.
query_climate_data10cr
Details
See how any country's environmental footprint stacks up against the rest of the world. Look up CO2 and greenhouse gas emissions, track how forests and agricultural land are changing, check renewable energy adoption and fossil fuel dependence, and monitor air quality and freshwater use across 100+ countries. Every result includes trend analysis showing whether things are getting better or worse, side-by-side comparisons with global averages, and progress toward Paris Agreement and UN Sustainable Development Goals.
Use Cases
Climate risk analysis,Environmental compliance insights,Pollution trend tracking,Resource and land assessment,Resilience planning
Connect Your Agent In 5 Min
Watch the setup guide for your platform
Or Install Locally
STDIO connector for Claude Code, Codex, Cursor, Zed, and other LLMs that require STDIO or custom connections. This lightweight connector routes requests to https://api.agentpmt.com/mcp. All tool execution happens in the cloud and the server cannot edit any files on your computer.
npm install -g @agentpmt/mcp-routeragentpmt-setupActions(1)
query_climate_data10cr5 paramsFetch climate and environmental data for a country or region from the World Bank. Returns CO2 emissions, greenhouse gas data, forest coverage, renewable energy percentages, air quality (PM2.5), water withdrawals, and electricity access. Includes trend analysis, global comparisons, and Paris Agreement/SDG progress tracking.
query_climate_data10cr5 paramsFetch climate and environmental data for a country or region from the World Bank. Returns CO2 emissions, greenhouse gas data, forest coverage, renewable energy percentages, air quality (PM2.5), water withdrawals, and electricity access. Includes trend analysis, global comparisons, and Paris Agreement/SDG progress tracking.
country_or_regionstringCountry name in English (e.g., 'Kenya', 'United States', 'China') or 3-letter ISO code (e.g., 'KEN', 'USA'). Defaults to 'World' if omitted.
environmental_topicstringEnvironmental topic to query. Options: emissions, forests, water, energy, air_quality, or all.
Values:
emissionsforestswaterenergyair_qualityall
Default:
alltime_periodstringTime period: 'latest' for most recent data, or year range like '2015:2020'.
Default:
latestinclude_paris_targetsbooleanInclude Paris Agreement targets and SDG alignment (SDG 7, 13, 15) in the response.
Default:
trueinclude_per_capitabooleanInclude per capita calculations where applicable. Set to false to exclude per-capita indicators (e.g., CO2 per capita).
Default:
truecurl -X POST "https://api.agentpmt.com/products/purchase" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ********" \
-d '{
"product_id": "6980d88a71cad8f61bf5b1b9",
"parameters": {
"action": "query_climate_data",
"environmental_topic": "all",
"time_period": "latest",
"include_paris_targets": true,
"include_per_capita": true
}
}'import requests
import json
url = "https://api.agentpmt.com/products/purchase"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer ********"
}
data = {
"product_id": "6980d88a71cad8f61bf5b1b9",
"parameters": {
"action": "query_climate_data",
"environmental_topic": "all",
"time_period": "latest",
"include_paris_targets": true,
"include_per_capita": true
}
}
response = requests.post(url, headers=headers, json=data)
print(response.status_code)
print(response.json())const url = "https://api.agentpmt.com/products/purchase";
const headers = {
"Content-Type": "application/json",
"Authorization": "Bearer ********"
};
const data = {
product_id: "6980d88a71cad8f61bf5b1b9",
parameters: {
"action": "query_climate_data",
"environmental_topic": "all",
"time_period": "latest",
"include_paris_targets": true,
"include_per_capita": true
}
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(data)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error("Error:", error));const axios = require('axios');
const url = "https://api.agentpmt.com/products/purchase";
const headers = {
"Content-Type": "application/json",
"Authorization": "Bearer ********"
};
const data = {
product_id: "6980d88a71cad8f61bf5b1b9",
parameters: {
"action": "query_climate_data",
"environmental_topic": "all",
"time_period": "latest",
"include_paris_targets": true,
"include_per_capita": true
}
};
axios.post(url, data, { headers })
.then(response => {
console.log(response.status);
console.log(response.data);
})
.catch(error => {
console.error("Error:", error.message);
});Login to view your API and budget keys. The example above uses placeholder values. Sign in to see personalized code with your bearer token.
This tool supports credit-based access for external agents using AgentAddress identities or standard crypto wallets. External agents should use the External Agent API to buy credits with x402 and invoke this tool.
1. Buy Credits
Purchase credits via x402 payment (500 credit minimum, 100 credits = $1).
# Request payment requirements (returns 402 + PAYMENT-REQUIRED header)
curl -i -s -X POST "https://www.agentpmt.com/api/external/credits/purchase" \
-H "Content-Type: application/json" \
-d '{ "wallet_address":"0xYOUR_WALLET", "credits": 500, "payment_method":"x402" }'
# Sign the EIP-3009 authorization, then retry with signature header
curl -s -X POST "https://www.agentpmt.com/api/external/credits/purchase" \
-H "Content-Type: application/json" \
-H "PAYMENT-SIGNATURE: <base64-json>" \
-d '{ "wallet_address":"0xYOUR_WALLET", "credits": 500, "payment_method":"x402" }'2. Create a Session Nonce (nonce used in signed balance/invoke)
curl -s -X POST "https://www.agentpmt.com/api/external/auth/session" \
-H "Content-Type: application/json" \
-d '{ "wallet_address":"0xYOUR_WALLET" }'3. Invoke This Tool
Sign the message with your wallet (EIP-191 personal-sign), then POST to the invoke endpoint.
# Sign this message (wallet MUST be lowercased):
# agentpmt-external
# wallet:0xyourwallet...
# session:<session_nonce>
# request:<request_id>
# method:POST
# path:/external/tools/climate-environmental-data/actions/<actionSlug>/invoke
# payload:<sha256(canonical_json(parameters))>
curl -s -X POST "https://www.agentpmt.com/api/external/tools/climate-environmental-data/actions/<actionSlug>/invoke" \
-H "Content-Type: application/json" \
-d '{
"wallet_address": "0xYOUR_WALLET",
"session_nonce": "<session_nonce>",
"request_id": "invoke-uuid",
"signature": "0x<signature>",
"parameters": {
"your_param": "value"
}
}'Usage Instructions
Usage guidance provided directly by the developer for this product.
Climate, Environment, and Land Data Hub
Overview
Natural language interface to World Bank climate and environmental data. Query CO2 emissions, forest coverage, water resources, energy consumption, and air quality by country or region. Supports 100+ countries by English name. No indicator codes needed -- just provide a country name and topic.
Data sourced from the World Bank API. Covers emissions (CO2, GHG, methane, nitrous oxide), forests and land use, energy access and renewables, water resources, and air quality (PM2.5 exposure). Includes Paris Agreement targets, SDG alignment (SDG 7, 13, 15), trend analysis, and global comparisons.
Actions
query_climate_data
Fetches climate and environmental data for a country or region from the World Bank.
Required parameters: None (all optional; defaults to World/all topics/latest).
Optional parameters:
country_or_region(string): Country name in English (e.g., "Kenya", "United States", "China") or 3-letter ISO code (e.g., "KEN", "USA"). Defaults to "World" if omitted. Unrecognized names return an error with a suggestion.environmental_topic(string): One of "emissions", "forests", "water", "energy", "air_quality", or "all". Defaults to "all".time_period(string): "latest" for most recent data, or a year range like "2015:2020". Defaults to "latest".include_paris_targets(boolean): Include Paris Agreement targets and SDG alignment in the response. Defaults to true.include_per_capita(boolean): Include per capita calculations where applicable. Defaults to true. Set to false to exclude per-capita indicators (e.g., CO2 per capita).
Example -- Get emissions data for Kenya:
{
"action": "query_climate_data",
"country_or_region": "Kenya",
"environmental_topic": "emissions"
}
Example -- Get all climate data for Brazil with a time range:
{
"action": "query_climate_data",
"country_or_region": "Brazil",
"time_period": "2015:2020"
}
Example -- Forest data for the world, no per-capita:
{
"action": "query_climate_data",
"environmental_topic": "forests",
"include_per_capita": false
}
Example -- Energy data for Sub-Saharan Africa without Paris targets:
{
"action": "query_climate_data",
"country_or_region": "Sub-Saharan Africa",
"environmental_topic": "energy",
"include_paris_targets": false
}
Example -- Air quality for India:
{
"action": "query_climate_data",
"country_or_region": "India",
"environmental_topic": "air_quality"
}
Workflows
Country Climate Profile
- Call
query_climate_datawith a country andenvironmental_topic: "all"to get a full climate profile. - Review the
paris_agreement_targetsandsdg_alignmentsections for policy context. - Check the
global_comparisonon each indicator to see how the country compares to the world average.
Emissions Tracking Over Time
- Call
query_climate_datawithenvironmental_topic: "emissions"and atime_periodrange (e.g., "2010:2022"). - Review the
trendfield on each indicator to see if emissions are increasing, decreasing, or stable.
Regional Comparison
- Call
query_climate_datafor a region (e.g., "Sub-Saharan Africa", "Latin America", "South Asia"). - Compare with a specific country by calling again with that country name.
- Use the
global_comparisondata to contextualize results.
Notes
- Supported countries: 100+ countries by full English name (e.g., "Kenya", "Germany", "Brazil"), plus World Bank regions ("Sub-Saharan Africa", "Latin America", "East Asia and Pacific", "Europe and Central Asia", "Middle East and North Africa", "North America", "South Asia") and income groups ("Low Income", "Lower Middle Income", "Upper Middle Income", "High Income").
- 3-letter ISO codes are also accepted (e.g., "KEN", "USA", "CHN"). 2-letter codes are accepted if uppercase.
- Country names must be in English. Native-language or Unicode names are not supported.
- Country name input longer than 100 characters is rejected.
- If
country_or_regionis omitted or empty, it defaults to "World" (WLD). - If
environmental_topicis omitted or not recognized, it defaults to "all" (returns all indicators). - Environmental topics and their indicators:
emissions: CO2 total, CO2 per capita, total GHG, methaneforests: forest area %, forest area sq km, agricultural land %water: freshwater withdrawal, clean fuel accessenergy: renewable energy %, fossil fuel %, renewable electricity %, access to electricity %air_quality: PM2.5 exposure, clean fuel access
- Setting
include_per_capitato false filters out any indicator key containing "per_capita". - Response includes: data values with year, trend analysis (increasing/decreasing/stable over ~10 years), global comparison (percentage above/below world average), Paris Agreement targets, SDG alignment, and a summary with data availability percentage.
- When no data is found for any indicator, success is false and a message is included.
- Data availability varies by country and indicator. Some indicators may return null values.





