import_dependency_rate
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/import_dependency_rate for the schema, then POST the same URL with its arguments for the data.
Energy import dependency: the percentage of a country’s energy needs met by net imports, for all energy or for gas, oil or coal, by year. Above 100% means stocks were built up. Source: Eurostat energy statistics.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
energy | string | no | Energy type (default “total”) |
geo | string | no | 2-letter country code or “EU”. Default “DE”. |
from_year | number | no | First year (default: 8 years back) |
to_year | number | no | Last year (default: latest published) |
Example call
Arguments
{
"energy": "gas",
"geo": "DE",
"from_year": 2019
}
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":"import_dependency_rate","arguments":{"energy":"gas","geo":"DE","from_year":2019}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('import_dependency_rate', {
"energy": "gas",
"geo": "DE",
"from_year": 2019
});
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.