
🌎 🔧 NASA地球数据MCP服务器。
概览
地球数据MCP服务器是一个模型上下文协议(MCP)服务器实现,提供与NASA地球数据交互的工具。 它是作为reactor_mcp_server延伸建造的,所以有两种方式: - : earthdata-mcp-server start 通过 stdio 或可流式 HTTP 服务 Earthdata 工具,其他不提供。- : 安装在任何reactor_mcp_server主机旁,被发现并作为客户端的 EarthData 自选工具集,客户端请求该工具集:/mcp?earthdata。数据层 MCP 服务器以这种方式提供,与笔记本和沙盒并列。 服务器有意仅支持 Earthdata。对于笔记本和运行时工具,可以在一台主机上与它们并列,或使用 jupyter-mcp-server 的 mcp-compose 组合。 - 在NASA Earthdata上进行数据集发现 - 带有时间和边界框过滤器的粒状搜索- 灵活的下载工作流程,具显式执行模式 利用AI驱动的地理空间工具和Jupyter分析海平面上升——观看视频 一个客户端连接到http://localhost:4040/mcp?
概述(AI 翻译)
地球数据MCP服务器是一个模型上下文协议(MCP)服务器实现,提供与NASA地球数据交互的工具。
它是作为reactor_mcp_server扩展构建的,因此运行方式有两种:
- 单独使用:
earthdata-mcp-server start只服务于Earthdata工具,不提供其他服务,通过stdio或可流式HTTP。 - 作为工具集:安装在任何
reactor_mcp_server主机旁,它会被发现并作为客户端earthdata的选择加入工具集:/mcp?earthdata。数据层 MCP 服务器以这种方式提供,与笔记本和沙盒并列。
服务器有意仅支持 Earthdata。对于笔记本和运行时工具,可以将它们并列在同一主机上,或使用 mcp-compose 用 jupyter-mcp-server 组合。
主要特色
- NASA Earthdata 上的数据集发现
- 带有时间和边界框过滤器的粒状搜索
- 灵活的下载工作流程,具有明确的执行模式
利用AI驱动的地理空间工具和Jupyter分析海平面上升——观看视频
开始
本地安装
| 选项 | 环境 | 默认 |
|---|---|---|
--transport |
TRANSPORT |
stdio(或称streamable-http) |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
🪐 ✨ Earthdata MCP Server
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 startserves the Earthdata tools and nothing else, over stdio or streamable HTTP. - As a toolset: installed beside any
reactor_mcp_serverhost, it is discovered and served as the opt-inearthdatatoolset 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
| Option | Environment | Default |
|---|---|---|
--transport |
TRANSPORT |
stdio (or streamable-http) |
--host |
HOST |
0.0.0.0 |
--port |
PORT |
4040 |
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
安装
docker run -i --rm -e EARTHDATA_USERNAME -e EARTHDATA_PASSWORD datalayer/earthdata-mcp-server:latest配置
{
"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"
}
}
}
}