/nasa-power-mcp-server:nasa-power-guidefrom nasa-power-mcp-server
Plan nasa_power_* calls for NASA POWER solar, wind, temperature, precipitation, and degree-day history. Covers which tool answers a typical-month versus a dated question, overlapping data calls, grid-cell size, data freshness, rate versus total units, degree days, and SQL over staged tables. Use before solar sizing, wind screening, site comparison, regional, or agroclimate work with these tools.
Ships in nasa-power-mcp-server. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
NASA POWER serves historical gridded estimates (reanalysis and satellite products), keyless. It does not serve forecasts or station measurements, and its newest days are not available yet (see the freshness gate below). The data tools take latitude and longitude only, so geocode a place name before calling.
Values describe grid cells, not the exact point:
| Family | Cell size |
|---|---|
| Meteorology (temperature, humidity, wind, precipitation, degree days) | 0.5° latitude × 0.625° longitude |
| Solar irradiance | 1° × 1° |
Sites that fall in the same cell return identical values. The returnedCoordinates in metadata echo the request; they are not the cell center.
nasa_power_search_parameters for one community and temporalResolution pair. A code valid at daily can be missing at hourly: degree days, T2M_MAX and T2M_MIN have no hourly form. Filter with plain words, for example degree days or wind 50.SI_EF_TILTED_SURFACE alias (climatology only) come from nasa_power_list_reference topic presets.canvas_id and table names come from the handles on a producing response: dataset for observations, summaryDataset for point and regional summaries, summaryDatasets.buckets and summaryDatasets.locations for comparison summaries. A summary handle appears only when the response is too large to return inline even without its rows; summaries then holds one entry, summaryCount gives the total, and the table restores the array in summaryIndex order.locationId, label and cellId are row columns. locationId follows input position (location_1 …), and cellId numbers the cells in a regional result.nasa_power_get_timeseries, nasa_power_get_climatology, nasa_power_get_region and nasa_power_compare_locations share a limited budget, and a small call runs alongside others. A call that doesn't fit waits for a running one to finish, within its own deadline. If it is still refused with producer_capacity_exhausted, other data calls are holding the capacity: retry after one returns. A canvas_busy refusal means a query or operation on that canvas is still running, or the server's query pool is full: retry when it returns. Neither refusal is about canvases to reuse. For several sites, one nasa_power_compare_locations call (up to 10 sites) beats parallel point calls.summaries[].lastValidDate for each parameter, from the summaryDataset table (summaryDatasets.locations for a comparison) when the response staged its summaries. Never report trailing nulls as zero, as calm, or as "no sun".nasa_power_compare_locations returns possibleSharedGridCell, the listed sites sit in one cell. Report them as indistinguishable, not as equal results.PRECTOTCORR is mm/day at every resolution. Monthly values, YYYY13 and climatology months and ANN are mean daily rates, so multiply by the number of days for a total.RE returns kW-hr/m^2/day and AG returns MJ/m^2/day for the same code.GDD*, HDD*, CDD*) are totals for their period: per day, and for HDD* and CDD* also per month and per year for ANN and YYYY13.GDD4_4, GDD7_2, GDD10, GDD13_3 and GDD15_6 (base °C), alongside HDD* and CDD*. Request them; don't rebuild them from T2M. GDD* is served only at daily: NASA's dictionary lists it at monthly and climatology, but it has no data there, so those calls fail with unsupported_parameter before any data request and nasa_power_search_parameters doesn't offer it there. Request GDD* at daily over the dates you need and sum the days. For a climatological value, request daily across the climatology's start and end years, sum each year's days for the month, season or year, and average those sums across years.periodKind annual, month null, key YYYY13), and climatology adds ANN. Exclude these rows before averaging or ranking months.summaries aggregate each period kind over the whole window. Comparison buckets are calendar-season means (DJF, MAM, JJA, SON, annual): they don't accumulate and don't follow a growing season. For any other grouping or any sum, compute it from the inline rows or with SQL.| Question | Call |
|---|---|
| Typical month or year: PV sizing, the calmest month, annual heating load | nasa_power_get_climatology. The default period is stated in metadata.range. Pass startYear with endYear for a custom multi-year window, which returns JAN…DEC plus ANN in one small response. |
| Specific dates, day-level distributions, seasonal accumulations | nasa_power_get_timeseries at daily (or hourly from 2001) |
| The same question at 2–10 sites | nasa_power_compare_locations |
| A spatial pattern | nasa_power_get_region |
PV sizing: call climatology with community RE and SI_EF_TILTED_SURFACE (add ALLSKY_SFC_SW_DWN for the horizontal baseline). Irradiance arrives in kW-hr/m^2/day, which equals peak sun hours, for horizontal, latitude, latitude ±15°, vertical and optimal tilts. SI_TILTED_AVG_OPTIMAL_ANG is the optimal tilt in degrees, and SI_TILTED_AVG_OPTIMAL_ANG_ORT is facing text such as S.
Season totals at several farms (growing degree days, rainfall): run nasa_power_compare_locations at daily for the season's dates, then SUM per label in SQL. Bucket means don't give totals. A daily PRECTOTCORR value is that day's total in mm, so the daily values add up directly.
Staging is automatic. A data call stages only when the complete response would not fit inline. Smaller results come back inline with dataset: null, even when you pass canvas_id, and you compute from those rows directly. Where staging isn't available, an oversized result is refused with canvas_required. The refusal gives the result's row count, how many rows fit inline, and a list of calls (date or year windows, parameter groups, smaller regions or site groups); send those calls instead, as each fits inline.
Results too large to return inline are staged as a DataCanvas table, and the response carries a canvas_id. Call nasa_power_dataframe_describe with it and the handle's table for column names and provenance before writing SQL (a whole-canvas describe can exceed the response budget, as it does for a wide point selection's two tables), then nasa_power_dataframe_query with a read-only query. Pass the same canvas_id back to stage further results beside the first; each table expires at the expiresAt on its handle.
power_… name from the handle.periodKey, periodKind, date, year, month, hour, latitude, longitude, elevation, then one column per returned parameter code. Comparison tables add locationId and label; regional tables add cellId.date is VARCHAR (YYYY-MM-DD on daily and monthly rows, null on annual and climatology rows), so use CAST(date AS DATE) before date functions.AVG and SUM skip them. Compare count(column) with the number of days you expected before trusting a total.COUNT come back as strings. Wrap them in CAST(… AS INTEGER) when you need a number; aggregates over measured parameters are numeric.canvas_id across the data calls in a task. The tables then share a canvas and can be joined in one SELECT, and you don't spend the limited canvas capacity on a fresh canvas per call.canvas_not_found or missing_table, rerun the producing call without the old canvas_id (a stale token fails again) to stage the data in a fresh canvas.rowLimit defaults to 100 rows. Aggregate in SQL rather than paging raw rows.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
nasa-power-mcp-server@cyanheads is listed by cyanheads/cyanheads — review the source before installing
npx claudepluginhub cyanheads/cyanheads --plugin nasa-power-mcp-server