# Geohash [Health: Active]

**Category:** 🗺️ Location Services  
**Repository:** https://github.com/pipeworx-io/mcp-geohash  
**GitHub Stars:** 0  
**npm Downloads (last month):** 597  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/geohash

## Description
Geohash MCP.

## Tools
Capabilities this server exposes over MCP:

- **encode_geohash** — Encode a latitude/longitude to a geohash string (keyless, offline). `precision` = number of characters (1-12, default 9; more chars = smaller cell).
- **decode_geohash** — Decode a geohash to its center coordinate and bounding box (SW/NE corners). Keyless, offline.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "geohash": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-geohash"]
  }
}
```

## Documentation

## What Geohash MCP server does

The Geohash MCP server provides two focused operations for converting between geographic coordinates and geohash cells. `encode_geohash` accepts a latitude and longitude and returns a geohash string. `decode_geohash` accepts a geohash and returns the cell’s center coordinate together with its southwest and northeast corners.

Both operations are keyless and offline. They do not require a location-data account, API token, or network lookup to perform the conversion. The package is suited to agents that need a compact spatial identifier or need to recover the approximate area represented by one.

## How it works

The Geohash MCP server exposes the two operations through the Model Context Protocol. For encoding, the `precision` argument controls the number of characters in the result. Accepted values range from 1 through 12, with 9 as the default. Higher precision represents a smaller geographic cell.

Decoding produces the center of the selected cell rather than an arbitrary point within it. The result also includes the bounding box, represented by the southwest and northeast corners, so an agent can reason about the cell’s extent.

The hosted option is available at `https://gateway.pipeworx.io/geohash/mcp`. This scoped endpoint includes the pack’s tools along with shared Pipeworx meta-tools. The gateway also offers a full endpoint at `https://gateway.pipeworx.io/mcp`; the pack endpoint and full endpoint use the same gateway, while the directly listed tools differ.

## Setup and configuration

Add the hosted endpoint to an MCP client with a server entry using the URL above. The README specifically names Claude Desktop, Cursor, and Windsurf as compatible clients. No environment variables or account setup are required for the first hosted calls.

For a local process, run `npx -y @pipeworx/mcp-geohash` or configure an MCP client to launch that command with the same package argument. The local process communicates over standard input and output and exposes only the two Geohash tools, without the gateway’s shared meta-tools or cross-catalog routing.

Clients that do not use MCP directly can call the hosted HTTP tool endpoint. For example, send a JSON POST to `/v1/tools/encode_geohash` with `lat` and `lon` fields. A GET request to the same tool path can be used to inspect a tool.

## Tools and capabilities

- `encode_geohash`: Converts latitude and longitude into a geohash. Its optional precision is 1–12 characters and defaults to 9.
- `decode_geohash`: Converts a geohash into its center coordinate and southwest/northeast bounding-box corners.
- Hosted MCP access through the Pipeworx gateway.
- Local stdio execution with no gateway account.
- Direct HTTP tool calls for the hosted deployment.

Its scope is limited to geohash conversion and decoding.

_Full upstream README: https://allmcps.com/mcp/geohash/readme_

