Skip to main content
Glama

Weather forecast for any point (MET Norway, 9 days) ($0.0018)

weather_forecast
Read-onlyIdempotent

PAID ($0.0018 USDC via x402). Forecast for any coordinate from MET Norway's Locationforecast 2.0 (global): the current hour (temperature, humidity, wind, cloud, next-hour rain, symbol), rows up to hours ahead (1 h steps ~2.5 days, then 6 h, each stating its period), and up to 9 UTC-day rows with min/max (incl. MET's 6-hour extremes), total precipitation and the main condition. Times UTC; MET's CC BY 4.0 attribution included. No air quality or alerts. Upstream failure is not charged. Without payment this returns the 402 challenge; the fiatdock-mcp npm package pays automatically. Any answer the tool cannot produce is >= 400 and is NOT charged.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNoLatitude in decimal degrees, -90 to 90 (required with lon; an empty body answers the published example point)
lonNoLongitude in decimal degrees, -180 to 180 (required with lat)
daysNoHow many daily summary rows (UTC calendar days, today first), 1-9 (default 3)
hoursNoHow many hours ahead the `hourly` rows reach, 1-72 (default 24). Steps are 1 h for about the first 2.5 days and 6 h after
paymentNoBase64 of a single x402 v2 PaymentPayload (EIP-3009 transferWithAuthorization on Base USDC). OMIT it on the first call: the 402 you get back carries `howToPay.payloadTemplate` — the exact envelope to fill in — plus the price and the EIP-712 domain. Send it on the second call to complete the purchase; it is forwarded as the PAYMENT-SIGNATURE header, never as body data. Nothing is charged for the 402 itself, and a call that fails after payment settles nothing.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
asOfYesISO time the forecast was read from MET (or revalidated as unchanged)
noteYesHow to read the rows (UTC times, step lengths, daily rules) and their limits
dailyYesOne row per UTC day, today first: min/max temperature, total precipitation, main condition
unitsYesThe unit of every number
hourlyYesForecast rows from now for `hours` hours: 1-hour steps for about 2.5 days, then 6-hour steps
sourceYesWhere the data came from
currentYesThe forecast for the hour now falls in (a forecast, not an observation)
locationYesThe point forecast (rounded to 4 decimals) and its elevation above sea level as MET models it
defaultedNoPresent only when the body was empty: which point the answer is for, and why
attributionYesThe credit MET Norway's licence (CC BY 4.0 / NLOD 2.0) requires — keep it beside any use of the data
forecastEndsAtYesThe last forecast time MET publishes for this point (about 9-10 days ahead)
modelUpdatedAtYesWhen MET last updated this forecast (meta.updated_at)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.