---
title: "DONKI space weather"
description: "How nasa-mcp reaches DONKI through CCMC's DONKI-API because the api.nasa.gov route is broken: event types, dates, quirks, citation."
type: Reference
tags:
  - donki
  - space-weather
  - ccmc
  - service
generated:
  by: "claude/opus-5.5"
  at: "2026-11-27T00:00:00Z"
sources:
  - id: design
    resource: "DESIGN.md"
    title: "nasa-mcp design"
    author: "team:nasa-mcp"
  - id: research
    resource: "RESEARCH.md"
    title: "nasa-mcp research notes (upstream services, 2026-11-27)"
    author: "team:nasa-mcp"
  - id: catalog
    resource: "src/nasa_mcp/providers/catalog.py"
    title: "nasa-mcp service catalogue"
    author: "team:nasa-mcp"
  - id: donki-docs
    resource: "https://ccmc.gsfc.nasa.gov/DONKI/api/"
    title: "DONKI-API reference (OpenAPI)"
    author: "team:nasa-ccmc"
status: stable
stale_after: "2027-05-27T00:00:00Z"
---

<!--
SPDX-FileCopyrightText: 2026 Tyson Lee Swetnam
SPDX-License-Identifier: CC-BY-4.0
-->

# DONKI space weather (`donki`)

The Space Weather Database Of Notifications, Knowledge, Information: solar flares, coronal mass
ejections, geomagnetic storms, interplanetary shocks, solar energetic particles, magnetopause
crossings, radiation belt enhancements, high-speed streams, WSA-ENLIL runs and forecaster
notifications.

## Endpoint

`https://ccmc.gsfc.nasa.gov/DONKI-API/get/{type}`, **without a trailing slash**. The api.nasa.gov
`/DONKI/...` route answered 404 for every type on 2026-11-27 (the gateway rewrites to a
trailing-slash path the new backend rejects), and the old `kauai.ccmc.gsfc.nasa.gov` host timed out
(RESEARCH.md §4).

## Key use

None. This service is called on its own host; it does not spend api.nasa.gov quota.

## Tools

| Tool | What it returns |
| --- | --- |
| `nasa_donki_events` | events of one type (`FLR`, `CME`, `CMEAnalysis`, `GST`, `IPS`, `SEP`, `MPC`, `RBE`, `HSS`, `WSAEnlilSimulations`) in a window (default the last 30 days), newest first, with links |
| `nasa_donki_notifications` | forecaster messages (default the last 7 days, at most 30) with issue time, summary and URL; bodies optional |

Inputs and result fields: [Tool reference](../tools/reference.md).

## Quirks handled

* Dates are always sent (`CME` without dates is a 400) and validated locally: DONKI silently
  ignores a bad date and returns its default window.
* An empty result is HTTP 200 `[]` or an empty body; both mean "no events".
* In notifications, `linkedEvents` arrives as a **string** holding a Python-repr list; the server
  parses it.
* Each event type has its own id and time fields; they are mapped onto one event shape with a
  few type-specific details.
* A past window is cached 7 days (`archive`); a window that reaches today, 1 hour.

## Citation

`source.citation`:

> NASA Community Coordinated Modeling Center (CCMC), DONKI (https://ccmc.gsfc.nasa.gov/DONKI/).
