geolocate_ip
Retrieve geolocation data for any IP address, including country, city, region, and timezone. Automatically detects the host's public IP if none is provided.
Instructions
Look up geolocation data for an IP address (country, city, region, latitude, longitude, timezone, ISP, currency, etc.). If no IP is provided, automatically detects the public IP of the host running this server and geolocates that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | The IPv4 or IPv6 address to look up. If omitted, the server auto-detects its own public IP. | |
| format | No | Output format. "text" returns a human-readable summary; "json" returns the raw structured data. | text |