GnistAI GnistAI
Log in

Climate TRACE (Carbon Emissions)

Global greenhouse gas emissions data — country rankings, facility-level sources, sector breakdowns for CO2, CH4, N2O and 60+ gases covering 252 countries.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 7 tools tools 7 7 Environment

Data source: Climate TRACE (climatetrace.org)

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/climate-trace/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-climate-trace": {
      "url": "https://context.gnist.ai/mcp/climate-trace/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/climate-trace/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_emission_source", "arguments": {"source_id": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/climate-trace/

7 endpoints available:

Shell
curl "https://context.gnist.ai/rest/climate-trace/get_emission_source?source_id=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/climate-trace/get_emission_source",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "source_id": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc climate-trace

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (7)

rank_countries_by_emissions
Rank countries by greenhouse gas emissions.
ParameterTypeRequiredDescription
gasstringoptionalGas type: 'co2', 'co2e_20yr', 'co2e_100yr', 'ch4', 'n2o'. Default 'co2e_100yr'. (default: "co2e_100yr")
startanyoptionalStart year (inclusive). Omit for all available years.
endanyoptionalEnd year (inclusive). Omit for all available years.
sectorsanyoptionalComma-separated sectors (e.g. 'power,transportation'). Omit for all sectors.
continentanyoptionalContinent filter: 'Africa', 'Asia', 'Europe', 'North America', 'Oceania', 'South America'.
search_emission_sources
Search for top emission sources (facilities, power plants, etc.).
ParameterTypeRequiredDescription
yearanyoptionalEmissions year (e.g. 2022). Omit for latest.
gasstringoptionalGas type (default 'co2e_100yr'). (default: "co2e_100yr")
sectorsanyoptionalComma-separated sectors (e.g. 'power,manufacturing').
countryanyoptionalISO country code (e.g. 'US', 'CHN', 'NOR').
limitintegeroptionalNumber of results (1-100, default 20). (default: 20)
get_emission_source
Get detailed information for a specific emission source.
ParameterTypeRequiredDescription
source_idstringrequiredClimate TRACE source ID. Use search_emission_sources to find IDs.
get_aggregate_emissions
Get aggregate greenhouse gas emissions data.
ParameterTypeRequiredDescription
yearanyoptionalEmissions year (e.g. 2022). Omit for latest.
gasstringoptionalGas type (default 'co2e_100yr'). (default: "co2e_100yr")
sectorsanyoptionalComma-separated sectors (e.g. 'power,transportation').
countryanyoptionalISO country code (e.g. 'US', 'CHN', 'DEU').
list_emission_sectors
List all available emission sectors in Climate TRACE.
list_emission_countries
List all countries tracked by Climate TRACE.
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related