cross_border_flow
Pack: entso-e · Endpoint: https://gateway.pipeworx.io/entso-e/mcp
Physical flow across an interconnector (in_area → out_area).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
area_from | string | yes | Source area EIC code |
area_to | string | yes | Destination area EIC code |
period_start | string | yes | |
period_end | string | yes |
Example call
Arguments
{
"area_from": "10YDE-VE-------2",
"area_to": "10YFR-RTE------C",
"period_start": "202401010000",
"period_end": "202401012300"
}
curl
curl -X POST https://gateway.pipeworx.io/entso-e/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cross_border_flow","arguments":{"area_from":"10YDE-VE-------2","area_to":"10YFR-RTE------C","period_start":"202401010000","period_end":"202401012300"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('cross_border_flow', {
"area_from": "10YDE-VE-------2",
"area_to": "10YFR-RTE------C",
"period_start": "202401010000",
"period_end": "202401012300"
});
More examples
{
"area_from": "10YGB-NGET-----L",
"area_to": "10YNL----------L",
"period_start": "202412010000",
"period_end": "202412312300"
}
Response shape
Always returns: query, time_series_count, time_series
| Field | Type | Description |
|---|---|---|
query | object | Query parameters sent to ENTSO-E API |
time_series_count | number | Number of time series returned |
time_series | array | Array of cross-border flow time series |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "object",
"description": "Query parameters sent to ENTSO-E API"
},
"time_series_count": {
"type": "number",
"description": "Number of time series returned"
},
"time_series": {
"type": "array",
"description": "Array of cross-border flow time series",
"items": {
"type": "object",
"properties": {
"mrid": {
"type": [
"string",
"null"
],
"description": "Market Resource ID"
},
"business_type": {
"type": [
"string",
"null"
],
"description": "Business type classification"
},
"psr_type": {
"type": [
"string",
"null"
],
"description": "Production source resource type"
},
"in_domain": {
"type": [
"string",
"null"
],
"description": "Destination area EIC code"
},
"out_domain": {
"type": [
"string",
"null"
],
"description": "Source area EIC code"
},
"periods": {
"type": "array",
"description": "Time periods with flow data",
"items": {
"type": "object",
"properties": {
"period_start": {
"type": [
"string",
"null"
],
"description": "Period start timestamp (ISO 8601)"
},
"period_end": {
"type": [
"string",
"null"
],
"description": "Period end timestamp (ISO 8601)"
},
"resolution": {
"type": [
"string",
"null"
],
"description": "Time resolution (e.g., PT60M for hourly)"
},
"points": {
"type": "array",
"description": "Flow data points",
"items": {
"type": "object",
"properties": {
"position": {
"type": "number",
"description": "Position/index in period"
},
"value": {
"type": "number",
"description": "Physical flow in MW"
}
},
"required": [
"position",
"value"
]
}
}
}
}
}
}
}
}
},
"required": [
"query",
"time_series_count",
"time_series"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"entso-e": {
"url": "https://gateway.pipeworx.io/entso-e/mcp"
}
}
}
See Getting Started for client-specific install steps.