Skip to content
Eden Engine

Planetary Kp Index, Observed or Forecast (NOAA Space Weather Prediction Center)

swpc/kp-index

NOAA's planetary K-index (Kp, 0 to 9) for the last week, from the Space Weather Prediction Center, one row per 3-hour slot in UTC. Kp measures how disturbed Earth's magnetic field is: 0 to 3 is quiet, 4 is active, 5 or more is a geomagnetic storm (NOAA scale G1 to G5) and brings aurora to lower latitudes. Choose `noaa-planetary-k-index` for observed values with the ap equivalent and the station count, or `noaa-planetary-k-index-forecast` for observed, estimated and predicted slots up to three days ahead with the NOAA G-scale on storm-level slots. Kp is in thirds (1.67 is 2-, 2.33 is 2+) and `time_tag` is the START of the slot, so the newest observed row is up to three hours old. Data from the NOAA / National Weather Service Space Weather Prediction Center, a U.S. Government work not subject to copyright. Served by Eden Engine; not an official NOAA or NWS product and not endorsed by NOAA or NWS.

activeper callv3

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

NOAA Space Weather Prediction Center

Data from the NOAA / National Weather Service Space Weather Prediction Center (services.swpc.noaa.gov), a U.S. Government work in the public domain, not subject to copyright per weather.gov/disclaimer. Served by Eden Engine; not an official NOAA or NWS product and not endorsed by NOAA or NWS.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "swpc/kp-index" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "swpc/kp-index" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "swpc/kp-index", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "swpc/kp-index", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "product"
  ],
  "properties": {
    "product": {
      "enum": [
        "noaa-planetary-k-index",
        "noaa-planetary-k-index-forecast"
      ],
      "type": "string",
      "description": "Which Kp file to read. `noaa-planetary-k-index`: observed slots only, each with `Kp`, `a_running` (the ap equivalent of that slot's Kp) and `station_count`. `noaa-planetary-k-index-forecast`: the same observed slots plus estimated and predicted ones up to about three days ahead, each with `kp`, `observed` (observed, estimated or predicted) and `noaa_scale` (G1 and up, otherwise null). Both cover about the last 7 days."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "results"
  ],
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "time_tag"
        ],
        "properties": {
          "Kp": {
            "type": "number",
            "description": "Observed planetary K-index, observed file only. 0 to 9 in thirds, so 1.67 is 2- and 2.33 is 2+."
          },
          "kp": {
            "type": "number",
            "description": "Planetary K-index, forecast file only (lower-case key). 0 to 9 in thirds; observed, estimated or predicted according to `observed`."
          },
          "observed": {
            "enum": [
              "observed",
              "estimated",
              "predicted"
            ],
            "type": "string",
            "description": "Forecast file only. observed is a finished slot, estimated is a slot in progress or next with a nowcast value, predicted is a forecast."
          },
          "time_tag": {
            "type": "string",
            "description": "Start of the 3-hour slot, UTC, formatted YYYY-MM-DDTHH:MM:SS with no offset or Z. Always 00, 03, 06, 09, 12, 15, 18 or 21 hours."
          },
          "a_running": {
            "type": "integer",
            "description": "Observed file only. The ap equivalent of this slot's Kp (the standard conversion, for example Kp 3.33 is 18), not a running average."
          },
          "noaa_scale": {
            "type": [
              "string",
              "null"
            ],
            "description": "Forecast file only. The NOAA geomagnetic storm scale for the slot (G1 Minor to G5 Extreme) when it reaches storm level, otherwise null. Null means below G1, not missing data."
          },
          "station_count": {
            "type": "integer",
            "description": "Observed file only. Number of magnetometer stations the slot rests on (8 on every row sampled)."
          }
        },
        "additionalProperties": true
      },
      "description": "One object per 3-hour UTC slot, oldest first. The keys depend on the product: Kp, a_running and station_count for the observed file, or kp, observed and noaa_scale for the forecast file."
    }
  }
}