sentinelhub_ndvi_stats
Pack: sentinel-hub · Endpoint: https://gateway.pipeworx.io/sentinel-hub/mcp
NDVI vegetation statistics over an area and time range — returns per-interval mean/min/max/stdev of the vegetation index (NDVI) from Sentinel-2 imagery for a bbox or GeoJSON polygon. Derived numbers only, no imagery. Example: 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” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
bbox | array | no | Bounding box [minLon, minLat, maxLon, maxLat] in EPSG:4326. Provide this OR geometry. |
items | number | no | |
geometry | object | no | A GeoJSON Polygon geometry (EPSG:4326) as an alternative to bbox. |
date_from | string | yes | Start date, YYYY-MM-DD. |
date_to | string | yes | End date, YYYY-MM-DD. |
aggregation | string | no | ISO-8601 aggregation interval (default “P1M” = monthly). E.g. “P1D”, “P10D”, “P1M”. |
_apiKey | string | yes | Sentinel Hub OAuth credentials as “client_id:client_secret” (from sentinel-hub.com or free at dataspace.copernicus.eu). |
Example call
Arguments
{
"bbox": [
12.44,
41.87,
12.53,
41.93
],
"date_from": "2023-05-01",
"date_to": "2023-09-01",
"aggregation": "P1M",
"_apiKey": "your-sentinel-hub-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/sentinel-hub/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sentinelhub_ndvi_stats","arguments":{"bbox":[12.44,41.87,12.53,41.93],"date_from":"2023-05-01","date_to":"2023-09-01","aggregation":"P1M","_apiKey":"your-sentinel-hub-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('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": "your-sentinel-hub-api-key"
});
More examples
{
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
12.44,
41.87
],
[
12.53,
41.87
],
[
12.53,
41.93
],
[
12.44,
41.93
],
[
12.44,
41.87
]
]
]
},
"date_from": "2023-06-01",
"date_to": "2023-06-30",
"_apiKey": "your-sentinel-hub-api-key"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"sentinel-hub": {
"url": "https://gateway.pipeworx.io/sentinel-hub/mcp"
}
}
}
See Getting Started for client-specific install steps.