Earthdata MCP Server

Earthdata MCP Server

earthdata-mcp-server•bydatalayer

An MCP server implementation that provides tools for interacting with NASA Earth Data, available standalone or as a toolset on a reactor MCP host.

License: BSD 3-Clause License•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Searches NASA Earthdata datasets by keywords, with optional temporal range and bounding box filters.
  • •Searches data granules for a dataset by short name, with optional temporal and bounding box filters.
  • •Supports granule download workflows in manifest, download, or script modes.
  • •Includes prompts for sea level rise workflows and dataset format questions.

BEST FOR

  • •Discovering and inspecting NASA Earthdata datasets and granules before downloading.
  • •Generating notebook-executable download scripts for use in composed notebook or runtime stacks.
  • •Server-side downloading of Earthdata granules into a target folder with NASA Earthdata Login credentials.

ABOUT EARTHDATA-MCP-SERVER

Earthdata MCP Server is cataloged as an MCP server attributed to datalayer. An MCP server implementation that provides tools for interacting with NASA Earth Data, available standalone or as a toolset on a reactor MCP host. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: BSD 3-Clause License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Earthdata MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does using the Earthdata MCP Server always require NASA Earthdata Login credentials?

No. None of the tools needs credentials except the download tool in download mode, while its manifest and script modes work anonymously.

What transports can the standalone Earthdata MCP Server use?

It can serve the Earthdata tools over stdio or streamable HTTP.

What does the manifest mode of the download tool return?

It returns a structured preview with IDs, titles, and links without writing files.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 08bb928b5f89 · 采集于 2026-11-13 09:53:29 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Datalayer

Become a Sponsor

🪐 ✨ Earthdata MCP Server

PyPI - Version Build

Earthdata MCP Server is a Model Context Protocol (MCP) server implementation that provides tools to interact with NASA Earth Data.

It is built as a reactor_mcp_server extension, so it runs two ways:

  • On its own: earthdata-mcp-server start serves the Earthdata tools and nothing else, over stdio or streamable HTTP.
  • As a toolset: installed beside any reactor_mcp_server host, it is discovered and served as the opt-in earthdata toolset to a client that asks for it: /mcp?earthdata. The Datalayer MCP Server serves it this way, next to notebooks and sandboxes.

The server is intentionally Earthdata-only. For notebook and runtime tools, serve it beside them on one host, or compose it with jupyter-mcp-server using mcp-compose.

Key Features

  • Dataset discovery on NASA Earthdata
  • Granule search with temporal and bounding box filters
  • Flexible download workflow with explicit execution modes

Getting Started

Local install

pip install earthdata-mcp-server

# stdio, for a client that launches the server
earthdata-mcp-server start

# streamable HTTP, at http://localhost:4040/mcp
earthdata-mcp-server start --transport streamable-http --port 4040
OptionEnvironmentDefault
--transportTRANSPORTstdio (or streamable-http)
--hostHOST0.0.0.0
--portPORT4040

As a toolset on a reactor MCP host

pip install earthdata-mcp-server "reactor_mcp_server[server]"
reactor-mcp-server --port 4040

A client connecting to http://localhost:4040/mcp?earthdata gets the Earthdata tools beside whatever else is installed; /toolsets lists what the host offers. In code:

from reactor_mcp_server import build_host, create_mcp_app
from earthdata_mcp_server import EarthdataExtension

app = create_mcp_app(build_host([EarthdataExtension()]), path="/mcp")

EarthdataExtension(default=True) serves the toolset to a client that names none.

Docker with Claude Desktop

{
  "mcpServers": {
    "earthdata": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e", "EARTHDATA_USERNAME",
        "-e", "EARTHDATA_PASSWORD",
        "datalayer/earthdata-mcp-server:latest"
      ],
      "env": {
        "EARTHDATA_USERNAME": "your_username",
        "EARTHDATA_PASSWORD": "your_password"
      }
    }
  }
}

Linux host networking

{
  "mcpServers": {
    "earthdata": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--network=host",
        "-e", "EARTHDATA_USERNAME",
        "-e", "EARTHDATA_PASSWORD",
        "datalayer/earthdata-mcp-server:latest"
      ],
      "env": {
        "EARTHDATA_USERNAME": "your_username",
        "EARTHDATA_PASSWORD": "your_password"
      }
    }
  }
}

Tools

The earthdata toolset offers 3 tools. None of them needs credentials, except download_earth_data_granules in mode="download", which needs a NASA Earthdata Login. Its default manifest mode and its script mode work anonymously.

search_earth_datasets

  • Search for datasets on NASA Earthdata.
  • Input:
    • search_keywords (str): Keywords to search for in the dataset titles.
    • count (int): Number of datasets to return.
    • temporal (tuple): (Optional) Temporal range in the format (date_from, date_to).
    • bounding_box (tuple): (Optional) Bounding box in the format (lower_left_lon, lower_left_lat, upper_right_lon, upper_right_lat).
  • Returns: List of dataset abstracts.

search_earth_datagranules

  • Search for data granules on NASA Earthdata.
  • Input:
    • short_name (str): Short name of the dataset.
    • count (int): Number of data granules to return.
    • temporal (tuple): (Optional) Temporal range in the format (date_from, date_to).
    • bounding_box (tuple): (Optional) Bounding box in the format (lower_left_lon, lower_left_lat, upper_right_lon, upper_right_lat).
  • Returns: List of data granules.

download_earth_data_granules

  • Search and optionally download granules with explicit modes.
  • Authentication: Only mode="download" needs NASA Earthdata Login credentials (see authentication guide); manifest and script modes work anonymously.
  • Input:
    • folder_name (str): Local folder name to save the data.
    • short_name (str): Short name of the Earth dataset to download.
    • count (int): Number of data granules to download.
    • temporal (tuple): (Optional) Temporal range in the format (date_from, date_to).
    • bounding_box (tuple): (Optional) Bounding box in the format (lower_left_lon, lower_left_lat, upper_right_lon, upper_right_lat).
    • mode (str): One of:
      • manifest: Returns granule metadata only.
      • download: Downloads files directly on server side.
      • script: Returns Python code to execute elsewhere.
    • max_manifest_items (int): Max items returned in manifest mode.

How download works

download_earth_data_granules always starts by searching for granules with your filters, then behaves based on mode:

  1. manifest
    • Returns a structured preview (items) with IDs, titles, and links.
    • Does not write files.
    • Best first step for validating query scope.
  2. download
    • Authenticates with Earthdata using environment credentials.
    • Downloads matching granules directly to folder_name on the server runtime.
    • Returns downloaded file paths.
  3. script
    • Returns executable Python code that performs the same search + download.
    • Best option when execution should happen in a notebook/runtime controlled by another MCP server.
  1. Use mode="manifest" first to inspect results safely.
  2. Use mode="script" when you want notebook-driven execution via mcp-compose + jupyter-mcp-server.
  3. Use mode="download" only when server-side file writes are intended.

For a full composition example with mcp-compose, see download workflow docs.

Prompts

  1. download_analyze_global_sea_level

    • Generates a workflow that starts with download_earth_data_granules in script mode.
    • Intended to be executed in a composed notebook/runtime stack (via mcp-compose).
  2. sealevel_rise_dataset

    • Search for datasets related to sea level rise worldwide.
    • Input:
      • start_year (int): Start year to consider.
      • end_year (int): End year to consider.
    • Returns: Prompt correctly formatted.
  3. ask_datasets_format

    • To ask about the format of the datasets.
    • Returns: Prompt correctly formatted.

Development

make dev    # editable install with the test, lint and typing extras
make test
make lint

Releases are cut by pushing a tag; see RELEASE.md.

Building

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

If you prefer, you can pull the prebuilt images.

make pull-docker

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Earthdata MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/earthdata-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research