stac-server

July 1, 2026 ยท View on GitHub

A scalable, serverless implementation of the STAC API spec for searching geospatial metadata

Build Status License STAC

๐Ÿ“š Documentation: stac-utils.github.io/stac-server

Table of Contents

Overview

Stac-server is a production-ready implementation of the STAC API specification for searching and serving metadata for geospatial data, including satellite imagery. Built on AWS serverless infrastructure (Lambda, API Gateway, OpenSearch), it provides a highly scalable and cost-effective solution for cataloging and discovering Earth observation data.

๐ŸŒŸ Key Features

  • ๐Ÿ“ก Full STAC API Support - Core, Features, Collections, Item Search with extensions
  • ๐Ÿ” Advanced Querying - Query and CQL2 filtering, full-text search, spatial and temporal queries
  • ๐Ÿ“Š Aggregations - Statistical summaries and frequency distributions via Aggregation Extension
  • ๐Ÿ›ธ Serverless Architecture - Auto-scaling, pay-per-use AWS Lambda and API Gateway
  • ๐Ÿ” Fine-Grained Access Control - OpenSearch security with optional pre/post hooks
  • ๐Ÿ“จ Event-Driven Ingest - SNS/SQS-based ingestion pipeline with dead-letter handling
  • ๐Ÿ—‚๏ธ Asset Proxying - Generate pre-signed S3 URLs for secure asset access

Tech Stack

  • Runtime: Node.js 22 (AWS Lambda)
  • API Framework: AWS API Gateway with Lambda proxy integration
  • Database: AWS OpenSearch Service
  • Queue/Events: AWS SNS and SQS for ingest pipeline
  • Infrastructure: Serverless Framework for deployment
  • Language: TypeScript

๐Ÿš€ Quick Start

Get started with Docker Compose for local development:

# Clone and install
git clone https://github.com/stac-utils/stac-server.git
cd stac-server
npm install

# Start OpenSearch and LocalStack
docker compose up -d

# Start the STAC API on http://localhost:3000 (leave this running)
npm run serve

# In a separate terminal: ingest sample data, then query the API
npm run ingest:example
curl http://localhost:3000/

For AWS deployment, configuration, and production setup, see the complete documentation.

๐Ÿ“š Documentation

Comprehensive documentation is available at stac-utils.github.io/stac-server

Supported Versions

stac-server Version(s)STAC VersionSTAC API Version
0.1.x0.9.x0.9.x
0.2.x<1.0.0-rc.10.9.x
0.3.x1.0.01.0.0-beta.2
0.4.x1.0.01.0.0-beta.5
0.5.x-0.8.x1.0.01.0.0-rc.2
1.0.0-3.9.x1.0.01.0.0
>=3.10.01.1.01.0.0

๐ŸŒ Production Deployments

The following production instances are powered by stac-server:

๐Ÿ‘ฝ Contributing

We welcome contributions! For development setup, testing, and contribution guidelines, see the Contributing Guide.

Quick links:

License

stac-server is licensed under The MIT License.

stac-server began in 2016 as Development Seed's sat-api (original license) and is now a community project under the stac-utils organization. Copyright is held by its contributors and their respective organizations (including Development Seed and Element 84); see the LICENSE.


stac-server was forked from sat-api. Stac-server is for STAC versions 0.9.0+, while sat-api exists for versions of STAC prior to 0.9.0.