---
okf_version: "0.2"
title: nasa-mcp
description: "nasa-mcp is a Model Context Protocol (MCP 2026-07-28) server that gives AI agents read-only access to 16 NASA open data services through 37 tools, with citations."
---

<!--
SPDX-FileCopyrightText: 2026 Tyson Lee Swetnam
SPDX-License-Identifier: CC-BY-4.0
-->

# nasa-mcp

**nasa-mcp** is a [Model Context Protocol](https://modelcontextprotocol.io/){target=_blank} server
that gives AI agents read-only access to the NASA open data services listed on
[api.nasa.gov](https://api.nasa.gov/){target=_blank}: the Astronomy Picture of the Day, near-Earth
asteroids, space weather, Earth and planetary imagery, natural events, exoplanets, space biology,
spacecraft positions and NASA technology. Every result says where it came from, in what units, and
how to credit it.

Several api.nasa.gov gateway routes are broken, slow or retiring (November 2026), so nasa-mcp calls
each service on the host that actually works. **Only NeoWs and InSight use the api.nasa.gov key**;
the other 14 services need no key at all.

| Service | Tools | Key |
| --- | --- | --- |
| [APOD](providers/apod.md) | `nasa_apod_get` | no |
| [Asteroids NeoWs](providers/neows.md) | `nasa_neo_feed`, `nasa_neo_lookup`, `nasa_neo_browse` | **yes** |
| [DONKI space weather](providers/donki.md) | `nasa_donki_events`, `nasa_donki_notifications` | no |
| [EPIC Earth images](providers/epic.md) | `nasa_epic_images`, `nasa_epic_available_dates` | no |
| [InSight Mars weather](providers/insight.md) (frozen archive) | `nasa_insight_weather` | **yes** |
| [TechTransfer](providers/techtransfer.md) | `nasa_techtransfer_search` | no |
| [Solar System Treks](providers/trek.md) | `nasa_trek_list_layers`, `nasa_trek_tile_url` | no |
| [GIBS](providers/gibs.md) | `nasa_gibs_list_layers`, `nasa_gibs_snapshot_url` | no |
| [EONET](providers/eonet.md) | `nasa_eonet_events`, `nasa_eonet_categories` | no |
| [Image and Video Library](providers/images.md) | `nasa_images_search`, `nasa_images_asset` | no |
| [JPL SSD / CNEOS](providers/ssd.md) | `nasa_ssd_close_approaches`, `nasa_ssd_fireballs`, `nasa_ssd_sentry`, `nasa_ssd_scout`, `nasa_ssd_nhats`, `nasa_ssd_sbdb_lookup` | no |
| [Exoplanet Archive](providers/exoplanet.md) | `nasa_exoplanet_search`, `nasa_exoplanet_query` | no |
| [OSDR](providers/osdr.md) | `nasa_osdr_search`, `nasa_osdr_study`, `nasa_osdr_files` | no |
| [SSCWeb](providers/sscweb.md) | `nasa_ssc_observatories`, `nasa_ssc_locations` | no |
| [TechPort](providers/techport.md) | `nasa_techport_projects`, `nasa_techport_project` | no |
| [TLE API](providers/tle.md) (third-party) | `nasa_tle_search`, `nasa_tle_get` | no |

Image, video and tile tools return **URLs**, never bytes. Results are trimmed to a 50 KB budget and
paged.

## Install

```bash
git clone https://github.com/idss-mesa/nasa-mcp.git ~/nasa-mcp && cd ~/nasa-mcp
git checkout v0.1.0
uv sync --frozen --python 3.12 --managed-python
uv run nasa-mcp --check
```

Then [get your own free api.nasa.gov key](getting-started/api-key.md) (needed only by NeoWs and
InSight), [connect your client](getting-started/clients.md) and ask your agent to call
`nasa_ping`. The full, reproducible walkthrough for a new machine is
[Install nasa-mcp on a new machine](getting-started/install.md).

## Documentation

This site is an [Open Knowledge Format (OKF) v0.2](https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md){target=_blank}
bundle: every page carries YAML frontmatter with `type`, provenance and lifecycle fields, and the
whole corpus is available to agents at [`llms.txt`](llms.txt) and [`llms-full.txt`](llms-full.txt).

* [Getting started](getting-started/index.md) - Install, connect an MCP client, configure, and set the api.nasa.gov key.
* [Tools](tools/index.md) - The 37 `nasa_` tools, their conventions, resources and prompts.
* [Services](providers/index.md) - One page per NASA service: endpoint, key use, tools, quirks and citation.
* [MCP protocol](mcp/index.md) - MCP 2026-07-28 conformance and the two transports.
* [Deploy](deploy/index.md) - Hosted HTTP deployment and security.
* [Develop](develop/index.md) - Architecture, adding a service, testing and contributing.
* [About](about/index.md) - Guidance for AI agents, citing NASA data, licence.
