This document provides example requests you can copy and paste into the MCP Inspector to test each of the NASA APIs implemented in our server.
To run the MCP Inspector with our NASA MCP server:
# Run the provided script
./scripts/test-with-inspector.sh
# Or run manually
npx @modelcontextprotocol/inspector node dist/index.js
- Server Information
- NASA APIs
- APOD (Astronomy Picture of the Day)
- EPIC (Earth Polychromatic Imaging Camera)
- NEO (Near Earth Object Web Service)
- GIBS (Global Imagery Browse Services)
- CMR (Common Metadata Repository)
- FIRMS (Fire Information)
- NASA Image and Video Library
- Exoplanet Archive
- DONKI (Space Weather Database)
- Mars Rover Photos
- EONET (Earth Observatory Events)
- NASA Sounds API
- POWER (Energy Resources)
- JPL APIs
Get the manifest of available APIs:
{
"method": "tools/manifest",
"params": {}
}
Get the Astronomy Picture of the Day:
{
"method": "nasa/apod",
"params": {
"date": "2023-01-01"
}
}
Get a random APOD:
{
"method": "nasa/apod",
"params": {
"count": 1
}
}
Get the latest EPIC images:
{
"method": "nasa/epic",
"params": {
"collection": "natural"
}
}
Get Near Earth Objects for a date range:
{
"method": "nasa/neo",
"params": {
"start_date": "2023-01-01",
"end_date": "2023-01-02"
}
}
Get a satellite imagery layer:
{
"method": "nasa/gibs",
"params": {
"layer": "MODIS_Terra_CorrectedReflectance_TrueColor",
"date": "2023-01-01"
}
}
Basic collection search:
{
"method": "nasa/cmr",
"params": {
"keyword": "hurricane",
"limit": 2
}
}
Advanced collection search with spatial parameters:
{
"method": "nasa/cmr",
"params": {
"search_type": "collections",
"platform": "Terra",
"bbox": "-180,-90,180,90",
"limit": 5,
"include_facets": true
}
}
Granule search:
{
"method": "nasa/cmr",
"params": {
"search_type": "granules",
"concept_id": "C1000000000-ORNL_DAAC",
"limit": 3
}
}
Get fire data:
{
"method": "nasa/firms",
"params": {
"area": "world",
"days": 1
}
}
Search NASA's image library:
{
"method": "nasa/images",
"params": {
"q": "apollo 11",
"media_type": "image",
"year_start": 1969,
"year_end": 1970
}
}
Search for exoplanets:
{
"method": "nasa/exoplanet",
"params": {
"select": "pl_name,pl_masse,st_dist",
"where": "pl_masse>1",
"order": "pl_masse",
"limit": 5
}
}
Get Coronal Mass Ejection data:
{
"method": "nasa/donki",
"params": {
"type": "cme",
"startDate": "2022-01-01",
"endDate": "2022-01-10"
}
}
Get photos from Mars Perseverance:
{
"method": "nasa/mars-rover",
"params": {
"rover": "perseverance",
"sol": 100
}
}
Get natural event data:
{
"method": "nasa/eonet",
"params": {
"category": "wildfires",
"days": 20,
"status": "open"
}
}
Get space sounds:
{
"method": "nasa/sounds",
"params": {
"q": "voyager",
"limit": 3
}
}
Get solar and meteorological data:
{
"method": "nasa/power",
"params": {
"parameters": "T2M,PRECTOTCORR,WS10M",
"community": "re",
"latitude": 40.7128,
"longitude": -74.0060,
"start": "20220101",
"end": "20220107"
}
}
Query the Small-Body Database:
{
"method": "jpl/sbdb",
"params": {
"sstr": "433",
"full_precision": true
}
}
Get fireball data:
{
"method": "jpl/fireball",
"params": {
"date-min": "2022-01-01",
"limit": 5
}
}
Get Scout data:
{
"method": "jpl/scout",
"params": {}
}