chokepoint_compare
Pack: imf-portwatch · Endpoint: https://gateway.pipeworx.io/imf-portwatch/mcp
Compare chokepoint traffic status across 2 to 6 maritime chokepoints side by side and rank them by how far each one has deviated from its own trailing baseline, so an agent can spot which strait or canal is the anomalous one. Answers “which maritime chokepoint is disrupted right now”, “Suez Canal transit volume vs Bab el-Mandeb”, “compare Panama Canal ship counts to Hormuz”, “tanker traffic anomaly across chokepoints”. For each chokepoint returns the latest settled day and its total, the baseline mean over the window, the delta, the percent deviation, the direction (above, below, normal), and the per-vessel-type percent deviation; results are sorted with the largest absolute deviation first. Reports data_lag_days and a freshness_note for the whole comparison. Source is IMF PortWatch daily AIS-derived transit counts, published with a multi-day lag, so every “latest” figure is the most recent settled day rather than a live count. Names are matched forgivingly (“Hormuz”, “Strait of Hormuz”, “Suez”, “Panama”, “Bab el-Mandeb”, “Malacca”, “Taiwan”, “Bosphorus”, “Gibraltar”, “Dover”) or accept a portid. Examples: chokepoint_compare({chokepoints: [“Hormuz”, “Suez”, “Bab el-Mandeb”]}); chokepoint_compare({chokepoints: [“Suez”, “Cape of Good Hope”], days: 90}); chokepoint_compare({chokepoints: [“Panama”, “Suez”, “Malacca”, “Hormuz”], days: 14}).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
chokepoints | array | yes | Two to six chokepoint names, aliases, or portids — e.g. [“Hormuz”, “Suez”, “Bab el-Mandeb”] |
items | string | no | |
days | number | no | Length of the trailing baseline window in days for every chokepoint (default 30, min 7, max 364). |
Example call
curl -X POST https://gateway.pipeworx.io/imf-portwatch/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"chokepoint_compare","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"imf-portwatch": {
"url": "https://gateway.pipeworx.io/imf-portwatch/mcp"
}
}
}
See Getting Started for client-specific install steps.