Earth-Observation MCP Turns 'Port of Rotterdam' Into a Searchable AOI Polygon
SympathyQueasy3392 · reddit · 2026-11-20
The author led the build of SkyWatch's MCP server for searching, pricing, reviewing and ordering satellite, aerial and drone imagery, and shares how it turns natural language like "the port of Rotterdam" into a searchable imagery polygon.
Core problem: imagery search needs an AOI polygon, but letting the model write coordinates looks plausible and is usually wrong.
How the buildaoi tool works
- Pulls real outlines from OpenStreetMap, so parks, lakes and airports get actual boundaries; pipelines, roads and power lines return a buffered corridor
- The tool description tells the model never to write coordinates for a feature itself
- Ambiguous names (e.g. several Springfields) are listed as alternatives and the agent asks the user
- A companion checkaoi tool simplifies outlines with too many points and splits large areas into tiles before search or pricing
General lesson: models are bad at producing structured inputs (coordinates, IDs, dates), so a tool should produce them and tell the model not to make them up; dates work the same way, with the server resolving "last month" from its own clock. Cross-border pipelines were a fun geocoding edge case.
More from coding & agent
- DeepMind's Antigravity Robotics Plugin: 2 Prompts, ~20 Minutes to Command a Real FR3 Duo Arm — jackyliang42 · 2026-11-21
- Ruff author warns: setting MYPY speeds up type checking on Pydantic but collapses types to Mapping[str, Any] — charliermarsh · 2026-11-21
- Asking Astra 6.2 to Review Code Written by Opus 5.5 Yields Almost Nothing — rickasaurus · 2026-11-21
- Security & Web3 Firewall MCP Server Hits Official Registry: Detects Tool-Poisoning and Rug-Pull Drift — ezelech · 2026-11-21
- Artificial Analysis Launches Search API Benchmark Covering 26 Products Across 14 Providers — ArtificialAnlys · 2026-11-21
- Pydantic hacks Mypy detection: why type checkers crawl and how to fake your way to speed — charliermarsh · 2026-11-21