@cyanheads/noaa-spaceweather-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@cyanheads/noaa-spaceweather-mcp-serverWhat is the current Kp index and aurora forecast?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Public Hosted Server: https://noaa-spaceweather.caseyjhand.com/mcp
Tools
Six tools covering the full NOAA SWPC space weather surface — from a quick status heartbeat to deep solar and geomagnetic data:
Tool | Description |
| Current space-weather snapshot: NOAA R/S/G storm scales, latest Kp, and a plain-language status summary |
| Planetary K-index (0–9) — recent observed 3-hour values with G-scale equivalents and aurora-latitude guidance, plus 3-day forecast |
| OVATION model aurora forecast: global probability grid, optional local lookup by coordinates with go/no-go verdict |
| Real-time solar wind from the active L1 spacecraft: speed, proton density, temperature, and the critical Bz component — explains why current geomagnetic conditions exist |
| Solar flare picture: GOES X-ray flux, 3-day flare-class probabilities, active solar regions with per-region probabilities, and solar radiation storm level |
| Active SWPC alerts, watches, and warnings — structured records with product type, severity, issue time, validity window, and full message text |
noaa_spaceweather_get_conditions
The heartbeat tool. Use it first — it composes storm scales + current Kp into a single snapshot with a plain-language summary.
Returns today's R/S/G storm scales plus a 3-day forecast
Current Kp with G-scale equivalent and aurora-visibility latitude guidance
Plain-language summary: "Quiet conditions" vs. "G2 moderate geomagnetic storm in progress"
Data sourced from
noaa-scales.json+noaa-planetary-k-index.json
noaa_spaceweather_get_kp_index
Planetary K-index time series for geomagnetic activity tracking.
window_daysparameter (1–7, default 1) — recent 3-hour observed valuesEach record includes Kp value, G-scale equivalent, aurora-latitude guidance, and observation time
Separate 3-day forecast series with predicted Kp and NOAA G-scale labels
noaa_spaceweather_get_aurora_forecast
OVATION model aurora probability at 1° resolution, updated every ~5 minutes.
Without coordinates: global metadata — grid point count, global peak probability, peak region
With coordinates (
latitude,longitude): nearest-grid-point lookup, minimum Kp required at that latitude, and a plain-language verdict ("Good aurora chance (42%) — Kp≥6 needed at this latitude")Covers both hemispheres; coordinates are geographic (WGS84)
noaa_spaceweather_get_solar_wind
Real-time solar wind plasma and magnetic field from SWPC's RTSW feeds.
Reads the spacecraft SWPC flags as active; every record names its
source, so no satellite is assumedwindow_hoursparameter (1–168, default 3) — sliced client-side from a feed that carries roughly the last 24 hours at 1-minute cadenceReports
latestFeedPlasmaTime,latestFeedMagTime, andfeedStalenessHoursso an empty window is distinguishable from a stale feedPlasma: speed (km/s), proton density (n/cm³), temperature
Bz component (southward Bz = storm driver) surfaced prominently in output and format
Bt (total field magnitude) and GSM vector components
noaa_spaceweather_get_solar_activity
Solar flare and radiation storm picture from GOES and SWPC probabilities.
GOES primary X-ray flux in the 0.1–0.8 nm band (R-scale driver)
3-day C/M/X flare-class probabilities
Active solar regions with per-region flare and proton probabilities when
include_regions: true(default)Solar radiation storm (S-scale) level from ≥10 MeV integral proton flux
noaa_spaceweather_get_alerts
Active SWPC alerts, watches, and warnings from the products/alerts.json feed.
Structured product metadata: type (Watch/Warning/Alert/Summary), issue time, and ISO 8601 validity window parsed from the message body (
Valid From/To,Now Valid Until, orBegin/End Time)Severity read from the NOAA scale stated in the message body (
noaaScalee.g."G1", pluslevel0–5); products stating no scale report level0Cancellation notices flagged (
cancelled) and excluded from the active setFiltered to active-only by default (
active_only: true); setfalsefor recent history, including cancellationsFull raw message text preserved for downstream display
Related MCP server: solar-mcp
Features
Built on @cyanheads/mcp-ts-core:
Declarative tool definitions — single file per tool, framework handles registration and validation
Unified error handling — handlers throw, framework catches, classifies, and formats
Pluggable auth:
none,jwt,oauthSwappable storage backends:
in-memory,filesystem,Supabase,Cloudflare KV/R2/D1Structured logging with optional OpenTelemetry tracing
STDIO and Streamable HTTP transports
Space weather domain:
All SWPC feeds are public and keyless — no API keys required
Single
SpaceWeatherServicewraps all six NOAA SWPC JSON feeds withfetchWithTimeout+withRetryHeterogeneous feed normalization: interleaved multi-spacecraft records (solar wind), keyed objects (storm scales), coordinate triples (OVATION)
NOAA scale interpretation: raw Kp 6 → "G2 moderate storm — aurora possible to ~55° geomagnetic latitude"
Feed freshness surfaced per-response: solar wind updates ~1 min, aurora ~5 min, Kp 3-hour intervals
Agent-friendly output:
Observed timestamps on every response so agents can reason about data freshness
Plain-language summaries and verdicts alongside raw values — agents can display or reason without re-interpreting indices
Bz component surfaced as a first-class field in solar wind output (southward Bz = primary storm driver)
Typed error contracts with recovery hints:
feed_unavailable→ "Retry in 30–60 s"
Getting started
Public Hosted Instance
A public instance is available at https://noaa-spaceweather.caseyjhand.com/mcp — no installation required. Point any MCP client at it via Streamable HTTP:
{
"mcpServers": {
"noaa-spaceweather-mcp-server": {
"type": "streamable-http",
"url": "https://noaa-spaceweather.caseyjhand.com/mcp"
}
}
}Self-Hosted / Local
Add the following to your MCP client configuration file.
{
"mcpServers": {
"noaa-spaceweather": {
"type": "stdio",
"command": "bunx",
"args": ["@cyanheads/noaa-spaceweather-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info"
}
}
}
}Or with npx (no Bun required):
{
"mcpServers": {
"noaa-spaceweather": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@cyanheads/noaa-spaceweather-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info"
}
}
}
}Or with Docker:
{
"mcpServers": {
"noaa-spaceweather": {
"type": "stdio",
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "MCP_TRANSPORT_TYPE=stdio",
"ghcr.io/cyanheads/noaa-spaceweather-mcp-server:latest"
]
}
}
}For Streamable HTTP, set the transport and start the server:
MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
# Server listens at http://localhost:3010/mcpPrerequisites
Bun v1.3.0 or higher (or Node.js v24+).
No API keys required — all SWPC feeds are public.
Installation
Clone the repository:
git clone https://github.com/cyanheads/noaa-spaceweather-mcp-server.gitNavigate into the directory:
cd noaa-spaceweather-mcp-serverInstall dependencies:
bun installConfigure environment:
cp .env.example .env
# edit .env if needed — all defaults work out of the boxConfiguration
Variable | Description | Default |
| Transport: |
|
| Port for HTTP server. |
|
| Hostname for HTTP server. |
|
| Endpoint path. |
|
| Auth mode: |
|
| Log level (RFC 5424). |
|
| Directory for log files (Node.js only). |
|
| Storage backend. |
|
| Enable OpenTelemetry instrumentation. |
|
No domain-specific API keys are required. See .env.example for the full list of optional overrides.
Running the server
Local development
Build and run:
# One-time build bun run rebuild # Run the built server bun run start:stdio # or bun run start:httpRun checks and tests:
bun run devcheck # Lint, format, typecheck, security bun run test # Vitest test suite bun run lint:mcp # Validate MCP definitions against spec
Docker
docker build -t noaa-spaceweather-mcp-server .
docker run --rm -p 3010:3010 noaa-spaceweather-mcp-serverThe Dockerfile defaults to HTTP transport, stateless session mode, and logs to /var/log/noaa-spaceweather-mcp-server. OpenTelemetry peer dependencies are installed by default — build with --build-arg OTEL_ENABLED=false to omit them.
Project structure
Path | Purpose |
|
|
|
|
| Tool definitions ( |
| Unit and integration tests mirroring |
| Design doc and directory tree. |
Development guide
See CLAUDE.md/AGENTS.md for development guidelines and architectural rules. The short version:
Handlers throw, framework catches — no
try/catchin tool logicUse
ctx.logfor request-scoped logging,ctx.statefor tenant-scoped storageRegister new tools via the barrel in
src/mcp-server/tools/definitions/index.tsWrap external API calls: validate raw → normalize to domain type → return output schema; never fabricate missing fields
Contributing
Issues and pull requests are welcome. Run checks and tests before submitting:
bun run devcheck
bun run testLicense
Apache-2.0 — see LICENSE for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceProvides weather forecasts and active alerts for US locations using the National Weather Service API. It supports both local stdio and remote HTTP/SSE transport modes for flexible integration with MCP clients.Last updated105GPL 3.0
- AlicenseAqualityDmaintenanceMCP 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.Last updated72GPL 3.0
- FlicenseAqualityCmaintenanceProvides weather alerts and forecasts via MCP tools, supporting both STDIO and SSE transports.Last updated2
- AlicenseAqualityCmaintenanceA 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.Last updated15MIT
Related MCP Connectors
Query SEC EDGAR filings, XBRL financials, and company data through MCP. STDIO & Streamable HTTP.
NOAA Space Weather Prediction Center (solar wind, Kp, aurora, alerts)
Spacenews MCP — wraps the Spaceflight News API v4 (free, no auth)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyanheads/noaa-spaceweather-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server