Calculate precise destination coordinates from a starting point, compass bearing, and distance using spherical earth geometry. Access via MCP in Cursor or Windsurf, or call GET /v1/geo/destination with lat, lng, bearing (degrees), and distance (meters). Returns exact latitude/longitude coordinates — no GPS drift or approximation errors that plague manual calculations.
curl "https://tinyfn.io/v1/geo/destination" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/geo/destination', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/geo/destination',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's geolocation tools:
{
"mcpServers": {
"tinyfn-geo": {
"url": "https://tinyfn.io/mcp/geo",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Pass starting latitude, longitude, bearing in degrees (0-360), and distance in meters to GET /v1/geo/destination. Returns precise destination coordinates using great circle calculations.
Uses true bearing in degrees where 0° is north, 90° is east, 180° is south, 270° is west. Standard compass notation, not mathematical angles.
Yes, MCP tools in Claude Code or Cline can chain destination calculations to plot multi-waypoint routes or calculate search patterns around points of interest.
Uses spherical earth model accurate to within meters for distances under 1000km. For intercontinental distances, consider earth's oblate shape affects precision.
Destination point uses great circle geometry accounting for earth's curvature. Simple lat/lng addition fails badly — 1km east varies dramatically by latitude.
Get your free API key and start using Destination Point in seconds.
Get Free API Key