Skip to main content

solar-mcp

PyPI MCP Registry

MCP server for space weather and HF propagation conditions — live solar flux, Kp index, DSCOVR solar wind, X-ray flux, alerts, 27-day forecast, and band-by-band outlook through any MCP-compatible AI assistant.

Part of the qso-graph project. No authentication required — all data from NOAA SWPC public endpoints.

Install

uvx solar-mcp            # run it; nothing to install

Tools

Tool Description
solar_conditions Current SFI, Kp, and NOAA R/S/G space weather scales
solar_forecast 27-day SFI and Kp forecast from NOAA
solar_alerts Active space weather alerts and warnings
solar_wind Real-time DSCOVR L1 solar wind (Bz, speed, density)
solar_xray GOES X-ray flux and solar flare classification
solar_band_outlook HF band-by-band propagation assessment (160m-6m)
get_version_info Service version + upstream spec version (fleet identity attestation)

Quick Start

No credentials needed — just install and configure your MCP client.

Configure your MCP client

Claude Desktop

Add to claude_desktop_config.json (~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows):

{
  "mcpServers": {
    "solar": {
      "command": "uvx",
      "args": ["solar-mcp"]
    }
  }
}

Claude Code

Add to .claude/settings.json:

{
  "mcpServers": {
    "solar": {
      "command": "uvx",
      "args": ["solar-mcp"]
    }
  }
}

ChatGPT Desktop

{
  "mcpServers": {
    "solar": {
      "command": "uvx",
      "args": ["solar-mcp"]
    }
  }
}

Cursor

Add to .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "solar": {
      "command": "uvx",
      "args": ["solar-mcp"]
    }
  }
}

VS Code / GitHub Copilot

Add to .vscode/mcp.json in your workspace:

{
  "servers": {
    "solar": {
      "command": "uvx",
      "args": ["solar-mcp"]
    }
  }
}

Gemini CLI

Add to ~/.gemini/settings.json (global) or .gemini/settings.json (project):

{
  "mcpServers": {
    "solar": {
      "command": "uvx",
      "args": ["solar-mcp"]
    }
  }
}

Ask questions

"What are the current solar conditions?"

"Is the solar wind causing any geomagnetic disturbance?"

"What's the 27-day solar forecast look like?"

"Are any bands open right now on HF?"

"Are there any active space weather alerts?"

"What class solar flare is happening?"

Data Sources

Every value comes from a public NOAA Space Weather Prediction Center endpoint at services.swpc.noaa.gov:

Data Endpoint Used by
10.7 cm solar flux (SFI) /products/summary/10cm-flux.json solar_conditions, solar_band_outlook
Planetary K-index /products/noaa-planetary-k-index.json solar_conditions, solar_band_outlook
NOAA R/S/G scales /products/noaa-scales.json solar_conditions
Space weather alerts /products/alerts.json solar_alerts
27-day outlook /text/27-day-outlook.txt solar_forecast
Solar wind (real-time, 1 minute) /json/rtsw/rtsw_wind_1m.json, /json/rtsw/rtsw_mag_1m.json solar_wind
GOES X-ray flux /json/goes/primary/xrays-6-hour.json solar_xray

Testing Without Network

SOLAR_MCP_MOCK=1 solar-mcp

MCP Inspector

solar-mcp --transport streamable-http --port 8008

Development

git clone https://github.com/qso-graph/solar-mcp.git
cd solar-mcp
uv sync --group dev
uv run pytest

License

GPL-3.0-or-later

Metadata

Release files for solar-mcp 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for solar-mcp 0.3.0
File Size Uploaded
solar_mcp-0.3.0.tar.gz 196.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for solar-mcp 0.3.0
File Interpreter ABI Platform
solar_mcp-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 223.6 kB

Release files / solar_mcp-0.3.0.tar.gz

Download URL solar_mcp-0.3.0.tar.gz
Size 196.5 kB
Tags Source
SHA-256 checksum
How to use checksums
353528a002c30e0419436fe791a91ec6013fbd7ca42f8d1314b8f105458dab40
BLAKE2b-256 checksum
How to use checksums
32f679764b63f6479f5b5613828f3cf22a17e90a8655bc7f309f9ae4d356f70a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / solar_mcp-0.3.0-py3-none-any.whl

Download URL solar_mcp-0.3.0-py3-none-any.whl
Size 27.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91df2c22dd7cb1749968a2769b534d1b1d9e81e3516ff8c0c4a46f7008ce35d8
BLAKE2b-256 checksum
How to use checksums
e149fb6fd675c34cc3d47e603f49e51cf7fb5ecd47805dd66ec898c394a59522
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page