fencemaker-mcp gives Claude Code, Cursor, and Windsurf direct access to all 20 Fencemaker APIs.
Your AI knows the exact endpoints, parameters, and response shapes — no more hallucinated Google Maps code.
Your AI defaults to Google Maps or Mapbox patterns — wrong endpoint paths, wrong auth headers, wrong response field names. You spend time correcting hallucinations.
Your AI knows the real Fencemaker API surface. It generates working integration code on the first try — correct headers, correct endpoints, correct field names.
QUICK START
Generate a key at fencemaker.app/keys. It starts with gfnsr_live_.
{
"mcpServers": {
"fencemaker": {
"command": "npx",
"args": ["-y", "fencemaker-mcp"],
"env": {
"FENCEMAKER_API_KEY": "your_key_here"
}
}
}
}Restart your editor. Ask your AI to check if a coordinate is inside a delivery zone — it will call check_point with the correct Fencemaker API, no manual lookup needed.
20 TOOLS
Every tool includes rich descriptions so your AI knows when and how to use each one.
list_territories List all geofence territoriesget_territory Get territory details + GeoJSON boundarycreate_territory Create a geofence from GeoJSON Polygonupdate_territory Update name, code, color, active status, webhookcheck_point Quick point-in-polygon check (lat/lon)check_point_full Full territory lookup — supports address inputbatch_check_points Check up to 1,000 points in one requestregister_device Pre-register a device with a labellist_devices List all tracked devicesget_device_status Current location + territories a device is insidetrack_device Send GPS ping — triggers entry/exit webhookstrack_batch Batch GPS pings for up to 100 deviceslist_events Query entry/exit event historysimulate_event Trigger a test webhook eventwebhook_health Delivery success rate + avg response timeterritory_overlaps Detect overlapping zonesapi_usage API call stats by endpointgeocode_address Address → coordinatesreverse_geocode Coordinates → addressautocomplete_address Real-time address suggestionsWEBHOOK PAYLOAD
When a tracked device crosses a territory boundary, Fencemaker POSTs this JSON to your webhook URL. Your AI knows this shape exactly.
{
"event": "entered",
"device_id": "RIDER-042",
"territory_id": "uuid",
"territory_code": "ZONE-A",
"territory_name": "South Bengaluru",
"lat": 12.9716,
"lon": 77.5946,
"timestamp": "2026-05-30T10:45:00.000Z",
"org_id": "your-org-uuid"
}
// Exit events also include:
"dwell_seconds": 342Free tier included. No credit card required.