This wraps the Jeleo Geolocation API and gives Claude two tools for location lookups. The reverse_geocode tool takes latitude and longitude coordinates and returns detailed location metadata including city, country, population metrics, and economic data. The batch_reverse_geocode tool handles multiple coordinates in one shot. You'll need a Jeleo API key from jeleo.zone.id to authenticate requests. Reach for this when you need structured geocoding without building your own lookup pipeline, especially if you're already processing coordinate data or IP addresses and want enriched location context for analysis or user features.
This is a Model Context Protocol (MCP) server that acts as a wrapper around the GeoLocation API. It provides tools for LLMs (like Claude) to perform fast reverse geocoding and batch reverse geocoding (via IP and coordinates).
reverse_geocode: Get rich location metadata (city, country, population metrics, economic data) from latitude/longitude coordinates.batch_reverse_geocode: Resolve a list of multiple geographic coordinates in a single request.The MCP server requires an API Key and an API Base URL. You can retrieve them from https://jeleo.zone.id/. They are provided to the server as command-line arguments:
-apikey: Your Jeleo API Key-url: Base URL for the Jeleo API (default: https://www.jeleo.zone.id/api/geolocation)The server runs on standard input/output (stdio), which is standard for MCP. It's designed to be run as an executable or via Docker.
To build the Docker image:
docker build -t geolocation-mcp .
To run it locally via Docker:
docker run -i --rm geolocation-mcp -apikey YOUR_API_KEY
If you have Go installed, you can build and run it directly:
go build -o geolocation-mcp main.go
./geolocation-mcp -apikey YOUR_API_KEY
If you have published the image to a container registry, or just using it locally, add it to your claude_desktop_config.json:
Local Docker:
{
"mcpServers": {
"geolocation": {
"command": "docker",
"args": ["run", "-i", "--rm", "geolocation-mcp", "-apikey", "YOUR_API_KEY", "-url", "https://www.jeleo.zone.id/api/geolocation"]
}
}
}
YOUR_API_KEY*secretYour API key for the service
JELEO_API_URLdefault: https://www.jeleo.zone.id/api/geolocationBase URL for the Jeleo Geolocation API