# nasa-mcp documentation > nasa-mcp is a Model Context Protocol (MCP 2026-07-28) server that gives AI agents read-only access to the NASA open data services listed on api.nasa.gov: APOD, Asteroids NeoWs, DONKI space weather, EPIC Earth imagery, InSight Mars weather, TechTransfer, Solar System Treks, GIBS, EONET, the NASA Image and Video Library, JPL SSD/CNEOS small-body APIs, the NASA Exoplanet Archive, OSDR, SSCWeb, TechPort and the TLE API. This documentation covers installation, client setup, configuration and the api.nasa.gov key, the tool catalogue, the services, the MCP protocol surface, deployment and development. The source repository is an Open Knowledge Format (OKF v0.2) bundle: every page carries YAML frontmatter with type, provenance (generated/sources), and lifecycle (status/stale_after) fields. Full corpus for ingestion: https://idss-mesa.github.io/nasa-mcp/llms-full.txt Every page's Markdown source (OKF frontmatter included) is served at its URL plus `index.md` — for example https://idss-mesa.github.io/nasa-mcp/tools/reference/index.md. Agent guide: https://idss-mesa.github.io/nasa-mcp/about/ai-agents/ If you want NASA data rather than documentation, connect to the nasa-mcp server itself (stdio or Streamable HTTP) and call its tools; the agent guide explains how. ## Getting started - [The api.nasa.gov key](https://idss-mesa.github.io/nasa-mcp/getting-started/api-key/): How to get your own free api.nasa.gov key, store it safely on each machine, use it with nasa-mcp, and troubleshoot it. - [Connect an MCP client](https://idss-mesa.github.io/nasa-mcp/getting-started/clients/): Register nasa-mcp with Claude Code, Claude Desktop or any MCP client over stdio, or point a client at the HTTP endpoint. - [Configuration](https://idss-mesa.github.io/nasa-mcp/getting-started/configuration/): Every nasa-mcp setting with its environment variable, type and default; precedence is CLI flag, environment, YAML, default. - [Install nasa-mcp on a new machine](https://idss-mesa.github.io/nasa-mcp/getting-started/install/): Step-by-step, reproducible setup of nasa-mcp on macOS, Linux or WSL: uv, a pinned checkout, the locked environment, your NASA key and a check. - [Quickstart](https://idss-mesa.github.io/nasa-mcp/getting-started/quickstart/): Six tool calls that check the server, list the NASA services, and fetch APOD, space weather, natural events and asteroids. ## Tools - [Conventions](https://idss-mesa.github.io/nasa-mcp/tools/conventions/): How nasa-mcp tools handle dates, units, URLs instead of bytes, paging and the 50 KB budget, the result envelope and errors. - [Tool reference](https://idss-mesa.github.io/nasa-mcp/tools/reference/): Every nasa-mcp tool with its inputs, bounds, result fields, upstream endpoints and annotations, generated from the registry. - [Resources and prompts](https://idss-mesa.github.io/nasa-mcp/tools/resources-and-prompts/): The nasa:// guides and service reference, the two resource templates, and the three task prompts nasa-mcp offers. ## Services - [Astronomy Picture of the Day](https://idss-mesa.github.io/nasa-mcp/providers/apod/): How nasa-mcp reaches APOD through the science.nasa.gov WordPress API: YYMMDD dates, image and video URLs, copyright and citation. - [DONKI space weather](https://idss-mesa.github.io/nasa-mcp/providers/donki/): How nasa-mcp reaches DONKI through CCMC's DONKI-API because the api.nasa.gov route is broken: event types, dates, quirks, citation. - [EONET natural events](https://idss-mesa.github.io/nasa-mcp/providers/eonet/): How nasa-mcp queries EONET v3 natural events: the category enum, mandatory limits, geometry options, quirks and citation. - [EPIC Earth imagery](https://idss-mesa.github.io/nasa-mcp/providers/epic/): How nasa-mcp uses the EPIC (DSCOVR) API on epic.gsfc.nasa.gov without a key: collections, dates, archive image URLs and citation. - [NASA Exoplanet Archive](https://idss-mesa.github.io/nasa-mcp/providers/exoplanet/): How nasa-mcp queries the NASA Exoplanet Archive over TAP/ADQL: structured search, raw SELECT queries, maxrec row caps and citation. - [GIBS Earth imagery](https://idss-mesa.github.io/nasa-mcp/providers/gibs/): How nasa-mcp lists GIBS imagery layers from the WMTS capabilities and builds WMS snapshot and Worldview URLs offline; citation. - [NASA Image and Video Library](https://idss-mesa.github.io/nasa-mcp/providers/images/): How nasa-mcp searches images.nasa.gov and resolves asset file URLs: paging window, https rewriting, media credit and citation. - [InSight Mars weather](https://idss-mesa.github.io/nasa-mcp/providers/insight/): How nasa-mcp serves the frozen InSight Mars weather feed from api.nasa.gov: sols 675-681 (October 2020), units, quota and citation. - [Asteroids NeoWs](https://idss-mesa.github.io/nasa-mcp/providers/neows/): How nasa-mcp uses NASA NeoWs (Near Earth Object Web Service) on api.nasa.gov: feed, lookup and browse, quota, quirks and citation. - [NASA OSDR](https://idss-mesa.github.io/nasa-mcp/providers/osdr/): How nasa-mcp searches NASA's Open Science Data Repository (GeneLab, space biology): studies, ISA metadata, data files and citation. - [Satellite Situation Center](https://idss-mesa.github.io/nasa-mcp/providers/sscweb/): How nasa-mcp uses the SSCWeb REST API: observatories, spacecraft positions in GEO/GSE/GSM coordinates, typed JSON and citation. - [JPL SSD / CNEOS](https://idss-mesa.github.io/nasa-mcp/providers/ssd/): How nasa-mcp uses the JPL Solar System Dynamics and CNEOS APIs: close approaches, fireballs, Sentry, Scout, NHATS and SBDB. - [NASA TechPort](https://idss-mesa.github.io/nasa-mcp/providers/techport/): How nasa-mcp reads NASA TechPort technology projects: recently updated project ids and project details, size guards and citation. - [NASA TechTransfer](https://idss-mesa.github.io/nasa-mcp/providers/techtransfer/): How nasa-mcp searches NASA TechTransfer on technology.nasa.gov because the api.nasa.gov route redirects: categories, rows, citation. - [TLE API](https://idss-mesa.github.io/nasa-mcp/providers/tle/): How nasa-mcp reads two-line element sets from the third-party TLE API listed on api.nasa.gov: search, lookup, quirks and citation. - [Solar System Treks](https://idss-mesa.github.io/nasa-mcp/providers/trek/): How nasa-mcp finds Moon, Mars and Vesta map layers on trek.nasa.gov and returns WMTS tile URLs, never tiles; quirks and citation. ## MCP protocol - [MCP 2026-07-28 conformance](https://idss-mesa.github.io/nasa-mcp/mcp/spec-2026-07-28/): How nasa-mcp implements the MCP 2026-07-28 stateless core: tools, structured output, annotations, errors, caching hints. - [Transports](https://idss-mesa.github.io/nasa-mcp/mcp/transports/): nasa-mcp speaks stdio for local clients and stateless Streamable HTTP at /mcp, with health and readiness endpoints. ## Deploy - [Hosted HTTP](https://idss-mesa.github.io/nasa-mcp/deploy/hosted-http/): Run nasa-mcp as a stateless Streamable HTTP service in a container behind a TLS-terminating reverse proxy. - [Security](https://idss-mesa.github.io/nasa-mcp/deploy/security/): What nasa-mcp accepts, which hosts it contacts, what it stores and logs, and how the api.nasa.gov key is kept out of results. ## Develop - [Adding a service](https://idss-mesa.github.io/nasa-mcp/develop/adding-services/): What a new nasa-mcp service needs: a catalogue entry, a tool module, recorded fixtures, hermetic and live tests, and docs. - [Architecture](https://idss-mesa.github.io/nasa-mcp/develop/architecture/): The nasa-mcp module layout, the service catalogue and the path of a tool call from MCP request to upstream and back. - [Contributing](https://idss-mesa.github.io/nasa-mcp/develop/contributing/): Tooling, code style, commit conventions and the checks CI runs for nasa-mcp. - [Testing](https://idss-mesa.github.io/nasa-mcp/develop/testing/): How nasa-mcp is tested: hermetic recorded fixtures with key scrubbing, MCP protocol tests and opt-in live tests. ## About - [For AI agents](https://idss-mesa.github.io/nasa-mcp/about/ai-agents/): How AI agents should use nasa-mcp: which tool to call first, how to read units, notes and pages, the key quota, and citing. - [Citing NASA data](https://idss-mesa.github.io/nasa-mcp/about/citing/): NASA media usage guidelines and the credit line nasa-mcp puts in source.citation for each of the 16 services. - [Licence and data terms](https://idss-mesa.github.io/nasa-mcp/about/license/): nasa-mcp code is MIT and the documentation CC BY 4.0; data returned by the server stay under NASA's and each source's terms. ## Meta - [Documentation update log](https://idss-mesa.github.io/nasa-mcp/log/): dated history of changes to this bundle.