API & MCP
Everything a person can do on RavingDesk Coordinate Converter (DMS, UTM, MGRS, plus codes), a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://ravingdeskcoordinateconverter.usefulweb.site/api/v1/calculate– run RavingDesk Coordinate Converter (DMS, UTM, MGRS, plus codes)GET https://ravingdeskcoordinateconverter.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
RavingDesk Coordinate Converter (DMS, UTM, MGRS, plus codes)
Reads coordinates in almost any notation — decimal degrees, degrees-minutes-seconds with hemisphere letters, UTM or UPS, MGRS grid references, geohashes, Maidenhead locators, plus codes or Web Mercator metres — and writes each one in every other format, with the UTM zone (including the Norway and Svalbard exceptions), meridian convergence and scale factor. Up to 500 lines at once, with a CSV table for spreadsheets. It is the coordinate engine of RavingDesk’s Data & charts geo layer.
| Field | Type | Default | Description |
|---|---|---|---|
coordinates (required) | textarea | "52.520008, 13.404954\n48°51′29.6″N 2°17′40.2″E\n18S UJ 23487 06483" | Coordinates (one per line). Up to 500 lines. Each line is converted on its own; a line that cannot be read is reported and skipped. |
from | select (auto, latlon, lonlat, utm, mgrs, geohash, maidenhead, pluscode, webmercator) | "auto" | Input format |
mgrsDigits | integer | 5 | MGRS precision (digits per axis). 5 = 1 m, 4 = 10 m, 3 = 100 m. |
plusCodeLength | integer | 10 | Plus code length. 10 digits ≈ 14 m × 14 m, 11 ≈ 3.5 m × 2.8 m. |
geohashLength | integer | 9 | Geohash length. 9 characters ≈ 4.8 m × 4.8 m. |
Example request
Berlin, Paris (DMS) and the Washington Monument (MGRS)
curl -X POST https://ravingdeskcoordinateconverter.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"coordinates":"52.520008, 13.404954\n48°51′29.6″N 2°17′40.2″E\n18S UJ 23487 06483"}'
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://ravingdeskcoordinateconverter.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
ravingdesk_coordinate_converter - Local stdio connector:
node src/mcp-stdio.ts --tool=ravingdesk-coordinate-converter
{
"mcpServers": {
"ravingdesk-coordinate-converter": { "type": "http", "url": "https://ravingdeskcoordinateconverter.usefulweb.site/mcp" }
}
}