Geo

liveGeography

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

5tools
0msauth
free tier50 calls/day

Tools

geocoderequired: query

Convert an address or place name to latitude/longitude coordinates

Parameters
NameTypeDescription
queryreqstringAddress or place name to geocode
Try it
reverse_geocoderequired: latitude, longitude

Convert latitude/longitude coordinates to an address

Parameters
NameTypeDescription
latitudereqnumberLatitude
longitudereqnumberLongitude
Try it
get_countryrequired: code_or_name

Get detailed information about a country by name or ISO code

Parameters
NameTypeDescription
code_or_namereqstringCountry name or ISO 3166-1 alpha-2/alpha-3 code
Try it
get_timezonerequired: latitude, longitude

Get the current timezone and local time for a location

Parameters
NameTypeDescription
latitudereqnumberLatitude
longitudereqnumberLongitude
Try it
get_sunrise_sunsetrequired: latitude, longitude

Get sunrise and sunset times for a location

Parameters
NameTypeDescription
latitudereqnumberLatitude
longitudereqnumberLongitude
dateoptstringDate in YYYY-MM-DD format (default: today)
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/geo/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/geo/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"geocode","arguments":{"query": "hello"}}}'

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("geocode", {"query":"example"});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("geocoding, country info, timezones, and sun times from public apis");