Geo
live GeographyGeocoding, country info, timezones, and sun times from public APIs
5 tools
0ms auth
free tier 50 calls/day
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 Try it
Response
reverse_geocode
required: latitude, longitude Convert latitude/longitude coordinates to an address
Parameters
Name Type Description
latitude req number Latitude longitude req number Longitude Try it
Response
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 Try it
Response
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 Try it
Response
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) 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");