Weather Lookup

Get the current weather and a 7-day forecast for a place or coordinates, from Open-Meteo.

Pay by wallet (x402) weather-lookup

Example

Input
{
  "city": "Stockholm",
  "latitude": 59.3293,
  "longitude": 18.0686
}
Answer
{
  "current": {
    "condition": "Overcast",
    "feels_like_c": -2.6,
    "temperature_c": 0.2,
    "wind_speed_kmh": 4.7,
    "humidity_percent": 97,
    "precipitation_mm": 0,
    "wind_direction_deg": 179
  },
  "location": "Stockholm",
  "timezone": "Europe/Stockholm",
  "coordinates": {
    "latitude": 59.3293,
    "longitude": 18.0686
  },
  "forecast_7day": [
    {
      "date": "2026-03-08",
      "low_c": 0.2,
      "high_c": 8.3,
      "condition": "Overcast",
      "precipitation_mm": 0
    },
    {
      "date": "2026-03-09",
      "low_c": 2.5,
      "high_c": 8.8,
      "condition": "Overcast",
      "precipitation_mm": 0
    },
    {
      "date": "2026-03-10",
      "low_c": 1.8,
      "high_c": 10.3,
      "condition": "Overcast",
      "precipitation_mm": 0
    },
    {
      "date": "2026-03-11",
      "low_c": 2,
      "high_c": 7.8,
      "condition": "Overcast",
      "precipitation_mm": 0
    },
    {
      "date": "2026-03-12",
      "low_c": 4.2,
      "high_c": 6.8,
      "condition": "Moderate drizzle",
      "precipitation_mm": 2.7
    },
    {
      "date": "2026-03-13",
      "low_c": 4,
      "high_c": 6.3,
      "condition": "Light drizzle",
      "precipitation_mm": 1.9
    },
    {
      "date": "2026-03-14",
      "low_c": 2.3,
      "high_c": 8.9,
      "condition": "Light drizzle",
      "precipitation_mm": 0.2
    }
  ]
}

Inputs

FieldTypeRequiredWhat it is
citystringNo—
latitudenumberNo—
longitudenumberNo—

Output fields

How reliably each field appears in a successful answer.

FieldTypeAppears
currentobjectAlways (present in every successful answer)
locationstringAlways (present in every successful answer)
forecast_7dayarrayAlways (present in every successful answer)

How to call it

The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.

# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
  -H "Authorization: Bearer $STRALE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "capability_slug": "weather-lookup",
    "inputs": {
      "city": "Stockholm",
      "latitude": 59.3293,
      "longitude": 18.0686
    },
    "max_price_cents": 5
  }'

Limitations

  • Forecast accuracy decreases beyond three days

    Current weather from Open-Meteo — forecast accuracy decreases beyond 3 days and varies by geographic region

    What to do instead: For critical operations, cross-reference with national meteorological services for severe weather warnings