Skip to main content
Glama

STAC MCP Server

by BnJam

estimate_data_size

Calculate storage requirements for geospatial datasets by analyzing STAC items with spatial, temporal, and attribute filters to plan data downloads efficiently.

Instructions

Estimate data size for STAC items using lazy loading with odc.stac

Input Schema

NameRequiredDescriptionDefault
aoi_geojsonNoArea of Interest as GeoJSON geometry for clipping (will use smallest bbox between this and bbox parameter)
bboxNoBounding box [west, south, east, north] in WGS84
catalog_urlNoSTAC catalog URL (optional, defaults to Microsoft Planetary Computer)
collectionsNoList of collection IDs to search within
datetimeNoDate/time filter (ISO 8601 format, e.g., '2023-01-01/2023-12-31')
limitNoMaximum number of items to analyze for size estimation
queryNoAdditional query parameters for filtering items

Input Schema (JSON Schema)

{ "properties": { "aoi_geojson": { "description": "Area of Interest as GeoJSON geometry for clipping (will use smallest bbox between this and bbox parameter)", "type": "object" }, "bbox": { "description": "Bounding box [west, south, east, north] in WGS84", "items": { "type": "number" }, "maxItems": 4, "minItems": 4, "type": "array" }, "catalog_url": { "description": "STAC catalog URL (optional, defaults to Microsoft Planetary Computer)", "type": "string" }, "collections": { "description": "List of collection IDs to search within", "items": { "type": "string" }, "type": "array" }, "datetime": { "description": "Date/time filter (ISO 8601 format, e.g., '2023-01-01/2023-12-31')", "type": "string" }, "limit": { "default": 100, "description": "Maximum number of items to analyze for size estimation", "maximum": 500, "minimum": 1, "type": "integer" }, "query": { "description": "Additional query parameters for filtering items", "type": "object" } }, "type": "object" }

Other Tools from STAC MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/BnJam/stac-mcp'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server