Geonames

live GeographyReference

GeoNames geographical database — search places by name, find nearby locations by coordinates, and get timezone info with sunrise/sunset.

4 tools
0ms auth
free tier 50 calls/day

Tools

search_geonames

Search for places (cities, landmarks, regions) by name. Returns coordinates, country, population, and feature type. Example: search_geonames("Paris", "FR"). Use get_nearby to find places near a known

No parameters required.

Try it
get_nearby

Find places near a given latitude/longitude. Returns nearby cities, landmarks, and features sorted by distance. Example: get_nearby(48.8566, 2.3522) for places near Paris.

No parameters required.

Try it
get_timezone

Get timezone information for a latitude/longitude location. Returns timezone ID, GMT offset, DST offset, current local time, sunrise, and sunset. Example: get_timezone(40.7128, -74.0060) for New York.

No parameters required.

Try it
find_postal_codes

Look up postal/ZIP codes and places by each other. Pass "postal_code" (+ country) to find the place(s) a code maps to ("what city is ZIP 90210"); or pass "place" (+ country) to find the postal codes f

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/geonames/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/geonames/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_geonames","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_geonames", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("geonames geographical database — search places by name, find nearby locations by coordinates, and get timezone info with sunrise/sunset");