Geonames

live Data

GeoNames MCP — GeoNames geographical database API

3 tools
0ms auth
free tier 50 calls/day

Tools

search_places

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

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

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_places","arguments":{}}}'