spaceweather-mcp
A Model Context Protocol server for space weather and geomagnetic conditions, enabling AI agents to answer queries about solar flares, solar wind, geomagnetic storms, aurora forecasts, and more from authoritative data.
README
spaceweather-mcp
<!-- mcp-name: io.github.hoon1983/spaceweather-mcp -->
A Model Context Protocol server for space weather and geomagnetic conditions — solar flares, the solar wind, geomagnetic storms (Kp/Dst), radiation storms, sunspot regions, aurora forecasts, and a catalogued event history — so an AI agent can answer "what's the sun/space weather doing right now, and will I see aurora?" from authoritative data.
Sibling to seismic-mcp: that one reconciles earthquakes across agencies; this one reports solar/geomagnetic conditions. They install side by side.
Status
15 tools across 4 data sources — all live and verified. Everything is U.S./NASA public domain except the Kyoto Dst index, which is non-commercial and clearly labeled (and kept segregated from the public-domain feeds).
Tools
NOAA SWPC (public domain)
| Tool | Returns |
|---|---|
get_conditions_now |
One-call snapshot: Kp, Bz/Bt, wind speed/density, G/S/R, storm flag, summary |
get_kp_index |
Observed planetary Kp series (~1 week) |
get_kp_forecast |
NOAA 3-day Kp forecast |
get_solar_wind |
L1 magnetic field + plasma (window: 1-day/7-day) |
get_alerts |
Recent SWPC alerts/watches/warnings |
get_noaa_scales |
G/S/R scales for today + 3 days |
get_27day_outlook |
Daily F10.7 flux, Ap, largest Kp for 27 days |
get_solar_flares |
Recent GOES X-ray flares (C/M/X class events) |
get_radiation_storm |
Current proton flux + NOAA S-scale (radiation storm) |
get_solar_regions |
Today's sunspot regions + C/M/X flare probabilities |
get_aurora_forecast |
OVATION aurora probability (pass lat/lon for a local %) |
NASA DONKI (public domain) — get_space_weather_events (CME / GST / FLR / SEP / IPS / HSS event catalog)
USGS Geomagnetism (public domain) — list_observatories, get_observatory (magnetometer X/Y/Z/F)
Kyoto WDC (non-commercial) — get_dst (hourly disturbance storm-time index)
Run
uv run spaceweather-mcp # stdio MCP server
uv run pytest # tests
Add to claude_desktop_config.json (after publishing to PyPI):
{ "mcpServers": { "spaceweather": { "command": "uvx", "args": ["spaceweather-mcp"] } } }
Data sources, attribution & licensing
- NOAA SWPC (
services.swpc.noaa.gov) — U.S. public domain. Credit NOAA SWPC. - NASA DONKI via CCMC (
kauai.ccmc.gsfc.nasa.gov/DONKI) — U.S. public domain (no API key needed). Credit NASA/CCMC DONKI. - USGS Geomagnetism (
geomag.usgs.gov) — U.S. public domain. Credit the U.S. Geological Survey. (Sourced directly from USGS, not via INTERMAGNET, to keep public-domain status.) - Kyoto WDC for Geomagnetism — Dst index, non-commercial use only: acknowledge "WDC for Geomagnetism, Kyoto", cite the Dst DOI; real-time values are provisional. The non-commercial restriction is documented in the
get_dsttool description and theDstReadingschema (both surfaced to MCP clients), and this feed is kept separate from the public-domain ones.
⚠️ Only the Kyoto Dst feed is non-commercial. It is segregated, and its non-commercial terms are stated in the tool/schema docs the client sees, so a downstream commercial user is not silently bound by those terms.
Deliberately not included: INTERMAGNET and SILSO sunspot number (both CC BY-NC — would taint the otherwise commercially-usable server); JPL Horizons ephemeris (different domain). F10.7 is available via get_27day_outlook; GFZ Hp30/Hp60 high-cadence indices (CC BY 4.0) are a possible future add.
Safety
Informational only. Not for operational decisions affecting power grids, aviation, satellites, or human safety — consult official NOAA SWPC products for those. Real-time values are preliminary and routinely revised.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。