Skip to main content
Glama
datalayer

Earthdata MCP Server

by datalayer

数据层

成为赞助商

🪐 ✨ Earthdata MCP 服务器

Github Actions 状态 PyPI - 版本

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

Related MCP server: Jupyter Earth MCP Server

工具

该服务器提供 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

Related MCP Connectors

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
    53 npm
    92
    ISC
  • A
    license
    A
    quality
    B
    maintenance
    A Model Context Protocol server that connects Large Language Models to the GeoServer REST API, enabling AI assistants to query and manipulate geospatial data through natural language.
    9
    92
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol server for retrieving land cover, soil type, and temporal land use data for any geographical coordinates using the National Land Cover Database and FAO soil classifications.
    MIT