API & MCP
Everything a person can do on RavingDesk GPS File Converter (GPX ↔ KML ↔ GeoJSON), a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://ravingdeskgpsfileconverter.usefulweb.site/api/v1/calculate– run RavingDesk GPS File Converter (GPX ↔ KML ↔ GeoJSON)GET https://ravingdeskgpsfileconverter.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
RavingDesk GPS File Converter (GPX ↔ KML ↔ GeoJSON)
Converts GPS files between GPX 1.1, KML 2.2 and GeoJSON (waypoints, routes, tracks, placemarks, polygons, names, descriptions, elevations and times where the target format has them), optionally simplifies lines with Douglas–Peucker or Visvalingam–Whyatt at a tolerance in metres, and reports for every track the geodesic length on WGS84, elevation range, climb and descent with a noise threshold, duration and average speed. XML is read with a safe parser that refuses entity declarations. It is the GPS engine of RavingDesk’s Data & charts.
| Field | Type | Default | Description |
|---|---|---|---|
file | file | — | GPS file (GPX, KML or GeoJSON). Up to 10 MB and 200,000 points. KMZ files must be unzipped first. |
text | textarea | — | Or paste the file content |
to | select (geojson, gpx, kml) | "geojson" | Convert to |
simplify | select (none, douglas-peucker, visvalingam) | "none" | Simplify lines |
toleranceM | number | 5 | Simplification tolerance |
elevationThresholdM | number | 2 | Elevation noise threshold. Climbs and descents are counted only after the elevation moved this far from the last turning point (GPS heights are noisy). |
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://ravingdeskgpsfileconverter.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
ravingdesk_gps_file_converter - Local stdio connector:
node src/mcp-stdio.ts --tool=ravingdesk-gps-file-converter
{
"mcpServers": {
"ravingdesk-gps-file-converter": { "type": "http", "url": "https://ravingdeskgpsfileconverter.usefulweb.site/mcp" }
}
}