encode_geohash
Pack: geohash · Endpoint: https://gateway.pipeworx.io/geohash/mcp
Encode a latitude/longitude to a geohash string (keyless, offline). precision = number of characters (1-12, default 9; more chars = smaller cell).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
lat | number | yes | Latitude (-90..90). |
lon | number | yes | Longitude (-180..180). |
precision | number | no | Geohash length 1-12 (default 9). |
Example call
curl -X POST https://gateway.pipeworx.io/geohash/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"encode_geohash","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"geohash": {
"url": "https://gateway.pipeworx.io/geohash/mcp"
}
}
}
See Getting Started for client-specific install steps.