AN

ancode666/nasa-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

6 stars 6 forks 品質 69 トレンド 14MIT

MCP server for use NASA APIs

概要

allows you to retrieve astronomical data, space weather information, Earth imagery, and more from NASA's APIs directly from Claude AI and other MCP compatible clients, using the . NASA-MCP is an MCP server that exposes tools enabling LLMs to query data from various NASA APIs, including APOD (Astronomy Picture of the Day), Asteroids NeoWs, DONKI (Space Weather Database), Earth imagery, EPIC (Earth Polychromatic Imaging Camera), and Exoplanet data. It includes secure handling of API keys and proper error management for all API requests. - Access to with explanations and imagery - Query data and asteroid information - Retrieve data from DONKI, including solar flares, geomagnetic storms, and more - Get from Landsat 8 satellite for specific coordinates - Access camera images showing the full Earth disk - Query the database for information about planets outside our solar system To install NASA API Integration Server for Claude Desktop automatically via Smithery: - Python 3.

README

以下は原文 README の抜粋です。原文を見る。

NASA-MCP. Integration via MCP with NASA APIs

NASA is the National Aeronautics and Space Administration of the United States.

NASA-MCP allows you to retrieve astronomical data, space weather information, Earth imagery, and more from NASA’s APIs directly from Claude AI and other MCP compatible clients, using the Model Context Protocol (MCP).

NASA-MCP is an MCP server that exposes tools enabling LLMs to query data from various NASA APIs, including APOD (Astronomy Picture of the Day), Asteroids NeoWs, DONKI (Space Weather Database), Earth imagery, EPIC (Earth Polychromatic Imaging Camera), and Exoplanet data.

It includes secure handling of API keys and proper error management for all API requests.

Key Features

  • Access to Astronomy Picture of the Day (APOD) with explanations and imagery
  • Query Near Earth Objects data and asteroid information
  • Retrieve Space Weather data from DONKI, including solar flares, geomagnetic storms, and more
  • Get Earth imagery from Landsat 8 satellite for specific coordinates
  • Access EPIC camera images showing the full Earth disk
  • Query the Exoplanet Archive database for information about planets outside our solar system

Installation

Installing via Smithery

To install NASA API Integration Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @AnCode666/nasa-mcp --client claude

Install with uv

Prerequisites

  • Python 3.10 or higher
  • uv package manager

Installing uv

The first step is to install uv, a package manager for Python.
It can be installed from the command line.

On macOS and Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

On Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

You can also install it with pip:

pip install uv

For more information about installing uv, visit the uv documentation.

Integration with clients like Claude for Desktop

Once uv is installed, you can use the MCP server from any compatible client such as Claude for Desktop, in which case the steps to follow are:

  1. Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json
  2. Add the following block inside "mcpServers":
"nasa-mcp": {
    "command": "uvx",
    "args": [
        "nasa_mcp"
    ],
    "env": {
        "NASA_API_KEY": "YOUR_NASA_API_KEY"
    }
}
  1. Get a free API key from NASA at:
  2. Replace YOUR_NASA_API_KEY with your actual API key (leave the quotes). You can also use “DEMO_KEY” for limited testing.
GitHub で README 全文を見る

インストール

uvx nasa_mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →