stac_search_items
Pack: nasa-cmr · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/stac_search_items for the schema, then POST the same URL with its arguments for the data.
Search STAC items (granules as STAC) in one NASA provider catalog by collection, bounding box and datetime, with capped results. Returns each item’s asset hrefs; data assets that need an Earthdata Login are labelled “requires Earthdata Login”. Keyless to search.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
provider | string | yes | STAC provider id, e.g. “LPCLOUD”. See stac_list_catalogs. |
collection | string | yes | STAC collection id within the provider, e.g. “HLSS30_2.0”. See stac_list_catalogs. |
bbox | string | no | Bounding box “minLon,minLat,maxLon,maxLat”, e.g. “-122.5,37.5,-122,38”. |
datetime | string | no | RFC 3339 instant or interval, e.g. “2024-06-01T00:00:00Z/2024-06-30T23:59:59Z” or “2024-06-01/2024-06-30”. |
limit | number | no | Max items (default 5, max 20). |
Example call
Arguments
{
"provider": "LPCLOUD",
"collection": "HLSS30_2.0",
"bbox": "-122.5,37.5,-122,38",
"datetime": "2024-06-01/2024-06-30",
"limit": 3
}
curl
curl -X POST https://gateway.pipeworx.io/nasa-cmr/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"stac_search_items","arguments":{"provider":"LPCLOUD","collection":"HLSS30_2.0","bbox":"-122.5,37.5,-122,38","datetime":"2024-06-01/2024-06-30","limit":3}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('stac_search_items', {
"provider": "LPCLOUD",
"collection": "HLSS30_2.0",
"bbox": "-122.5,37.5,-122,38",
"datetime": "2024-06-01/2024-06-30",
"limit": 3
});
Response shape
| Field | Type | Description |
|---|---|---|
provider | string | |
collection | string | |
count | number | |
items | array | |
error | string |
Full JSON Schema
{
"type": "object",
"properties": {
"provider": {
"type": "string"
},
"collection": {
"type": "string"
},
"count": {
"type": "number"
},
"items": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"error": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the nasa-cmr pack
{
"mcpServers": {
"nasa-cmr": {
"url": "https://gateway.pipeworx.io/nasa-cmr/mcp"
}
}
}
See Getting Started for client-specific install steps.