get_current_waves
Pack: marine · Endpoint: https://gateway.pipeworx.io/marine/mcp
Check real-time wave conditions at a coastal location. Returns current wave height, period, and direction. Use for immediate surfing, boating, or maritime planning decisions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
latitude | number | yes | Latitude of the location. |
longitude | number | yes | Longitude of the location. |
Example call
Arguments
{
"latitude": 21.3099,
"longitude": -157.8581
}
curl
curl -X POST https://gateway.pipeworx.io/marine/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_current_waves","arguments":{"latitude":21.3099,"longitude":-157.8581}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_current_waves', {
"latitude": 21.3099,
"longitude": -157.8581
});
More examples
{
"latitude": 34.0195,
"longitude": -118.4912
}
Response shape
Always returns: latitude, longitude, wave_height_m, wave_period_s, wave_direction_deg
| Field | Type | Description |
|---|---|---|
latitude | number | Latitude of the location |
longitude | number | Longitude of the location |
wave_height_m | number | Current wave height in meters |
wave_period_s | number | Current wave period in seconds |
wave_direction_deg | number | Current wave direction in degrees |
Full JSON Schema
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"description": "Latitude of the location"
},
"longitude": {
"type": "number",
"description": "Longitude of the location"
},
"wave_height_m": {
"type": "number",
"description": "Current wave height in meters"
},
"wave_period_s": {
"type": "number",
"description": "Current wave period in seconds"
},
"wave_direction_deg": {
"type": "number",
"description": "Current wave direction in degrees"
}
},
"required": [
"latitude",
"longitude",
"wave_height_m",
"wave_period_s",
"wave_direction_deg"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"marine": {
"url": "https://gateway.pipeworx.io/marine/mcp"
}
}
}
See Getting Started for client-specific install steps.