Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · Listings

How to Use NASA POWER daily weather history in Claude Code

Returns daily temperature, precipitation, solar radiation, humidity, and wind data for a location's grid cell. Use it to examine individual hot days, rain events, and dry stretches that monthly averages can hide.

Prompts to try with NASA POWER daily weather history in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use NASA POWER daily weather history for Ames, Iowa, at 42.03, -93.62, from June 1 through August 31, 2025. Add a chart of daily maximum temperature and precipitation to the project's report.

NASA POWER daily weather historyClaude Code
Try asking
  • Use NASA POWER daily weather history to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from NASA POWER daily weather history and tell me what changed since last week.

  • Check NASA POWER daily weather history and summarize what you find in three bullet points.

  • Pull the newest data from NASA POWER daily weather history and give me the result as a table.

How to set up NASA POWER daily weather history in Claude Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run NASA POWER daily weather history

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "power-larc-nasa-gov/weather-history/daily_weather",
        "input": {
          "end": "<end>",
          "start": "<start>",
          "geometry": {}
        }
      }'

Then paste one of the prompts above: Claude Code finds NASA POWER daily weather history on Spiral, shows the price and runs it.

NASA POWER daily weather history providers and prices

Spiral runs NASA POWER daily weather history through Alexandria. Open a card for today's price, with every fee included.

AlexandriaListings
NASA POWER · Daily weather
power-larc-nasa-gov/weather-history/daily_weather

What can you do with NASA POWER daily weather history in Claude Code?

Build a crop-weather report that combines NASA POWER's documented measures with the project's study locations. A coding agent can turn the results into tables and charts while preserving the difference between daily events, monthly history, climate averages, and modeled soil wetness.

Review a completed growing season

Build a season review for a point near Ames, Iowa. Select documented measures, examine daily heat and rainfall, compare monthly conditions across years, add the climate baseline, and describe root-zone wetness through the season.

Explain persistent dry conditions

Investigate a point near Fresno, California, using daily rainfall, monthly history, climate averages, and root-zone wetness. Check definitions and units before describing whether low rainfall coincided with sustained soil drying.

Compare crop sourcing regions

Prepare a weather context brief for representative points near Ribeirão Preto and Londrina, Brazil. Compare rainfall, heat, seasonal baselines, and root-zone wetness using consistently defined measures.

Prepare environmental inputs for crop research

Assemble documented weather inputs for a crop study near Toowoomba, Australia. Use daily records for event timing, monthly records for seasonal comparisons, climate averages for context, and root-zone wetness as an additional environmental measure.

Check solar resource seasonality

Compare monthly solar radiation near Phoenix, Arizona, across several years and against climate averages. Inspect daily values during unusually weak months and use the parameter definitions to keep the radiation measures and units consistent.

Add weather context to building energy analysis

Compare an existing building's energy records with temperature history near Chicago, Illinois. Use daily temperatures to examine particular periods, monthly history for seasonal comparisons, and climate averages to describe how unusual the weather was.

Review soil wetness after rainfall

Examine whether modeled root-zone wetness near Wagga Wagga, Australia, rose after rain and how long the change persisted. Pair the wetness series with daily precipitation, then compare the monthly context across seasons.

Questions about NASA POWER daily weather history in Claude Code

Can Claude Code use NASA POWER daily weather history?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run NASA POWER daily weather history like any built-in tool.

How much does NASA POWER daily weather history cost in Claude Code?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

Do I need an Alexandria account to use NASA POWER daily weather history in Claude Code?

No. Spiral runs NASA POWER daily weather history on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up NASA POWER daily weather history in Claude Code?

About two minutes: add the hosted server, then sign in.

Does Claude Code wait while NASA POWER daily weather history runs?

NASA POWER daily weather history runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

How much geographic detail does NASA POWER provide?

NASA POWER serves worldwide weather and solar data on source grids. NASA lists meteorology at 0.5 by 0.625 degrees and solar data at 1 by 1 degree, so a location query should not be interpreted as a measurement taken inside an individual field.

How recent is NASA POWER data?

NASA reports typical delays of two to three days for meteorological data and five to seven days for solar data. These are archive availability delays, so the latest weather and solar dates can differ.

How far back does the weather record go?

NASA documents daily coverage beginning January 1, 1981. The start date depends on the measure, so that date does not establish the history available for every solar or derived parameter.

Can historical values change?

Yes. NASA replaces recent meteorological products with improved climate-quality products within two to three months, so an earlier download and a later download can contain different values for the same dates.

Is every weather measure available at every time scale?

No. NASA explicitly states that parameter availability varies by community and temporal level, so availability in daily history does not establish availability in monthly history or climate averages.

Get started

Start using NASA POWER daily weather history in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options