NASA-MCP-server

NASA-MCP-server

37

NASA MCP Server is an MCP server designed to provide standardized access to over 20 NASA APIs. Its purpose is to facilitate AI model interaction with NASA data through a consistent interface. Key features include automatic parameter validation, cross-platform support, and comprehensive documentation.

NASA MCP Server

A Model Context Protocol (MCP) server for NASA APIs, offering a standardized interface for AI models to access NASA's extensive data sources. It features access to over 20 NASA data sources, standardized data formats for AI, parameter validation, and error handling. It supports various NASA imagery formats and offers data conversion for LLM compatibility. It is cross-platform and comes with comprehensive documentation.

Features

  • Access to 20+ NASA data sources
  • Standardized data formats optimized for AI
  • Automatic parameter validation and error management
  • Rate limit management
  • Cross-platform support

Installation

Running with npx

Utilize the npx command to run the server with your NASA API key.

Manual Installation

Clone the repository, install dependencies, and start the server with your NASA API key.

Environment Variables

NASA_API_KEY: Your NASA API key (get at api.nasa.gov).

Included NASA APIs

  1. NASA Open API: APOD, EPIC, DONKI, Insight, Mars Rover Photos, NEO, EONET, TLE, NASA Image and Video Library, Exoplanet Archive, NASA Sounds API, POWER.
  2. JPL Solar System Dynamics API: SBDB, Fireball Data, Scout API.
  3. Earth Data APIs: GIBS, CMR, EPIC, FIRMS.

Security Considerations

Includes input validation, no execution of arbitrary code, protection against command injection, proper error handling, rate limiting, and timeout controls.

Development

Clone the repository, install dependencies, setup environment files, build TypeScript code, and run the development server.