Space weather: Kp index, NOAA 3-day geomagnetic forecast, solar flares, aurora visibility.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Live space weather for AI assistants. This MCP server exposes NOAA SWPC data β the planetary Kp index, the official 3-day geomagnetic forecast, GOES solar flare activity, and aurora visibility for any latitude β as four tools your agent can call directly.
It runs the same logic as solarstorm.today, so answers match what the site shows. No API keys, no accounts, no state.
Ask your assistant: "Will I see the aurora in Vienna tonight?" β it calls
get_aurora_visibility(48.2)and answers from live NOAA data.
| Tool | Returns |
|---|---|
get_current_kp() | Latest planetary Kp, level (low/moderate/high/severe), observed 24-hour maximum |
get_kp_forecast_3day() | Maximum forecast Kp per calendar day for the next 3 days (Europe/Berlin days) |
get_solar_flares_24h() | Current GOES X-ray flare class and the 24-hour peak, with peak time |
get_aurora_visibility(latitude) | Kp needed at that latitude, forecast max Kp for the next 24 h, and a plain-language verdict |
Network or format errors from NOAA come back as an error field. The server
never crashes on a bad upstream response.
A public instance is running at https://mcp.solarstorm.today/mcp.
Claude Code
Claude Desktop / claude.ai β add a custom connector pointing at
https://mcp.solarstorm.today/mcp.
Any other MCP client β streamable HTTP transport, same URL, no auth.
Requires Python 3.10+ β the floor set by the mcp SDK.
claude_desktop_config.json:
Claude Code:
Three environment variables control the transport:
| Variable | Default | Purpose |
|---|---|---|
MCP_TRANSPORT | stdio | Set to streamable-http for a network server |
MCP_HOST | 0.0.0.0 | Bind address β use 127.0.0.1 behind a reverse proxy |
MCP_PORT | 8765 | Listen port |
/etc/systemd/system/solarstorm-mcp.service:
nginx in front, on a subdomain with a TLS certificate:
One thing that bites people: the MCP SDK rejects requests whose Host header
doesn't match what it expects (DNS-rebinding protection). If handshakes fail
with a 4xx while the service itself is healthy, check what Host your proxy
forwards.
services.swpc.noaa.gov β planetary K-index and its
forecast product, plus GOES primary 0.1β0.8 nm X-ray flux. 10-second timeout,
no caching, no keys.estimated, and
predicted points count toward forecasts.The offline suite runs on every push against Python 3.10β3.13. The live suite
also runs daily on a schedule, because the one bug that reached production
wasn't a logic error: NOAA's observed feed spells its key Kp while the
forecast feed says kp, so valid 200 responses parsed to zero rows. Only a
real call catches that kind of drift.
MIT β see LICENSE.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/solarstorm)<a href="https://allmcps.com/mcp/solarstorm"><img src="https://allmcps.com/api/badge/solarstorm?style=directory" alt="Solarstorm on AllMCPs" /></a>