NASA-MCP

by AnCode666
MIT License
  • Apple
  • Linux

Integrations

  • Enables querying NASA APIs for astronomical data including Astronomy Picture of the Day (APOD), Near Earth Objects, Space Weather (DONKI), Earth imagery from Landsat 8, EPIC camera images, and Exoplanet Archive database information.

NASA-MCP。MCPとNASA APIの統合

NASA はアメリカ合衆国のアメリカ航空宇宙局です。

NASA-MCP を使用すると、**モデル コンテキスト プロトコル (MCP)**を使用して、Claude AI やその他の MCP 互換クライアントから NASA の API から直接天文データ、宇宙天気情報、地球画像などを取得できます。

NASA-MCP は、APOD (Astronomy Picture of the Day)、Asteroids NeoWs、DONKI (Space Weather Database)、地球画像、EPIC (Earth Polychromatic Imaging Camera)、太陽系外惑星データなど、さまざまな NASA API から LLM がデータを照会できるようにするツールを公開する MCP サーバーです。

これには、API キーの安全な処理と、すべての API リクエストに対する適切なエラー管理が含まれます。

主な特徴

  • 説明と画像**付きの天文写真(APOD)**へのアクセス
  • 地球近傍天体データと小惑星情報のクエリ
  • 太陽フレア、地磁気嵐などを含む宇宙天気データをDONKIから取得します
  • 特定の座標のLandsat 8衛星から地球画像を取得します
  • 地球全体を映し出すEPICカメラ画像にアクセス
  • 太陽系外惑星に関する情報は**、Exoplanet Archive**データベースで検索できます。

インストール

前提条件

  • Python 3.10以上
  • UVパッケージマネージャー

uvのインストール

最初のステップは、Python のパッケージ マネージャーであるuvをインストールすることです。
コマンドラインからインストールできます

macOS および Linux の場合:

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

Windowsの場合:

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

pip を使ってインストールすることもできます:

pip install uv

uv のインストールの詳細については、 uv ドキュメントを参照してください。

Claude for Desktopなどのクライアントとの統合

uvがインストールされると、Claude for Desktop などの互換性のあるクライアントから MCP サーバーを使用できるようになります。その場合の手順は次のとおりです。

  1. **Claude > 設定 > 開発者 > 設定の編集 > claude_desktop_config.json**に移動します。
  2. "mcpServers"内に次のブロックを追加します。
"nasa-mcp": { "command": "uvx", "args": [ "nasa_mcp" ], "env": { "NASA_API_KEY": "YOUR_NASA_API_KEY" } }
  1. NASA から無料の API キーを取得するには、 https://api.nasa.gov/にアクセスしてください。
  2. YOUR_NASA_API_KEY実際のAPIキーに置き換えてください(引用符はそのままにしてください)。限定的なテストには「DEMO_KEY」を使用することもできます。
  3. すでに別の MCP サーバーが設定されている場合は、各サーバーをコンマ,で区切ります。

一般に、Cursor、CODEGPT、Roo Code などの他の MCP 互換クライアントに統合するには、クライアントの MCP サーバー構成に移動して、同じコード ブロックを追加するだけです。

使用例

適切に設定したら、次のような質問をすることができます。

- "Show me today's astronomy picture of the day" - "Find asteroids that will pass near Earth in the next week" - "Get information about solar flares from January 2023" - "Show me Earth imagery for coordinates 29.78, -95.33" - "Find exoplanets in the habitable zone"

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

LLM がさまざまな NASA API からデータを照会できるようにする MCP サーバー。これにより、互換性のある AI クライアントから天文データ、宇宙天気情報、地球画像、太陽系外惑星情報に直接アクセスできるようになります。

  1. Key Features
    1. Installation
      1. Prerequisites
      2. Installing uv
    2. Integration with clients like Claude for Desktop
      1. Usage Examples

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          An MCP server implementation that integrates the Tavily Search API, providing optimized search capabilities for LLMs.
          Last updated -
          1
          TypeScript
          MIT License
          • Apple
        • -
          security
          A
          license
          -
          quality
          MCP server for toolhouse.ai. This does not rely on an external llm unlike the official server.
          Last updated -
          1
          Python
          MIT License
        • -
          security
          F
          license
          -
          quality
          An MCP server that fetches RSS feeds and shares them with LLMs, allowing AI assistants to access and present the latest news and articles from configured feeds.
          Last updated -
          1
          TypeScript
        • -
          security
          A
          license
          -
          quality
          MCP server that enables LLMs to interact with Tripadvisor API, supporting location data, reviews, and photos through standardized MCP interfaces
          Last updated -
          Python
          MIT License
          • Linux
          • Apple

        View all related MCP servers

        ID: rrycjdkdg8