generation_mix
Pack: energy-charts · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/generation_mix for the schema, then POST the same URL with its arguments for the data.
The CURRENT ELECTRICITY GENERATION MIX BY FUEL for a European country — how much power is coming from solar, wind, nuclear, gas, coal, hydro, biomass right now, with each fuel’s MW and percentage share. Answers “what is Germany’s generation mix”, “how much of France’s electricity is nuclear”, “Germany power generation by source”, “what fuels are generating electricity in
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
country | string | yes | Country name (“Germany”, “France”, “Spain”, “Poland”) or 2-letter code (“de”, “fr”). Use “eu” for the EU aggregate. |
at | string | no | Optional date YYYY-MM-DD for a historical mix (defaults to the latest available data). |
Example call
Arguments
{
"country": "Germany"
}
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":"generation_mix","arguments":{"country":"Germany"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('generation_mix', {
"country": "Germany"
});
More examples
{
"country": "fr",
"at": "2024-01-15"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the energy-charts pack
{
"mcpServers": {
"energy-charts": {
"url": "https://gateway.pipeworx.io/energy-charts/mcp"
}
}
}
See Getting Started for client-specific install steps.