Geolocation Block

Geofences, distance, geocoding, search.
Decided.

Spatial logic for real coordinates, not a map SDK snippet. Open source, indexed to stay fast past a million locations.

claude plugin marketplace add https://github.com/23blocks-OS/ai-agents

claude plugin install geolocation-block

Your agent now knows this API. Prefer hands-on? REST + SDK docs →

What's inside

Locations

Points, metadata, categories

Geofencing

Polygons, circles, enter/exit

Distance

Haversine, multi-unit, matrix

Geocoding

Forward, reverse, autocomplete

Nearby search

Radius and bounding box

Routing

Multi-stop, time windows

Webhooks

Real-time geofence events

Providers

Google, Mapbox, OSM, HERE

Already debugged

The mistakes were made, fixed, and shipped past — before you got here.

  • Coordinates are fixed to WGS84 precision, so rounding drift never splits one location into two.

  • Antimeridian crossings and on-boundary points are handled, not silently misfired.

  • GPS jitter is debounced before it reaches geofence logic — no spurious enter/exit spam.

  • Nearby search runs on spatial indexes built for it, not a table scan at 1M+ rows.

Use this instead of

RadarHEREyour hand-rolled PostGIS-and-webhooks stack

Better together

The user your auth system knows is the same user every location event belongs to — no identity translation. Delivery arrives → geofence exit fires → CRM stage updates. Zero glue code.

Edge cases here are literal.

Stay in the loop

Get product updates, engineering posts, and new block announcements delivered to your inbox.

No spam. Unsubscribe anytime. Privacy policy.