
nasa/earthdata-mcp
Deployment & DevOpsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
NASAの共通メタデータリポジトリ(CMR)への直接アクセスが可能なLMMCP(Model Context Protocol)サーバーです.
概要
NASAの共通メタデータリポジトリ(CMR)への直接アクセスが可能なLMMCP(Model Context Protocol)サーバーです。 このインテグレーションにより、ユーザーは自然言語インターフェイスを介して地球科学データセットを発見、検証、アクセスすることができます。 すぐにEarthdataのクエリを開始するには、 を参照してください。 ツールの入力と出力方法の詳細な内訳は、CMR API と UMM スキーマのアンダーリングにマップを出力する方法については、 を参照してください。 - : 公式の Earthdata の科学的語彙の用語(NASA KMS から)を発見し、共同ユーザー入力(例: "rain")を正確に検索ラベルに翻訳します(例: "PRECIPITATION AMOUNT")。 - : 科学的キーワード、楽器、プラットフォーム、空間/時事制約を用いたデータセット(コレクション)を検索します。 - : コレクション内の特定のデータファイル(顆粒)を検索します。 特定の時間と場所の実際のデータ可用性を確認するために使用されます。 - : 収集に関連するデータアクセスエンドポイント(OPeNDAP、ハーモニー)および視覚化レイヤー(WMS/WMTS)を発見します.
概要(AI 翻訳)
MCP (Model Context Protocol) サーバは、NASA の地球科学データ API に直接アクセスできる LLM エージェントを提供しています。現在は Common Metadata Repository (CMR) です。 このインテグレーションにより、ユーザーは自然言語インターフェイスを介して地球科学データセットを発見、検証、アクセスすることができます。
すぐに Earthdata のクエリを開始するには、クライアントのセットアップ、例のクエリ、トラブルシューティングのドキュメントサイトにある「** Server**」または「user guide」を参照してください。 nasa.github.io/earthdata-mcp* で公開され、docs/ で維持されます。 ツールの入力と出力のマップを API やスキーマの背後にある方法については、Parameter サポートリファレンス を参照してください。
利用可能なツール
-[get_keywords: 公式の Earthdata 科学的語彙の用語(NAS KMS から)を発見し、共同ユーザー入力(例: “rain”)を正確な検索ラベル(例: “PRECIPITATION AMOUNT”)に変換します。
-[get_collections: 科学的キーワード、機器、プラットフォーム、空間/空間制約を使用してデータセット(コレクション)を検索します。
-[get_granules: コレクション内の特定のデータファイル(顆粒)を検索します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
earthdata-mcp
An MCP (Model Context Protocol) server providing LLM agents with direct access to NASA’s Earth science data APIs, currently the Common Metadata Repository (CMR). This integration enables users to agentically discover, verify, and access Earth science datasets through natural language interfaces.
To start querying Earthdata immediately, see Connecting to the Server below, or the user guide on the documentation site for client setup, example queries, and troubleshooting. The public consumer documentation is published at nasa.github.io/earthdata-mcp and maintained in docs/. For a detailed breakdown of how tool inputs and outputs map to the APIs and schemas behind them, see the Parameter Support Reference.
Available Tools
get_keywords: Discovers official Earthdata scientific vocabulary terms (from NASA KMS) to translate colloquial user inputs (e.g. “rain”) into precise search labels (e.g. “PRECIPITATION AMOUNT”).get_collections: Searches for datasets (collections) using scientific keywords, instruments, platforms, or spatial/temporal constraints.get_granules: Searches for specific data files (granules) within a collection. Used to verify actual data availability for a given time and location.get_services: Discovers data access endpoints (OPeNDAP, Harmony) and visualization layers (WMS/WMTS) associated with a collection.get_tools: Finds web portals (e.g., Giovanni, Worldview) and downloadable software (e.g., Panoply) associated with a collection, returning URLs and deep-linking templates.get_citations: Discovers citation records (publications, DOIs) associated with a collection, or looks up citations directly by identifier.get_variables: Discovers scientific variables and measurements associated with a collection, or looks up variables by keyword. Use this to understand specific data parameters (scale, offset, fill values) before downloading or analyzing data.
Agent Workflow Instructions
The server provides system instructions (prompts/instructions.py) that enforce a Discover → Verify → Access workflow for LLM clients:
- Discover: Find relevant collections using
get_collections. - Verify: Use
get_granulesto confirm data actually exists for the user’s requested region/time, as collections often declare global coverage regardless of gaps. - Access: Instruct users to use the
earthaccessPython library for authentication and downloading, providing relevant code snippets.
Project Structure
The repository is structured around a few core domains:
server.py&loader.py: The FastMCP server entry point and dynamic tool registration logic.
インストール
npx @modelcontextprotocol/inspector