Nasa MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Nasa MCP or direct API to search planetary images, fetch Earth science datasets, access Mars rover media, and discover NASA tech transfer info through natural language.

Nasa logoNasa
Api Key

Nasa offers a rich suite of APIs for Earth science, planetary imagery, and more. Get direct access to research data and stunning visuals for exploration and analysis.

136 Tools

Try Nasa now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Nasa
Try asking
TOOLS

Supported Tools

Every Nasa action and event your agent gets out of the box.

Browse Near Earth Objects

Browse the complete NASA near-Earth object (asteroid) dataset with pagination support.

Create Graph Request

Tool to create orbital and position graphs for NASA satellites using the Satellite Situation Center (SSC) web service.

Delete CMR Association

Tool to delete an existing association between concepts in NASA's Common Metadata Repository.

Delete CMR ACL

Tool to delete an Access Control List (ACL) from NASA's Common Metadata Repository.

Download Citation Document

Downloads a document file from a NASA NTRS (NASA Technical Reports Server) citation.

Get AGAGE Data Files

Tool to retrieve information about AGAGE (Advanced Global Atmospheric Gases Experiment) data files.

Get AGAGE Data by File Name

Search for AGAGE (Advanced Global Atmospheric Gases Experiment) data files by file name.

Get AGAGE Data JSON for Graph

Retrieve AGAGE atmospheric composition data in JSON format optimized for graphing.

Get AGAGE Data Versions

Tool to retrieve information on all AGAGE (Advanced Global Atmospheric Gases Experiment) data versions.

Get Astronomy Picture of the Day

Retrieves NASA's Astronomy Picture of the Day (APOD) for a specified date or today.

Get Citation by ID

Tool to retrieve detailed citation information from NASA Technical Reports Server (NTRS) by citation ID.

Get Citation Downloads

Tool to retrieve all available download links for a NASA technical report or publication by citation ID.

Get Citation Revision ID

Tool to retrieve citation revision IDs from NASA Common Metadata Repository (CMR) GraphQL API.

Get Citations Autocomplete

Tool to get autocomplete suggestions from NASA NTRS (Technical Reports Server) citations.

Get Citations Redistributions

Tool to retrieve redistributed citations from NASA's Technical Reports Server (NTRS).

Get CMR Collections

Tool to retrieve collections from the Common Metadata Repository (CMR).

Get CMR Granules

Search for data granules in NASA's Common Metadata Repository (CMR).

Get AGAGE Compounds

Tool to retrieve information on all data compounds available in NASA's AGAGE (Advanced Global Atmospheric Gases Experiment) API.

Get Data by File Name

Get information about specific TOLNet (Tropospheric Ozone Lidar Network) data files by file name.

Get AGAGE Data Download

Download AGAGE (Advanced Global Atmospheric Gases Experiment) data files by ID.

Get Data Frequencies

Retrieves all available data frequency options from NASA's AGAGE (Advanced Global Atmospheric Gases Experiment) mission.

Get TOLNet Data JSON

Tool to retrieve JSON versions of TOLNet (Tropospheric Ozone Lidar Network) data by ID.

Get TOLNet Data JSON for Graph

Tool to retrieve JSON versions of TOLNet data including O3_Number_Density (ozone mixing ratio) and temporal boundaries.

Get Document

Tool to retrieve metadata for a single TOLNet (Tropospheric Ozone Lidar Network) document by ID.

Get Document Download

Download a single TOLNet (Tropospheric Ozone Lidar Network) document by ID.

Get TOLNet Documents

Tool to retrieve document information from NASA's TOLNet (Tropospheric Ozone Lidar Network) archive.

Get DONKI CME Data

Tool to retrieve Coronal Mass Ejection (CME) data from NASA's DONKI database.

Get DONKI CME Analysis

Tool to retrieve Coronal Mass Ejection (CME) analysis data from NASA's DONKI (Database Of Notifications, Knowledge, Information) system.

Get DONKI Geomagnetic Storms

Tool to retrieve Geomagnetic Storm (GST) data from NASA's Space Weather Database Of Notifications, Knowledge, Information (DONKI).

Get DONKI HSS Data

Tool to retrieve High Speed Stream (HSS) data from NASA's DONKI space weather database.

Get DONKI IPS Data

Tool to retrieve Interplanetary Shock (IPS) data from NASA's DONKI space weather database.

Get DONKI Magnetopause Crossing Data

Tool to retrieve Magnetopause Crossing (MPC) events from NASA's DONKI space weather database.

Get DONKI Space Weather Notifications

Tool to retrieve space weather notifications from NASA's DONKI (Space Weather Database Of Notifications, Knowledge, Information).

Get DONKI Radiation Belt Enhancement Events

Retrieves Radiation Belt Enhancement (RBE) events from NASA's DONKI Space Weather Database.

Get DONKI SEP Events

Get Solar Energetic Particle (SEP) events from NASA's DONKI space weather database.

Get DONKI Solar Flares

Tool to retrieve Solar Flare (FLR) events from NASA's DONKI (Space Weather Database Of Notifications, Knowledge, Information).

Get DONKI WSA-ENLIL Simulations

Retrieve WSA-ENLIL solar wind model simulation data from NASA's DONKI system.

Get EONET Categories

Tool to retrieve a list of all event categories from EONET.

Get EONET Category Events

Tool to retrieve natural events filtered by a specific category from NASA's EONET.

Get EONET Event by ID

Tool to retrieve a specific natural event by its unique ID from NASA's Earth Observatory Natural Event Tracker (EONET).

Get EONET Events

Tool to retrieve natural events from NASA's Earth Observatory Natural Event Tracker (EONET).

Get EONET Events (ATOM)

Tool to retrieve a list of natural events in ATOM format.

Get EONET Events GeoJSON

Tool to retrieve natural events from NASA's Earth Observatory Natural Event Tracker (EONET) in GeoJSON format.

Get EONET Events RSS

Retrieve natural events from NASA's Earth Observatory Natural Event Tracker (EONET) in RSS/GeoRSS XML format.

Get EONET Layers

Retrieves NASA EONET imagery layers for visualizing natural events.

GET EONET Magnitudes

Tool to retrieve a list of available event magnitudes and their descriptions.

Get EONET Sources

Retrieves the complete list of event data sources available in NASA's EONET (Earth Observatory Natural Event Tracker) system.

Get EPIC Aerosol Imagery Metadata

Tool to retrieve metadata for the most recent aerosol index imagery from NASA's DSCOVR EPIC camera.

Get EPIC Aerosol Imagery by Date

Retrieves metadata for aerosol index imagery from NASA's EPIC camera for a specific date.

Get EPIC Cloud Fraction Imagery

Retrieve metadata for the most recent cloud fraction imagery from NASA's DSCOVR EPIC camera.

Get EPIC Cloud Imagery by Date

Get metadata for cloud fraction imagery from DSCOVR EPIC camera for a specific date.

Get EPIC Enhanced Color Imagery

Retrieves metadata for the most recent enhanced color Earth imagery from the DSCOVR EPIC camera.

Get EPIC Enhanced Color Imagery by Date

Retrieves metadata for enhanced color Earth imagery from DSCOVR EPIC for a specific date.

Get EPIC Natural Color Imagery

Retrieve metadata for the most recent natural color Earth imagery from NASA's DSCOVR EPIC camera.

Get EPIC Natural Color Images by Date

Retrieves metadata for natural color Earth imagery from DSCOVR EPIC for a specific date.

Get File Types

Tool to retrieve information on all data file types from NASA's TOLNET API.

Get GeneLab Data System Files

Retrieves file metadata from NASA's GeneLab Data System (GLDS) for specified dataset IDs.

Get ICESat-2 Tracks

Retrieves a list of ICESat-2 satellite tracks (Reference Ground Tracks - RGTs) within a specified geographic bounding box.

Get Image Asset Manifest

Retrieve a media asset's manifest from the NASA Image and Video Library, including links to all available sizes and formats.

Get Image Metadata Location

Retrieve the location URL of a media asset's metadata manifest from the NASA Image and Video Library.

Get InSight Mars Weather Data

Retrieves Mars weather data from NASA's InSight lander at Elysium Planitia.

Get Instruments Groups

Tool to retrieve information on all instrument groups from NASA's TOLNET API.

Get Landing Page

Tool to retrieve the NASA STAC API landing page (root endpoint).

Get ICESat-2 Level-3A Data

Tool to access ICESat-2 Level-3A product data from OpenAltimetry.

Get Mars Rover Photos

Retrieves photos taken by NASA Mars rovers (Perseverance, Curiosity, Opportunity, Spirit) on a specific Martian sol (day).

Get NEO Lookup

Lookup a specific asteroid by its NASA SPK-ID.

Get OSDR Biospecimen

Tool to retrieve detailed information about a specific biospecimen from NASA's Open Science Data Repository (OSDR).

Get OSDR Experiment

Retrieve detailed information about a specific OSDR (Open Science Data Repository) experiment by its identifier.

Get OSDR Hardware

Retrieve detailed information about specific hardware from NASA's Open Science Data Repository (OSDR).

Get OSDR Study Metadata

Retrieve complete metadata for an OSDR (Open Science Data Repository) study dataset.

Get OSDR Mission Details

Retrieve detailed information about a specific space mission from NASA's Open Science Data Repository (OSDR).

Get OSDR Payload Details

Retrieve detailed metadata for a specific OSDR payload by its identifier.

Get OSDR Subject Information

Retrieve detailed information about a specific subject (biospecimen) from NASA's Open Science Data Repository (OSDR).

Get OSDR Vehicle Information

Retrieve detailed information about a specific vehicle from NASA's Open Science Data Repository (OSDR).

Get POWER Climatology Data

Retrieves long-term climatology data for a specific location from NASA POWER (Prediction Of Worldwide Energy Resources).

Get POWER Daily Data

Retrieves daily average solar and meteorological data from NASA POWER (Prediction Of Worldwide Energy Resources).

Get POWER Daily Regional Data

Tool to retrieve daily average solar and meteorological data for a regional bounding box from NASA POWER (Prediction Of Worldwide Energy Resources).

Get POWER Monthly Data

Retrieves monthly average solar and meteorological data for a specific location from NASA POWER (Prediction Of Worldwide Energy Resources).

Get POWER Hourly Temporal Data

Retrieves hourly climate and meteorological data from NASA POWER (Prediction of Worldwide Energy Resources) API for a specific location and date range.

Get Processing Types

Tool to retrieve information on all data instruments from NASA's AGAGE mission.

Get Product Types

Tool to retrieve all data product types from NASA's TOLNET (TOLNet Ozone Lidar Network) API.

Get Satellite Locations

Retrieves satellite location data from NASA's Satellite Situation Center (SSC).

Get AGAGE Data Stations

Tool to retrieve information on all AGAGE (Advanced Global Atmospheric Gases Experiment) data stations.

Get TechPort Project

Retrieves detailed information about a specific NASA technology project from TechPort.

Get TOLNet Data

Tool to retrieve information about TOLNet (Tropospheric Ozone Lidar Network) data files.

Get TOLNet Data Calendar

Tool to retrieve a date-driven list of all available TOLNet (Tropospheric Ozone Lidar Network) data.

Get Video Captions

Retrieves the location URL of caption files for NASA video assets from the NASA Image and Video Library.

List EPIC Aerosol Dates

Tool to retrieve a list of all dates with available aerosol index EPIC imagery.

List EPIC Cloud Fraction Dates

Retrieve a listing of all dates with available cloud fraction Earth imagery from DSCOVR EPIC.

List EPIC Enhanced Color Dates

Retrieves a listing of all dates with available enhanced color Earth imagery from NASA's DSCOVR EPIC (Earth Polychromatic Imaging Camera).

List EPIC Natural Color Dates

Retrieve a listing of all dates with available natural color Earth imagery from DSCOVR EPIC.

List Ground Stations

Retrieves the complete list of ground stations available from NASA's Satellite Situation Center (SSC).

List Satellite Locations (GSE/GEO)

Retrieves satellite/observatory location data in GSE and GEO coordinate systems from NASA's SSC (Satellite Situation Center).

List Observatories

Tool to retrieve descriptions of all observatories available from NASA's Satellite Situation Center (SSC).

List OSDR Biospecimens

Tool to retrieve a list of all biospecimens from the NASA Open Science Data Repository (OSDR).

List OSDR Experiments

Tool to retrieve a list of all experiments from NASA's Open Science Data Repository (OSDR).

List OSDR Hardware

Tool to retrieve a list of all hardware from NASA's Open Science Data Repository (OSDR).

List OSDR Missions

Tool to retrieve a list of all space missions from the NASA Open Science Data Repository (OSDR).

List OSDR Payloads

Tool to retrieve a list of all payloads from the NASA Open Science Data Repository (OSDR).

List OSDR Subjects

Tool to retrieve a list of all subjects from the NASA Open Science Data Repository (OSDR).

List OSDR Vehicles

Tool to retrieve a list of all vehicles from the NASA Open Science Data Repository (OSDR).

Query Citation

Tool to query citation metadata from NASA's GraphQL Earthdata API.

Query Citations via GraphQL

Tool to query NASA Common Metadata Repository (CMR) GraphQL API for collection citations.

Query CMR Collection

Tool to query a single collection from NASA's Common Metadata Repository using its unique concept ID.

Query CMR Collections

Tool to query multiple collections from NASA's Common Metadata Repository via GraphQL.

Query CMR Granule by Concept ID

Query for a single granule (individual data file) from NASA's Common Metadata Repository using its unique concept ID.

Query CMR Granules

Tool to query for multiple granules (individual data files) from NASA's Common Metadata Repository via GraphQL.

Query CMR Grids

Query for multiple grids from NASA's Common Metadata Repository (CMR) via GraphQL.

Query CMR Service

Tool to query a single service from NASA's Common Metadata Repository using its unique concept ID.

Query CMR Services

Tool to query for multiple services from NASA's Common Metadata Repository via GraphQL.

Query CMR Subscription

Tool to query a single subscription from NASA's Common Metadata Repository using its unique concept ID.

Query CMR Subscriptions

Query for multiple subscriptions from NASA's Common Metadata Repository (CMR).

Query CMR Tool

Tool to query a single tool from NASA's Common Metadata Repository using its unique concept ID.

Query CMR Tools

Tool to query multiple tools from NASA's Common Metadata Repository using GraphQL.

Query CMR Variable

Tool to query a single variable from NASA's Common Metadata Repository using its unique concept ID.

Query Collection Draft

Tool to query a NASA Earthdata collection draft by ID using the GraphQL API.

Query Data Quality Summaries

Query data quality summaries from NASA's Common Metadata Repository (CMR) GraphQL API.

Query Data Quality Summary

Query for a single Data Quality Summary from NASA's Common Metadata Repository (CMR) using GraphQL.

Query Exoplanet Archive

Tool to query NASA's Exoplanet Archive NSTED API for exoplanet and related astronomical data.

Query Order Option

Tool to query a single order option from NASA Earthdata GraphQL API.

Query Order Options

Tool to query order options for a NASA Earthdata collection using the GraphQL API.

Query Permissions

Tool to query permissions from NASA's Common Metadata Repository (CMR) GraphQL API.

Query CMR Providers

Tool to query for a list of data providers from NASA's Common Metadata Repository via GraphQL.

Query Tag Definitions

Tool to query tag definitions from NASA's Common Metadata Repository (CMR) GraphQL API.

Query Tool Draft

Tool to query a tool draft from NASA's Common Metadata Repository (CMR) GraphQL API.

Query Visualization

Tool to query a single visualization from NASA's Common Metadata Repository using its unique concept ID.

Query Visualizations

Tool to query for visualizations from NASA's Common Metadata Repository via GraphQL.

Restore Citation Revision

Tool to restore a previous version of a citation record within NASA's Common Metadata Repository.

Restore Collection Revision

Tool to restore a collection to a previous revision in NASA's Common Metadata Repository.

Restore Visualization Revision

Tool to restore a previous revision of a visualization in NASA's Common Metadata Repository.

Search NTRS Citations

Tool to search NASA Technical Reports Server (NTRS) citations database.

Search Near Earth Objects

Search for near-Earth objects (asteroids) by their closest approach date to Earth.

Search OSDR

Tool to search NASA Open Science Data Repository (OSDR) for space biology experiments and studies.

Search Public Space Documents

Search NASA public space technical documents in the NTRS (NASA Technical Reports Server) repository.

Search SVS Visualizations

Tool to search for visualizations in the Scientific Visualization Studio (SVS).

Search Technology Transfer Software

Search NASA's Technology Transfer software catalog for available tools and applications.

SETUP GUIDE

Connect Nasa MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK and Claude Agent SDK
2

Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });

console.log("Creating Tool Router session...");
const { mcp } = await composio.create('your-user-id');
console.log(`Tool Router session created: ${mcp.url}`);
Initialize the Composio client and create a Tool Router session
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText, stepCountIs } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: mcp.url,
    headers: { 'x-api-key': 'your-composio-api-key' }
  }
});

const tools = await client.tools();

const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{ role: 'user', content: 'Get Mars rover photos from Curiosity for sol 1000' }],
  stopWhen: stepCountIs( 5 )
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent
SETUP GUIDE

Connect Nasa API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Nasa Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'Show latest Mars rover photos from Curiosity'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Nasa actions with your Agent

Why Use Composio?

AI Native Nasa Integration

  • Supports both Nasa MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Nasa data

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke Nasa access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Nasa
  • Scoped, least privilege access to Nasa resources
  • Full audit trail of agent actions to support review and compliance
FAQ

Frequently asked questions

Yes, Nasa requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with Nasa.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Nasa tool your agent needs.Free to start.

Start building