Geohash convert

geohash-convert · version 1.0.0 · Other utilities · free, no key needed

Encode decimal coordinates as a bounded Geohash or decode a Geohash to its exact bounding box and midpoint.

Use when you need to: encode coordinates as geohash · decode geohash bounding box · convert latitude longitude to geohash.

Decide before calling

Read the versioned contract and the supported scope below. Reuse geohash-convert@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use geohash-convert@1.0.0 for encode coordinates as geohash. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "operation": "encode",
  "latitude": "42.6",
  "longitude": "-5.6",
  "precision": 5
}

Response:

{
  "result": {
    "operation": "encode",
    "geohash": "ezs42",
    "precision": 5
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "geohash-convert",
  "version": "1.0.0",
  "input": {
    "operation": "encode",
    "latitude": "42.6",
    "longitude": "-5.6",
    "precision": 5
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/geohash-convert/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"operation":"encode","latitude":"42.6","longitude":"-5.6","precision":5}'

The machine-readable contract is at /v1/tools/geohash-convert/versions/1.0.0.

CLI

node cli.mjs run geohash-convert 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.