energy_mix
Pack: eu-energy-imports · 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/energy_mix for the schema, then POST the same URL with its arguments for the data.
A country’s (or the EU’s) energy mix: gross available energy split into natural gas, oil, solid fossil fuels, renewables, nuclear, waste, and net electricity and heat, in terajoules and as a percentage share, for one year. Source: Eurostat energy balances.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
geo | string | no | 2-letter country code or “EU”. Default “DE”. |
year | number | no | Year (default: latest published) |
Example call
Arguments
{
"geo": "DE",
"year": 2023
}
curl
curl -X POST https://gateway.pipeworx.io/eu-energy-imports/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"energy_mix","arguments":{"geo":"DE","year":2023}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('energy_mix', {
"geo": "DE",
"year": 2023
});
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 eu-energy-imports pack
{
"mcpServers": {
"eu-energy-imports": {
"url": "https://gateway.pipeworx.io/eu-energy-imports/mcp"
}
}
}
See Getting Started for client-specific install steps.