How it works

Ask once, keep the answer, and say where it came from.

Tempest sits between the weather providers and the fleet. The drawing above is the whole shape of it. Here is each step, what happens when a provider fails, how a reading is saved and labeled, how agents and Weather Window reach it, and the rules that keep a person's details out.

Illustration: a weather vane and a three-cup anemometer on a weathered post at the edge of a grassy dune at dusk, deep blue cloud behind them and a band of warm amber light along the sea.
The integration

Providers in, the fleet out

Two weather providers and an official alert feed come in, Tempest keeps what is worth keeping, and the fleet reads it.

Forecasts and readings

Comes in

  • Open-MeteoForecast and archive
  • OpenWeatherForecast and archive

Tempest does

Tempest

  1. Rounds the place to two decimals
  2. Asks both providers at the same moment
  3. Keeps, for each date, the series with the most hourly coverage, and records both as sources
  4. Caches the forecast with its fresh-until time
  5. Saves readings by account, place, provider, and time
  6. Labels archive values as estimates, and converts units

Goes out to

  • CadenceIts weather page and weather views
  • NomadTrip and Apple Watch forecasts
  • DaybookThe weather an entry was written in
  • Weather WindowThe Apple app for iPhone, iPad, Mac, and Apple Watch
  • AgentsForecasts, readings, and diagnostics through MCP

Maps

Comes in

  • RainViewerRadar, worldwide
  • Iowa Environmental MesonetNEXRAD radar, United States
  • NASA GIBSGOES satellite imagery
  • Open-MeteoGridded forecast

Tempest does

Tempest

  1. Lists each layer with its frames, coverage, and attribution
  2. Fetches a tile only from its fixed providers, checks it, and caches it
  3. Builds a nine-by-nine forecast grid of precipitation or cloud cover around a place, hour by hour
  4. Answers unavailable for a layer whose provider does not

Goes out to

  • Weather WindowIts Map screen on iPhone, iPad, and Mac
  • AgentsGrids, layers, and tiles through MCP

Official alerts

Comes in

  • National Weather ServiceActive U.S. alerts

Tempest does

Tempest

  1. Fetches the active feed: actual alerts, updates, and cancellations
  2. Holds it for two minutes and serves it as issued, with the time it was fetched
  3. Answers unavailable when the feed does not

Goes out to

  • CalcytasOfficial alerts, through a credential of its own
  • AgentsAlerts filtered by area, severity, and event
Weather, radar, and satellite providers and the National Weather Service feed in, Tempest in the middle, and the fleet's apps and agents out. Forecasts and readings run along the top lane, maps along the middle, and official alerts along the bottom.
Works with

Every tool that calls it today

Each of these was checked in its own code, and the tools that are live link to their own pages.

Stages

From two providers to one answer

A forecast is never a provider's forecast passed along. It is Tempest's choice among what the providers returned.

  1. Round

    The latitude and longitude are rounded to two decimal places, roughly a kilometer, before anything leaves Tempest. A request for 39.7392 is asked as 39.74.

  2. Ask

    Open-Meteo and OpenWeather are asked in parallel, whichever are set up, each with a short time limit, so a slow one does not hold up the other.

  3. Choose

    For each date, Tempest keeps the one provider's series with the most hourly coverage. It never mixes two providers' hours into one day.

  4. Keep

    The result is cached for the place with each day's retrieved and fresh-until times, and a current reading from the last hour is saved for the account.

  5. Serve

    The caller gets seven days in Fahrenheit or Celsius, each naming its provider and every source that covered it.

Failure

What happens when something goes wrong

A forecast that is old and a provider that failed are different things, and Tempest says which.

A provider's failure is logged by the provider's host and the status or kind of error, never with a key, a place, or a session. A response over 8 megabytes is dropped, and a provider that returns data in a shape Tempest does not expect is treated as having failed.

What a forecast request returns
The situationWhat Tempest does
Both providers answerKeeps the fuller series for each date, and lists both providers as sources.
One provider answersIts forecast is the answer, and its name is the only source.
Neither answers, and a forecast was kept within the last hourReturns that forecast with its own retrieved and fresh-until times, so the caller can see it is old. Weather Window calls it the last available forecast.
Neither answers, and nothing was keptAnswers that the forecast is unavailable.
The date asked for is outside the seven daysThe single-day request returns nothing for that date, and says so rather than guessing.
Readings

Readings: saved, looked up, and estimated

A reading is a temperature, a condition, a time, and a provider, and it carries a basis that says how Tempest came to have it.

A lookup for a past time takes the reading saved at or before it, within the hour before, and prefers a current reading over an estimate. When none is saved, Tempest asks the providers' archives, keeps what they return, and answers with it. History runs back to 1940, and a time that has not happened yet is refused.

Readings are stored by account, rounded place, provider, and time. Saving the same reading again keeps the first capture, and one account never sees another's readings. Open-Meteo's current readings are weather model data and its archive values are reanalysis estimates, which is why the label says estimate.

The two bases of a reading
BasisWhat it isHow Weather Window shows it
currentA reading the provider gave as the weather now, saved when a forecast came back with one from the last hour.Saved reading
historical estimateA value from a provider's archive for a past hour, used when no reading was saved for that time.Archive estimate
Alerts

Official alerts

Alerts are not forecasts, and Tempest does not rewrite them.

Tempest fetches the National Weather Service's active alert feed for the whole United States: actual alerts only, with new alerts, updates, and cancellations. It checks that the answer is an alert collection, holds it for two minutes, and serves it as issued, with the official shapes and message revisions untouched and the time it was fetched.

When the feed cannot be reached or is not what it should be, Tempest answers unavailable. The agents' alert tool filters the national feed by area, severity, and event, because the whole feed is large.

Access

Three ways in, and they never mix

Each caller reaches Tempest through the door made for it.

A request that carries a session and a service credential together is refused, so a caller cannot blend identities, and a wrong credential learns nothing about how the service is configured. Credentials are compared in constant time and are never logged or echoed.

A signed-in Renkara session
People and apps use their own session. Tempest checks its signature against the issuer's published signing keys, that it was issued for a tool that may call Tempest, and that it is a person's session and not a delegated one. It opens the forecast, reading, and history routes.
A credential for Calcytas
Calcytas has a service credential of its own. It opens the alert feed and nothing else, so it can never read anyone's weather or readings.
A credential for agents
Agents have a third credential, accepted only as itself. It acts as one configured account on the forecast, reading, and diagnostics routes and may read the alert feed. Until a credential and an account are set up, the lane answers that it is unavailable.
MCP

The tools for agents

Agents reach Tempest through thirteen MCP tools. The bridge holds no weather logic: each tool is one call to the service, with the agents' credential.

Every weather result names its provider, its basis (a forecast, a current reading, or a historical estimate), its sources, and when a forecast stays fresh, and says the coordinates were rounded to two decimals. The bridge checks its inputs before it makes any request, turns each failure into a plain sentence, and never puts a credential or a stack trace in one.

Tempest's MCP tools
ToolWhat it answers
get_forecastA seven-day forecast for a place, with hourly detail, sunrise and sunset, and the current reading, in Fahrenheit or Celsius.
get_weather_for_dateThe forecast for one calendar day, or a plain answer that no forecast covers that date.
get_current_readingThe current conditions at a place, saved to the account for later lookup.
get_reading_atThe weather at a past moment from 1940 on: a saved reading if there is one, otherwise an archive estimate.
list_saved_readingsThe readings saved for this account at a place, newest first, up to 100.
get_forecast_gridA nine-by-nine grid of forecast precipitation or cloud cover around a place, one frame an hour for up to a day.
get_map_layersThe radar and satellite layers, each with its provider, coverage, attribution, and the frames it has.
get_map_tileOne map tile of a layer and frame, as a picture.
get_tidesThe predicted high and low tides for the next 48 hours at the nearest NOAA station within 25 kilometers, with the station and its distance.
get_moon_phasesThe Moon's phase and the lit fraction now, with the times of the next four primary phases.
get_active_us_alertsActive National Weather Service alerts, filtered by area, severity, and event, most severe first, with geometry left out unless asked.
get_diagnosticsThe service's version, which providers and lanes are set up, whether the database answers, and counts of the account's saved readings and the forecast places kept. Never keys or another account's data.
check_service_healthWhether the service answers its health check, and how fast. It needs no credential.
The app

Weather Window

Tempest has no interface of its own. Its own client is a native Apple app, Weather Window.

Weather Window runs on iPhone, iPad, and Mac, with a companion on Apple Watch. It asks Tempest for forecasts, past readings, saved readings, and map layers, and sends only the rounded place. What the app shows, how it labels a saved reading and an archive estimate, and how it plays the map are on its own site, weather-window.renkara.com, linked from the home page.

Privacy

What Tempest keeps out

A weather service has no business with most of what the tools around it know.

  • Calendar titles, journal entries, and itinerary details stay in the apps that own them. Tempest is asked about a place and a time, and nothing else.
  • Places are rounded to two decimals before a provider sees them and in every key Tempest stores or caches by.
  • Provider keys, session tokens, and service credentials stay out of logs, and diagnostics report only whether a credential is set up.
  • Readings are served with no-store headers, so a browser or a proxy does not keep them.
Contact

Questions about this tool?

Write to Renkara Media Group and a person will answer.