Skip to content

Marine weather

Marine weather for one point at sea in one call: the sea state, sea temperature and the windows inside your wave and wind limits, the land forecast beside it, and today's daylight.

$0.007 per call · one payment for the whole workflow
POST /api/skill/marine-weather
Sample output + API docs →

3 tools run server-side in one request: one payment, one response, and a partial-success envelope if a step fails. Paid in USDC over x402 or MPP; this pack has no proof-of-work tier.

When to use this pack

Planning a sail, a crossing, a dive or coastal work: when the sea and the wind allow it, what the day looks like ashore, and how much light there is.

Tools in this pack

Each is also callable on its own.

ToolRoute
Marine forecast and sea windowsGET /api/marine-forecast
Daily weather forecast (global)GET /api/weather-daily
Sun times (sunrise, sunset, twilight)GET /api/sun-times

Weather data by Open-Meteo.com (CC BY 4.0). Wave data from Meteo-France (E.U. Copernicus Marine Service Information), ECMWF, NOAA NCEP and DWD. Neither the European Commission nor ECMWF is responsible for any use that may be made of the Copernicus information or data it contains.

Bought one at a time, these 3 tools cost $0.007 together; the pack is that sum less a 10% bundle discount, rounded up to the $0.001 settlement floor, which is $0.007.

Workflow

  1. Read 5 days of waves, sea state, sea temperature, wind at sea and the windows inside your limits with marine-forecast.
  2. Read 5 days of highs, lows, rain and gusts at the same point with weather-daily.
  3. Read sunrise, sunset and twilight for today with sun-times.

Arguments

NameRequiredDescriptionExample
latyesLatitude of a point at sea or on the open coast (e.g. 43.65 off Nice)43.65
lonyesLongitude of the point (e.g. 7.3 off Nice)7.3

What one call returns

A JSON object with pack, args, steps, summary; steps holds each tool's own result or error. Full example on the API page.

Call it directly

Any x402 client pays the 402 and gets the whole workflow back. With the agent402-client SDK (npm i agent402-client):

import { Agent402 } from "agent402-client";
// payFetch: an x402-wrapped fetch your wallet signs (@x402/fetch).
// Tools on the free tier need no options: new Agent402() pays them by proof-of-work.
// or pay by card: new Agent402({ creditsKey }) with a key from /credits
const client = new Agent402({ fetch: payFetch });
const result = await client.call("skill-marine-weather", {"lat":"43.65","lon":"7.3"});

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@0.19.2

Then paste this prompt:

Build a marine weather view for the point lat=43.65, lon=7.3 using Agent402. Initialize warnings = [].

(1) marine-forecast with lat=43.65, lon=7.3, days=5 - returns {daily: [{date, waveMaxM, swellMaxM, seaState, seaStateLabel, seaTemperatureC, windMaxKt, gustMaxKt, hoursInsideLimits}], windows: [{start, end, hours, waveMaxM, windMaxKt}], found}. If found is false, push 'No sea window in 5 days'. For each day with seaState >= 5, push 'Rough sea on {date} ({waveMaxM} m)'.

(2) weather-daily with lat=43.65, lon=7.3, days=5 - returns {days: [{date, high, low, precipProbability, maxGust, condition}]}. For each day with precipProbability > 70, push 'Rain likely on {date}'.

(3) sun-times with lat=43.65, lon=7.3, date=<today> - returns {sunrise, sunset, dayLength}.

Final return: {location: {lat: 43.65, lon: 7.3}, sea: <step 1 daily and windows>, land: <step 2 days>, daylight: <step 3>, warnings}. Budget: $0.007 for the one pack call (the price /api/pricing lists); marine-forecast and weather-daily are wallet-only (external weather API calls). For planning, not navigation.

← All skill packs