Geo
liveGeographyGeocoding, country info, timezones, and sun times from public APIs
5tools
0msauth
free tier50 calls/day
Tools
geocoderequired: queryConvert an address or place name to latitude/longitude coordinates
Parameters
NameTypeDescription
queryreqstringAddress or place name to geocodeTry it
Response
reverse_geocoderequired: latitude, longitudeConvert latitude/longitude coordinates to an address
Parameters
NameTypeDescription
latitudereqnumberLatitudelongitudereqnumberLongitudeTry it
Response
get_countryrequired: code_or_nameGet detailed information about a country by name or ISO code
Parameters
NameTypeDescription
code_or_namereqstringCountry name or ISO 3166-1 alpha-2/alpha-3 codeTry it
Response
get_timezonerequired: latitude, longitudeGet the current timezone and local time for a location
Parameters
NameTypeDescription
latitudereqnumberLatitudelongitudereqnumberLongitudeTry it
Response
get_sunrise_sunsetrequired: latitude, longitudeGet sunrise and sunset times for a location
Parameters
NameTypeDescription
latitudereqnumberLatitudelongitudereqnumberLongitudedateoptstringDate in YYYY-MM-DD format (default: today)Try it
Response
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");