Skip to main content
Glama

エンes

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**データベースで検索できます。

Related MCP server: nasa-exoplanet-mcp

インストール

前提条件

  • 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"
Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    B
    maintenance
    A Model Context Protocol server that provides a standardized interface for AI models to interact with NASA's vast array of data sources including APOD, Mars Rover photos, satellite imagery, and space weather data.
    23
    98
    92
    ISC
  • A
    license
    A
    quality
    C
    maintenance
    MCP server providing AI agents with access to NASA and space/astronomy data including APOD, Mars rover photos, near-Earth asteroids, exoplanets, Earth imagery, natural events, and space weather.
    11
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • MCP server for AI dialogue using various LLM models via AceDataCloud

  • MCP server connecting AI agents to non-custodial staking data across 130+ networks.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AnCode666/nasa-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server