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: MCP Google Map 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
-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

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/datalayer/earthdata-mcp-server'

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