data
NASA MCP, CLI, and Lua Integration for AI Agents
NASA integration docs for AI agents: MCP gateway setup, NASA CLI commands, Lua API reference, credentials, and function schemas.NASA for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
nasa.nasa_get_apod | Read read | 5 | Get the NASA Astronomy Picture of the Day (APOD). Returns the daily astronomical image or photo along with an explanation written by a professional astronomer. You can request a specific date or a range of dates. |
nasa.nasa_get_mars_rover_photos | Read read | 5 | Get photos from NASA Mars rovers (Curiosity, Opportunity, Spirit, Perseverance). Query by sol (Martian day) or Earth date, and optionally filter by camera. Returns photo URLs and metadata. |
nasa.nasa_get_asteroids | Read read | 2 | Get Near Earth Objects (asteroids) for a date range from NASA. Returns a list of asteroids with their estimated diameter, velocity, distance from Earth, and whether they are potentially hazardous. |
nasa.nasa_browse_asteroids | Read read | 2 | Browse the overall NASA Near Earth Object dataset. Use this when you need asteroid IDs before looking up a specific object. |
nasa.nasa_get_asteroid | Read read | 1 | Get detailed information about a specific Near Earth Object (asteroid) by its NASA ID. Returns orbital data, estimated diameter, close approach history, and hazard assessment. |
nasa.nasa_get_donki_events | Read read | 11 | Get DONKI space-weather events such as CME, CMEAnalysis, GST, IPS, FLR, SEP, MPC, RBE, HSS, WSAEnlilSimulations, or notifications. |
nasa.nasa_get_epic_images | Read read | 3 | Get NASA EPIC image metadata for latest images, a specific date, or all available dates from the natural or enhanced collection. |
nasa.nasa_get_earth_imagery | Read read | 4 | Get Landsat Earth imagery for a longitude, latitude, date, and optional image dimension. |
nasa.nasa_get_earth_assets | Read read | 4 | Get available Landsat Earth asset dates for a longitude, latitude, optional date, and optional dimension. |
nasa.nasa_search_images | Read read | 8 | Search the NASA Image and Video Library for space, astronomy, and mission imagery. Returns image URLs, titles, descriptions, and metadata from NASA's vast collection. |
nasa.nasa_get_image_asset | Read read | 1 | Get a NASA Image and Video Library asset manifest by NASA media ID, including downloadable asset URLs. |
nasa.nasa_get_image_metadata | Read read | 1 | Get the metadata document for a NASA Image and Video Library media asset by NASA media ID. |
nasa.nasa_get_image_captions | Read read | 1 | Get caption file locations for a NASA Image and Video Library media asset by NASA media ID. |
nasa.nasa_get_eonet_events | Read read | 7 | List NASA EONET v3 natural events with optional filters for status, category, source, limit, and date range. |
nasa.nasa_get_eonet_event | Read read | 1 | Get one NASA EONET v3 natural event by event ID, including geometries, categories, and sources. |
nasa.nasa_get_eonet_categories | Read read | 0 | List NASA EONET v3 natural event categories for filtering event searches. |
nasa.nasa_get_eonet_sources | Read read | 0 | List NASA EONET v3 natural event sources for filtering event searches. |