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), each band rated on the scale in BAND-OUTLOOK.md
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.5.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.5.0
File Size Uploaded Provenance Actions
solar_mcp-0.5.0.tar.gz 181.5 kB With provenance Details for solar_mcp-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 210.9 kB

Release files / solar_mcp-0.5.0.tar.gz

Download URL solar_mcp-0.5.0.tar.gz
Size 181.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6e458fb53d50a44b002519ca5de8006a5de499ce760e8e86851cc735d2d01798
BLAKE2b-256 checksum
How to use checksums
f340893f82fcefcaf964ec06890177a239f3b131ae7fee52ae1f3e37cc023a8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 27, 2026.

Transparency log

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

Download URL solar_mcp-0.5.0-py3-none-any.whl
Size 29.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
551a31e0ba240dd4ec2d1fa848400b9f45d4ee731262155891d4b3c4521c7b2a
BLAKE2b-256 checksum
How to use checksums
349e90f6e3cf50babfdb49f805c828468e3db6f699e3899f4b6bfa474863ed2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 27, 2026.

Transparency log

Security for solar-mcp 0.5.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for solar_mcp-0.5.0.tar.gz

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 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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