Tools / ip.geolocate
IP geolocation
ip.geolocate
Country, city and coordinates for a public IP address, from an offline database.
LocationLaunch set1 unit per call24 h cacheMCP: ip_geolocatev1.0.0
When to use it
Use to place an IP address on the map, for example to localise content or annotate logs. City precision is approximate; private addresses are rejected.
Input
| Field | Type | Description |
|---|---|---|
ip * | string (3+ chars, ≤ 64 chars) | IPv4 or IPv6 address. |
* required
Output
Returns data with: ip, country, country_name, city, latitude, longitude, source.
Request
curl -X POST https://agentops.tools/v1/ip.geolocate \
-H 'content-type: application/json' \
-d '{"ip":"8.8.8.8"}'Over MCP the tool is named ip_geolocate. Over A2A its skill id is ip.geolocate. Same input, same envelope.
Try it
Counts against your rate limit.
Sources
Geolocation by DB-IP Lite; approximate, city-level