GnistAI GnistAI
Log in

Space Weather

Space weather — solar flares, geomagnetic storms, ISS position tracking.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Science

Data source: NASA DONKI, Open Notify

MCP Endpoint (Streamable HTTP) https://context.gnist.ai/mcp/space-weather/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (4)

get_solar_flares

Get recent solar flare events from NASA.

Returns flare class (A/B/C/M/X), timing, source location, and active region.

Args:
days: Number of days to look back (1-30, default 7).

ParameterTypeRequiredDescription
daysintegeroptional (default: 7)
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_solar_flares",
    "arguments": {}
  }
}
get_geomagnetic_storms

Get recent geomagnetic storm events from NASA.

Returns storm timing and maximum Kp index (planetary K-index, 0-9 scale).
Kp >= 5 indicates a geomagnetic storm; Kp >= 7 is severe.

Args:
days: Number of days to look back (1-60, default 30).

ParameterTypeRequiredDescription
daysintegeroptional (default: 30)
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_geomagnetic_storms",
    "arguments": {}
  }
}
get_iss_position

Get the current position of the International Space Station.

Returns latitude, longitude, and timestamp.

JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_iss_position",
    "arguments": {}
  }
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/mcp/space-weather/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "report_feedback", "arguments": {"feedback": "example"}}}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/space-weather/",
    headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
},
)
print(resp.json())

Related Toolkits (Science)

Resources