Geo

live Geography

Geocoding, country info, timezones, and sun times from public APIs

5 tools
0ms auth
free forever

Tools

geocode required: query

Convert an address or place name to latitude/longitude coordinates

Parameters
Name Type Description
query req string Address or place name to geocode
reverse_geocode required: latitude, longitude

Convert latitude/longitude coordinates to an address

Parameters
Name Type Description
latitude req number Latitude
longitude req number Longitude
get_country required: code_or_name

Get detailed information about a country by name or ISO code

Parameters
Name Type Description
code_or_name req string Country name or ISO 3166-1 alpha-2/alpha-3 code
get_timezone required: latitude, longitude

Get the current timezone and local time for a location

Parameters
Name Type Description
latitude req number Latitude
longitude req number Longitude
get_sunrise_sunset required: latitude, longitude

Get sunrise and sunset times for a location

Parameters
Name Type Description
latitude req number Latitude
longitude req number Longitude
date opt string Date in YYYY-MM-DD format (default: today)

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://pipeworx-gateway.subscriptions-ecc.workers.dev/geo/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://pipeworx-gateway.subscriptions-ecc.workers.dev/geo/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"geocode","arguments":{"query": "example"}}}'