total_power
Pack: energy-charts · Endpoint: https://gateway.pipeworx.io/energy-charts/mcp
Total electricity generation / load for a country over a date range. Returns {unix_seconds, production_types:[{name, data}]}; data arrays are timestamp-aligned to unix_seconds. Power in MW.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
country | string | yes | 2-letter lowercase country code, e.g. “de”, “fr”, or “all” for the EU aggregate. |
start | string | yes | Start date, YYYY-MM-DD. |
end | string | yes | End date, YYYY-MM-DD. |
Example call
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":"total_power","arguments":{}}}'
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.