Skip to main content
Glama
chrishayuk

chuk-mcp-geocoder

by chrishayuk

route_waypoints

Calculate route distances by geocoding waypoints in order and computing haversine distances between consecutive locations.

Instructions

Geocode waypoints in order and compute route distances.

Resolves each waypoint to coordinates, then computes haversine distances between consecutive points. Args: waypoints: JSON array of place names in route order (e.g. '["Boulder, CO", "Denver, CO", "Aspen, CO"]') output_mode: "json" (default) or "text" Returns: Resolved waypoints, leg distances, total distance, and bounding box CRITICAL — LLM retry guidance: If a waypoint fails to resolve, simplify its name and retry the entire route. Remove landmarks, qualifiers, and descriptive words. Use the single geocode tool to test problematic names first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waypointsYes
output_modeNojson

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrishayuk/chuk-mcp-geocoder'

If you have feedback or need assistance with the MCP directory API, please join our Discord server