Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NASA_MCP_NASA__API_KEYNoYour free api.nasa.gov key (from https://api.nasa.gov/). Read only from this environment variable; never from YAML, flags, tool arguments or HTTP headers. Optional: without it the server falls back to DEMO_KEY, which is heavily rate limited (only the NeoWs and InSight tools are affected). Never commit the key.
NASA_MCP_NASA__ALLOW_KEY_IN_HTTP_MODENoSet to true to allow the operator's API key to be used when running over HTTP (Streamable HTTP transport); otherwise the key is only used in stdio mode.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

nasa-mcp reaches NASA open data APIs. Tools are named nasa__; nasa_list_services lists every service with its tools, docs and caveats. Services: apod (Astronomy Picture of the Day), neo (near-Earth objects), donki (space weather: flares, CMEs, storms), epic (DSCOVR full-disc Earth images), insight (Mars weather, frozen 2020), techtransfer (patents, software, spinoffs), trek and gibs (map tile URLs for the Moon, Mars, Vesta and Earth), eonet (natural events), images (Image and Video Library), ssd (JPL close approaches, fireballs, Sentry, Scout, NHATS, small-body lookup), exoplanet (NASA Exoplanet Archive), osdr (space biology studies), ssc (spacecraft locations), techport (NASA technology projects) and tle (satellite orbital elements, third-party). Dates are YYYY-MM-DD (UTC). Image and tile tools return URLs, never bytes. Only the neo and insight tools spend the api.nasa.gov key quota (DEMO_KEY: about 10 requests/hour); the other services are keyless. Results carry source.citation; credit NASA as it says.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
nasa_apod_getA

NASA's Astronomy Picture of the Day (since 1995-06-16): title, date, image or video URL, article link, credit and the astronomer's explanation. One day (date), a date range (25 per page, newest first) or, by default, the latest picture. Next: show image_url and credit the author named in credit.

nasa_donki_eventsA

Space-weather events from NASA's DONKI database for a date window (default the last 30 days): solar flares (class, peak time), CMEs (speed, half-angle, Earth-directed flag), geomagnetic storms (Kp), interplanetary shocks, SEP, magnetopause crossings, radiation belt enhancements, high-speed streams and WSA-ENLIL runs, with links. Next: call nasa_donki_notifications for forecaster reports.

nasa_donki_notificationsA

Space-weather notifications issued by the Moon to Mars Space Weather Analysis Office (via DONKI): flare, CME, SEP, shock, storm and weekly report messages with issue time, a short summary and the message URL. Default: the last 7 days; window at most 30 days. Next: call nasa_donki_events for the structured event records.

nasa_eonet_categoriesA

List EONET natural-event categories (id, title, description), the values nasa_eonet_events accepts for category. Next: call nasa_eonet_events(category=...).

nasa_eonet_eventsA

Curated natural events from NASA EONET: wildfires, severe storms, volcanoes, sea and lake ice, floods, dust and haze and more, with dates, sources and GeoJSON geometry. Filter by category, open/closed status, the last N days, a date range or a bounding box. Next: call nasa_gibs_snapshot_url to see an event on satellite imagery.

nasa_epic_available_datesA

List the days that have EPIC imagery in one collection (natural from June 2015), optionally for one year (default the latest 100 days), with the first and last day. Gaps are days DSCOVR did not image. Next: call nasa_epic_images(date=...).

nasa_epic_imagesA

Full-disc images of Earth's sunlit side from the EPIC camera on DSCOVR at the Sun-Earth L1 point, for one day (default the latest): acquisition time, centre latitude and longitude, DSCOVR distance and PNG, JPG and thumbnail archive URLs. Collections: natural, enhanced, aerosol, cloud. Next: call nasa_epic_available_dates.

nasa_exoplanet_queryA

Run one read-only ADQL SELECT on the NASA Exoplanet Archive TAP service (tables ps, pscomppars, stellarhosts, toi, k2pandc and more). The server caps the row count and returns rows as JSON objects keyed by column name. Next: cite the archive with source.citation.

nasa_exoplanet_searchA

Search confirmed exoplanets in the NASA Exoplanet Archive (Planetary Systems Composite Parameters) by name, host star, discovery method and year, radius, period, equilibrium temperature or distance. Returns one row per planet with orbit, size, mass, temperature and host-star parameters and their units. Next: call nasa_exoplanet_query for custom ADQL.

nasa_gibs_list_layersA

Search NASA GIBS Earth imagery layers (MODIS, VIIRS, Landsat/HLS, AIRS, sea ice, aerosol, fires...) by words in the id or title, in one projection: id, title, formats, resolution, default date, available date ranges and the WMTS tile URL template. Next: call nasa_gibs_snapshot_url(layer=..., date=..., bbox=...).

nasa_gibs_snapshot_urlA

Build a ready-to-open WMS GetMap URL for one GIBS layer, date and bounding box (one JPEG or PNG image, EPSG:4326), plus an interactive NASA Worldview link. No network call: the URL is constructed offline and the image is fetched by the user's client. Next: open the URL; check the date with nasa_gibs_list_layers.

nasa_images_assetA

List every file of one Image and Video Library item (original, large, medium, small and thumbnail renditions, video encodings, captions) as URLs, optionally with its AVAIL:* catalog metadata. Next: give the user the orig or large URL; credit NASA.

nasa_images_searchA

Search images.nasa.gov (NASA's image, video and audio archive) by text, keywords, center, photographer, media type and year range. Returns nasa_id, title, date, center, a short description, keywords and a preview thumbnail URL per item. Next: call nasa_images_asset(nasa_id=...) for full-resolution file URLs.

nasa_insight_weatherA

Per-sol Mars weather from the InSight lander at Elysium Planitia: air temperature (degC), wind speed (m/s), pressure (Pa) and prevailing wind direction, with UTC spans and season. The mission ended in 2022, so this is a frozen archive of the last published sols, not current weather. Next: credit NASA/JPL-Caltech.

nasa_list_servicesA

List every NASA service nasa-mcp reaches (APOD, NeoWs, DONKI, EPIC, InSight, TechTransfer, Trek, GIBS, EONET, Image Library, JPL SSD, Exoplanet Archive, OSDR, SSCWeb, TechPort, TLE) with its hosts, whether it uses the api.nasa.gov key, docs URL, citation, caveats and tool names. No network call. Next: call one of the listed tools.

nasa_neo_browseA

Page through the whole NeoWs near-Earth object catalog (about 40,000 objects, 20 per page): name, SPK-ID, size range and hazard and Sentry flags, without approach lists. Next: call nasa_neo_lookup(asteroid_id=...) for one object.

nasa_neo_feedA

Near-Earth asteroids making close approaches to Earth in a window of up to 7 days (default: today + 6 days), from NASA NeoWs: name, SPK-ID, size range, hazard and Sentry flags, approach time, miss distance (km, lunar, au) and relative velocity. Sort by date, miss distance or size. Next: call nasa_neo_lookup(asteroid_id=...).

nasa_neo_lookupA

Look up one near-Earth object by JPL SPK-ID in NASA NeoWs: size range, hazard and Sentry flags, orbital elements and orbit class, and its close approaches to Earth and other bodies within a date range (default +/- 10 years). Next: call nasa_ssd_sbdb_lookup for full JPL orbit data.

nasa_osdr_filesA

List the data files of one OSDR study (metadata archives, raw and processed GeneLab data) with category, size and a download URL, optionally filtered by category. Next: give the user the URLs; large files should be fetched outside the chat.

nasa_osdr_searchA

Search NASA's Open Science Data Repository (GeneLab and space-biology studies, plus federated GEO, PRIDE and MG-RAST indexes): accession, title, organism, spaceflight or ground study, mission, assay type and release date. Next: call nasa_osdr_study(accession=...) or nasa_osdr_files(accession=...).

nasa_osdr_studyA

ISA-Tab metadata of one OSDR study: title, description, release date, experimental factors, assays, organisms, investigators and publications (title, DOI, PubMed). Next: call nasa_osdr_files(accession=...) for downloadable data files.

nasa_pingA

Report the nasa-mcp version, MCP protocol version, transport, whether a personal api.nasa.gov key or DEMO_KEY is in use (never the key itself) and the remaining hourly quota. With check_upstream=true it makes one tiny live request per service and reports latency. Next: call nasa_list_services to see every service and its tools.

nasa_ssc_locationsA

Positions of up to 5 spacecraft over a time range (at most 2 days) from NASA's Satellite Situation Center, in GEO, GM, GSE, GSM, SM or GEI coordinates: X/Y/Z (km), latitude, longitude and radial distance, thinned to max_points. Next: compare with nasa_tle_get for Earth-orbiting satellites.

nasa_ssc_observatoriesA

List spacecraft (observatories) whose positions NASA's Satellite Situation Center can compute: id, name, ephemeris resolution and the time span covered. Filter by text or by a day with data. Next: call nasa_ssc_locations(observatories=[id], ...).

nasa_ssd_close_approachesA

Asteroid and comet close approaches to Earth (or another body) from JPL's CNEOS close-approach data: designation, time, nominal distance in au, lunar distances and km, relative velocity and absolute magnitude. Defaults: the next 60 days within 0.05 au of Earth. Next: call nasa_ssd_sbdb_lookup or nasa_ssd_sentry for one object.

nasa_ssd_fireballsA

Fireball (bolide) events detected by US government sensors, from JPL CNEOS: peak time, radiated energy (J), estimated impact energy (kt), location, altitude and velocity. Newest first; filter by date range, minimum energy or events with a location. Next: map the events or compare energies.

nasa_ssd_nhatsA

JPL NHATS (Near-Earth Object Human Space Flight Accessible Targets Study): asteroids reachable by round-trip missions within a delta-v and duration budget, with minimum delta-v and shortest trajectories, size and orbit-condition code. Next: call nasa_ssd_sbdb_lookup for one target.

nasa_ssd_sbdb_lookupA

Look up one asteroid or comet in the JPL Small-Body Database: full name, SPK-ID, orbit class, NEO/PHA flags, osculating orbital elements with units, MOID and (optionally) physical parameters and Earth close approaches. Ambiguous names return the candidate list. Next: call nasa_ssd_close_approaches(designation=...).

nasa_ssd_scoutA

JPL Scout hazard assessment of unconfirmed objects on the Minor Planet Center's NEO Confirmation Page: NEO/PHA/impact scores, magnitude, arc, MOID and sky position. Candidates change hourly and disappear once designated. Next: call nasa_ssd_scout(object_name=...) for one object.

nasa_ssd_sentryA

JPL Sentry impact-risk data. Without a designation: objects on the current risk table with cumulative impact probability, Palermo and Torino scales and diameter. With one: its virtual impactors (date, probability, energy) or the date it was removed from the table. Next: call nasa_ssd_sbdb_lookup for the object's orbit.

nasa_techport_projectA

Details of one NASA TechPort technology project: title, status, dates, program, lead organization, technology readiness levels (begin, current, end), primary taxonomy, plain-text description and benefits, and its TechPort page. Next: call nasa_techtransfer_search for related patents and software.

nasa_techport_projectsA

List NASA TechPort technology project ids updated on or after a date (default the last 7 days), newest first, with their last-updated dates. TechPort's API lists ids only. Next: call nasa_techport_project(project_id=...) for details.

nasa_techtransfer_searchA

Search NASA's Technology Transfer portfolio: patents available to license, issued patents, free NASA software and Spinoff stories. Returns case number, title, plain-text description, category, NASA center and (software) release type and URL, by relevance. Next: open https://technology.nasa.gov/ to request a license.

nasa_tle_getA

The current two-line element set (TLE) of one satellite by NORAD catalog number (e.g. 25544 for the ISS), with its epoch, from the third-party TLE API. Next: propagate it with an SGP4 library; TLEs age quickly (days).

nasa_tle_searchA

Search current two-line element sets (TLEs) of Earth satellites by name, from the third-party TLE API listed on api.nasa.gov (mirrored from CelesTrak). Returns NORAD id, name, epoch and both TLE lines for orbit propagation (e.g. SGP4). Next: call nasa_tle_get(satellite_id=...) for one satellite.

nasa_trek_list_layersA

Search equirectangular map mosaics of the Moon, Mars or Vesta from NASA's Solar System Treks (LRO, Kaguya, MRO HiRISE/CTX, Viking, Dawn...): layer uuid, title, mission, instrument, bounding box and resolution. Next: call nasa_trek_tile_url(body=..., uuid=...) for its WMTS tile URLs.

nasa_trek_tile_urlA

Resolve one Solar System Treks layer to its WMTS endpoint, capabilities URL, tile URL template, tile matrix set and a level-0 sample tile, ready for a web map (Leaflet, OpenLayers, QGIS). Level 0 is 2 columns by 1 row. Next: open sample_tile_url or load capabilities_url in a GIS.

Prompts

Interactive templates invoked by user choice

NameDescription
nasa_asteroid_watchNear-Earth objects passing Earth in one week, with hazard and Sentry status.
nasa_exoplanet_profileParameters, discovery and imagery for one confirmed exoplanet.
nasa_space_weather_briefingFlares, CMEs and geomagnetic storms from DONKI over the last few days.

Resources

Contextual data attached and managed by the client

NameDescription
overviewThe NASA services nasa-mcp reaches, which tool to start with and what each returns.
api-keyHow an operator sets NASA_MCP_NASA__API_KEY, DEMO_KEY limits and the HTTP-mode rule.
rate-limitsapi.nasa.gov hourly quotas, local politeness limits and the response cache.
citingNASA media and data usage guidelines and per-service citation text.
servicesEvery service with hosts, key use, docs URL and citation (JSON).

TDQS

A3.9/5.0

Scored across 37 tools

Disambiguation4/5

Each tool is scoped to one NASA service and one action, and the embedded "Next: call ..." pointers make the intended chaining explicit (e.g. search → asset, sentry → sbdb_lookup). A few boundaries are genuinely fuzzy: nasa_neo_feed vs nasa_ssd_close_approaches both return close approaches, and nasa_neo_lookup vs nasa_ssd_sbdb_lookup both look up a single object by ID/designation, so an agent could reasonably pick the wrong one. Descriptions mitigate this but don't fully dissolve the overlap.

Naming Consistency4/5

Names follow a reliable `nasa_<service>_<action>` snake_case namespace (nasa_osdr_search, nasa_gibs_list_layers, nasa_techport_project), which makes service grouping obvious. The only deviation is that roughly a third of tools are noun-only with no verb (nasa_donki_events, nasa_eonet_categories, nasa_epic_images, nasa_ssd_sentry, nasa_ssd_fireballs, nasa_ssd_nhats, nasa_insight_weather), so verb_noun predictability is not uniform.

Tool Count3/5

37 tools is a heavy surface for an agent to select from, and it sits above the comfortable 3-15 band. It is defensible because the server federates ~16 genuinely distinct NASA services, and most tools earn their place, but a few thin wrappers (nasa_ping, nasa_epic_available_dates, nasa_eonet_categories, nasa_gibs_snapshot_url) add selection load without adding much capability.

Completeness4/5

Lifecycle coverage per service is largely complete for read-only science data: discovery → detail → derivative URL across images, EPIC, GIBS, NEO, SSD, OSDR, TechPort, TLE and Trek, plus meta tools for quotas and service inventory. Remaining gaps are modest — no pagination on several search tools, no way to search TechPort by keyword (date-window only), and nasa_neo_feed hard-capped at 7 days — all workable around with other tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues