import_origins

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_origins for the schema, then POST the same URL with its arguments for the data.

Which countries a country imports natural gas, crude oil or coal FROM, ranked, with each supplier’s share of the total and Russia’s share called out. Works for Germany, any EU member, or the EU as a whole (“EU”). Annual by default (latest published year); gas and oil also accept a month. Answers “where does Germany get its gas”, “how much gas does the EU still import from Russia”, “who supplies Italy’s oil”. Source: Eurostat energy statistics.

Parameters

NameTypeRequiredDescription
fuelstringyesFuel: gas, oil (crude) or coal (solid fossil fuels)
geostringnoImporting country as a 2-letter code (“DE”, “FR”, “IT”, “EL” for Greece) or “EU” for the EU-27 total. Default “DE”.
periodstringnoYear “2024” or, for gas and oil only, month “2025-06”. Default: latest published year.
top_nnumbernoHow many suppliers to list (1-30, default 10)
productstringnoOptional Eurostat energy-product code to narrow within the fuel (e.g. “G3200” for LNG only, “O4600” for oil products).

Example call

Arguments

{
  "fuel": "gas",
  "geo": "DE",
  "period": "2024",
  "top_n": 5
}

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_origins","arguments":{"fuel":"gas","geo":"DE","period":"2024","top_n":5}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('import_origins', {
  "fuel": "gas",
  "geo": "DE",
  "period": "2024",
  "top_n": 5
});

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.

Regenerated from source · build October 22, 2026