public_power

Pack: energy-charts · Endpoint: https://gateway.pipeworx.io/energy-charts/mcp

Electricity generation broken down by production type (solar, wind, nuclear, gas, etc.) for a country over a date range. Returns {unix_seconds, production_types:[{name, data}]}; each series’ data array is timestamp-aligned to unix_seconds. Power in MW.

Parameters

NameTypeRequiredDescription
countrystringyes2-letter lowercase country code, e.g. “de”, “fr”, “es”, “pl”, or “all” for the EU aggregate.
startstringnoOptional start date, YYYY-MM-DD. Defaults to 7 days ago.
endstringnoOptional end date, YYYY-MM-DD. Defaults to today.

Example call

Arguments

{
  "country": "de"
}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('public_power', {
  "country": "de"
});

More examples

{
  "country": "all",
  "start": "2024-01-01",
  "end": "2024-01-07"
}

Connect

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

{
  "mcpServers": {
    "energy-charts": {
      "url": "https://gateway.pipeworx.io/energy-charts/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 31, 2026