Skip to main content
Glama

STAC MCP Server

by BnJam
0003-expand-search-parity.md1.16 kB
# ADR 0003: Expand Search to Parity with pystac-client Status: Proposed Date: 2025-09-18 ## Context - pystac-client exposes rich search capabilities used by advanced users. - Current tool surface omits common filters and pagination controls. ## Decision - Extend search_items arguments (optional, backward compatible): - intersects (GeoJSON geometry) - ids (explicit item IDs) - sortby ([{field, direction}]) - fields (include/exclude) - filter, filter_lang (CQL2) - page_size, max_items (total across pages) - Surface pagination metadata: - matched count from context (when provided) - first/next links if available (for JSON mode) - Add helpers: - get_items_by_ids(ids, collections?) - get_collection_items(collection_id, same search params) ## Consequences - Closer parity with pystac-client; enables precise queries. - Requires schema updates, parameter pass-through, and tests for each option. ## Alternatives considered - Keep minimal search surface (rejected; limits serious use). ## Addendums - 2025-09-18: See ASR 1005 (Performance Bounds for Search Operations) for default limits, pagination controls, and response metadata.

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