# NASA Open Data MCP

> NASA Open Data is an AI connector that brings decades of space science into your conversations. It gives your agent real-time access to NASA databases, including the Astronomy Picture of the Day (APOD), high-resolution images from Mars rovers, and live tracking feeds for Near Earth Objects (asteroids). You can use it to analyze solar weather risks, check planetary imaging data, or summarize complex astronomical findings using a simple chat prompt.

## Overview
- **Category:** the-unthinkable
- **Price:** Free
- **Tags:** space-data, astronomy-images, asteroid-tracking, planetary-data, open-science

## Description

Imagine talking to an expert on astrophysics. This MCP lets your agent do just that by connecting directly to official NASA databases. Instead of navigating multiple scientific websites and downloading large image files, you simply ask the question—whether it’s about today's cosmic picture or monitoring a specific asteroid trajectory. You can get photos from Mars rovers like Curiosity, pull records on solar flares, or review potential impact risks from Near Earth Objects. It acts as your dedicated space mission specialist, summarizing complex findings and providing structured data points for everything from academic papers to marketing campaigns. Because this MCP lives on Vinkius, you connect once through your preferred AI client and get instant access to NASA’s entire catalog of cosmic knowledge.

## Tools

### get_astronomy_picture
Retrieves the official NASA Astronomy Picture of the Day (APOD) image and data.

### get_coronal_mass_ejections
Fetches records detailing Coronal Mass Ejections from the Space Weather Database.

### get_solar_flares
Retrieves specific historical data on Solar Flares from the Space Weather Database.

### get_earth_polychromatic_images
Gets real-time Earth images captured by the EPIC instrument.

### get_mars_rover_manifest
Provides a list of missions and photo details for any specific Mars Rover.

### get_mars_rover_photos
Retrieves actual photos taken by rovers like Curiosity, Opportunity, or Spirit on Mars.

### get_near_earth_objects_feed
Lists all Near Earth Objects (asteroids) detected within a specified date range.

### lookup_asteroid
Looks up detailed data and risk assessments for one specific asteroid by its ID.

## Prompt Examples

**Prompt:** 
```
Show me today's NASA Astronomy Picture of the Day.
```

**Response:** 
```
Retrieving today's APOD... I found a stunning image of the 'Pillars of Creation'. It captures a vast region of interstellar gas and dust in the Eagle Nebula. Would you like to read the full scientific explanation?
```

**Prompt:** 
```
Get photos from the Curiosity rover on Earth date 2023-05-15.
```

**Response:** 
```
Checking Curiosity's records for May 15, 2023... I've retrieved several images from its Mastcam and Navigation cameras showing the rocky terrain of the Gale Crater. I can provide the links to the full-resolution photos.
```

**Prompt:** 
```
Are there any potentially hazardous asteroids approaching Earth this week?
```

**Response:** 
```
Analyzing the NASA NEO feed for this week... I've identified 12 near earth objects. Two of them, designated as '2024 AB' and '2024 CD', are classified as potentially hazardous but will pass at a safe distance. Would you like to see their specific sizes and speeds?
```

## Capabilities

### Retrieve Daily Cosmic Imagery
Get the daily Astronomy Picture of the Day (APOD) along with its detailed scientific explanation.

### Analyze Planetary and Solar Risks
Pull records on Coronal Mass Ejections, solar flares, and real-time Earth polychromatic images from NASA instruments like EPIC.

### Access Martian Exploration Data
Retrieve mission manifests and photo details for specific Mars rovers like Curiosity, Opportunity, and Spirit.

### Track Near Earth Objects
Check the list of asteroids approaching Earth over a date range or look up detailed information on a single asteroid by ID.

## Use Cases

### Investigating an Asteroid Threat
A space researcher asks, 'Are there any potential risks from asteroids this quarter?' The agent first runs `get_near_earth_objects_feed` for the period and then uses `lookup_asteroid` on specific IDs to summarize the risk level for a team meeting.

### Building an Educational Module
An educator needs content about past planetary missions. They prompt the agent, asking for photos from Curiosity. The system runs `get_mars_rover_photos`, delivering multiple images and linking them to mission manifests via `get_mars_rover_manifest`.

### Creating a Science Blog Post
A content creator needs stellar visuals for an article on space weather. They ask the agent for both today's cosmic picture (`get_astronomy_picture`) and records of recent solar flares using `get_solar_flares`, all in one conversational flow.

### Analyzing Earth Observation
A climate scientist wants to correlate current atmospheric data with historical imagery. They prompt the agent for live views via `get_earth_polychromatic_images` and compare those findings against records of Coronal Mass Ejections (`get_coronal_mass_ejections`).

## Benefits

- Stop juggling multiple scientific databases. You ask your agent for the 'Astronomy Picture of the Day' using `get_astronomy_picture` and get both the image and the full scientific context in one go.
- Quickly assess space weather risk. Instead of visiting three different NASA pages, use `get_coronal_mass_ejections` or `get_solar_flares` to pull necessary records into your conversation instantly.
- Get a comprehensive view of planetary data without writing SQL. You can check the full list of asteroids over a date range using `get_near_earth_objects_feed` and then drill down with `lookup_asteroid`.
- Simplify Martian missions. You don't need to know which rover was active when; simply use `get_mars_rover_photos` to see images from Curiosity, Opportunity, or Spirit.
- Handle Earth observation data easily. Need a current view of the planet? Use `get_earth_polychromatic_images` for real-time NASA imagery feeds.

## How It Works

The bottom line is that your agent executes complex scientific queries across multiple NASA databases without you needing to write any code or manage API calls.

1. Subscribe to this MCP and enter your required NASA API Key from api.nasa.gov.
2. Connect the service to your AI client (Claude, Cursor, or any compatible agent).
3. Ask your agent a question—for instance, 'What were the solar flares in the last month?'—and it handles the data retrieval and summarizing for you.

## Frequently Asked Questions

**Can I use NASA Open Data MCP to check for solar flares?**
Yes. Use `get_solar_flares` to retrieve specific historical records of solar flare activity from the Space Weather Database, helping you understand past space weather risks.

**How do I get images from Mars rovers using NASA Open Data MCP?**
You use `get_mars_rover_photos` to pull images from specific rovers like Curiosity or Opportunity. You can also run `get_mars_rover_manifest` for details on their overall missions.

**What is the best way to track asteroids with NASA Open Data MCP?**
First, use `get_near_earth_objects_feed` to get a list of all detected objects in your desired timeframe. Then, use `lookup_asteroid` on any specific ID for deep details.

**Does NASA Open Data MCP provide the Astronomy Picture of the Day?**
Yes, you can call `get_astronomy_picture` to retrieve today's APOD image and its associated detailed scientific explanation in a single function call.

**Can I get Earth observation images with NASA Open Data MCP?**
You use the `get_earth_polychromatic_images` tool to access real-time photographs of Earth captured by instruments like EPIC.