Skip to main content
Glama
aurora-forecast-kp-index-mcp

aurora-forecast-kp-index-mcp

aurora-forecast-kp-index-mcp

Aurora forecast and Kp index for AI assistants. Ask whether you can see the northern lights tonight from your town and get an hour-by-hour answer built from NOAA's predicted Kp index, the auroral oval, darkness and cloud cover, plus the live NOAA OVATION aurora probability and space weather alerts.

This is a Model Context Protocol (MCP) server. It reads NOAA Space Weather Prediction Center (SWPC) products and Open-Meteo cloud cover at call time and needs no API key.

Tools

Tool

What it returns

aurora_tonight

Hour by hour through the dark hours, for up to 3 nights: NOAA's predicted Kp, whether the auroral oval reaches overhead or the horizon at the place, cloud cover, and a good, possible or unlikely verdict with the first worthwhile hour.

aurora_now

The NOAA OVATION nowcast probability overhead and on the poleward horizon, the current Kp, darkness and cloud cover, with a go-look verdict.

kp_forecast

The planetary Kp index forecast in 3-hour UTC blocks with the NOAA G-scale storm level, the last 24 hours observed and the daily maximum.

space_weather_alerts

Recent NOAA SWPC alerts, watches and warnings, newest first, optionally geomagnetic only.

aurora_compare_locations

Ranks 2 to 10 places by tonight's good and possible dark hours, so you can choose where to drive.

Every result has structured JSON, a plain-text summary, as_of, source and more (a page on mcpstamp.com). Every tool is marked read-only.

Related MCP server: mcp-noaa-swpc

What it knows that your model does not

  • Tonight's Kp. NOAA updates the forecast several times a day, and the JSON forecast leaves out the rest of the current UTC day, so the server fills those blocks from the SWPC 3-day forecast text.

  • How far south the aurora reaches for a given Kp, from the NOAA oval table on a dipole geomagnetic latitude, and the Kp a place needs to see aurora on the horizon or overhead.

  • Whether it is actually dark (sun 12 degrees below the horizon) and whether clouds will hide the sky.

Install

Hosted (Claude.ai custom connector, ChatGPT developer mode)

Paste this URL. No token, no sign-up.

https://aurora-forecast-kp-index-mcp.lipmichal.workers.dev/mcp

Claude Code

claude mcp add --transport http aurora-forecast https://aurora-forecast-kp-index-mcp.lipmichal.workers.dev/mcp

Claude Desktop

Claude Desktop adds remote servers under Settings, Connectors, Add custom connector. Paste the URL above.

Cursor

Add to ~/.cursor/mcp.json.

{
  "mcpServers": {
    "aurora-forecast": { "url": "https://aurora-forecast-kp-index-mcp.lipmichal.workers.dev/mcp" }
  }
}

VS Code

Add to .vscode/mcp.json.

{
  "servers": {
    "aurora-forecast": { "type": "http", "url": "https://aurora-forecast-kp-index-mcp.lipmichal.workers.dev/mcp" }
  }
}

Local stdio

The npm package is not published. Build it from this repository with Node 20 or newer.

git clone https://github.com/theluckystrike/aurora-forecast-kp-index-mcp && cd aurora-forecast-kp-index-mcp
npm install && npm run build
claude mcp add aurora-forecast -- node $(pwd)/dist/stdio.js

Example prompts

  • "Can I see the northern lights tonight in Fairbanks?"

  • "What is the Kp index forecast for the next three days?"

  • "Is the aurora visible right now in Tromso?"

  • "Is there a geomagnetic storm watch?"

  • "Which is better tonight for aurora, Duluth or Marquette?"

Data sources

Full list in DATA_SOURCES.md.

Limitations

  • The Kp-to-oval rule is NOAA's rule of thumb, not a guarantee. Aurora can appear further south during strong substorms and fail to appear at a forecast Kp.

  • OVATION is a 30 to 90 minute nowcast on a 1-degree grid.

  • Cloud cover is a model forecast for the nearest grid point.

  • The hosted server caches SWPC products for 5 to 15 minutes.

More

More MCP servers that answer questions your assistant cannot answer alone are on mcpstamp.com.

Part of the Zovo MCP collection at https://mcp.zovo.one

Built by theluckystrike.

Development

npm install
npm test                              # builds, then runs the fixture tests and an offline stdio test
node scripts/stdio-transcript.mjs     # live stdio round trip, writes .live/stdio-transcript.jsonl

CI (.github/workflows/bundle.yml) runs the tests, the type check and wrangler deploy --dry-run --outdir out, and uploads the Worker bundle as an artifact.

License

MIT

Available Tools

5 tools
aurora_compare_locationsCompare aurora chances between placesA
Read-only
Inspect

Rank 2 to 10 places by tonight's aurora chances: good and possible dark hours, cloud, and the Kp needed, so you can choose where to drive.

Inputs: locations (required).

aurora_nowAurora right nowA
Read-only
Inspect

Is the aurora visible right now from a place? NOAA's OVATION nowcast probability overhead and on the poleward horizon (next 30 to 90 minutes), the current Kp index, whether it is dark and the current cloud cover.

Inputs: location (required).

aurora_tonightNorthern lights forecast tonightA
Read-only
Inspect

Can I see the northern lights (or southern lights) tonight from a place? Hour by hour through the dark hours: NOAA's predicted Kp index, whether the auroral oval reaches overhead or the horizon there, cloud cover, and a good/possible/unlikely verdict with the best window. Up to 3 nights.

Inputs: location (required), nights.

kp_forecastKp index forecastA
Read-only
Inspect

NOAA's planetary Kp index forecast for the next three days in 3-hour UTC blocks, with the NOAA G-scale storm level, plus the last 24 hours observed and the daily maximum. Kp 5 or more is a geomagnetic storm and pushes aurora toward mid latitudes.

Inputs: no named parameters.

space_weather_alertsSpace weather alertsA
Read-only
Inspect

Recent NOAA SWPC space weather alerts, watches and warnings: geomagnetic storm watches (aurora outlook), Kp warnings, solar radiation and radio blackout alerts, newest first.

Inputs: hours, geomagnetic_only.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool targets a distinct time horizon and output: global Kp forecast, current visibility (aurora_now), overnight hour-by-hour visibility (aurora_tonight), ranked multi-location comparison, and NOAA alerts. The only real overlap is between aurora_now and aurora_tonight for a 'right now / tonight' query, but the descriptions make the nowcast vs dark-hours distinction clear enough to pick correctly.

    Naming Consistency4/5

    All names are consistent snake_case noun phrases describing the data returned, which is readable and predictable. Minor deviation: three tools carry an aurora_ domain prefix while kp_forecast and space_weather_alerts do not, and there is no verb_noun pattern, so prefix grouping is imperfect but not confusing.

    Tool Count5/5

    Five tools is well-scoped for a focused aurora/geomagnetic domain, and each one covers a distinct query shape (forecast, nowcast, overnight plan, location ranking, alerts) with no filler.

    Completeness4/5

    The surface covers the full practical lifecycle: raw Kp forecast, current probability, overnight per-hour verdict, location comparison, and official alerts, so core agent workflows have no dead ends. Gaps are minor: no solar wind/Bz or moon-phase inputs and no location resolution helper, which could require the agent to supply coordinates itself.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides AI assistants with access to real-time space weather data and forecasts from NOAA's Space Weather Prediction Center, enabling queries and interpretations of geomagnetic storms, solar flares, and related indices.
      7
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to access real-time NOAA space weather data, including alerts, solar wind, K-index, aurora forecast, and GOES X-ray flux, through natural language queries.
      86 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to answer live space weather questions by exposing NOAA SWPC data as callable tools for the current Kp index, 3-day geomagnetic forecast, GOES solar flare activity, and aurora visibility at any latitude.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to retrieve global hourly weather forecasts, Nordic minute-by-minute precipitation nowcasts, and location search results using place names or coordinates.
      MIT