# solarstorm [Health: Active]

**Category:** 🌳 Environment & Nature  
**Repository:** https://github.com/newminya/solarstorm-mcp  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/solarstorm

## Description
Space weather: Kp index, NOAA 3-day geomagnetic forecast, solar flares, aurora visibility.

## Tools
Capabilities this server exposes over MCP:

- **get_current_kp** — Current planetary Kp index: latest value, level (low/moderate/high/severe) and the observed 24-hour maximum.
- **get_kp_forecast_3day** — Official NOAA 3-day geomagnetic forecast: the maximum expected Kp per calendar day (Europe/Berlin days).
- **get_solar_flares_24h** — Solar X-ray activity of the past 24 hours from GOES: current flare class and the 24-hour peak class.
- **get_aurora_visibility** — Aurora visibility outlook for a geographic latitude (degrees, e.g. 48.2 for Vienna): the Kp you need there, the expected maximum Kp in the next 24 h, and a verdict.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "solarstorm": {
    "url": "https://mcp.solarstorm.today/mcp"
  }
}
```

## Documentation

## What solarstorm MCP server does

The solarstorm MCP server connects an MCP-compatible assistant to live space-weather feeds from NOAA's Space Weather Prediction Center and GOES. Its four tools cover current geomagnetic activity, short-range Kp forecasts, recent solar flares, and a location-specific aurora estimate.

`get_current_kp()` returns the latest planetary Kp value, a severity label, its UTC observation time, and the highest observed Kp in the previous 24 hours. `get_kp_forecast_3day()` groups the maximum forecast Kp by calendar day for the next three days. These days use the Europe/Berlin timezone.

`get_solar_flares_24h()` reports the current GOES X-ray class, the highest class in the previous 24 hours, and the peak time. `get_aurora_visibility(latitude)` compares a supplied latitude with a Kp threshold and the forecast maximum for the next 24 hours, then returns a plain-language visibility verdict.

## How it works

The server requests planetary K-index data, Kp forecast data, and primary GOES 0.1–0.8 nm X-ray flux from `services.swpc.noaa.gov`. Requests have a 10-second timeout, use no API keys, and are not cached. Forecast daily maxima include observed-blank, estimated, and predicted points.

Flare classes are calculated from X-ray flux using the standard A, B, C, M, and X ranges. Aurora thresholds are guide values for naked-eye visibility in the European sector. A camera may detect aurora at roughly one Kp level below the naked-eye threshold.

## Setup and configuration

The solarstorm MCP server requires Python 3.10 or newer. For local stdio use, clone the repository, install `requirements.txt`, and start `server.py`; the process then waits for an MCP client. Claude Desktop can launch it with a configuration entry containing the Python command and the absolute path to `server.py`. Claude Code can add the same command through its MCP configuration.

A hosted instance is available at `https://mcp.solarstorm.today/mcp` over streamable HTTP and does not require authentication. For self-hosting, set `MCP_TRANSPORT=streamable-http`, optionally choose `MCP_HOST`, and set `MCP_PORT`. A reverse proxy can forward the `/mcp` path, but its forwarded `Host` header must satisfy the MCP SDK's DNS-rebinding checks.

## Tools and capabilities

- Read the latest planetary Kp index and 24-hour maximum.
- Retrieve maximum forecast Kp values for three Europe/Berlin calendar days.
- Inspect current and 24-hour peak GOES solar-flare classes.
- Estimate naked-eye aurora visibility from latitude and forecast Kp.
- Return upstream failures through an `error` field instead of crashing on malformed NOAA responses.

## Limitations and notes

The solarstorm MCP server provides probabilistic guidance rather than a guarantee that aurora will be visible. Its aurora calculation does not model the interplanetary magnetic field's Bz component, which can substantially change aurora production when directed southward. Locations below roughly 44.5° latitude generally require extreme historical storms under the documented thresholds.

Forecast and flare results depend on NOAA availability and feed formats. The server's example forecast days use Europe/Berlin calendar boundaries, while observation and flare timestamps are returned in UTC. Network or format errors are represented in tool output, so clients should check for an `error` field before interpreting values.

_Full upstream README: https://allmcps.com/mcp/solarstorm/readme_

