# nasa-mcp documentation — full corpus Each page below begins with its canonical URL followed by its original Markdown, OKF frontmatter included. ---8<--- https://idss-mesa.github.io/nasa-mcp/getting-started/api-key/ --- title: "The api.nasa.gov key" description: "How to get your own free api.nasa.gov key, store it safely on each machine, use it with nasa-mcp, and troubleshoot it." type: Guide tags: - api-key - credentials - security - rate-limits generated: by: "claude/opus-5.5" at: "2026-11-28T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: api-auth resource: "https://raw.githubusercontent.com/nasa/api-docs/gh-pages/assets/html/authentication.html" title: "api.nasa.gov authentication and rate limits" author: "team:nasa" status: stable stale_after: "2027-05-27T00:00:00Z" --- # The api.nasa.gov key Only two services go through the api.nasa.gov gateway and spend its quota: [NeoWs](../providers/neows.md) (`nasa_neo_feed`, `nasa_neo_lookup`, `nasa_neo_browse`) and [InSight](../providers/insight.md) (`nasa_insight_weather`). Every other tool calls its service's own keyless host, so it works the same with or without a key. ## 1. Get your own key (free, about a minute) 1. Open [api.nasa.gov](https://api.nasa.gov/){target=_blank} and find **Generate API Key**. 2. Fill in first name, last name and e-mail address (an application URL is optional), then submit. 3. The key, a 40-character string, appears on the page **and** is e-mailed to you. Keep the e-mail: it is the only copy NASA sends. One key works for every api.nasa.gov API, for 1,000 requests per hour. It is personal: do not share it, commit it or paste it into chats, issues or screenshots. If it leaks, generate a new one with the same form; the old one can no longer be trusted. ## 2. Store it outside the repository The server reads the key **only** from the environment variable `NASA_MCP_NASA__API_KEY`. It is not accepted from YAML (an `api_key` there is a configuration error), CLI flags, MCP tool arguments or HTTP headers, and nasa-mcp never reads `.env` files on its own. The setup below keeps the key in one private file per machine, which shells, client launchers and Docker can all read. === "macOS / Linux / WSL" ```bash mkdir -p ~/.config/nasa-mcp read -rs -p "Paste your NASA API key, then Enter: " K; echo printf 'NASA_MCP_NASA__API_KEY=%s\n' "$K" > ~/.config/nasa-mcp/env; unset K chmod 600 ~/.config/nasa-mcp/env ``` `read -rs` takes the key without echoing it, so it never appears on screen or in your shell history. Run all four lines **in the same terminal**, and paste the key at the prompt. === "macOS Keychain (optional)" To keep the key in the Keychain instead of a file: ```bash security add-generic-password -a "$USER" -s nasa-mcp -w # prompts for the key export NASA_MCP_NASA__API_KEY="$(security find-generic-password -a "$USER" -s nasa-mcp -w)" ``` Use the second line wherever the examples below source `~/.config/nasa-mcp/env`. The file must contain exactly one line, `NASA_MCP_NASA__API_KEY=`: no `export`, no spaces around `=`, no quotes needed. Check it without printing the key: ```bash env -i bash -c '. ~/.config/nasa-mcp/env; [ -n "$NASA_MCP_NASA__API_KEY" ] && echo set || echo empty' ``` ## 3. Use it * **In a shell** (for `nasa-mcp --check --live`, tests, recording fixtures): ```bash set -a; . ~/.config/nasa-mcp/env; set +a ``` * **In an MCP client:** use the launcher in [Connect an MCP client](clients.md), which sources the file when the server starts, so the key is never written into a client config. * **With Docker:** `docker run --env-file ~/.config/nasa-mcp/env ...`. Then check with `nasa_ping` (or `uv run nasa-mcp --check --live`): `apiKey.mode` is `personal`. The value itself is never shown. ## Quotas | Key | Documented | Observed 2026-11-27 | | --- | --- | --- | | Personal key | 1,000 requests/hour, rolling, shared by every api.nasa.gov API | not tested | | `DEMO_KEY` | 30 requests/hour and 50/day per IP | `X-RateLimit-Limit: 10`; after ten requests HTTP 429 with `Retry-After: 79518` (about 22 hours) | Without a key the server falls back to `DEMO_KEY` (`nasa.demo_key_fallback`, default `true`), and `nasa_ping` adds a note saying so. When the quota is exhausted, NeoWs and InSight tools return `rate_limited` with `details.retryAfterS` at once: the server waits out a `Retry-After` of at most 10 seconds and reports anything longer. With `nasa.demo_key_fallback: false` no key is sent, and api.nasa.gov answers `API_KEY_MISSING`, reported as `auth_required` naming the environment variable. Every result that touched api.nasa.gov carries the gateway's `X-RateLimit-Limit` and `X-RateLimit-Remaining` in `_meta["io.nasa-mcp/upstream"].apiNasaGovRateLimit` (`{"limit": ..., "remaining": ...}`), and `nasa_ping` reports the last values seen. ## Over HTTP With `--transport http`, callers are anonymous. The operator's key is used only when `NASA_MCP_NASA__ALLOW_KEY_IN_HTTP_MODE=true`; otherwise HTTP callers get DEMO_KEY even when a key is set. Enabling it lends the operator's hourly quota to every caller of the endpoint. ## What the server does with the key * It sends the key as the `api_key` query parameter **only to `api.nasa.gov`**, and drops it on any redirect to another host. * URLs are redacted (`api_key=***`) before they reach logs, `source.endpoints`, error details, cache keys or test fixtures. NeoWs echoes the key inside its `links`; those are never returned. * The value is registered with the log redactor at start-up; cache keys and rate-limit buckets use `tok:` plus the first 12 hex digits of its SHA-256. * `--print-config` shows `***` (or `null` when unset). ## Troubleshooting | Symptom | Cause and fix | | --- | --- | | `apiKey.mode` is `demo` although you set a key | The server's environment does not contain `NASA_MCP_NASA__API_KEY`. Run the `env -i` check above. If it prints `empty`, rewrite the file. If the client was started from a desktop launcher, use the [launcher command](clients.md), which sources the file itself. | | `... env: line 1: NASA_MCP_NASA__API_KEY: command not found` | The line has something between the name and `=` (a space, or an invisible character from copy and paste). Rewrite the file with the `read -rs` commands, or type the line in an editor. | | The check prints `set` in one terminal but `empty` with `env -i` | An older value is still exported in that terminal (for example from an earlier `set -a`). Run `unset NASA_MCP_NASA__API_KEY` and fix the file; trust the `env -i` result. | | `printf`/`echo` wrote an empty key | `read -rs` ran in a different terminal, or was skipped. Run all the lines in one terminal. | | `rate_limited` with `retryAfterS` around 80,000 | DEMO_KEY (or your key) is exhausted for the period. Set a personal key, or wait. | | `auth_required` | api.nasa.gov rejected the key (`API_KEY_INVALID`): it was mistyped or revoked. Generate a new one. | | `No such file or directory: scripts/...` | Commands that use repository paths must run inside the checkout (`cd ~/nasa-mcp` first). | ---8<--- https://idss-mesa.github.io/nasa-mcp/getting-started/clients/ --- title: "Connect an MCP client" description: "Register nasa-mcp with Claude Code, Claude Desktop or any MCP client over stdio, or point a client at the HTTP endpoint." type: Guide tags: - clients - claude - stdio - http generated: by: "claude/opus-5.5" at: "2026-11-28T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" status: stable --- # Connect an MCP client These examples assume the checkout is at `~/nasa-mcp` ([install](install.md)) and the key is in `~/.config/nasa-mcp/env` ([key setup](api-key.md)). Replace paths to match your machine. The key is optional: without it everything except NeoWs and InSight works normally. ## The launcher: read the key at start-up Rather than copying the key into each client's configuration, start the server through `sh`, which sources the key file and then runs the server: ```bash sh -c 'set -a; . "$HOME/.config/nasa-mcp/env"; set +a; exec uv run --frozen --directory "$HOME/nasa-mcp" nasa-mcp' ``` The key then lives in exactly one private file, and client configs contain no secret. If the file is missing the launcher fails at once. Remove the `. ...env` part to run with DEMO_KEY. GUI apps such as Claude Desktop often start with a minimal `PATH` that does not include `uv`. Use the absolute path that `command -v uv` prints (for example `/opt/homebrew/bin/uv` or `~/.local/bin/uv` expanded to its full path) in place of `uv` in the launcher. ## Claude Code (stdio) ```bash claude mcp add nasa -s user -- \ sh -c 'set -a; . "$HOME/.config/nasa-mcp/env"; set +a; exec uv run --frozen --directory "$HOME/nasa-mcp" nasa-mcp' claude mcp list # nasa ... connected ``` `-s user` registers the server for every project; leave it out to register it for the current project only. Then ask Claude to "call nasa_ping": `apiKey.mode` should be `personal`. Without the launcher, `claude mcp add nasa -e NASA_MCP_NASA__API_KEY=... -- uv run --directory ~/nasa-mcp nasa-mcp` also works, but it stores the key in plain text in Claude Code's user configuration. ## Claude Desktop and other stdio clients Edit the client's config file. For Claude Desktop that is `~/Library/Application Support/Claude/claude_desktop_config.json` on macOS: ```json { "mcpServers": { "nasa": { "command": "/bin/sh", "args": [ "-c", "set -a; . \"$HOME/.config/nasa-mcp/env\"; set +a; exec /ABSOLUTE/PATH/TO/uv run --frozen --directory \"$HOME/nasa-mcp\" nasa-mcp" ] } } } ``` Restart the client after editing. A plain alternative puts the key in the `env` block (`"command": "/ABSOLUTE/PATH/TO/uv"`, `"args": ["run", "--directory", "/Users/you/nasa-mcp", "nasa-mcp"]`, `"env": {"NASA_MCP_NASA__API_KEY": ""}`). That file then holds the key in plain text, so keep it private. If the server does not appear, run the launcher command in a terminal: errors such as a missing key file or an unknown path show up there. The server's own logs go to stderr, which the client usually writes to its MCP log. ## Streamable HTTP Start the server with `nasa-mcp --transport http` (127.0.0.1:8080 by default) and point the client at `http://127.0.0.1:8080/mcp`. The endpoint is stateless: no session header, plain JSON responses, `POST` only. Over HTTP the operator's key is used only when `NASA_MCP_NASA__ALLOW_KEY_IN_HTTP_MODE=true`. See [Transports](../mcp/transports.md). ---8<--- https://idss-mesa.github.io/nasa-mcp/getting-started/configuration/ --- title: "Configuration" description: "Every nasa-mcp setting with its environment variable, type and default; precedence is CLI flag, environment, YAML, default." type: Reference tags: - configuration - environment generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: config resource: "src/nasa_mcp/config.py" title: "nasa-mcp configuration model" author: "team:nasa-mcp" status: stable --- # Configuration Precedence: **command-line flag > environment > YAML file (`--config`) > default**. Environment variables are `NASA_MCP_
__`; `__` descends one level and list values are comma-separated. `.env` files are never loaded automatically (use `uv run --env-file .env` if you must, and keep that file out of version control). Setting one field of a nested section (for example `NASA_MCP_RATE__OVERRIDES__SSD__RPS=0.5`) keeps the defaults of the others. ```bash nasa-mcp --print-config # effective configuration, key shown as "***" or null nasa-mcp --config config.yaml # YAML file (see config.yaml.example) ``` Command-line flags: `--transport`, `--host`, `--port`, `--config`, `--log-level`, `--check`, `--live`, `--print-config`, `--version`. There is **no key flag**: the api.nasa.gov key is read only from `NASA_MCP_NASA__API_KEY`, and an `api_key` (or `token`) key in the YAML `nasa` section is a configuration error. Configuration errors name the setting, never its value, and exit with code 2. See [the api.nasa.gov key](api-key.md). The result budget (50 000 bytes) and hard cap (200 000 bytes) are fixed by convention. | Setting (YAML path) | Environment variable | Type | Default | Description | | --- | --- | --- | --- | --- | | `server.transport` | `NASA_MCP_SERVER__TRANSPORT` | `stdio` \| `http` | `stdio` | stdio or http. | | `server.host` | `NASA_MCP_SERVER__HOST` | str | `127.0.0.1` | HTTP bind address. | | `server.port` | `NASA_MCP_SERVER__PORT` | int | `8080` | HTTP port. | | `server.public_base_url` | `NASA_MCP_SERVER__PUBLIC_BASE_URL` | str \| null | unset | Public URL when behind a proxy. | | `server.allowed_hosts` | `NASA_MCP_SERVER__ALLOWED_HOSTS` | list[str] | `[]` | Extra Host values accepted (DNS-rebinding guard). | | `server.allowed_origins` | `NASA_MCP_SERVER__ALLOWED_ORIGINS` | list[str] | `[]` | Extra Origin values accepted. | | `server.dns_rebinding_protection` | `NASA_MCP_SERVER__DNS_REBINDING_PROTECTION` | bool | `true` | Validate Host/Origin headers. | | `server.json_response` | `NASA_MCP_SERVER__JSON_RESPONSE` | bool | `true` | Plain JSON responses instead of SSE. | | `server.log_level` | `NASA_MCP_SERVER__LOG_LEVEL` | str | `INFO` | DEBUG, INFO, WARNING or ERROR. | | `server.instructions_extra` | `NASA_MCP_SERVER__INSTRUCTIONS_EXTRA` | str \| null | unset | Text appended to the server instructions. | | `nasa.api_key (env only)` | `NASA_MCP_NASA__API_KEY` | SecretStr \| null | unset | api.nasa.gov key; environment only (NASA_MCP_NASA__API_KEY). | | `nasa.demo_key_fallback` | `NASA_MCP_NASA__DEMO_KEY_FALLBACK` | bool | `true` | Use DEMO_KEY (30 requests/hour per IP) when no key is set. | | `nasa.allow_key_in_http_mode` | `NASA_MCP_NASA__ALLOW_KEY_IN_HTTP_MODE` | bool | `false` | Let anonymous HTTP callers spend the operator's key; otherwise HTTP mode uses DEMO_KEY (DESIGN.md §8). | | `services.disabled` | `NASA_MCP_SERVICES__DISABLED` | list[str] | `[]` | Service ids to hide (their tools are not listed). | | `cache.max_entries` | `NASA_MCP_CACHE__MAX_ENTRIES` | int | `2048` | In-memory cached responses. | | `cache.ttl_s.default` | `NASA_MCP_CACHE__TTL_S__DEFAULT` | int | `3600` | Default response TTL (s). | | `cache.ttl_s.static` | `NASA_MCP_CACHE__TTL_S__STATIC` | int | `86400` | Slow-changing catalogs and capabilities (s). | | `cache.ttl_s.archive` | `NASA_MCP_CACHE__TTL_S__ARCHIVE` | int | `604800` | Past-dated, immutable records (s). | | `cache.stale_if_error_s` | `NASA_MCP_CACHE__STALE_IF_ERROR_S` | int | `86400` | Serve stale entries on errors (s). | | `cache.disk_dir` | `NASA_MCP_CACHE__DISK_DIR` | str \| null | unset | Optional gzip-JSON disk cache directory. | | `rate.default.rps` | `NASA_MCP_RATE__DEFAULT__RPS` | float | `2.0` | Requests per second. | | `rate.default.concurrency` | `NASA_MCP_RATE__DEFAULT__CONCURRENCY` | int | `2` | Requests in flight. | | `rate.overrides` | `NASA_MCP_RATE__OVERRIDES` | dict | `{}` | Per-service policy, keyed by service id. | | `limits.max_result_bytes` | `NASA_MCP_LIMITS__MAX_RESULT_BYTES` | int | `50000` | Result budget (fixed). | | `limits.hard_max_result_bytes` | `NASA_MCP_LIMITS__HARD_MAX_RESULT_BYTES` | int | `200000` | Hard result cap (fixed). | | `limits.tool_timeout_s` | `NASA_MCP_LIMITS__TOOL_TIMEOUT_S` | float | `90.0` | Per-tool wall clock (s). | | `limits.adql_max_rows` | `NASA_MCP_LIMITS__ADQL_MAX_ROWS` | int | `500` | Row cap for nasa_exoplanet_query (TOP n is enforced). | ---8<--- https://idss-mesa.github.io/nasa-mcp/getting-started/install/ --- title: "Install nasa-mcp on a new machine" description: "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." type: Guide tags: - install - uv - docker - reproducibility generated: by: "claude/opus-5.5" at: "2026-11-28T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" status: stable --- # Install nasa-mcp on a new machine This page takes a fresh machine to a running, verified server in about five minutes. Every dependency version comes from the hash-locked `uv.lock`, so two machines that follow these steps on the same release tag get identical environments. **Supported:** macOS and Linux (both tested in CI), and Windows through [WSL 2](https://learn.microsoft.com/windows/wsl/install){target=_blank}. Native Windows is untested. ## 1. Install the prerequisites You need `git` and [uv](https://docs.astral.sh/uv/){target=_blank} (0.5 or newer). You do **not** need to install Python yourself: uv downloads a matching interpreter. === "macOS" ```bash xcode-select --install # provides git, if not already installed brew install uv # or: curl -LsSf https://astral.sh/uv/install.sh | sh ``` === "Linux / WSL" ```bash sudo apt install git # or your distribution's package manager curl -LsSf https://astral.sh/uv/install.sh | sh # installs uv into ~/.local/bin ``` Without root, `pip install --user uv` also works. Check with `uv --version` and `git --version`. Open a new terminal if `uv` is not found: the installer adds `~/.local/bin` to your `PATH`. ## 2. Get the code at a pinned release ```bash git clone https://github.com/idss-mesa/nasa-mcp.git ~/nasa-mcp cd ~/nasa-mcp git checkout v0.1.0 # a release tag; omit to track the latest main ``` Release tags are listed on the [releases page](https://github.com/idss-mesa/nasa-mcp/tags){target=_blank}. Use the same tag on every machine you want to behave identically. ## 3. Create the locked environment ```bash uv sync --frozen --python 3.12 --managed-python ``` * `--frozen` installs exactly the versions and sha256 hashes in `uv.lock` and fails rather than resolving anything new. * `--python 3.12 --managed-python` uses a uv-managed CPython 3.12 (3.11-3.13 are supported) and not whatever Python is on the machine. This also avoids broken system or conda interpreters; for example, a conda Python whose `sqlite3` module fails to import breaks `mypy` and `coverage`, though not the server itself. The environment lives in `.venv/` inside the checkout. Nothing is installed globally. ## 4. Check it offline ```bash uv run nasa-mcp --check ``` You should see `"ok": true`, `"version": "0.1.0"` and 37 tool names. This needs no network and no key. ## 5. Add your NASA API key (recommended) Fourteen of the sixteen services need no key. NeoWs (asteroids) and InSight use the api.nasa.gov gateway; without a key they fall back to `DEMO_KEY`, which allows only about ten requests before a day-long block. Get a free key and store it in a private file outside the repository by following [The api.nasa.gov key](api-key.md). In short: ```bash mkdir -p ~/.config/nasa-mcp read -rs -p "Paste your NASA API key, then Enter: " K; echo printf 'NASA_MCP_NASA__API_KEY=%s\n' "$K" > ~/.config/nasa-mcp/env; unset K chmod 600 ~/.config/nasa-mcp/env ``` ## 6. Check it live ```bash set -a; . ~/.config/nasa-mcp/env; set +a uv run nasa-mcp --check --live ``` The output ends with `"ok": true`, and `ping.apiKey.mode` is `"personal"` when the key was read (`"demo"` means it was not; see [troubleshooting](api-key.md#troubleshooting)). `--live` makes one small request per service. ## 7. Connect your MCP client See [Connect an MCP client](clients.md) for Claude Code, Claude Desktop and HTTP clients, including a launcher that reads the key from the file above, so no client config ever contains it. ## Updating ```bash cd ~/nasa-mcp git fetch --tags && git checkout v0.2.0 # the new tag uv sync --frozen --python 3.12 --managed-python uv run nasa-mcp --check ``` Your key file and client registrations do not change. ## Alternatives ### As a uv tool (no checkout kept) ```bash uv tool install --python 3.12 git+https://github.com/idss-mesa/nasa-mcp@v0.1.0 nasa-mcp --version ``` Unlike `uv sync --frozen`, this resolves dependencies within the ranges in `pyproject.toml`, not from `uv.lock`, so it is less strictly reproducible. ### As a container ```bash docker build -t nasa-mcp:0.1.0 . docker run --rm -i nasa-mcp:0.1.0 nasa-mcp --transport stdio # stdio docker run --rm -p 127.0.0.1:8080:8080 nasa-mcp:0.1.0 # HTTP on :8080/mcp docker run --rm -i --env-file ~/.config/nasa-mcp/env nasa-mcp:0.1.0 nasa-mcp --transport stdio ``` The image pins its base images by digest, installs from `uv.lock` with hash checking, runs as uid 10001, serves stateless Streamable HTTP on port 8080 by default and has a `HEALTHCHECK` on `/healthz`. Over HTTP a key is used only with `NASA_MCP_NASA__ALLOW_KEY_IN_HTTP_MODE=true` ([why](api-key.md#over-http)). ---8<--- https://idss-mesa.github.io/nasa-mcp/getting-started/quickstart/ --- title: "Quickstart" description: "Six tool calls that check the server, list the NASA services, and fetch APOD, space weather, natural events and asteroids." type: Tutorial tags: - quickstart - apod - donki - eonet generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" status: stable --- # Quickstart Ask your agent to make these calls, or send them from any MCP client. 1. **Check the server.** `nasa_ping({})` returns the version, protocol version, transport and `apiKey.mode` (`personal`, `demo` or `none`; the value is never shown). With `{"check_upstream": true}` it pings every service once (that spends two api.nasa.gov requests). 2. **See what is there.** `nasa_list_services({})` lists the 16 services with hosts, key use, docs URL, citation, caveats and tool names. No network call. 3. **Today's picture.** `nasa_apod_get({})` returns the latest Astronomy Picture of the Day: title, `imageUrl` (or `videoUrl`), the article link, `credit` and the explanation. For a day: `{"date": "2024-01-01"}`; for a range: `{"start_date": "2026-11-01", "end_date": "2026-11-27"}` (25 per page, newest first). APOD images are often copyrighted: credit the author named in `credit`. 4. **Space weather.** `nasa_donki_events({"event_type": "FLR"})` lists solar flares of the last 30 days with class and peak time; `nasa_donki_notifications({"days": 7})` gives the forecasters' messages. Or use the `nasa_space_weather_briefing` prompt. 5. **Natural events on satellite imagery.** `nasa_eonet_events({"category": "wildfires", "days": 14, "limit": 5})` returns open wildfire events with their last geometry. Pass an event's coordinates and date to `nasa_gibs_snapshot_url({"layer": "MODIS_Terra_CorrectedReflectance_TrueColor", "bbox": {"west": -120, "south": 30, "east": -105, "north": 40}, "date": "2026-11-20"})` for a ready-to-open WMS image URL and a Worldview link (no download). 6. **Asteroids.** `nasa_ssd_close_approaches({})` lists close approaches in the next 60 days (keyless, JPL). `nasa_neo_feed({})` gives the same week from NeoWs with size and hazard flags; it spends api.nasa.gov quota, so set a [personal key](api-key.md) first. Every result carries `source.citation`; quote it when you present the data. Follow `nextSteps` for the natural next call. ---8<--- https://idss-mesa.github.io/nasa-mcp/tools/conventions/ --- title: "Conventions" description: "How nasa-mcp tools handle dates, units, URLs instead of bytes, paging and the 50 KB budget, the result envelope and errors." type: Reference tags: - conventions - dates - units - paging - errors generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" status: stable --- # Conventions ## Names Tools are named `nasa__` (`^nasa_[a-z_]+$`, enforced at registration). Service tokens are short: `neo` for NeoWs and `ssc` for SSCWeb; the others equal the service id. Every description ends with a `Next:` sentence naming the natural next call. ## Dates and times * Inputs take **`YYYY-MM-DD` (UTC)**. The server converts to each upstream's own format: YYMMDD for APOD, `yyyy-MM-dd` for DONKI, basic ISO 8601 (`20261127T000000Z`) for SSCWeb. SSCWeb's `start` and `end` take full ISO 8601 UTC times. * Dates are validated before any request, because DONKI, EPIC and EONET silently ignore a bad date and return a default window, an empty list or everything. * Defaults that the server fills in (today, a 30-day window, the latest image day) are listed in `resolved`. * Output times are ISO 8601 UTC unless a field says otherwise: JPL close-approach times are TDB as published. ## Units Numbers that upstream sends as strings (NeoWs, JPL SSD) are converted to numbers. Field names or descriptions carry the unit: `missDistanceKm`, `relativeVelocityKmS`, `distAu`, `vRelKmS`, `windSpeedMS`, `pressurePa`, energies in J and kt, Exoplanet radii in Earth radii and distances in parsecs (the `units` map of `nasa_exoplanet_search`). 1 lunar distance = 0.00257 au. ## URLs, not bytes Image, video, tile and data-file tools return **URLs**; the server never downloads or proxies media. APOD `imageUrl`/`videoUrl`, EPIC archive PNG/JPG/thumbnail URLs, Image Library renditions, GIBS WMS and Worldview URLs, Trek tile templates and sample tiles, OSDR download URLs. `http://` links from upstream are rewritten to `https://`. Show them to the user, or let the client fetch them. ## Paging and the result budget * List tools take `offset`/`limit` (or the upstream's own `page`/`size`, documented per tool) and return `page = {total, returned, offset, limit, truncated, nextOffset, truncatedReason}`. * A result is trimmed to a **50 000-byte budget** by dropping items from the tail of its main list (`truncatedReason: "budget"`, with a `nextSteps` line saying how to get the rest). A **200 000-byte hard cap** returns `result_too_large`. * Some upstreams return every match at once (TechTransfer, Sentry, NHATS); the server pages those locally. ## The envelope Every result has `resolved`, `notes`, `nextSteps` and `source = {endpoints, via, cached, derived, citation}`: * `source.endpoints` are the upstream URLs, **redacted** (`api_key=***`). * `source.citation` is the credit line for the service. Quote it. * `notes` carry service caveats that are never trimmed: InSight is a frozen archive, TLE is a third-party host, APOD images may be copyrighted, DEMO_KEY is in use. * Result `_meta["io.nasa-mcp/upstream"] = {requests, cacheHits, apiNasaGovRateLimit?}`. ## Errors Errors are tool results with `isError: true` whose text is `{"error": {"code", "message", "details", "hint"?}}`; they carry no `structuredContent`. Codes: `invalid_argument`, `not_found`, `auth_required`, `upstream_forbidden`, `rate_limited`, `upstream_error`, `upstream_unavailable`, `feature_unavailable`, `not_available_in_http_mode`, `query_too_large`, `result_too_large`, `download_limit_exceeded`, `unknown_tool`, `internal_error`. Specifics go in `details.reason`. Upstream quirks are mapped to these codes: JPL SBDB "not found" with HTTP 200 is `not_found`, and its HTTP 300 "ambiguous" is `invalid_argument` with the candidate list; SSCWeb's HTTP-200 `StatusCode: ERROR` is `invalid_argument` with the `StatusSubCode`; the Exoplanet Archive's HTTP 400 VOTable error is `invalid_argument` with the `QUERY_STATUS` text; OSDR `hits: 0` and a missing APOD day are `not_found`; an api.nasa.gov 429 is `rate_limited` with `retryAfterS`. ---8<--- https://idss-mesa.github.io/nasa-mcp/tools/reference/ --- title: "Tool reference" description: "Every nasa-mcp tool with its inputs, bounds, result fields, upstream endpoints and annotations, generated from the registry." type: MCP Tool Reference tags: - tools - reference generated: by: "process:scripts/gen_tools_reference.py" at: "2026-11-28T00:00:00Z" sources: - id: registry resource: "src/nasa_mcp/registry.py" title: "nasa-mcp tool registry" author: "team:nasa-mcp" status: stable --- # Tool reference Generated from the tool registry by `scripts/gen_tools_reference.py`; do not edit by hand. Every result also carries the envelope fields `resolved`, `notes`, `nextSteps` and `source`. Errors are tool results with `isError: true` whose text content is the JSON `{error: {code, message, details, hint?}}`; they carry no `structuredContent` (it must match the success-shaped `outputSchema`). | Tool | Title | Service | api.nasa.gov key | | --- | --- | --- | --- | | [`nasa_apod_get`](#nasa_apod_get) | Astronomy Picture of the Day | `apod` | no | | [`nasa_donki_events`](#nasa_donki_events) | DONKI space-weather events | `donki` | no | | [`nasa_donki_notifications`](#nasa_donki_notifications) | DONKI forecaster notifications | `donki` | no | | [`nasa_eonet_categories`](#nasa_eonet_categories) | EONET event categories | `eonet` | no | | [`nasa_eonet_events`](#nasa_eonet_events) | EONET natural events | `eonet` | no | | [`nasa_epic_available_dates`](#nasa_epic_available_dates) | Days with EPIC imagery | `epic` | no | | [`nasa_epic_images`](#nasa_epic_images) | EPIC full-disc Earth images | `epic` | no | | [`nasa_exoplanet_query`](#nasa_exoplanet_query) | Run an ADQL query on the Exoplanet Archive | `exoplanet` | no | | [`nasa_exoplanet_search`](#nasa_exoplanet_search) | Search confirmed exoplanets | `exoplanet` | no | | [`nasa_gibs_list_layers`](#nasa_gibs_list_layers) | GIBS imagery layers | `gibs` | no | | [`nasa_gibs_snapshot_url`](#nasa_gibs_snapshot_url) | GIBS snapshot image URL | `gibs` | no | | [`nasa_images_asset`](#nasa_images_asset) | NASA Image Library asset files | `images` | no | | [`nasa_images_search`](#nasa_images_search) | Search the NASA Image and Video Library | `images` | no | | [`nasa_insight_weather`](#nasa_insight_weather) | InSight Mars weather (archived) | `insight` | yes | | [`nasa_list_services`](#nasa_list_services) | List NASA services and tools | `core` | no | | [`nasa_neo_browse`](#nasa_neo_browse) | Browse the NeoWs asteroid catalog | `neows` | yes | | [`nasa_neo_feed`](#nasa_neo_feed) | Near-Earth objects passing Earth (NeoWs feed) | `neows` | yes | | [`nasa_neo_lookup`](#nasa_neo_lookup) | One near-Earth object (NeoWs lookup) | `neows` | yes | | [`nasa_osdr_files`](#nasa_osdr_files) | OSDR study data files | `osdr` | no | | [`nasa_osdr_search`](#nasa_osdr_search) | Search NASA OSDR space-biology studies | `osdr` | no | | [`nasa_osdr_study`](#nasa_osdr_study) | One OSDR study | `osdr` | no | | [`nasa_ping`](#nasa_ping) | Ping nasa-mcp | `core` | no | | [`nasa_ssc_locations`](#nasa_ssc_locations) | Spacecraft locations (SSCWeb) | `sscweb` | no | | [`nasa_ssc_observatories`](#nasa_ssc_observatories) | SSCWeb observatories (spacecraft) | `sscweb` | no | | [`nasa_ssd_close_approaches`](#nasa_ssd_close_approaches) | JPL close approaches (CNEOS CAD) | `ssd` | no | | [`nasa_ssd_fireballs`](#nasa_ssd_fireballs) | Fireballs (bolides) reported by US government sensors | `ssd` | no | | [`nasa_ssd_nhats`](#nasa_ssd_nhats) | NHATS human-accessible asteroids | `ssd` | no | | [`nasa_ssd_sbdb_lookup`](#nasa_ssd_sbdb_lookup) | JPL Small-Body Database lookup | `ssd` | no | | [`nasa_ssd_scout`](#nasa_ssd_scout) | Scout: unconfirmed NEO candidates | `ssd` | no | | [`nasa_ssd_sentry`](#nasa_ssd_sentry) | Sentry impact-risk monitoring | `ssd` | no | | [`nasa_techport_project`](#nasa_techport_project) | One TechPort project | `techport` | no | | [`nasa_techport_projects`](#nasa_techport_projects) | TechPort projects updated since a date | `techport` | no | | [`nasa_techtransfer_search`](#nasa_techtransfer_search) | NASA TechTransfer patents, software and spinoffs | `techtransfer` | no | | [`nasa_tle_get`](#nasa_tle_get) | Two-line element set for one satellite | `tle` | no | | [`nasa_tle_search`](#nasa_tle_search) | Search two-line element sets | `tle` | no | | [`nasa_trek_list_layers`](#nasa_trek_list_layers) | Solar System Trek map layers | `trek` | no | | [`nasa_trek_tile_url`](#nasa_trek_tile_url) | Trek layer WMTS tile URLs | `trek` | no | ## nasa_apod_get **Astronomy Picture of the Day.** 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. - Service: `apod`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://science.nasa.gov/wp-json/wp/v2/apod-basic`, `https://science.nasa.gov/wp-json/wp/v2/apod-basic/{YYMMDD}`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `date` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | One day (default: the latest picture). | | `start_date` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | First day of a range (newest first). | | `end_date` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | Last day of a range (default today). | | `page` | integer | no | `1` | >= 1; <= 1000 | Range page (25 per page). | | `include_explanation` | boolean | no | `true` | | Include the explanation text. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `pictures`, `page`. ## nasa_donki_events **DONKI space-weather events.** 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. - Service: `donki`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://ccmc.gsfc.nasa.gov/DONKI-API/get/{event_type}`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `event_type` | `FLR` \| `CME` \| `CMEAnalysis` \| `GST` \| `IPS` \| `SEP` \| `MPC` \| `RBE` \| `HSS` \| `WSAEnlilSimulations` | yes | | | FLR flares, CME, CMEAnalysis, GST geomagnetic storms, IPS interplanetary shocks, SEP, MPC magnetopause crossings, RBE radiation belt enhancements, HSS high-speed streams, WSAEnlilSimulations. | | `start_date` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | First day (default end_date - 29 days). | | `end_date` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | Last day (default today). | | `most_accurate_only` | boolean | no | `true` | | CMEAnalysis only: keep the most accurate analysis per CME. | | `limit` | integer | no | `50` | >= 1; <= 500 | Most events to return (newest first). | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `eventType`, `title`, `window`, `events`, `page`. ## nasa_donki_notifications **DONKI forecaster notifications.** 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. - Service: `donki`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://ccmc.gsfc.nasa.gov/DONKI-API/get/notifications`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `days` | integer \| null | no | `null` | >= 1; <= 30 | The last N days (default 7). Ignored with start_date. | | `start_date` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | First day (window at most 30 days). | | `end_date` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | Last day (default today). | | `type` | `all` \| `FLR` \| `SEP` \| `CME` \| `IPS` \| `MPC` \| `GST` \| `RBE` \| `report` | no | `"all"` | | Notification type; report = weekly summaries. | | `include_body` | boolean | no | `false` | | Include each message body (truncated to 2,000 characters). | | `limit` | integer | no | `20` | >= 1; <= 200 | Most notifications to return. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `window`, `notifications`, `page`. ## nasa_eonet_categories **EONET event categories.** List EONET natural-event categories (id, title, description), the values nasa_eonet_events accepts for category. Next: call nasa_eonet_events(category=...). - Service: `eonet`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://eonet.gsfc.nasa.gov/api/v3/categories`. No arguments. Result fields: `resolved`, `notes`, `nextSteps`, `source`, `categories`. ## nasa_eonet_events **EONET natural events.** 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. - Service: `eonet`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://eonet.gsfc.nasa.gov/api/v3/events`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `category` | `drought` \| `dustHaze` \| `earthquakes` \| `floods` \| `landslides` \| `manmade` \| `seaLakeIce` \| `severeStorms` \| `snow` \| `tempExtremes` \| `volcanoes` \| `waterColor` \| `wildfires` \| null | no | `null` | | EONET category id. | | `status` | `open` \| `closed` \| `all` | no | `"open"` | | open = ongoing; closed = ended; all = both. | | `days` | integer \| null | no | `null` | >= 1; <= 3650 | Only events with a geometry in the last N days. | | `start_date` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | Events active on or after this date. | | `end_date` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | Events active on or before this date. | | `bbox` | object (BBox) \| null | no | `null` | | Only events with a geometry inside this box. | | `source` | string \| null | no | `null` | len <= 40 | Source id(s), comma-separated (e.g. InciWeb,GDACS). | | `limit` | integer | no | `20` | >= 1; <= 200 | Most events to return. | | `geometry` | `last` \| `all` \| `none` | no | `"last"` | | last = most recent point/polygon only; all = every geometry (large); none = omit coordinates. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `events`, `page`. ## nasa_epic_available_dates **Days with EPIC imagery.** 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=...). - Service: `epic`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://epic.gsfc.nasa.gov/api/{collection}/available`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `collection` | `natural` \| `enhanced` \| `aerosol` \| `cloud` | no | `"natural"` | | EPIC collection. | | `year` | integer \| null | no | `null` | >= 2015; <= 2100 | Only dates in this year. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `collection`, `count`, `first`, `last`, `dates`. ## nasa_epic_images **EPIC full-disc Earth images.** 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. - Service: `epic`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://epic.gsfc.nasa.gov/api/{collection}`, `https://epic.gsfc.nasa.gov/api/{collection}/date/{date}`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `collection` | `natural` \| `enhanced` \| `aerosol` \| `cloud` | no | `"natural"` | | natural or enhanced color; aerosol or cloud products. | | `date` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | Day of imagery (default: the latest day). | | `limit` | integer | no | `24` | >= 1; <= 50 | Most images to return (about 12-22 per day). | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `collection`, `date`, `images`, `page`. ## nasa_exoplanet_query **Run an ADQL query on the Exoplanet Archive.** 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. - Service: `exoplanet`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://exoplanetarchive.ipac.caltech.edu/TAP/sync`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `adql` | string | yes | | len >= 10; len <= 4000 | One ADQL SELECT against archive tables (ps, pscomppars, stellarhosts, toi, k2pandc, ...). Rows are capped at the server limit (TAP maxrec). | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `adql`, `rowCap`, `rows`. ## nasa_exoplanet_search **Search confirmed exoplanets.** 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. - Service: `exoplanet`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://exoplanetarchive.ipac.caltech.edu/TAP/sync`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `planet_name` | string \| null | no | `null` | len <= 64 | Planet name; % wildcards allowed (e.g. 'TRAPPIST-1%'). | | `hostname` | string \| null | no | `null` | len <= 64 | Host star name, e.g. Kepler-186. | | `discovery_method` | `Transit` \| `Radial Velocity` \| `Microlensing` \| `Imaging` \| `Transit Timing Variations` \| `Eclipse Timing Variations` \| `Orbital Brightness Modulation` \| `Pulsar Timing` \| `Astrometry` \| `Pulsation Timing Variations` \| `Disk Kinematics` \| null | no | `null` | | Discovery method. | | `disc_year_min` | integer \| null | no | `null` | >= 1989; <= 2100 | Earliest discovery year. | | `disc_year_max` | integer \| null | no | `null` | >= 1989; <= 2100 | Latest discovery year. | | `radius_min_earth` | number \| null | no | `null` | >= 0 | Smallest radius (Earth radii). | | `radius_max_earth` | number \| null | no | `null` | >= 0 | Largest radius (Earth radii). | | `period_max_days` | number \| null | no | `null` | | Longest orbital period (days). | | `eqt_min_k` | number \| null | no | `null` | >= 0 | Lowest equilibrium temperature (K). | | `eqt_max_k` | number \| null | no | `null` | >= 0 | Highest equilibrium temperature (K). | | `distance_max_pc` | number \| null | no | `null` | | Farthest system (parsecs). | | `sort` | `disc_year` \| `pl_name` \| `sy_dist` \| `pl_rade` \| `pl_orbper` | no | `"sy_dist"` | | Sort column; planets without a value in it are left out. | | `descending` | boolean | no | `false` | | Sort descending. | | `limit` | integer | no | `25` | >= 1; <= 500 | Most planets to return. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `table`, `adql`, `units`, `planets`. ## nasa_gibs_list_layers **GIBS imagery layers.** 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=...). - Service: `gibs`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://gibs.earthdata.nasa.gov/wmts/{projection}/best/1.0.0/WMTSCapabilities.xml`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `search` | string \| null | no | `null` | len <= 80 | Words that must all appear in the layer id or title (e.g. 'viirs true color'). | | `projection` | `epsg4326` \| `epsg3857` \| `epsg3413` \| `epsg3031` | no | `"epsg4326"` | | epsg4326 geographic; epsg3857 web mercator; epsg3413 Arctic; epsg3031 Antarctic. | | `offset` | integer | no | `0` | >= 0 | Index of the first layer. | | `limit` | integer | no | `25` | >= 1; <= 200 | Most layers to return. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `projection`, `layers`, `page`. ## nasa_gibs_snapshot_url **GIBS snapshot image URL.** 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. - Service: `gibs`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://gibs.earthdata.nasa.gov/wms/epsg4326/best/wms.cgi`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `layer` | string | yes | | pattern `^[A-Za-z0-9_\-.]{1,120}$` | GIBS layer id, e.g. MODIS_Terra_CorrectedReflectance_TrueColor. | | `bbox` | object (BBox) | yes | | | Area to show (degrees, WGS84). | | `date` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | Imagery date (default yesterday, UTC). | | `width` | integer | no | `1024` | >= 64; <= 4096 | Image width (pixels). | | `height` | integer \| null | no | `null` | >= 64; <= 4096 | Image height (default keeps the bbox aspect ratio). | | `image_format` | `image/jpeg` \| `image/png` | no | `"image/jpeg"` | | jpeg for imagery, png for transparent overlays. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `layer`, `date`, `wmsUrl`, `worldviewUrl`, `width`, `height`. ## nasa_images_asset **NASA Image Library asset files.** 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. - Service: `images`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://images-api.nasa.gov/asset/{nasa_id}`, `https://images-api.nasa.gov/metadata/{nasa_id}`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `nasa_id` | string | yes | | pattern `^[A-Za-z0-9_.\-]{1,120}$` | nasa_id from nasa_images_search. | | `include_metadata` | boolean | no | `false` | | Also fetch the AVAIL:* catalog metadata (one more request). | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `nasaId`, `files`, `metadata`. ## nasa_images_search **Search the NASA Image and Video Library.** 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. - Service: `images`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://images-api.nasa.gov/search`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `q` | string \| null | no | `null` | len <= 200 | Free-text search terms. | | `media_type` | array of `image` \| `video` \| `audio` \| null | no | `null` | items >= 1 | Media types to include (default all). | | `center` | string \| null | no | `null` | len <= 20 | NASA center, e.g. JPL, GSFC, KSC. | | `keywords` | array of string \| null | no | `null` | items <= 10 | Every keyword must match (e.g. ['mars', 'rover']). | | `photographer` | string \| null | no | `null` | len <= 100 | Photographer name. | | `year_start` | integer \| null | no | `null` | >= 1900; <= 2100 | First year created. | | `year_end` | integer \| null | no | `null` | >= 1900; <= 2100 | Last year created. | | `page` | integer | no | `1` | >= 1; <= 100 | Result page (1-based). | | `page_size` | integer | no | `20` | >= 1; <= 100 | Items per page. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `items`, `page`. ## nasa_insight_weather **InSight Mars weather (archived).** 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. - Service: `insight`; transports: http, stdio; key: spends api.nasa.gov quota (NASA_MCP_NASA__API_KEY or DEMO_KEY). - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://api.nasa.gov/insight_weather/`. No arguments. Result fields: `resolved`, `notes`, `nextSteps`, `source`, `sols`, `frozen`. ## nasa_list_services **List NASA services and tools.** 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. - Service: `core`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: none (local). | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `service` | string \| null | no | `null` | | Only this service id (e.g. donki). Default: every service. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `services`. ## nasa_neo_browse **Browse the NeoWs asteroid catalog.** 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. - Service: `neows`; transports: http, stdio; key: spends api.nasa.gov quota (NASA_MCP_NASA__API_KEY or DEMO_KEY). - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://api.nasa.gov/neo/rest/v1/neo/browse`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `page` | integer | no | `0` | >= 0; <= 100000 | Page number (0-based, NeoWs style). | | `size` | integer | no | `20` | >= 1; <= 20 | Objects per page (NeoWs maximum 20). | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `objects`, `page`. ## nasa_neo_feed **Near-Earth objects passing Earth (NeoWs feed).** 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=...). - Service: `neows`; transports: http, stdio; key: spends api.nasa.gov quota (NASA_MCP_NASA__API_KEY or DEMO_KEY). - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://api.nasa.gov/neo/rest/v1/feed`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `start_date` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | First day (default today). | | `end_date` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | Last day (default start_date + 6; at most 7 days in all). | | `hazardous_only` | boolean | no | `false` | | Only potentially hazardous asteroids. | | `sort` | `date` \| `miss_distance` \| `size` | no | `"date"` | | Sort order. | | `limit` | integer | no | `50` | >= 1; <= 300 | Most objects to return. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `window`, `elementCount`, `objects`, `page`. ## nasa_neo_lookup **One near-Earth object (NeoWs lookup).** 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. - Service: `neows`; transports: http, stdio; key: spends api.nasa.gov quota (NASA_MCP_NASA__API_KEY or DEMO_KEY). - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://api.nasa.gov/neo/rest/v1/neo/{asteroid_id}`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `asteroid_id` | string | yes | | pattern `^\d{1,10}$` | JPL SPK-ID (e.g. 3542519 or 2000433 for Eros). | | `approaches_from` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | Only approaches on or after this date (default 10 years ago). | | `approaches_to` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | Only approaches on or before this date (default 10 years ahead). | | `max_approaches` | integer | no | `20` | >= 0; <= 200 | Most approaches to return. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `object`, `orbit`, `approachCountTotal`. ## nasa_osdr_files **OSDR study data files.** 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. - Service: `osdr`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://osdr.nasa.gov/osdr/data/osd/files/{n}`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `accession` | string | yes | | pattern `^(OSD-)?\d{1,5}$` | OSD accession, e.g. OSD-87. | | `category` | string \| null | no | `null` | len <= 80 | Only files whose category contains this text. | | `limit` | integer | no | `50` | >= 1; <= 500 | Most files to return. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `accession`, `fileCount`, `files`. ## nasa_osdr_search **Search NASA OSDR space-biology studies.** 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=...). - Service: `osdr`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://osdr.nasa.gov/osdr/data/search`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `term` | string | yes | | len >= 1; len <= 100 | Search terms (e.g. 'mouse liver'). | | `source_type` | `cgene` \| `nih_geo_gse` \| `ebi_pride` \| `mg_rast` | no | `"cgene"` | | cgene = OSDR/GeneLab studies; or the federated GEO, PRIDE or MG-RAST indexes. | | `offset` | integer | no | `0` | >= 0; <= 10000 | Index of the first hit. | | `limit` | integer | no | `10` | >= 1; <= 25 | Hits per page (OSDR maximum 25). | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `studies`, `page`. ## nasa_osdr_study **One OSDR study.** 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. - Service: `osdr`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://osdr.nasa.gov/osdr/data/osd/meta/{n}`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `accession` | string | yes | | pattern `^(OSD-)?\d{1,5}$` | OSD accession, e.g. OSD-87 or 87. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `accession`, `title`, `description`, `releaseDate`, `factors`, `assays`, `organisms`, `people`, `publications`, `url`. ## nasa_ping **Ping nasa-mcp.** 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. - Service: `core`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: none (local). | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `check_upstream` | boolean | no | `false` | | Make one tiny live request per enabled service and report latency (spends 2 api.nasa.gov key requests: NeoWs and InSight). | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `server`, `apiKey`, `services`, `upstream`. ## nasa_ssc_locations **Spacecraft locations (SSCWeb).** 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. - Service: `sscweb`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://sscweb.gsfc.nasa.gov/WS/sscr/2/locations/{observatories}/{start},{end}/{coords}/`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `observatories` | array of string | yes | | items >= 1; items <= 5 | Observatory ids from nasa_ssc_observatories. | | `start` | string | yes | | | Start time, ISO 8601 UTC (e.g. 2026-11-01T00:00:00Z). | | `end` | string | yes | | | End time, ISO 8601 UTC; at most 2 days after start. | | `coordinates` | array of `geo` \| `gm` \| `gse` \| `gsm` \| `sm` \| `geitod` \| `geij2000` | no | | items >= 1; items <= 3 | Coordinate systems: geo, gm, gse, gsm, sm, geitod, geij2000. | | `max_points` | integer | no | `200` | >= 1; <= 2000 | Keep at most this many evenly spaced points per craft. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `locations`. ## nasa_ssc_observatories **SSCWeb observatories (spacecraft).** 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], ...). - Service: `sscweb`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://sscweb.gsfc.nasa.gov/WS/sscr/2/observatories`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `search` | string \| null | no | `null` | len <= 40 | Case-insensitive text in the id or name (e.g. 'mms'). | | `active_on` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | Only observatories with data that day. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `observatories`. ## nasa_ssd_close_approaches **JPL close approaches (CNEOS CAD).** 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. - Service: `ssd`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://ssd-api.jpl.nasa.gov/cad.api`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `date_min` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | First day (default today). | | `date_max` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | Last day (default date_min + 60 days). | | `dist_max_au` | number | no | `0.05` | <= 1.0 | Largest nominal approach distance (au; 1 LD = 0.00257 au). | | `body` | `Earth` \| `Moon` \| `Merc` \| `Venus` \| `Mars` \| `Juptr` \| `ALL` | no | `"Earth"` | | Body approached (JPL short names). | | `designation` | string \| null | no | `null` | len <= 40 | Only this object (e.g. 99942 or 2024 YR4). | | `pha_only` | boolean | no | `false` | | Only potentially hazardous asteroids. | | `sort` | `date` \| `dist` \| `v-rel` \| `h` | no | `"date"` | | Sort key. | | `limit` | integer | no | `50` | >= 1; <= 500 | Most approaches to return. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `body`, `window`, `approaches`, `page`. ## nasa_ssd_fireballs **Fireballs (bolides) reported by US government sensors.** 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. - Service: `ssd`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://ssd-api.jpl.nasa.gov/fireball.api`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `date_min` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | First day (default: no lower bound). | | `date_max` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | Last day (default: no upper bound). | | `energy_min_kt` | number \| null | no | `null` | >= 0 | Smallest estimated impact energy (kilotons TNT). | | `require_location` | boolean | no | `false` | | Only events with a latitude/longitude. | | `limit` | integer | no | `20` | >= 1; <= 500 | Most events to return (newest first). | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `fireballs`, `page`. ## nasa_ssd_nhats **NHATS human-accessible asteroids.** 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. - Service: `ssd`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://ssd-api.jpl.nasa.gov/nhats.api`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `designation` | string \| null | no | `null` | len <= 40 | One object: its NHATS trajectory summary. | | `max_dv_km_s` | `4` \| `5` \| `6` \| `7` \| `8` \| `9` \| `10` \| `11` \| `12` | no | `12` | | Largest total mission delta-v (km/s). | | `max_duration_days` | `60` \| `90` \| `120` \| `150` \| `180` \| `210` \| `240` \| `270` \| `300` \| `330` \| `360` \| `390` \| `420` \| `450` | no | `450` | | Longest round-trip mission (days). | | `limit` | integer | no | `50` | >= 1; <= 500 | Most objects to return (list mode). | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `mode`, `objects`, `page`. ## nasa_ssd_sbdb_lookup **JPL Small-Body Database lookup.** 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=...). - Service: `ssd`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://ssd-api.jpl.nasa.gov/sbdb.api`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `designation` | string | yes | | len >= 1; len <= 60 | Designation, number, name or SPK-ID (e.g. 433, Eros, 2024 YR4, 3542519). | | `physical` | boolean | no | `true` | | Include physical parameters (H, diameter, albedo...). | | `close_approaches` | boolean | no | `false` | | Include close-approach records (Earth). | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `fullname`, `designation`, `spkid`, `kind`, `orbitClass`, `neo`, `pha`, `epochJd`, `moidAu`, `elements`, `physical`, `closeApproaches`. ## nasa_ssd_scout **Scout: unconfirmed NEO candidates.** 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. - Service: `ssd`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://ssd-api.jpl.nasa.gov/scout.api`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `object_name` | string \| null | no | `null` | len <= 20 | One NEOCP temporary designation (e.g. P21Eolp). | | `limit` | integer | no | `50` | >= 1; <= 500 | Most objects to return (list mode). | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `mode`, `objects`, `page`. ## nasa_ssd_sentry **Sentry impact-risk monitoring.** 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. - Service: `ssd`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://ssd-api.jpl.nasa.gov/sentry.api`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `designation` | string \| null | no | `null` | len <= 40 | One object (e.g. 101955 or 2023 DW): its virtual impactors. Default: the list of objects currently on the Sentry risk table. | | `ps_min` | number \| null | no | `null` | >= -20; <= 5 | List mode: smallest cumulative Palermo scale. | | `ip_min` | number \| null | no | `null` | <= 1 | List mode: smallest cumulative impact probability. | | `h_max` | number \| null | no | `null` | | List mode: largest absolute magnitude H. | | `limit` | integer | no | `50` | >= 1; <= 500 | Most rows to return. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `mode`, `objects`, `virtualImpactors`, `removedOn`, `page`. ## nasa_techport_project **One TechPort project.** 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. - Service: `techport`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://techport.nasa.gov/api/projects/{project_id}`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `project_id` | integer | yes | | >= 1; <= 10000000 | TechPort project id. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `projectId`, `title`, `status`, `startDate`, `endDate`, `program`, `leadOrganization`, `trl`, `taxonomy`, `description`, `benefits`, `states`, `url`. ## nasa_techport_projects **TechPort projects updated since a date.** 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. - Service: `techport`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://techport.nasa.gov/api/projects`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `updated_since` | string \| null | no | `null` | pattern `^\d{4}-\d{2}-\d{2}$` | Projects updated on or after this date (default 7 days ago). | | `offset` | integer | no | `0` | >= 0 | Index of the first project id to return. | | `limit` | integer | no | `100` | >= 1; <= 1000 | Most project ids to return. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `updatedSince`, `projects`, `page`. ## nasa_techtransfer_search **NASA TechTransfer patents, software and spinoffs.** 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. - Service: `techtransfer`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://technology.nasa.gov/api/query/{category}/{query}`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `query` | string | yes | | len >= 2; len <= 60; pattern `^[A-Za-z0-9 .\-]+$` | Search term. | | `category` | `patent` \| `patent_issued` \| `software` \| `spinoff` | no | `"patent"` | | patent (available to license), patent_issued, software, spinoff. | | `offset` | integer | no | `0` | >= 0 | Index of the first result. | | `limit` | integer | no | `10` | >= 1; <= 100 | Most results to return. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `category`, `items`, `page`. ## nasa_tle_get **Two-line element set for one satellite.** 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). - Service: `tle`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://tle.ivanstanojevic.me/api/tle/{satellite_id}`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `satellite_id` | integer | yes | | >= 1; <= 999999999 | NORAD id (ISS = 25544). | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `tle`. ## nasa_tle_search **Search two-line element sets.** 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. - Service: `tle`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://tle.ivanstanojevic.me/api/tle/`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `search` | string | yes | | len >= 1; len <= 60 | Satellite name text, e.g. ISS. | | `page` | integer | no | `1` | >= 1; <= 500 | Result page (1-based). | | `page_size` | integer | no | `20` | >= 1; <= 100 | Items per page. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `satellites`, `page`. ## nasa_trek_list_layers **Solar System Trek map layers.** 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. - Service: `trek`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://trek.nasa.gov/{body}/TrekServices/ws/index/eq/searchItems`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `body` | `moon` \| `mars` \| `vesta` | yes | | | moon, mars or vesta. | | `search` | string \| null | no | `null` | pattern `^[A-Za-z0-9 _.\-]{1,60}$` | Text in the layer title or label (e.g. 'WAC', 'HiRISE', 'elevation'). | | `offset` | integer | no | `0` | >= 0 | Index of the first layer. | | `limit` | integer | no | `20` | >= 1; <= 100 | Most layers to return. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `body`, `layers`, `page`. ## nasa_trek_tile_url **Trek layer WMTS tile URLs.** 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. - Service: `trek`; transports: http, stdio; key: none. - Annotations: readOnly=true, destructive=false, idempotent=true, openWorld=true. - Upstream: `https://trek.nasa.gov/{body}/TrekServices/ws/index/getLayerServices`, `https://trek.nasa.gov/tiles/{Body}/EQ/{layer}/1.0.0/WMTSCapabilities.xml`. | Argument | Type | Required | Default | Bounds | Description | | --- | --- | --- | --- | --- | --- | | `body` | `moon` \| `mars` \| `vesta` | yes | | | moon, mars or vesta. | | `uuid` | string | yes | | pattern `^[0-9a-fA-F-]{36}$` | Layer uuid from nasa_trek_list_layers. | Result fields: `resolved`, `notes`, `nextSteps`, `source`, `body`, `uuid`, `endpoint`, `capabilitiesUrl`, `layerId`, `tileTemplate`, `tileMatrixSet`, `formats`, `sampleTileUrl`. ---8<--- https://idss-mesa.github.io/nasa-mcp/tools/resources-and-prompts/ --- title: "Resources and prompts" description: "The nasa:// guides and service reference, the two resource templates, and the three task prompts nasa-mcp offers." type: Reference tags: - resources - prompts generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" status: stable --- # Resources and prompts ## Static resources | URI | Content | | --- | --- | | `nasa://guide/overview` | the services, their tools, key use and conventions | | `nasa://guide/api-key` | setting `NASA_MCP_NASA__API_KEY`, DEMO_KEY limits, the HTTP-mode rule, redaction | | `nasa://guide/rate-limits` | api.nasa.gov quotas, local politeness limits, retries and cache classes | | `nasa://guide/citing` | NASA media guidelines and per-service citation exceptions | | `nasa://reference/services` | every service with hosts, key use, docs URL, citation and caveats (JSON) | ## Templates | URI template | Equivalent call | | --- | --- | | `nasa://apod/{date}` | `nasa_apod_get(date)` | | `nasa://neo/{asteroid_id}` | `nasa_neo_lookup(asteroid_id)` (spends api.nasa.gov quota) | An unknown URI is a JSON-RPC `-32602` error with `data = {"code": "not_found", "didYouMean": [...]}`. ## Prompts | Prompt | Arguments | What it asks the agent to do | | --- | --- | --- | | `nasa_asteroid_watch` | `start_date` | NeoWs feed for one week with miss distances and sizes, Sentry status for hazardous objects, a cross-check with JPL close approaches | | `nasa_exoplanet_profile` | `planet` | parameters with units from the Exoplanet Archive, NASA imagery (marking illustrations), a comparison with Earth and the Solar System, the archive credit | | `nasa_space_weather_briefing` | `days` (optional, 1-30, default 7) | DONKI notifications plus flares, CMEs and geomagnetic storms, summarised in plain language with event links | Arguments are validated (date format, ranges, allowed characters); invalid ones are errors. ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/apod/ --- title: "Astronomy Picture of the Day" description: "How nasa-mcp reaches APOD through the science.nasa.gov WordPress API: YYMMDD dates, image and video URLs, copyright and citation." type: Reference tags: - apod - images - astronomy - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: apod-docs resource: "https://api.nasa.gov/#apod" title: "api.nasa.gov APOD entry" author: "team:nasa" status: stable stale_after: "2027-05-27T00:00:00Z" --- # Astronomy Picture of the Day (`apod`) A daily image or video of the cosmos with an astronomer's explanation, since 1995-06-16. The archive has gaps in its early years. ## Endpoint `https://science.nasa.gov/wp-json/wp/v2/apod-basic` (a list, newest first) and `.../apod-basic/{YYMMDD}` (one day). The legacy `api.nasa.gov/planetary/apod` goes offline on **2026-12-01** and on 2026-11-27 already returned wrong content (title "NASA Science", the NASA logo as image, another day's explanation), so nasa-mcp does not use it (RESEARCH.md §2). ## Key use None. This service is called on its own host; it does not spend api.nasa.gov quota. ## Tools | Tool | What it returns | | --- | --- | | `nasa_apod_get` | the latest picture, one `date`, or a `start_date`/`end_date` range (25 per page): title, date, `imageUrl`, `videoUrl`, article link, credit, copyright and the explanation | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * The live parameters are `page`, `per_page` (1-25; larger values silently return 25) and `date_from`/`date_to` in **YYMMDD** (two-digit years 95-99 mean 1995-1999). The documented `date`, `start_date`, `end_date` and `count` are silently ignored. The server converts your `YYYY-MM-DD` dates. * A missing day answers 404 `apod_basic_not_found`, reported as `not_found` ("no APOD for this date"). * The upstream `url` is the **article page**, not the image: `imageUrl` comes from `hdurl`. For videos `hdurl` is a still; the MP4 is read from the embedded `basic_html`, which is then dropped (about 90 % of the payload). * HTML is stripped from `explanation`, `credit` and `copyright`. * Past days are cached 7 days (`archive`), today's for 1 hour. * Not offered: the legacy `count` (random pictures), `thumbs` and `concept_tags`. Every result also notes that APOD images may be copyrighted by their authors (see `copyright`). ## Citation `source.citation`: > Astronomy Picture of the Day, NASA / Michigan Technological University (https://apod.nasa.gov/). Credit the image author named in the copyright field. ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/donki/ --- title: "DONKI space weather" description: "How nasa-mcp reaches DONKI through CCMC's DONKI-API because the api.nasa.gov route is broken: event types, dates, quirks, citation." type: Reference tags: - donki - space-weather - ccmc - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: donki-docs resource: "https://ccmc.gsfc.nasa.gov/DONKI/api/" title: "DONKI-API reference (OpenAPI)" author: "team:nasa-ccmc" status: stable stale_after: "2027-05-27T00:00:00Z" --- # DONKI space weather (`donki`) The Space Weather Database Of Notifications, Knowledge, Information: solar flares, coronal mass ejections, geomagnetic storms, interplanetary shocks, solar energetic particles, magnetopause crossings, radiation belt enhancements, high-speed streams, WSA-ENLIL runs and forecaster notifications. ## Endpoint `https://ccmc.gsfc.nasa.gov/DONKI-API/get/{type}`, **without a trailing slash**. The api.nasa.gov `/DONKI/...` route answered 404 for every type on 2026-11-27 (the gateway rewrites to a trailing-slash path the new backend rejects), and the old `kauai.ccmc.gsfc.nasa.gov` host timed out (RESEARCH.md §4). ## Key use None. This service is called on its own host; it does not spend api.nasa.gov quota. ## Tools | Tool | What it returns | | --- | --- | | `nasa_donki_events` | events of one type (`FLR`, `CME`, `CMEAnalysis`, `GST`, `IPS`, `SEP`, `MPC`, `RBE`, `HSS`, `WSAEnlilSimulations`) in a window (default the last 30 days), newest first, with links | | `nasa_donki_notifications` | forecaster messages (default the last 7 days, at most 30) with issue time, summary and URL; bodies optional | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * Dates are always sent (`CME` without dates is a 400) and validated locally: DONKI silently ignores a bad date and returns its default window. * An empty result is HTTP 200 `[]` or an empty body; both mean "no events". * In notifications, `linkedEvents` arrives as a **string** holding a Python-repr list; the server parses it. * Each event type has its own id and time fields; they are mapped onto one event shape with a few type-specific details. * A past window is cached 7 days (`archive`); a window that reaches today, 1 hour. ## Citation `source.citation`: > NASA Community Coordinated Modeling Center (CCMC), DONKI (https://ccmc.gsfc.nasa.gov/DONKI/). ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/eonet/ --- title: "EONET natural events" description: "How nasa-mcp queries EONET v3 natural events: the category enum, mandatory limits, geometry options, quirks and citation." type: Reference tags: - eonet - natural-events - wildfires - storms - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: eonet-docs resource: "https://eonet.gsfc.nasa.gov/docs/v3" title: "EONET v3 documentation" author: "team:nasa" status: stable stale_after: "2027-05-27T00:00:00Z" --- # EONET natural events (`eonet`) NASA's Earth Observatory Natural Event Tracker: curated natural events (wildfires, severe storms, volcanoes, sea and lake ice, floods, dust and haze, and more) with dates, sources and geometry. ## Endpoint `https://eonet.gsfc.nasa.gov/api/v3/events` and `.../categories` (RESEARCH.md §10). ## Key use None. This service is called on its own host; it does not spend api.nasa.gov quota. ## Tools | Tool | What it returns | | --- | --- | | `nasa_eonet_events` | events filtered by category, status, the last N days, a date range, a bounding box or source ids, with dates, sources and the last (or every, or no) geometry | | `nasa_eonet_categories` | the 13 category ids, titles and descriptions | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * **An unknown category or a malformed date is silently ignored** and the service returns every event: 7,260 events, 5 MB, 17 s on 2026-11-27. The category is therefore an **enum** of the 13 ids (`drought`, `dustHaze`, `earthquakes`, `floods`, `landslides`, `manmade`, `seaLakeIce`, `severeStorms`, `snow`, `tempExtremes`, `volcanoes`, `waterColor`, `wildfires`), dates are validated, and `limit` is always sent. * The Content-Type is sometimes `application/rss+xml` for a JSON body; the body is parsed as JSON regardless. * `geometry: last` (default) keeps only the most recent point or polygon per event; `all` can be large. * Categories are cached 1 day (`static`). Next step: `nasa_gibs_snapshot_url` shows an event on satellite imagery for its date and box. ## Citation `source.citation`: > NASA Earth Observatory Natural Event Tracker (EONET) v3 (https://eonet.gsfc.nasa.gov/). ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/epic/ --- title: "EPIC Earth imagery" description: "How nasa-mcp uses the EPIC (DSCOVR) API on epic.gsfc.nasa.gov without a key: collections, dates, archive image URLs and citation." type: Reference tags: - epic - dscovr - earth - images - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: epic-docs resource: "https://epic.gsfc.nasa.gov/about/api" title: "EPIC API documentation" author: "team:nasa-epic" status: stable stale_after: "2027-05-27T00:00:00Z" --- # EPIC Earth imagery (`epic`) Full-disc images of Earth's sunlit side from the Earth Polychromatic Imaging Camera on DSCOVR at the Sun-Earth L1 point, since June 2015: natural and enhanced colour, plus aerosol and cloud products. ## Endpoint `https://epic.gsfc.nasa.gov/api/{collection}`, `.../{collection}/date/{date}`, `.../{collection}/available`, and archive images under `https://epic.gsfc.nasa.gov/archive/{collection}/{YYYY}/{MM}/{DD}/{png|jpg|thumbs}/{image}.{png|jpg}`. The same API is mirrored at `api.nasa.gov/EPIC`, but that route spends quota; the EPIC team's own host needs no key (RESEARCH.md §5). ## Key use None. This service is called on its own host; it does not spend api.nasa.gov quota. ## Tools | Tool | What it returns | | --- | --- | | `nasa_epic_images` | images for one day (default the latest): acquisition time, centre latitude/longitude, DSCOVR distance, PNG, JPG and thumbnail URLs | | `nasa_epic_available_dates` | days with imagery in a collection, optionally for one year (default the latest 100), with the first and last day | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * A bad or out-of-range date answers HTTP 200 `[]`; the server returns no images with a note pointing to `nasa_epic_available_dates`. * `nasa_epic_available_dates` reads `/available` (every imaged day, oldest first) and reports the first and last day; gaps are days DSCOVR did not image. * Archive URLs are built from the image name and its date; thumbnails use `.jpg`. Example sizes: PNG 3.4 MB, JPG 256 KB, thumbnail 7 KB. The server returns URLs only. * The enhanced collection lags natural by about two days. * A past day is cached 7 days (`archive`); the latest day, 1 hour. ## Citation `source.citation`: > NASA EPIC Team, DSCOVR Earth Polychromatic Imaging Camera (https://epic.gsfc.nasa.gov/). ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/exoplanet/ --- title: "NASA Exoplanet Archive" description: "How nasa-mcp queries the NASA Exoplanet Archive over TAP/ADQL: structured search, raw SELECT queries, maxrec row caps and citation." type: Reference tags: - exoplanet - tap - adql - astronomy - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: exoplanet-docs resource: "https://exoplanetarchive.ipac.caltech.edu/docs/TAP/usingTAP.html" title: "Exoplanet Archive TAP documentation" author: "team:nasa-exoplanet-archive" status: stable stale_after: "2027-05-27T00:00:00Z" --- # NASA Exoplanet Archive (`exoplanet`) Confirmed exoplanets and their host stars, operated by Caltech/IPAC. The structured search uses the Planetary Systems Composite Parameters table (`pscomppars`, 6,473 planets on 2026-11-27). ## Endpoint `https://exoplanetarchive.ipac.caltech.edu/TAP/sync?query=&format=json` (RESEARCH.md §13). The legacy `nstedAPI` is deprecated. ## Key use None. This service is called on its own host; it does not spend api.nasa.gov quota. Local politeness: 1 request/s, 1 in flight; each query takes about 2-3 s. ## Tools | Tool | What it returns | | --- | --- | | `nasa_exoplanet_search` | planets filtered by name (with `%` wildcards), host, discovery method and year, radius, period, equilibrium temperature or distance, with a `units` map | | `nasa_exoplanet_query` | one read-only ADQL `SELECT` on any archive table (ps, pscomppars, stellarhosts, toi, k2pandc, ...), rows as JSON objects, capped | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * **Row caps use TAP `maxrec`, never ADQL `TOP`:** the service applies `TOP` *before* `ORDER BY`, so `top 3 ... order by pl_name` returned the wrong three planets. `maxrec` limits after ordering. * `nasa_exoplanet_query` accepts a single `SELECT` only; a caller's `TOP n` above the cap is lowered to it. The cap is `limits.adql_max_rows` (500 by default, at most 5,000). * Structured filters are compiled to ADQL with literal escaping. * Errors (for example an invalid column) come back as **HTTP 400 VOTable XML** even with `format=json`; the `QUERY_STATUS` text is returned as `invalid_argument`. * Units: radii in Earth radii, masses in Earth masses, periods in days, temperatures in K, distances in parsecs. When you query another table with `nasa_exoplanet_query`, cite that table's DOI. ## Citation `source.citation`: > This research has made use of the NASA Exoplanet Archive, which is operated by the California Institute of Technology, under contract with NASA under the Exoplanet Exploration Program. DOI: 10.26133/NEA13 (Planetary Systems Composite Parameters). ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/gibs/ --- title: "GIBS Earth imagery" description: "How nasa-mcp lists GIBS imagery layers from the WMTS capabilities and builds WMS snapshot and Worldview URLs offline; citation." type: Reference tags: - gibs - earth - imagery - wmts - wms - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: gibs-docs resource: "https://nasa-gibs.github.io/gibs-api-docs/" title: "GIBS API documentation" author: "team:nasa-gibs" status: stable stale_after: "2027-05-27T00:00:00Z" --- # GIBS Earth imagery (`gibs`) NASA's Global Imagery Browse Services: near-real-time and historical Earth imagery layers (MODIS, VIIRS, Landsat/HLS, AIRS, sea ice, aerosol, fires and more) as WMTS and WMS. ## Endpoint `https://gibs.earthdata.nasa.gov/wmts/{projection}/best/1.0.0/WMTSCapabilities.xml` for the layer list, and `https://gibs.earthdata.nasa.gov/wms/epsg4326/best/wms.cgi` for snapshot URLs (RESEARCH.md §9). ## Key use None. This service is called on its own host; it does not spend api.nasa.gov quota. ## Tools | Tool | What it returns | | --- | --- | | `nasa_gibs_list_layers` | layers in one projection (`epsg4326`, `epsg3857`, `epsg3413`, `epsg3031`) matching search words: id, title, formats, resolution, default date, date ranges, WMTS tile URL template | | `nasa_gibs_snapshot_url` | a WMS GetMap URL for one layer, date and bounding box (JPEG or PNG), plus a NASA Worldview link; built offline, no network call | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * The EPSG:4326 capabilities document is **5.3 MB** uncompressed with about 1,330 layers and took 8 s. It is parsed once with `defusedxml` and cached for a day (`static`) as a compact layer list. * Snapshot URLs are built offline; the image is fetched by the user's client. The server never downloads imagery. * WMS 1.3.0 with EPSG:4326 takes the BBOX as lat,lon (`minLat,minLon,maxLat,maxLon`); the server converts your west/south/east/north box. (This follows the OGC axis order; it was checked by image size only.) * An unknown layer in WMS answers **HTTP 200** with a `ServiceExceptionReport`; check the layer id with `nasa_gibs_list_layers` first. * The default date is yesterday (UTC); many layers have no imagery for today yet. ## Citation `source.citation`: > We acknowledge the use of imagery provided by services from NASA's Global Imagery Browse Services (GIBS), part of NASA's Earth Science Data and Information System (ESDIS). ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/images/ --- title: "NASA Image and Video Library" description: "How nasa-mcp searches images.nasa.gov and resolves asset file URLs: paging window, https rewriting, media credit and citation." type: Reference tags: - images - video - media - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: images-docs resource: "https://images.nasa.gov/docs/images.nasa.gov_api_docs.pdf" title: "NASA Image and Video Library API" author: "team:nasa" status: stable stale_after: "2027-05-27T00:00:00Z" --- # NASA Image and Video Library (`images`) NASA's image, video and audio archive at images.nasa.gov. ## Endpoint `https://images-api.nasa.gov/search`, `/asset/{nasa_id}`, `/metadata/{nasa_id}`, and metadata files on `images-assets.nasa.gov` (RESEARCH.md §11). ## Key use None. This service is called on its own host; it does not spend api.nasa.gov quota. ## Tools | Tool | What it returns | | --- | --- | | `nasa_images_search` | items matching text, keywords, center, photographer, media type and year range: nasa_id, title, date, center, short description, keywords, preview URL | | `nasa_images_asset` | every file of one item (original, large, medium, small, thumbnail, video encodings, captions) as URLs, optionally with its AVAIL:* metadata | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * The search window is **10,000 results**: `page * page_size` above that is a 400 upstream, so the server bounds `page` and `page_size` (each at most 100). * A search needs `q` or another keyword field. * Asset hrefs arrive as `http://`; they are rewritten to `https://`. Some ids and hrefs contain spaces. * Unknown ids answer 404 and are reported as `not_found`. * Assets and metadata are cached 7 days (`archive`). Items can include third-party material; check the description and photographer before reuse. ## Citation `source.citation`: > NASA Image and Video Library (https://images.nasa.gov/). NASA content is generally not copyrighted; credit NASA (and the named mission or photographer) and do not imply NASA endorsement. See https://www.nasa.gov/nasa-brand-center/images-and-media/. ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/insight/ --- title: "InSight Mars weather" description: "How nasa-mcp serves the frozen InSight Mars weather feed from api.nasa.gov: sols 675-681 (October 2020), units, quota and citation." type: Reference tags: - insight - mars - weather - api-key - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: insight-docs resource: "https://api.nasa.gov/assets/insight/InSight%20Weather%20API%20Documentation.pdf" title: "InSight Weather API documentation" author: "team:nasa-jpl" status: stable stale_after: "2027-05-27T00:00:00Z" --- # InSight Mars weather (`insight`) Per-sol temperature, wind and pressure from the InSight lander at Elysium Planitia. **This is a frozen archive:** the feed still returns sols 675-681 (first UTC 2020-10-19) and has not updated since; the mission ended in December 2022. Every result says so (`frozen: true` and a note). ## Endpoint `https://api.nasa.gov/insight_weather/?feedtype=json&ver=1.0`. ## Key use **Yes.** The call spends api.nasa.gov quota (`NASA_MCP_NASA__API_KEY` or DEMO_KEY). Because the data never change, the response is cached for a day (`static`), so repeated calls cost nothing. ## Tools | Tool | What it returns | | --- | --- | | `nasa_insight_weather` | per sol: air temperature (degC), horizontal wind speed (m/s), pressure (Pa), each with mean, count, min and max; the prevailing wind direction; UTC span and season | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * Top-level keys are the sol numbers plus `sol_keys` and `validity_checks`; the server returns a list of sols. * The documentation itself says "significant missing data"; absent sensors are `null`. * Units are from the InSight API documentation linked by api.nasa.gov. ## Citation `source.citation`: > NASA/JPL-Caltech/Cornell/CAB, InSight Mars Weather Service. ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/neows/ --- title: "Asteroids NeoWs" description: "How nasa-mcp uses NASA NeoWs (Near Earth Object Web Service) on api.nasa.gov: feed, lookup and browse, quota, quirks and citation." type: Reference tags: - neows - asteroids - neo - api-key - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: neows-docs resource: "https://api.nasa.gov/#asteroids-neows" title: "api.nasa.gov NeoWs entry" author: "team:nasa" status: stable stale_after: "2027-05-27T00:00:00Z" --- # Asteroids NeoWs (`neows`) Near-Earth asteroids from JPL CNEOS data: a close-approach feed by date, lookup by SPK-ID, and the whole catalogue (about 63,000 objects on 2026-11-27). ## Endpoint `https://api.nasa.gov/neo/rest/v1` (`/feed`, `/neo/{id}`, `/neo/browse`). ## Key use **Yes.** Every NeoWs call spends api.nasa.gov quota: `NASA_MCP_NASA__API_KEY` if set, otherwise DEMO_KEY (observed: 10 requests, then a block of about 22 hours). See [the api.nasa.gov key](../getting-started/api-key.md). For keyless asteroid data use the [JPL SSD tools](ssd.md). ## Tools | Tool | What it returns | | --- | --- | | `nasa_neo_feed` | objects passing Earth in a window of up to 7 days: size range, hazard and Sentry flags, approach time, miss distance (km, lunar, au), relative velocity; sortable | | `nasa_neo_lookup` | one object by SPK-ID: orbit, orbit class and its close approaches in a date window (default +/- 10 years) | | `nasa_neo_browse` | a page of the catalogue (20 per page, 0-based pages) without approach lists | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * The feed window is at most **7 days**; longer windows are refused locally (upstream 400s). * Numbers arrive as strings (`"0.3355"`, miss distances, velocities) and are converted. * The feed's date keys are not sorted; the server sorts. * `/neo/{id}` returns the **full** approach history (282 approaches from 1900 to 2200 and 121 KB for one object, including approaches to Mercury and Venus); the server filters to the window and `max_approaches`. * NeoWs echoes the key inside `links.self/next/previous` (as `http://` URLs). Those links are never returned, and every endpoint is redacted (`api_key=***`). * Lookups are cached 1 day (`static`). ## Citation `source.citation`: > NASA Asteroids NeoWs, data from the JPL Center for Near-Earth Object Studies (CNEOS), https://cneos.jpl.nasa.gov/. ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/osdr/ --- title: "NASA OSDR" description: "How nasa-mcp searches NASA's Open Science Data Repository (GeneLab, space biology): studies, ISA metadata, data files and citation." type: Reference tags: - osdr - genelab - space-biology - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: osdr-docs resource: "https://www.nasa.gov/osdr-public-api-page/" title: "OSDR public API" author: "team:nasa" status: stable stale_after: "2027-05-27T00:00:00Z" --- # NASA OSDR (`osdr`) Space biology and GeneLab studies with their ISA-Tab metadata and data files. ## Endpoint `https://osdr.nasa.gov/osdr/data/search`, `/osd/meta/{n}` and `/osd/files/{n}` (RESEARCH.md §14). ## Key use None. This service is called on its own host; it does not spend api.nasa.gov quota. ## Tools | Tool | What it returns | | --- | --- | | `nasa_osdr_search` | studies matching terms in OSDR/GeneLab (`cgene`, default) or the federated GEO, PRIDE or MG-RAST indexes: accession, title, organism, mission, assay type, release date | | `nasa_osdr_study` | one study's metadata: description, factors, assays, organisms, people and publications (DOI, PubMed) | | `nasa_osdr_files` | one study's data files with category, size and download URL | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * Without a source type, search mixes in external indexes ("mouse liver": 1,657 hits instead of 43); the server sends `type=cgene` by default. * Search hits use Elasticsearch shapes with keys containing spaces; they are mapped to camelCase. * An unknown study answers **HTTP 200** with `hits: 0`; the server reports `not_found`. * File pages are 1-based (`page=0` returns nothing); file `remote_url`s are relative and are made absolute on `https://osdr.nasa.gov`. * Large files should be downloaded outside the chat; the server returns URLs only. * Study metadata and file lists are cached 1 day (`static`). ## Citation `source.citation`: > NASA Open Science Data Repository (https://osdr.nasa.gov/); cite each study by its OSD accession and DOI. ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/sscweb/ --- title: "Satellite Situation Center" description: "How nasa-mcp uses the SSCWeb REST API: observatories, spacecraft positions in GEO/GSE/GSM coordinates, typed JSON and citation." type: Reference tags: - sscweb - spacecraft - heliophysics - coordinates - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: sscweb-docs resource: "https://sscweb.gsfc.nasa.gov/WebServices/REST/" title: "SSCWeb REST web services" author: "team:nasa-spdf" status: stable stale_after: "2027-05-27T00:00:00Z" --- # Satellite Situation Center (`sscweb`) Spacecraft positions for hundreds of observatories (327 on 2026-11-27) from the Space Physics Data Facility at Goddard. ## Endpoint `https://sscweb.gsfc.nasa.gov/WS/sscr/2/observatories` and `.../locations/{obs}/{start},{end}/{coords}/` (RESEARCH.md §15). ## Key use None. This service is called on its own host; it does not spend api.nasa.gov quota. Local politeness: 1 request/s, 1 in flight. ## Tools | Tool | What it returns | | --- | --- | | `nasa_ssc_observatories` | spacecraft whose positions SSCWeb can compute: id, name, resolution and time span; filter by text or a day with data | | `nasa_ssc_locations` | positions of up to 5 spacecraft over at most 2 days in `geo`, `gm`, `gse`, `gsm`, `sm`, `geitod` or `geij2000`: X/Y/Z (km), latitude, longitude, radial distance, thinned to `max_points` | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * `Accept: application/json` is always sent; without it the service answers XML. * The JSON is **Jackson type-tagged**: every object is `["java.class.Name", {...}]` and every list `["java.util.ArrayList", [...]]`. The server removes the tags recursively before parsing. * An invalid spacecraft answers **HTTP 200** with `Result.StatusCode: "ERROR"` and a `StatusSubCode` (`INVALID_SATELLITE`); the server reports `invalid_argument` with the status text and `details.status`. * Times are sent as basic ISO 8601 (`20261127T000000Z`); samples are 1-minute for the ISS, so the server thins them evenly to `max_points`. * The observatory list is cached 1 day (`static`). ## Citation `source.citation`: > NASA Satellite Situation Center (SSCWeb), Space Physics Data Facility, Goddard Space Flight Center (https://sscweb.gsfc.nasa.gov/). ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/ssd/ --- title: "JPL SSD / CNEOS" description: "How nasa-mcp uses the JPL Solar System Dynamics and CNEOS APIs: close approaches, fireballs, Sentry, Scout, NHATS and SBDB." type: Reference tags: - ssd - cneos - asteroids - comets - jpl - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: ssd-docs resource: "https://ssd-api.jpl.nasa.gov/" title: "JPL SSD/CNEOS API documentation" author: "team:nasa-jpl" status: stable stale_after: "2027-05-27T00:00:00Z" --- # JPL SSD / CNEOS (`ssd`) JPL's small-body APIs: close approaches (CAD), fireballs detected by US government sensors, Sentry impact-risk monitoring, Scout assessments of unconfirmed NEO candidates, NHATS human-accessible targets and the Small-Body Database. They are the keyless way to answer most asteroid questions. ## Endpoint `https://ssd-api.jpl.nasa.gov/{cad,fireball,sentry,scout,nhats,sbdb}.api` (RESEARCH.md §12). ## Key use None. This service is called on its own host; it does not spend api.nasa.gov quota. Local politeness: 1 request/s, 1 in flight. ## Tools | Tool | What it returns | | --- | --- | | `nasa_ssd_close_approaches` | close approaches to Earth or another body (default the next 60 days within 0.05 au): designation, TDB time, distance in au, lunar distances and km, relative velocity, H | | `nasa_ssd_fireballs` | fireball events, newest first: peak time, radiated energy (J), impact energy (kt), location, altitude, velocity | | `nasa_ssd_sentry` | the Sentry risk table, or one object's virtual impactors, or the date it was removed | | `nasa_ssd_scout` | Scout scores for objects on the NEO Confirmation Page, or one object | | `nasa_ssd_nhats` | NHATS targets within a delta-v and duration budget, or one object's trajectory summary | | `nasa_ssd_sbdb_lookup` | one asteroid or comet: SPK-ID, orbit class, NEO/PHA flags, orbital elements with units, MOID, physical parameters and optional close approaches | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * JPL **rejects unknown parameters** with HTTP 400, so only documented parameters are sent. * Responses are columnar (`fields` plus `data` rows) with **every value as a string**; the server zips them into objects and converts numbers. * `signature.version` is checked against the major version each parser was written for; an incompatible change is reported as `upstream_error` (drift) instead of being mis-parsed. * SBDB "not found" is **HTTP 200** with a message -> `not_found`; an ambiguous name is **HTTP 300** with a candidate list -> `invalid_argument` carrying the list. * Sentry answers HTTP 200 with `removed` for objects taken off the table (Apophis, removed 2021-02-21) -> `removedOn`. * Unfiltered NHATS (2.6 MB) and Sentry (0.6 MB) are filtered and capped. * **Scout is never cached** (candidates change hourly); SBDB and NHATS are cached 1 day. ## Citation `source.citation`: > NASA/JPL Solar System Dynamics Group and Center for Near-Earth Object Studies (https://ssd.jpl.nasa.gov/, https://cneos.jpl.nasa.gov/). ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/techport/ --- title: "NASA TechPort" description: "How nasa-mcp reads NASA TechPort technology projects: recently updated project ids and project details, size guards and citation." type: Reference tags: - techport - technology - projects - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: techport-docs resource: "https://techport.nasa.gov/help/api" title: "TechPort API" author: "team:nasa" status: stable stale_after: "2027-05-27T00:00:00Z" --- # NASA TechPort (`techport`) NASA-funded technology projects with status, organizations, technology readiness levels and outcomes. ## Endpoint `https://techport.nasa.gov/api/projects?updatedSince=...` and `.../projects/{id}` (RESEARCH.md §16). Reads need no authentication, although the OpenAPI spec declares a bearer scheme. ## Key use None. This service is called on its own host; it does not spend api.nasa.gov quota. ## Tools | Tool | What it returns | | --- | --- | | `nasa_techport_projects` | project ids updated on or after a date (default the last 7 days), newest first | | `nasa_techport_project` | one project: title, status, dates, program, lead organization, TRL begin/current/end, taxonomy, plain-text description and benefits, page URL | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * `updatedSince` is always sent: omitting it returns **every project id (1.9 MB)**. * The free-text search endpoint is not exposed in v0.1: one query returned 1.1 MB, and a wrong parameter name returned all 21,230 projects (116 MB). * Unknown ids answer 404 and are reported as `not_found`. * HTML in descriptions and benefits is stripped. * Project details are cached 1 day (`static`). ## Citation `source.citation`: > NASA TechPort (https://techport.nasa.gov/). ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/techtransfer/ --- title: "NASA TechTransfer" description: "How nasa-mcp searches NASA TechTransfer on technology.nasa.gov because the api.nasa.gov route redirects: categories, rows, citation." type: Reference tags: - techtransfer - patents - software - spinoff - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: techtransfer-docs resource: "https://technology.nasa.gov/api/" title: "NASA TechTransfer API" author: "team:nasa" status: stable stale_after: "2027-05-27T00:00:00Z" --- # NASA TechTransfer (`techtransfer`) NASA's Technology Transfer portfolio: patents available to license, issued patents, free NASA software and Spinoff stories. ## Endpoint `https://technology.nasa.gov/api/query/{category}/{term}`. The api.nasa.gov `/techtransfer` route answered 302 to the documentation page and dropped the query on 2026-11-27 (RESEARCH.md §7). ## Key use None. This service is called on its own host; it does not spend api.nasa.gov quota. ## Tools | Tool | What it returns | | --- | --- | | `nasa_techtransfer_search` | matches for one term in `patent`, `patent_issued`, `software` or `spinoff`: case number, title, plain-text description, category, NASA center and (software) release type and URL, by relevance | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * Every match comes back at once (for example 211 rows and 198 KB for spinoff "water") despite the `perpage: 10` field; the server pages locally with `offset`/`limit`. * Rows are 13-element positional arrays; the server maps them to named fields (case number, title, description, category, center, image URL, score; release type and URL for software). The meaning of some patent positions (6-8, 11) is not determined and they are not returned. * Titles and descriptions carry `` HTML; it is stripped. * The search term is limited to letters, digits, spaces, dots and hyphens. * Results are cached 1 day (`static`). ## Citation `source.citation`: > NASA Technology Transfer Program (https://technology.nasa.gov/). ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/tle/ --- title: "TLE API" description: "How nasa-mcp reads two-line element sets from the third-party TLE API listed on api.nasa.gov: search, lookup, quirks and citation." type: Reference tags: - tle - satellites - orbits - third-party - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: tle-docs resource: "https://tle.ivanstanojevic.me/" title: "TLE API" author: "team:tle-api" status: stable stale_after: "2027-05-27T00:00:00Z" --- # TLE API (`tle`) Current two-line orbital element sets for Earth satellites. **This is a third-party service** (by Ivan Stanojević), listed on api.nasa.gov but not operated by NASA; its data are mirrored from CelesTrak about daily. Every result says so. ## Endpoint `https://tle.ivanstanojevic.me/api/tle/` (search) and `/api/tle/{id}` (RESEARCH.md §17). ## Key use None. This service is called on its own host; it does not spend api.nasa.gov quota. ## Tools | Tool | What it returns | | --- | --- | | `nasa_tle_search` | satellites matching a name: NORAD id, name, epoch and both TLE lines | | `nasa_tle_get` | one satellite's current TLE by NORAD id (ISS = 25544) | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * The search route needs its **trailing slash** (`/api/tle/`); without it the service answers 301 with an HTML body. * `page-size` is at most 100 (400 above). * Responses are Hydra JSON-LD; the server returns plain fields. * Unknown ids answer 404 and are reported as `not_found`. * TLEs age quickly (days). Propagate them with an SGP4 library; the server does not. ## Citation `source.citation`: > TLE API by Ivan Stanojević (https://tle.ivanstanojevic.me/), data from CelesTrak (https://celestrak.org/). ---8<--- https://idss-mesa.github.io/nasa-mcp/providers/trek/ --- title: "Solar System Treks" description: "How nasa-mcp finds Moon, Mars and Vesta map layers on trek.nasa.gov and returns WMTS tile URLs, never tiles; quirks and citation." type: Reference tags: - trek - moon - mars - vesta - wmts - service generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: trek-docs resource: "https://trek.nasa.gov/tiles/apidoc/trekAPI.html" title: "Solar System Treks tile API" author: "team:nasa-jpl" status: stable stale_after: "2027-05-27T00:00:00Z" --- # Solar System Treks (`trek`) WMTS map-tile layers (mosaics, elevation and more) of the Moon, Mars and Vesta from NASA's Solar System Treks portals: LRO, Kaguya, MRO HiRISE/CTX, Viking, Dawn and other missions. ## Endpoint `https://trek.nasa.gov/{body}/TrekServices/ws/index/eq/searchItems` (layer search), `.../getLayerServices?uuid=...` (a layer's WMTS endpoint) and `{endpoint}/1.0.0/WMTSCapabilities.xml`. The api.nasa.gov `mars-wmts`/`vesta-wmts` routes redirected to pre-signed S3 URLs after **30 s**, tiles timed out after 60 s, and there is no layer index (RESEARCH.md §8). ## Key use None. This service is called on its own host; it does not spend api.nasa.gov quota. ## Tools | Tool | What it returns | | --- | --- | | `nasa_trek_list_layers` | equirectangular layers of one body matching a search: uuid, title, mission, instrument, bounding box, resolution | | `nasa_trek_tile_url` | one layer's WMTS endpoint, capabilities URL, tile URL template, tile matrix set, formats and a level-0 sample tile URL | Inputs and result fields: [Tool reference](../tools/reference.md). ## Quirks handled * The layer search is a Solr query (Moon about 1,240 products, Mars 222, Vesta 15); the server filters to mosaics and pages. * Layer names differ between api.nasa.gov and trek.nasa.gov; nasa-mcp uses Trek's own uuids. * The tile extension (`.png` or `.jpg`) varies by layer and is read from the capabilities' `ResourceURL`. Capabilities are parsed with `defusedxml`. * Level 0 is 2 columns by 1 row. The server returns URLs only; load them in Leaflet, OpenLayers or QGIS. * Layer lists and capabilities are cached 1 day (`static`). ## Citation `source.citation`: > NASA Solar System Treks Project, JPL/Caltech (https://trek.nasa.gov/). ---8<--- https://idss-mesa.github.io/nasa-mcp/mcp/spec-2026-07-28/ --- title: "MCP 2026-07-28 conformance" description: "How nasa-mcp implements the MCP 2026-07-28 stateless core: tools, structured output, annotations, errors, caching hints." type: Reference tags: - mcp - conformance - spec generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: mcp-spec resource: "https://modelcontextprotocol.io/specification/2026-07-28" title: "Model Context Protocol specification 2026-07-28" author: "team:modelcontextprotocol" - id: neon-mcp resource: "https://github.com/idss-mesa/neon-mcp" title: "idss-mesa/neon-mcp (reference conventions)" author: "team:idss-mesa" status: stable --- # MCP 2026-07-28 conformance * SDK: `mcp>=2.0,<3`, low-level `mcp.server.Server`; `protocolVersion` comes from `mcp.types.LATEST_PROTOCOL_VERSION` (2026-07-28). `server.py` is the only module that imports the SDK server API. The architecture is adapted from idss-mesa/neon-mcp by way of weather-station-mcp. * **Tools:** 37, sorted by name, names matching `^nasa_[a-z_]+$` (enforced at import), descriptions of at most 600 characters ending with a `Next:` sentence. Every tool declares a JSON Schema 2020-12 `inputSchema` (`additionalProperties: false`) and `outputSchema`, `title` and all four annotations (every tool is read-only, non-destructive, idempotent and open-world). Tool `_meta`: `io.nasa-mcp/surface`, `.../endpoints`, `.../providers`, `.../usesApiKey`. * **Results:** the same compact JSON as `TextContent` and `structuredContent`; result `_meta` `io.nasa-mcp/upstream = {requests, cacheHits, apiNasaGovRateLimit?}`. Outputs are camelCase and carry `resolved`, `notes`, `nextSteps` and `source {endpoints, via, cached, derived, citation}`. * **Errors** are tool results (`isError: true`) whose text content is the compact JSON `{error: {code, message, details, hint?}}`. They carry **no `structuredContent`**, because each tool's `outputSchema` describes the success shape and clients that validate it even on errors would otherwise turn every tool error into JSON-RPC -32602. The 14 codes are listed in [Conventions](../tools/conventions.md#errors). Protocol faults (unknown resource, bad prompt arguments) are JSON-RPC `-32602`. * **Size:** a 50 000-byte result budget trims each tool's main list from the tail (`page.truncated: true`, `page.truncatedReason: "budget"`, `page.nextOffset`, a `nextSteps` line); a 200 000-byte hard cap returns `result_too_large`. * **Cache hints** (`public`): `tools/list` 5 min, resources 1 h, `prompts/list` 24 h, `server/discover` 5 min. * **Not used** (CI greps `src/` for them): elicitation, sampling, roots, progress, logging/setLevel, legacy SSE, sessions, tasks. ---8<--- https://idss-mesa.github.io/nasa-mcp/mcp/transports/ --- title: "Transports" description: "nasa-mcp speaks stdio for local clients and stateless Streamable HTTP at /mcp, with health and readiness endpoints." type: Reference tags: - transports - stdio - http generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" status: stable --- # Transports ## stdio (default) `nasa-mcp` with no arguments serves stdio. Logs go to stderr; stdout carries only protocol framing (tested by driving a real subprocess). ## Stateless Streamable HTTP `nasa-mcp --transport http [--host 127.0.0.1] [--port 8080]` | Path | Method | Behaviour | | --- | --- | --- | | `/mcp` | POST | JSON-RPC; stateless (no session header); plain JSON responses; body cap 1 MiB (413 above) | | `/mcp` | GET, DELETE | 405 with `Allow: POST` | | `/healthz` | GET | `{"status":"ok","version","protocolVersion","transport":"http"}` | | `/readyz` | GET | 503 `{"status":"warming"}` until start-up finishes, then 200 `{"status":"ready","degraded":false}`; nasa-mcp prewarms nothing (catalogues are fetched lazily and cached), so this is immediate | DNS-rebinding protection checks `Host` and `Origin` against localhost, the bind host, `server.allowed_hosts`/`allowed_origins` and the host of `server.public_base_url`. There is no OAuth: the server holds no user data and serves anonymous read-only access. No credential is accepted over HTTP. The operator's api.nasa.gov key is used for HTTP callers only when `nasa.allow_key_in_http_mode` is true; otherwise they get DEMO_KEY ([details](../getting-started/api-key.md#over-http)). Put a reverse proxy in front for access control ([Security](../deploy/security.md)). ---8<--- https://idss-mesa.github.io/nasa-mcp/deploy/hosted-http/ --- title: "Hosted HTTP" description: "Run nasa-mcp as a stateless Streamable HTTP service in a container behind a TLS-terminating reverse proxy." type: Guide tags: - deploy - docker - http generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" status: stable --- # Hosted HTTP ```bash docker compose up --build # publishes 127.0.0.1:8080 only curl -s http://127.0.0.1:8080/healthz ``` The image (two-stage `python:3.13-slim` and `uv`, both pinned by digest; dependencies from the hash-locked `uv.lock`) runs as uid 10001 with `NASA_MCP_SERVER__TRANSPORT=http` on `0.0.0.0:8080` inside the container, a `HEALTHCHECK` on `/healthz`, and a read-only root file system in the compose file. For anything public: * terminate TLS in a reverse proxy and set `NASA_MCP_SERVER__PUBLIC_BASE_URL` (its host is added to the DNS-rebinding allow-list), or list hosts in `NASA_MCP_SERVER__ALLOWED_HOSTS`; * add access control in the proxy if you need it (the server is anonymous and read-only); * decide about the key. By default HTTP callers get DEMO_KEY (about ten NeoWs/InSight requests per IP before a block of about a day, shared by every caller behind your egress IP). Setting `NASA_MCP_NASA__API_KEY` **and** `NASA_MCP_NASA__ALLOW_KEY_IN_HTTP_MODE=true` lends your personal quota (1,000 requests/hour) to every caller. Pass the key from a secret store, never from a committed compose file. The other 14 services are keyless either way; * to hide services, set `NASA_MCP_SERVICES__DISABLED` (for example `insight,neows`); * the in-memory cache is per process; set `NASA_MCP_CACHE__DISK_DIR` to a volume for a shared gzip-JSON disk cache; * `/readyz` answers 200 as soon as the process is up. ---8<--- https://idss-mesa.github.io/nasa-mcp/deploy/security/ --- title: "Security" description: "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." type: Reference tags: - security - api-key - redaction generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: neon-mcp resource: "https://github.com/idss-mesa/neon-mcp" title: "idss-mesa/neon-mcp (reference conventions)" author: "team:idss-mesa" status: stable --- # Security * **Inputs:** every tool input is a pydantic model with `extra="forbid"` and explicit bounds (date patterns, enums for categories, collections, bodies and projections, id patterns, list and window limits). The Exoplanet ADQL tool accepts a single `SELECT` and caps its rows. Upstreams that ignore bad filters are protected by validation on our side. * **Outbound requests:** one `httpx.AsyncClient`, automatic redirects off; each redirect hop is checked against the calling service's host allow-list (the `hosts` of [its catalogue entry](../providers/index.md)) and must be HTTPS. GET only. Generic User-Agent `nasa-mcp/ (+https://github.com/idss-mesa/nasa-mcp)`: no owner name, e-mail or local path. * **XML:** WMTS capabilities (GIBS, Trek) are parsed with `defusedxml`. * **The key:** only the api.nasa.gov key exists, read only from the environment, sent only to `api.nasa.gov` as a query parameter, dropped on redirects to other hosts, redacted from URLs, logs (including tracebacks), error details, `source.endpoints`, cache keys and fixtures; `--print-config` shows `***`. Over HTTP it is used only with `nasa.allow_key_in_http_mode`. The server never reads credential files. See [the api.nasa.gov key](../getting-started/api-key.md). * **Storage:** in-memory TTL caches; an optional disk cache (`cache.disk_dir`). No user data is stored. Media are never downloaded. * **Logs:** structlog to stderr (console for stdio, JSON with request ids for HTTP); httpx and httpcore loggers at WARNING because they print full URLs. * **Supply chain:** `uv.lock` pins every dependency with sha256 hashes, including the build backend (`build` group); Docker and CI install with `uv sync --frozen --no-build-isolation`; base images and CI actions are pinned by digest or commit SHA. * **Timeouts:** per-tool wall clock 90 s (`limits.tool_timeout_s`), connect 10 s, read 60 s. ---8<--- https://idss-mesa.github.io/nasa-mcp/develop/adding-services/ --- title: "Adding a service" description: "What a new nasa-mcp service needs: a catalogue entry, a tool module, recorded fixtures, hermetic and live tests, and docs." type: Guide tags: - services - extending generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" status: stable --- # Adding a service 1. **Probe it first.** Record what the live service actually does (parameters, error shapes, empty results, what it does with bad input, sizes) in `RESEARCH.md` with `[seen]`/`[doc]` labels. Several NASA services ignore bad filters or answer errors with HTTP 200. 2. **Catalogue entry.** Add a `Service` to `providers/catalog.py` and its id to `providers/base.PROVIDER_IDS`: `hosts` (the HTTP allow-list; include asset hosts that redirects reach), `key_hosts` only if it must go through api.nasa.gov, `docs_url`, the `citation` text the service asks for, `result_notes` for caveats every result must carry, a politeness policy (`rps`, `concurrency`) and a tiny `ping_url`. Prefer the service's own host over the api.nasa.gov gateway when it works without a key. 3. **Tool module.** Create `tools/.py` with a docstring that names the upstream and its quirks (pointing to `RESEARCH.md`), pydantic input models with `extra="forbid"`, enums for anything the upstream would silently ignore, and output models that subclass `ToolResultBase`. Name tools `nasa__`; descriptions at most 600 characters ending with `Next:`. Choose a cache class (`default`, `static`, `archive` or none). Return URLs, never media bytes. Import the module in `tools/__init__.py`. 4. **Tests.** Add the tool to `tests/helpers.EVERY_TOOL_CALL`, record fixtures with `scripts/record_fixtures.py record` (they must pass `check`), write a hermetic test in `tests/tools/` covering the quirk paths, and a live test in `tests/live/test_live.py` (marker `network`, plus `apikey` if it spends api.nasa.gov quota). 5. **Docs.** Add `docs/providers/.md` (endpoint, key use, tools, quirks, citation) with frontmatter and `stale_after`, link it from `docs/providers/index.md` and the `zensical.toml` nav, update `src/nasa_mcp/resources_static/overview.md`, the server instructions and the README table, add a `docs/log.md` entry, then regenerate the tool reference and llms files. Candidate for a later version: NASA CMR / Earthdata search (DESIGN.md O3). ---8<--- https://idss-mesa.github.io/nasa-mcp/develop/architecture/ --- title: "Architecture" description: "The nasa-mcp module layout, the service catalogue and the path of a tool call from MCP request to upstream and back." type: Explanation tags: - architecture - services generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: neon-mcp resource: "https://github.com/idss-mesa/neon-mcp" title: "idss-mesa/neon-mcp (reference conventions)" author: "team:idss-mesa" - id: sibling resource: "https://github.com/tyson-swetnam/weather-station-mcp" title: "weather-station-mcp (sibling server)" author: "team:weather-station-mcp" status: stable --- # Architecture ```text src/nasa_mcp/ server.py the only module that imports the MCP SDK server API registry.py @register_tool, validation, timeout, size budget tools/ one module per service (apod, neows, donki, epic, insight, techtransfer, trek, gibs, eonet, images, ssd, exoplanet, osdr, sscweb, techport, tle) plus core.py (nasa_ping, nasa_list_services) and _common.py providers/ base.py Service descriptor, service ids, API_GATEWAY_HOST, DEMO_KEY catalog.py the 16 services: hosts (the HTTP allow-list), key hosts, docs, citation, caveats, politeness policy, ping URL deps.py per-process dependencies handed to tools upstream/ client.py (allow-list, redirects, key placement, retries), ratelimit.py, cache.py, redact.py transport/ stdio, stateless Streamable HTTP, /healthz and /readyz resources.py prompts.py instructions.py config.py errors.py logging.py context.py ``` A call: the SDK hands `tools/call` to the server -> the registry validates the arguments against the tool's pydantic model (`invalid_argument` lists valid names) -> the tool validates dates and enums the upstream would ignore, converts them to the upstream's format, and asks the upstream client for the URL -> the client checks the host against the service's allow-list, attaches the api.nasa.gov key only for `api.nasa.gov`, applies the service's rate limit, serves from the cache when it can, follows redirects one hop at a time, and records redacted endpoints and `X-RateLimit-*` -> the tool parses the response (unwrapping SSCWeb's typed JSON, zipping JPL columns, mapping 200-with-error bodies), converts numbers, builds URLs and fills `source.citation` and caveat `notes` from the catalogue -> the registry dumps camelCase JSON, fits it to the 50 000-byte budget and returns text plus `structuredContent` with `_meta io.nasa-mcp/upstream` (an error result returns the `{error: ...}` JSON as text only). Each tool module's docstring records the upstream quirks it handles, with a pointer to the matching section of `RESEARCH.md`. ---8<--- https://idss-mesa.github.io/nasa-mcp/develop/contributing/ --- title: "Contributing" description: "Tooling, code style, commit conventions and the checks CI runs for nasa-mcp." type: Guide tags: - contributing - ci - style generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" status: stable --- # Contributing ```bash uv sync --extra dev --extra docs uv run ruff check src tests scripts && uv run ruff format --check src tests scripts uv run mypy --strict src uv run pytest --cov uv run python scripts/record_fixtures.py check uv run python scripts/gen_tools_reference.py && uv run python scripts/gen_config_reference.py uv run python scripts/gen_llms_txt.py && uv run python scripts/okf_validate.py docs uv run zensical build --clean --strict ``` * Every source file starts with SPDX lines (`SPDX-FileCopyrightText`, `SPDX-License-Identifier: MIT`); documentation pages carry a `CC-BY-4.0` SPDX comment. * Python 3.11+, PEP 8, type hints, `mypy --strict`. Upstream URLs live only in `providers/catalog.py` and the tool modules. * **Never write an API key value** into code, docs, fixtures, logs or commit messages; use placeholders such as ``. * Docs are an OKF v0.2 bundle: frontmatter with `type`, `generated`, `sources`, `status`; service facts carry `stale_after`; never add `verified:`. Log changes in `docs/log.md`. `llms.txt`, `llms-full.txt`, the tool reference and the configuration table are generated and committed. * Commit subjects start with `FIX:`, `FEATURE:`, `REFACTOR:`, `DOCS:`, `CLEANUP:`, `MODERNIZE:` or `UPDATE:`; the body says what, why and how it was tested. * CI (`.github/workflows/ci.yml`, `docs.yml`): lint, types and hermetic tests on Python 3.11-3.13 and a macOS job, the fixture policy check, the MCP conformance job with a grep for unused MCP features, docs checks (generated files in sync, OKF validation, `zensical build --strict`) and a live (`network`) job that does not run on pull requests. Actions are pinned by commit SHA. ---8<--- https://idss-mesa.github.io/nasa-mcp/develop/testing/ --- title: "Testing" description: "How nasa-mcp is tested: hermetic recorded fixtures with key scrubbing, MCP protocol tests and opt-in live tests." type: Reference tags: - testing - fixtures - ci generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" status: stable --- # Testing ```bash uv run pytest # hermetic: no network (addopts = -m 'not network') uv run pytest -m network tests/live # live, small volume uv run pytest -m "network and apikey" tests/live # NeoWs/InSight live tests: spend key quota uv run python scripts/record_fixtures.py check ``` * **Fixtures** (`tests/fixtures//...`, `manifest.json` with `key, status, contentType, transform, origin, recordedOn`) are replayed by `tests/fixture_router.py`, an `httpx.MockTransport` that fails the test on any unrouted request. `record_fixtures.py record` runs the calls in `tests/helpers.RECORDED_CALLS` through the real server with a recording transport, so keys are exactly what the server sends. Large bodies are reduced: the largest JSON list is halved until the file fits 48 KB, and the GIBS capabilities document is cut to a few layers; each reduction is the manifest `transform`. * **`check`** (CI) enforces <= 64 KB per file, <= 2 MB total, allow-listed hosts, GET only, no credential headers, no `api_key`-like parameters in keys or file names, and **no registered secret in any file**. api.nasa.gov requests carry the key from `NASA_MCP_NASA__API_KEY` (or DEMO_KEY); fixture keys drop it. * **Recorded fixtures:** 55, from the 16 hosts, recorded on 2026-11-27/28, including the NeoWs and InSight responses recorded with a personal key. NeoWs echoes the key inside its `links` URLs, so `record` masks every `api_key=` value (and any registered secret) before writing, and refuses to write a file that still contains the key. Keyed calls are skipped (keeping existing fixtures) when only DEMO_KEY is available. `scripts/make_synthetic_fixtures.py` can rebuild `origin: "synthetic"` stand-ins from saved samples if a personal key is ever unavailable. * **Tool tests** (`tests/tools/`): every tool through the router, including the quirk paths (DONKI empty body, EPIC `[]` for a missing day, SBDB 200-not-found and 300-ambiguous, Sentry removed objects, SSCWeb typed JSON, TAP 400 VOTable, EONET Content-Type). * **Client and cache:** key placement only on `api.nasa.gov` and never across redirects, redaction, short and long `Retry-After`, stale-if-error, single-flight. * **MCP protocol:** `tests/test_spec_conformance_2026_07_28.py` runs every tool through the SDK client in process (outputSchema validation, text == structured, `_meta`, cache hints), plus a real stdio subprocess and HTTP against uvicorn on 127.0.0.1 (health, readiness, 405s, Host guard, 413). * **Meta:** `test_integration_meta.py` (every tool has a unit and a live test), `test_docs_generation.py` (generated docs in sync, OKF valid, `llms.txt` complete), `test_no_local_paths.py`. * **Live tests** (`tests/live/`) carry `network`; NeoWs and InSight tests also carry `apikey`. They use `NASA_MCP_NASA__API_KEY` when set. Never on pull requests. * Coverage `fail_under = 85`; `mypy --strict`; ruff `E,F,I,UP,B,SIM,S,RUF`, line length 100. ---8<--- https://idss-mesa.github.io/nasa-mcp/about/ai-agents/ --- title: "For AI agents" description: "How AI agents should use nasa-mcp: which tool to call first, how to read units, notes and pages, the key quota, and citing." type: Guide tags: - agents - llms generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" status: stable --- # For AI agents * For NASA **data**, connect to the nasa-mcp server and call its tools; do not scrape these pages. Start with `nasa_list_services` (or the `nasa://guide/overview` resource). * Dates are `YYYY-MM-DD` (UTC). Read units from field names (`missDistanceKm`, `distAu`) and descriptions; JPL close-approach times are TDB. * Media tools return **URLs**. Show the URL to the user or let the client open it; do not try to describe an image you have not seen. * Read `notes`: they say when data are a **frozen archive** (InSight, sols 675-681, October 2020: never present it as current Mars weather), come from a **third-party host** (TLE API), or may be **copyrighted** (APOD: name the author in `credit`). * NeoWs and InSight tools spend api.nasa.gov quota. With DEMO_KEY that is about ten requests before a block of about a day, so avoid repeated calls; for asteroid questions prefer the keyless JPL tools (`nasa_ssd_close_approaches`, `nasa_ssd_sbdb_lookup`, `nasa_ssd_sentry`). On `rate_limited`, tell the user the operator can set `NASA_MCP_NASA__API_KEY`; the other services are unaffected. * If a result has `page.truncated: true`, call again with `offset = page.nextOffset` (or the next `page`). * Errors are tool results with `error.code`; `invalid_argument` lists valid values (for example EONET categories), SBDB ambiguity returns a candidate list. * Follow `nextSteps`. Quote `source.citation` when you report data. ---8<--- https://idss-mesa.github.io/nasa-mcp/about/citing/ --- title: "Citing NASA data" description: "NASA media usage guidelines and the credit line nasa-mcp puts in source.citation for each of the 16 services." type: Reference tags: - citation - credit - doi generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: catalog resource: "src/nasa_mcp/providers/catalog.py" title: "nasa-mcp service catalogue" author: "team:nasa-mcp" - id: nasa-media resource: "https://www.nasa.gov/nasa-brand-center/images-and-media/" title: "NASA Images and Media Usage Guidelines" author: "team:nasa" - id: exoplanet-ack resource: "https://exoplanetarchive.ipac.caltech.edu/docs/acknowledge.html" title: "NASA Exoplanet Archive acknowledgement" author: "team:nasa-exoplanet-archive" - id: gibs-docs resource: "https://nasa-gibs.github.io/gibs-api-docs/" title: "GIBS API documentation" author: "team:nasa-gibs" status: stable stale_after: "2027-11-27T00:00:00Z" --- # Citing NASA data Every result carries `source.citation`, the credit line for its service, taken from the service catalogue. Quote it with the access date when you present the data. ## General NASA guidance NASA material is generally not subject to copyright in the United States. Credit "NASA" (and the mission, center or photographer when named), do not use the NASA insignia or logotype, and do not imply NASA endorsement. See the [NASA Images and Media Usage Guidelines](https://www.nasa.gov/nasa-brand-center/images-and-media/){target=_blank}. ## Per service | Service | `source.citation` | | --- | --- | | APOD | Astronomy Picture of the Day, NASA / Michigan Technological University (https://apod.nasa.gov/). Credit the image author named in the copyright field. | | NeoWs | NASA Asteroids NeoWs, data from the JPL Center for Near-Earth Object Studies (CNEOS), https://cneos.jpl.nasa.gov/. | | DONKI | NASA Community Coordinated Modeling Center (CCMC), DONKI (https://ccmc.gsfc.nasa.gov/DONKI/). | | EPIC | NASA EPIC Team, DSCOVR Earth Polychromatic Imaging Camera (https://epic.gsfc.nasa.gov/). | | InSight | NASA/JPL-Caltech/Cornell/CAB, InSight Mars Weather Service. | | TechTransfer | NASA Technology Transfer Program (https://technology.nasa.gov/). | | Trek | NASA Solar System Treks Project, JPL/Caltech (https://trek.nasa.gov/). | | GIBS | We acknowledge the use of imagery provided by services from NASA's Global Imagery Browse Services (GIBS), part of NASA's Earth Science Data and Information System (ESDIS). | | EONET | NASA Earth Observatory Natural Event Tracker (EONET) v3 (https://eonet.gsfc.nasa.gov/). | | Image and Video Library | NASA Image and Video Library (https://images.nasa.gov/), plus the general NASA guidance above. | | JPL SSD / CNEOS | NASA/JPL Solar System Dynamics Group and Center for Near-Earth Object Studies (https://ssd.jpl.nasa.gov/, https://cneos.jpl.nasa.gov/). | | Exoplanet Archive | This research has made use of the NASA Exoplanet Archive, which is operated by the California Institute of Technology, under contract with NASA under the Exoplanet Exploration Program. DOI: 10.26133/NEA13 (Planetary Systems Composite Parameters). | | OSDR | NASA Open Science Data Repository (https://osdr.nasa.gov/); cite each study by its OSD accession and DOI. | | SSCWeb | NASA Satellite Situation Center (SSCWeb), Space Physics Data Facility, Goddard Space Flight Center (https://sscweb.gsfc.nasa.gov/). | | TechPort | NASA TechPort (https://techport.nasa.gov/). | | TLE API | TLE API by Ivan Stanojević (https://tle.ivanstanojevic.me/), data from CelesTrak (https://celestrak.org/). | ## Exceptions to watch * **APOD** images are often copyrighted by their authors. Name the author from `credit` and do not reuse the image without permission. * **Image and Video Library** items can include third-party material; check the description and photographer. * **Exoplanet Archive:** cite the DOI of the table you used (`nasa_exoplanet_query` can query tables other than Planetary Systems Composite Parameters). * **TLE API** is not NASA: credit it and CelesTrak. **This server (optional).** nasa-mcp, version, https://github.com/idss-mesa/nasa-mcp. ---8<--- https://idss-mesa.github.io/nasa-mcp/about/license/ --- title: "Licence and data terms" description: "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." type: Reference tags: - license - terms generated: by: "claude/opus-5.5" at: "2026-11-27T00:00:00Z" sources: - id: design resource: "DESIGN.md" title: "nasa-mcp design" author: "team:nasa-mcp" - id: research resource: "RESEARCH.md" title: "nasa-mcp research notes (upstream services, 2026-11-27)" author: "team:nasa-mcp" - id: nasa-media resource: "https://www.nasa.gov/nasa-brand-center/images-and-media/" title: "NASA Images and Media Usage Guidelines" author: "team:nasa" status: stable stale_after: "2027-11-27T00:00:00Z" --- # Licence and data terms * **Code:** MIT (see `LICENSE`); SPDX lines on every source file. Modules and scripts adapted from idss-mesa/neon-mcp (MIT), by way of weather-station-mcp, are credited in `NOTICE`. * **Documentation:** CC BY 4.0. * **Data returned by the server are not covered by the MIT licence.** nasa-mcp is not endorsed by or affiliated with NASA. * **NASA material** is generally not copyrighted in the United States; credit NASA, do not use NASA insignia and do not imply endorsement ([guidelines](https://www.nasa.gov/nasa-brand-center/images-and-media/){target=_blank}). * **APOD** images are often copyrighted by their authors. * **Image and Video Library** items can contain third-party material. * **Exoplanet Archive** and **GIBS** ask for acknowledgements; **OSDR** studies are cited by accession and DOI ([Citing](citing.md)). * **TLE API** is a third-party service mirroring CelesTrak, not NASA data. * **Test fixtures** are small extracts of upstream responses with source request, transform and fetch date in `tests/fixtures/manifest.json`. No key value is stored in any fixture (`api_key` values are masked when recording). ---8<--- https://idss-mesa.github.io/nasa-mcp/log/ # Directory Update Log ## 2026-11-28 * **Update**: [Install](getting-started/install.md) rewritten as a reproducible new-machine walkthrough (uv, pinned release tag, `uv sync --frozen` with a uv-managed Python, offline and live checks, updating). [The api.nasa.gov key](getting-started/api-key.md) now explains how to get your own key, store it per machine (private file or macOS Keychain) and troubleshoot it. [Clients](getting-started/clients.md) adds a launcher that reads the key file at start-up so client configs hold no secret. ## 2026-11-27 * **Creation**: Established the nasa-mcp documentation bundle (OKF v0.2): root [index](index.md), this log, the Zensical configuration, the vendored OKF validator, the `llms.txt` generator and the post-build agent surface. * **Creation**: [Getting started](getting-started/index.md) (with the [api.nasa.gov key](getting-started/api-key.md) guide and the generated settings table in [Configuration](getting-started/configuration.md)), [Tools](tools/index.md) (with the generated [Tool reference](tools/reference.md) and [Conventions](tools/conventions.md)), [Services](providers/index.md) (one page per service), [MCP protocol](mcp/index.md), [Deploy](deploy/index.md), [Develop](develop/index.md) and [About](about/index.md) sections. * **Note**: Service facts were observed live on 2026-11-27 (RESEARCH.md): the api.nasa.gov DONKI route answered 404, TechTransfer redirected to its docs, the legacy APOD returned wrong content ahead of its 2026-12-01 retirement, and DEMO_KEY allowed 10 requests before a block of about 22 hours. Service pages carry `stale_after` dates. * **Note**: NeoWs and InSight fixtures recorded with a personal key on 2026-11-28 (key values masked); see [Testing](develop/testing.md).