get_intensity

Pack: carbon · Endpoint: https://gateway.pipeworx.io/carbon/mcp

Check current UK electricity carbon intensity. Returns gCO2/kWh (forecast and actual) plus intensity level (very low to very high). Use to schedule energy-intensive tasks during low-carbon periods.

Example call

Arguments

{}

curl

curl -X POST https://gateway.pipeworx.io/carbon/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_intensity","arguments":{}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_intensity', {});

Response shape

Always returns: from, to, forecast_gco2_per_kwh, actual_gco2_per_kwh, index

FieldTypeDescription
fromstringStart time of the intensity period (ISO 8601)
tostringEnd time of the intensity period (ISO 8601)
forecast_gco2_per_kwhnumberForecasted carbon intensity in grams CO2 per kilowatt-hour
actual_gco2_per_kwhnumber | nullActual carbon intensity in grams CO2 per kilowatt-hour, or null if not available
indexstringIntensity index level (e.g., very low, low, moderate, high, very high)
Full JSON Schema
{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "description": "Start time of the intensity period (ISO 8601)"
    },
    "to": {
      "type": "string",
      "description": "End time of the intensity period (ISO 8601)"
    },
    "forecast_gco2_per_kwh": {
      "type": "number",
      "description": "Forecasted carbon intensity in grams CO2 per kilowatt-hour"
    },
    "actual_gco2_per_kwh": {
      "type": [
        "number",
        "null"
      ],
      "description": "Actual carbon intensity in grams CO2 per kilowatt-hour, or null if not available"
    },
    "index": {
      "type": "string",
      "description": "Intensity index level (e.g., very low, low, moderate, high, very high)"
    }
  },
  "required": [
    "from",
    "to",
    "forecast_gco2_per_kwh",
    "actual_gco2_per_kwh",
    "index"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "carbon": {
      "url": "https://gateway.pipeworx.io/carbon/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026