Set up NASA in Metorial for Claude, ChatGPT and Cursor
Share NASA with your team in Claude, ChatGPT and Cursor through Metorial: NASA API key sign-in, 20 tools, all read-only.
To give your team NASA in Claude, ChatGPT, Cursor and other AI clients, an admin shares the NASA integration in a Metorial portal, and each person connects with an NASA API key. Agents can read NASA astronomy, asteroid, EPIC Earth imagery, natural event, space weather, media, technology project, exoplanet, and solar-system data. The integration has 20 tools, all read-only, plus 1 trigger.
What you'll learn
- How an admin shares NASA in a portal and how each person connects
- What NASA asks for when you connect, and where to find it
- How to check the connection with
metorial call
Before you start
- A portal with at least one access group
- An NASA API key from NASA for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| NASA API Key | API token | apiKey |
NASA API Key
To connect, a person enters:
apiKey: NASA API key obtained from api.nasa.gov. Use DEMO_KEY for light testing.
Admin: share NASA in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose NASA. For how members connect, choose Each person connects so everyone enters their own NASA API key, or Shared connection to enter one NASA API key for everyone.
Choose who gets it
Add the access groups that should see NASA. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user NASA integration. Once it exists, check which groups have it:
Employee: connect NASA
In the portal
Open NASA in the catalog
Sign in to your portal and open NASA. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your NASA API key (apiKey).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID.
Add it to your AI client
metorial install adds your NASA connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Every NASA tool only reads, so the connection is read-only as it is.
Check it worked
metorial tools lists the 20 tools, minus any you rejected. get_space_weather needs eventType, so replace the placeholders. It queries NASA's Space Weather Database (DONKI) for space weather events.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (20)
search_asteroids: Search for near-Earth asteroids (NEOs) using NASA's NeoWs service.get_earth_imagery: Retrieve Landsat satellite imagery and asset information for a specific location on Earth. Needslatandlon.get_natural_events: Search for natural events tracked by NASA's Earth Observatory Natural Event Tracker (EONET).get_techport_project: Retrieve details about a NASA technology development project from TechPort.search_tle: Search for Two-Line Element Set (TLE) orbital data for Earth-orbiting satellites.get_epic_images: Retrieve full-disc images of Earth from the EPIC (Earth Polychromatic Imaging Camera) aboard NOAA's DSCOVR spacecraft.get_space_weather: Query NASA's Space Weather Database (DONKI) for space weather events. NeedseventType.get_close_approaches: DEPRECATED — use query_close_approaches instead.get_mars_rover_photos: Retrieve photos taken by NASA's Mars rovers (Curiosity, Opportunity, Spirit). Needsrover.get_nasa_media_assets: Retrieve the full list of asset files (different resolutions, formats) for a specific NASA media item by its NASA ID. NeedsnasaId.get_mars_rover_manifest: Retrieve the mission manifest for a NASA Mars rover. Needsrover.get_apod: DEPRECATED — use get_apod_entries instead.lookup_small_body: Look up asteroid or comet data from JPL's Small-Body Database (SBDB).search_nasa_media: Search NASA's Image and Video Library for photos, videos, and audio.query_exoplanets: Query NASA's Exoplanet Archive for data on confirmed exoplanets, stellar hosts, and related survey results. Needstable.get_fireballs: Retrieve fireball and bolide event data from NASA's SSD/CNEOS system.query_close_approaches: Query JPL asteroid and comet close approaches with provider-accurate nullable measurements, optional diameters, object names, and pagination.get_natural_event_catalog: Discover the current EONET category and source identifiers, titles, descriptions, and links for filtering get_natural_events.get_nasa_media_metadata: Retrieve a downloadable metadata JSON file or video captions file for a NASA Image and Video Library item.get_apod_entries: Retrieve Astronomy Picture of the Day entries with their scientific explanations, NASA article permalinks, media types, and available featured images.
Triggers
NASA has 1 trigger, which fire on events in NASA:
inbound_webhook
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use NASA there
- Tool permissions: tool filters and what employees see
- NASA on metorial.com: the integration overview