360 Secure SkillHub
360 安全技能中心

Pipeworx carbon

通过远程 MCP 网关调用英国碳强度数据工具,获取当前与指定日期的电网碳强度及发电燃料占比,适合能碳看板、研究分析和用电时机参考;依赖 curl 与网络。

brucegutman
brucegutman
热度 34.75
最近更新 2026-05-11 17:41:04
分类:数据依赖:MCP 服务 / 第三方 API应用场景:数据处理 / 研究 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pipeworx-carbon
Metadata
name
pipeworx-carbon
description
UK national carbon intensity data — real-time, historical, and generation mix from the Carbon Intensity API
version
1.0.0
metadata
{"openclaw":{"requires":{"bins":["curl"]},"emoji":"🌱","homepage":"https://pipeworx.io/packs/carbon"}}

UK Carbon Intensity

How clean is the UK electricity grid right now? This pack pulls from the official Carbon Intensity API (carbonintensity.org.uk) maintained by National Grid ESO. Get real-time and historical carbon intensity forecasts plus the current generation fuel mix.

Tools

Tool Purpose
get_intensity Current national carbon intensity — forecast gCO2/kWh, actual value, and index (very low to very high)
get_intensity_by_date Carbon intensity data for a specific date (format YYYY-MM-DD)
get_generation_mix Current electricity generation breakdown by fuel type (wind, solar, gas, nuclear, etc.)

When this is useful

  • Smart home systems deciding when to run appliances (charge EVs when intensity is low)
  • Sustainability dashboards showing real-time grid carbon data
  • Research comparing UK grid decarbonization over time
  • Answering "how green is UK electricity right now?"

Example

curl -s -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_generation_mix","arguments":{}}}'

Returns something like:

{
  "from": "2024-03-15T10:00Z",
  "to": "2024-03-15T10:30Z",
  "mix": [
    { "fuel": "wind", "percentage": 38.2 },
    { "fuel": "nuclear", "percentage": 15.1 },
    { "fuel": "gas", "percentage": 22.4 },
    { "fuel": "solar", "percentage": 8.7 }
  ]
}

Setup

{
  "mcpServers": {
    "pipeworx-carbon": {
      "command": "npx",
      "args": ["-y", "mcp-remote@latest", "https://gateway.pipeworx.io/carbon/mcp"]
    }
  }
}