NASA MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NASA_API_KEY | Yes | Your NASA API key (get at api.nasa.gov) | |
| MCP_HTTP_HOST | No | Host for Streamable HTTP mode (default: 127.0.0.1) | 127.0.0.1 |
| MCP_HTTP_PATH | No | MCP endpoint path for Streamable HTTP mode (default: /mcp) | /mcp |
| MCP_HTTP_PORT | No | Port for Streamable HTTP mode (default: 3000) | 3000 |
| MCP_TRANSPORT | No | Transport mode: stdio (default) or http for Streamable HTTP | stdio |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| nasa_apodA | NASA's Astronomy Picture of the Day (APOD) from the NASA Science APOD API (science.nasa.gov): the latest picture, one date (1995-06-16 onward), or a date range of up to 100 days. Returns the title, credit, explanation as plain text, image or video URL and page link, and embeds up to max_images pictures. No API key needed. |
| nasa_neoA | Near-Earth asteroid close approaches from NASA NeoWs: a feed for up to 7 days (defaults to today, UTC) or a single asteroid by ID. Requires NASA_API_KEY. |
| nasa_epicB | Earth Polychromatic Imaging Camera (DSCOVR) full-disc Earth images for a day: metadata for every image plus a bounded number embedded. |
| nasa_gibsB | Render a Global Imagery Browse Services (GIBS) layer for a date and bounding box as an image (WMS GetMap, EPSG:4326). |
| nasa_cmrA | Search NASA's Common Metadata Repository (CMR) for Earth science collections (datasets) or granules (files). Supports identifiers, temporal and spatial filters (bounding_box, point, polygon, line, circle), platform/instrument/project, facets and sorting. Returns a compact normalized envelope by default (response_mode raw for upstream metadata) and a next_cursor for Search After pagination: continue by passing only {"cursor": next_cursor}. Collection matches describe datasets; they do not prove granules exist for a given time or place. No API key needed. |
| nasa_firmsA | Active fire/thermal anomaly detections from NASA FIRMS for a bounding box and 1-5 day window. Requires FIRMS_MAP_KEY (not NASA_API_KEY). The legacy latitude/longitude interface now needs radius_km and is converted to a bbox. |
| nasa_imagesB | Search NASA's Image and Video Library. Returns item metadata and URLs, with a bounded number of preview thumbnails embedded. |
| nasa_exoplanetB | Query the NASA Exoplanet Archive through its TAP service (ADQL). Tables use current TAP names such as ps, pscomppars, cumulative and toi. |
| nasa_donkiA | Space Weather Database Of Notifications, Knowledge, Information (DONKI) events by type for up to 30 days at a time, from the NASA CCMC DONKI API (ccmc.gsfc.nasa.gov): solar flares, CMEs and their analyses, geomagnetic storms, interplanetary shocks, SEP, MPC, RBE and HSS events, WSA-ENLIL simulations and notifications. Compact one-line summaries by default; response_mode raw returns the full records. No API key needed. |
| nasa_mars_roverA | DEPRECATED: the upstream Mars Rover Photos API (api.nasa.gov/mars-photos) has been returning HTTP 404 "No such app" since at least 2026-09-29. Calls still query it and report the upstream status accurately; no photos are fabricated. Requires NASA_API_KEY. |
| nasa_eonetB | Natural events (wildfires, storms, volcanoes, ice, ...) from the Earth Observatory Natural Event Tracker. Filters are sent exactly as given; no automatic broadening. |
| nasa_powerB | Daily solar and meteorological data for a point from NASA POWER (Prediction Of Worldwide Energy Resources). |
| nasa_osdr_filesA | List the data files (with download links) for a NASA Open Science Data Repository (OSDR) study. |
| nasa_insight_weatherA | HISTORICAL DATA ONLY: per-sol Mars surface weather (air temperature, pressure, wind) from NASA's InSight lander at Elysium Planitia. The feed is frozen at the last seven sols it reported (sols 675-681, October 2020) and is no longer updated. Requires NASA_API_KEY. |
| nasa_tleA | Two-line element sets (TLE) for Earth-orbiting satellites from the TLE API in the api.nasa.gov catalog (tle.ivanstanojevic.me; CelesTrak data refreshed daily): one satellite by NORAD catalog number, or a paged name search. No API key needed. |
| nasa_ssc_observatoriesA | Spacecraft and other observatories whose locations the NASA Satellite Situation Center (SSCWeb) can compute, with their data time ranges and resolution. Use the IDs with nasa_ssc_locations. No API key needed. |
| nasa_ssc_locationsA | Positions of spacecraft (and the Moon and Sun) over a time range from the NASA Satellite Situation Center (SSCWeb), in geophysical coordinate systems (GEO, GM, GSE, GSM, SM, GEI). Returns a CSV table per observatory: X/Y/Z in km, latitude/longitude in degrees, local time in hours and radial distance in km. The resolution factor is raised automatically to keep the output bounded. No API key needed. |
| nasa_techportA | NASA's technology project inventory (TechPort): search projects by keyword, or fetch one project with its status, dates, program, technology readiness levels (TRL), lead organization, description and benefits. No API key needed. |
| nasa_techtransferA | Search NASA's Technology Transfer portfolio (technology.nasa.gov): patents available for licensing, issued patents, the NASA Software Catalog, or Spinoff stories about commercial products that use NASA technology. No API key needed. |
| nasa_trek_layersA | Search the map layer catalogs of NASA Mars Trek, Moon Trek and Vesta Trek (trek.nasa.gov): mosaics, colour hillshades and other imagery served as OGC WMTS tiles. Returns layer IDs for nasa_trek_tile, with mission, instrument and WMTS endpoint. No API key needed. |
| nasa_trek_tileA | One WMTS map tile image from NASA Mars Trek, Moon Trek or Vesta Trek for a layer from nasa_trek_layers, addressed by zoom/row/col or (equirectangular layers) by latitude/longitude. Reads the layer's WMTS capabilities to validate the tile and pick the format. No API key needed. |
| jpl_sbdbB | Orbital and physical data for one asteroid or comet from the JPL Small-Body Database (SBDB). |
| jpl_fireballB | Fireball (bolide) events reported by US Government sensors, from the JPL Fireball API. |
| jpl_jd_calB | Convert between Julian dates and calendar dates (UTC) with the JPL JD-Calendar API. |
| jpl_nhatsB | Near-Earth objects accessible to human missions (NHATS): a constrained summary list, or one object by des/spk. |
| jpl_cadC | Asteroid and comet close approaches to the planets, past and future, from the JPL SBDB Close-Approach Data API. |
| jpl_sentryB | Earth impact risk assessments from JPL Sentry: summary table, one object, virtual impactors, or removed objects. |
| jpl_horizonsC | Ephemerides and object data for solar-system bodies from the JPL Horizons API (GET). |
| jpl_horizons_fileB | Same as jpl_horizons, but submits the parameters as a Horizons input file (POST to horizons_file.api). |
| jpl_periodic_orbitsC | Periodic orbits (halo, DRO, Lyapunov, ...) in three-body systems from the JPL Three-Body Periodic Orbits database. |
| jpl_scoutB | JPL Scout trajectory analysis and hazard assessment for unconfirmed objects on the Minor Planet Center NEO Confirmation Page. |
| jpl_mission_designA | Ballistic mission options to asteroids and comets from the JPL Small-Body Mission Design API. Object mode (des, spk or sstr) returns the pre-computed mission options stored for one object (launch and arrival dates, V-infinity, time of flight). List mode returns the most accessible small bodies for the given launch years, ranked by crit, with optional SBDB filters. Porkchop-plot maps (mode M) and mission-extension searches (mode T) are not exposed. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| nasa/get-astronomy-picture | Fetch NASA's Astronomy Picture of the Day with optional date selection |
| nasa/browse-near-earth-objects | Find near-Earth asteroids within a date range (up to 7 days) |
| nasa/view-epic-imagery | Browse Earth Polychromatic Imaging Camera views of Earth |
| jpl_query-small-body-database | Look up an asteroid or comet in the JPL Small-Body Database |
| jpl_find-close-approaches | Find close approaches of asteroids and comets to Earth or other planets |
| jpl_get-fireball-data | Retrieve fireball events detected by US Government sensors |
| apod-daily | Get NASA's Astronomy Picture of the Day with a natural language prompt |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 32 tools
Most tools target distinct NASA data sources, but several pairs overlap: nasa_neo and jpl_cad both handle close approaches, jpl_sentry and jpl_scout both assess impact risk, and jpl_horizons and jpl_horizons_file offer the same data via different HTTP methods. Descriptions help distinguish these, but an agent could still misselect.
All tool names use consistent snake_case with a clear provider prefix (nasa_ or jpl_) and service-oriented nouns. The pattern is predictable throughout, with only minor abbreviations like jpl_jd_cal that still fit the convention.
32 tools is well above the recommended 3–15 range and feels heavy even for a broad NASA data server. While each tool maps to a distinct API, the set would be more manageable if split into focused sub-servers.
The surface covers many NASA APIs but misses major ones like NTRS, ADS, PDS, and HEASARC. Additionally, some included tools are deprecated or frozen (nasa_mars_rover, nasa_insight_weather), creating dead ends that limit reliable coverage.