Labsco
MCP SERVER

NASA MCP Server

by ProgramComputer

Reach NASA's and JPL's public data from one place — Mars rover photos, asteroid close approaches, wildfire detections, space weather, exoplanets and ephemerides.

Physical Sciences & Scientific ComputingVerified
Summary
Each service keeps its own parameters, so the questions stay specific.

Rather than collapsing everything into one search, the tools mirror the underlying APIs — a Horizons call still takes a centre, a step size and quantities, and an Exoplanet Archive call still takes select and where — which is what makes real questions answerable instead of approximated. The trade is that you need to know roughly which service holds your answer; the split between NASA services and the JPL small-body tools is the main thing to learn.

What it is

One server over more than twenty separate NASA and JPL data services, each as its own tool with that service's real parameters rather than a flattened search box. It is an independent project, not affiliated with NASA.

What you get
  • nasa_apod for the Astronomy Picture of the Day by date, date range or random count, and nasa_images for the NASA image and video library filtered by media type and year range
  • nasa_mars_rover returns rover photos by sol or Earth date and camera, and nasa_epic returns full-disc Earth images from the DSCOVR camera
  • nasa_neo lists near-Earth asteroids over a date range or by id; jpl_sbdb, jpl_cad, jpl_sentry, jpl_nhats and jpl_scout cover small-body details, close approaches, impact risk, human-accessible targets and newly discovered objects
  • jpl_horizons produces ephemerides for solar-system objects with the observer centre, time span, step size and quantities you choose, and jpl_periodic_orbits queries the three-body periodic orbit database
  • nasa_firms returns fire detections around a latitude and longitude over a number of days, and nasa_eonet tracks natural events by category, source and status
  • nasa_donki returns space weather notifications by event type and date range — flares, CMEs, geomagnetic storms
  • nasa_power returns meteorological and solar parameters for a point and date range, for the community you name
  • nasa_exoplanet queries the Exoplanet Archive with select, where, order and limit — an actual query, not a fixed list
  • nasa_gibs returns satellite imagery for a layer, date, resolution and format, and nasa_cmr searches NASA's metadata repository for collections and granules
  • jpl_fireball lists atmospheric impact events by date range, and jpl_jd_cal converts between Julian day numbers and calendar dates
  • nasa_osdr_files lists the data files attached to an Open Science Data Repository study
Requirements

A NASA API key from api.nasa.gov — free, and the same key covers every NASA service here. Pass it as NASA_API_KEY in the environment or as --nasa-api-key on the command line; it runs as npx -y @programcomputer/nasa-mcp-server@latest. Default transport is stdio; MCP_TRANSPORT=http switches to Streamable HTTP, with MCP_HTTP_HOST, MCP_HTTP_PORT and MCP_HTTP_PATH defaulting to 127.0.0.1, 3000 and /mcp. NASA's own rate limits apply to the key.

Setup effort

One command plus a key — env NASA_API_KEY=YOUR_API_KEY npx -y @programcomputer/nasa-mcp-server@latest, then supply credentials