How to Use NOAA Kp index in Cline
Returns planetary Kp readings and forecast values for comparing geomagnetic activity over time. Use it to identify stronger three-hour periods; choose the three-day forecast when you also need the forecaster's explanation.
Prompts to try with NOAA Kp index in Cline
Copy an example into Cline, or ask in your own words.
Use NOAA Kp index to add a chart of available observed and forecast Kp to this project, clearly separating the two.
Use NOAA Kp index to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from NOAA Kp index and tell me what changed since last week.
Check NOAA Kp index and summarize what you find in three bullet points.
Pull the newest data from NOAA Kp index and give me the result as a table.
How to set up NOAA Kp index in Cline
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
In the Cline panel, click the MCP Servers icon and open the Remote Servers tab. Enter:
cline mcp add spiral https://api.spiral.ai/mcp --transport http --yes
- Sign in
Open the Configure tab and click Authenticate on the Spiral server. Sign in to Spiral, pick the organization and click Authorize. No API key.
- Check it
Spiral shows as connected on the Configure tab. In the CLI:
cline config mcp
Use the Spiral skill
- Send Cline this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run NOAA Kp index
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": "services-swpc-noaa-gov/space-weather/kp_index", "input": { "days": 2 } }'
Then paste one of the prompts above: Cline finds NOAA Kp index on Spiral, shows the price and runs it.
NOAA Kp index providers and prices
Spiral runs NOAA Kp index through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Cline for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Days | 1 to 7 | 2 | Days of observed and estimated history before the latest value. |
Every API field of NOAA Space Weather Prediction Center · Kp index is on its tool page: open its card above.
What can you do with NOAA Kp index in Cline?
Build a space weather display that keeps NOAA observations and forecasts in separate views. A coding agent can add three-hour Kp charts, forecast explanations, or official notices to the project's interface.
Write a daily space weather news brief
Build a briefing with issued notices, current severity, upcoming conditions, auroral activity, Kp, incoming solar wind, and recent flares. Keep each observation or forecast attached to its own time period.
Prepare a planetarium's live sky presentation
Give presenters current NOAA data for explaining what the Sun and Earth's magnetic environment are doing. Use the aurora outlook, flare events, measurements, notices, and forecast explanations as distinct parts of the presentation.
Populate an observatory's space weather display
Show visitors a conditions summary with separate panels for NOAA notices, forecasts, auroral activity, geomagnetic readings, solar wind, and flares. Label forecast horizons so a near-term aurora estimate cannot be mistaken for tomorrow's outlook.
Build a prospective storm timeline
Save successive NOAA responses during an unfolding event. Assemble a timeline showing how notices, forecast expectations, auroral activity, Kp, solar wind, and flare reports changed, without assuming every change had the same cause.
Plan an aurora photography check
Use forecast Kp windows to choose when to check again, then consult the near-term aurora outlook before heading out. Present these as space weather inputs to a viewing decision.
Explain an official storm notice
Turn a NOAA bulletin into a short explanation of what was issued and the accompanying geomagnetic readings. Add the forecaster's rationale when discussing expected activity.
More on NOAA Kp index and Cline
Overview
NOAA Kp index in other agents
Questions about NOAA Kp index in Cline
Can Cline use NOAA Kp index?
Yes. Add Spiral to Cline as an MCP server, and Cline can find and run NOAA Kp index like any built-in tool.
How much does NOAA Kp index cost in Cline?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Cline plan is separate.
Do I need an Alexandria account to use NOAA Kp index in Cline?
No. Spiral runs NOAA Kp index on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up NOAA Kp index in Cline?
About two minutes: add the server, then sign in, then check it.
Does Cline wait while NOAA Kp index runs?
NOAA Kp index runs in the background. Cline starts the run, checks on it and gives you the json when it's ready.
Does NOAA report one overall space weather severity?
NOAA separates three event types: geomagnetic storms, solar radiation storms, and radio blackouts. A report about one type should not be read as a severity rating for all three.
Does NOAA's aurora coverage include the Southern Hemisphere?
Yes. NOAA's aurora forecast covers both hemispheres, including the southern auroral oval.
How far ahead does NOAA forecast space weather?
The horizon depends on the product. The OVATION aurora outlook normally covers 30 to 90 minutes, while the three-day space weather forecast covers the next three days.
How often does NOAA revise its three-day forecast?
NOAA issues it every 12 hours, at 0030 and 1230 UTC. Each category includes the forecaster's explanation of the expected conditions.
Does a new Kp reading describe just the latest minute?
No. NOAA's chart refreshes every minute, but its estimated planetary Kp represents a three-hour interval.
Start using NOAA Kp index in Cline
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Cline:
set up https://spiral.ai/SKILL.md


