Overview

The SF Logistics API (mota-elms) is a high-performance logistics backend built on Cloudflare Workers with the Hono framework. It exposes SF Airlines' global cargo network to both interactive applications (via REST) and AI agents (via MCP).

Capabilities

  • Rate Estimation — Real-time freight cost calculation based on weight and route
  • Schedule Matching — EHU hub flight schedules with import/export filtering
  • Payment Logging — Multi-mode audit trail (Stripe, PayPal, crypto/X402)
  • MCP Integration — AI agent tools for fleet info, flight search, and cost estimation

Architecture

ComponentTechnology
RuntimeCloudflare Workers
FrameworkHono
DatabaseSupabase (PostgreSQL)shared with mota-atom
CacheCloudflare KV (Cache-Aside, 6h TTL)
AuthSupabase JWT (shared project)

Base URL

EnvironmentURL
Productionhttps://elms.motaiot.com
Local Developmenthttp://localhost:8787