get_solar_flares

Pack: nasa · Endpoint: https://gateway.pipeworx.io/nasa/mcp

Get recent solar flare events from NASA DONKI space-weather data. Returns each flare’s class (e.g. C4.0, M1.8, X1.2), begin/peak/end times, source region, and active region number. Use for “recent solar flares”, “is there solar activity / a solar storm”, space-weather questions.

Parameters

NameTypeRequiredDescription
start_datestringnoStart date YYYY-MM-DD (optional; default ~30 days ago).
end_datestringnoEnd date YYYY-MM-DD (optional; default today).
_apiKeystringnoNASA API key (optional, defaults to DEMO_KEY)

Example call

Arguments

{
  "start_date": "2024-01-01",
  "end_date": "2024-01-31",
  "_apiKey": "your-nasa-api-key"
}

curl

curl -X POST https://gateway.pipeworx.io/nasa/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_solar_flares","arguments":{"start_date":"2024-01-01","end_date":"2024-01-31","_apiKey":"your-nasa-api-key"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_solar_flares', {
  "start_date": "2024-01-01",
  "end_date": "2024-01-31",
  "_apiKey": "your-nasa-api-key"
});

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "nasa": {
      "url": "https://gateway.pipeworx.io/nasa/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 9, 2026