Earthdata MCP Server

by datalayer
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Offers containerized deployment of the MCP server through Docker, simplifying setup and ensuring consistent environments for Earth data analysis workflows.

  • Provides tools to interact with NASA Earth Data for efficient dataset discovery and retrieval for geospatial analysis, including searching for datasets and data granules with filtering by keywords, temporal ranges, and geographical bounding boxes.

🪐 ✨ Earthdata MCP 服务器

Earthdata MCP 服务器是一个模型上下文协议(MCP) 服务器实现,提供与NASA 地球数据交互的工具。它能够高效地发现和检索数据集,以进行地理空间分析。

以下演示使用此 MCP 服务器在 NASA Earthdata 上搜索数据集和数据颗粒,使用jupyter-earth-mcp-server在 Jupyter 中下载数据,并使用jupyter-mcp-server进行进一步分析。

与 Claude Desktop 一起使用

要将其与 Claude Desktop 一起使用,请将以下内容添加到您的claude_desktop_config.json中。

{ "mcpServers": { "earthdata": { "command": "docker", "args": [ "run", "-i", "--rm", "datalayer/earthdata-mcp-server:latest" ] } } }

如果您使用的是 Linux,请使用以下命令启动 Claude。

make claude-linux

工具

该服务器提供 2 种工具。

search_earth_datasets

  • 在 NASA Earthdata 上搜索数据集。
  • 输入:
    • search_keywords(str):在数据集标题中搜索的关键字。
    • count(int):要返回的数据集的数量。
    • 时间(元组):(可选)格式为(date_from,date_to)的时间范围。
    • bounding_box(元组):(可选)格式为(lower_left_lon、lower_left_lat、upper_right_lon、upper_right_lat)的边界框。
  • 返回:数据集摘要列表。

search_earth_datagranules

  • 在 NASA Earthdata 上搜索数据颗粒。
  • 输入:
    • short_name(str):数据集的简称。
    • count(int):要返回的数据颗粒数量。
    • 时间(元组):(可选)格式为(date_from,date_to)的时间范围。
    • bounding_box(元组):(可选)格式为(lower_left_lon、lower_left_lat、upper_right_lon、upper_right_lat)的边界框。
  • 返回:数据颗粒列表。

提示

  1. sealevel_rise_dataset
    • 搜索与全球海平面上升相关的数据集。
    • 输入:
      • start_year (int):考虑的开始年份。
      • end_year (int):考虑的结束年份。
    • 返回:提示格式正确。
  2. ask_datasets_format
    • 询问数据集的格式。
    • 返回:提示格式正确。

建筑

# or run `docker build -t datalayer/earthdata-mcp-server .` make build-docker

如果您愿意,您可以拉取预先构建的图像。

make pull-docker
-
security - not tested
F
license - not found
-
quality - not tested

模型上下文协议服务器,能够高效发现和检索 NASA 地球数据以进行地理空间分析。

  1. Use with Claude Desktop
    1. Tools
      1. search_earth_datasets
      2. search_earth_datagranules
    2. Prompts
      1. Building
        ID: anr1u7lcnx