关于 Sentinel Hub
Sentinel Hub 是用于卫星和地球观测数据的 MCP 服务,适合分析植被统计或查找可用 Sentinel-2 场景的用户。它以结构化数据返回 NDVI 统计和目录结果,并支持通过网关或本地运行。
主要功能
- 01按区域和时间计算 NDVI 统计
- 02按区域和日期搜索 Sentinel-2 场景
- 03返回场景获取时间和云量
- 04支持网关或本地 stdio 运行
适用场景
- 01跟踪一段时间内的植被变化
- 02查找覆盖指定区域的卫星场景
- 03核对场景日期和云量
MCP 相关
向 MCP 客户端提供 NDVI 统计和 Sentinel-2 目录搜索工具,可通过 Pipeworx 网关或本地 stdio 服务运行;使用时需提供用户自己的 Sentinel Hub API 密钥。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://gateway.pipeworx.io/sentinel-hub/mcpclaude mcp add --transport http pipeworx-io-sentinel-hub https://gateway.pipeworx.io/sentinel-hub/mcp{"mcpServers":{"pipeworx-io-sentinel-hub":{"type":"http","url":"https://gateway.pipeworx.io/sentinel-hub/mcp"}}}在 Cursor 中打开{"servers":{"pipeworx-io-sentinel-hub":{"type":"http","url":"https://gateway.pipeworx.io/sentinel-hub/mcp"}}}在 VS Code 中打开{"mcpServers":{"pipeworx-io-sentinel-hub":{"type":"http","url":"https://gateway.pipeworx.io/sentinel-hub/mcp"}}}{"mcpServers":{"pipeworx-io-sentinel-hub":{"serverUrl":"https://gateway.pipeworx.io/sentinel-hub/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
mcp-sentinel-hub
Sentinel Hub MCP — 以 JSON 格式提供卫星/地球观测统计数据(sentinel-hub.com)。
这是 Pipeworx 的一部分 — 一个将 AI Agent 连接到 1683+ 个实时数据源的 MCP 网关。
工具
| 工具 | 描述 |
|---|---|
sentinelhub_ndvi_stats | 指定区域和时间范围内的 NDVI 植被统计数据 — 根据 Sentinel-2 影像,返回 bbox 或 GeoJSON 多边形中植被指数(NDVI)每个时间间隔的均值/最小值/最大值/标准差。仅返回计算结果,不提供影像。示例:sentinelhub_ndvi_stats({ bbox: [12.44, 41.87, 12.53, 41.93], date_from: "2023-05-01", date_to: "2023-09-01", aggregation: "P1M", _apiKey: "client_id:client_secret" }) |
sentinelhub_catalog_search | 查询某个区域和时间段内有哪些卫星图像 — 搜索 Sentinel-2 目录(STAC),并返回匹配图像的采集日期时间和云量。示例:sentinelhub_catalog_search({ bbox: [12.44, 41.87, 12.53, 41.93], date_from: "2023-06-01", date_to: "2023-06-30", limit: 10, _apiKey: "client_id:client_secret" }) |
快速开始
添加到你的 MCP 客户端(Claude Desktop、Cursor、Windsurf 等):
{
"mcpServers": {
"sentinel-hub": {
"url": "https://gateway.pipeworx.io/sentinel-hub/mcp"
}
}
}
此端点实际提供的内容
https://gateway.pipeworx.io/sentinel-hub/mcp 上的 tools/list 会返回上表中的工具,以及 Pipeworx 的共享元工具 — ask_pipeworx、
discover_tools、search_within、remember/recall 和网关全局工具集中的其他工具。因此,你看到的工具数量会多于此表:目前,单个工具包端点除自身工具外,还会列出大约 30 个共享工具。连接的 initialize 响应会说明其确切范围,是了解特定日期情况的权威依据。
这是有意为之,并非意外的多路复用。元工具让指定范围的连接能够回答此工具包未涵盖的问题 — 通过 ask_pipeworx 跨整个目录路由 — 无需你再添加第二个 MCP 服务。目前无法挂载不包含这些元工具的工具包端点;如果额外的架构占用的上下文超过路由带来的价值,请连接一次完整网关,而不要连接多个工具包端点。
也可以连接完整的 Pipeworx 网关,直接列出每个工具包的所有工具,而不只是当前工具包的工具:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
两个 URL 都连接到同一个网关和同一批 1683+ 个数据源。唯一的区别是直接列出哪个工具包的工具;从任一端点都可以通过 ask_pipeworx 访问所有工具。
没有 MCP 客户端?通过 HTTP 调用
此工具包需要你提供自己的 API 密钥(_apiKey)— 我们不代为提供,因此这里没有无需密钥即可运行的 curl 命令。查看任意工具:GET https://gateway.pipeworx.io/v1/tools/sentinelhub_ndvi_stats。查找工具:使用 {"query":"..."} 调用 POST https://gateway.pipeworx.io/v1/tools/search_packs。
独立运行(无需网关账户)
此软件包也可以作为本地 stdio MCP 服务运行 — 无需 Pipeworx 账户,也无需往返网关:
{
"mcpServers": {
"sentinel-hub": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-sentinel-hub"]
}
}
}
或者直接运行以确认服务可以启动:
npx -y @pipeworx/mcp-sentinel-hub
它通过 stdin/stdout 使用 MCP,并响应 initialize/tools/list/tools/call,但仅提供此工具包的工具 — 不包含上述网关连接额外提供的任何共享元工具。使用相同源代码和相同工具,但没有 ask_pipeworx 路由。
使用 ask_pipeworx
你可以用通俗英语提问,而不必直接调用工具 — 此功能既适用于上面的工具包端点,也适用于完整网关:
ask_pipeworx({ question: "your question about Sentinel Hub data" })
网关会自动选择合适的工具并填入参数。
更多信息
许可证
MIT
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。