IP address enrichment — ASN ownership lookup, geolocation (city/region/country/coordinates), and reverse DNS resolution. Use when identifying who owns an IP address, locating an IP geographically, resolving reverse DNS for a traceroute hop, or enriching unknown IPs from logs or flow data.
python3 $MCP_CALL "gtrace mcp" TOOL_NAME '{"param":"value"}'
| Tool | Purpose |
|---|
asn_lookup | Look up ASN, organization, and network range for an IP |
geo_lookup | Get geographic location (city, region, country, lat/lon) for an IP |
reverse_dns | Resolve an IP to its PTR record (reverse DNS hostname) |
When asked "who owns this IP?" or "where is this IP?":
Identify the Autonomous System and organization that owns the IP.
python3 $MCP_CALL "gtrace mcp" asn_lookup '{"ip":"8.8.8.8"}'
Returns: ASN number, organization name, network CIDR, registry (ARIN, RIPE, APNIC, etc.)
Determine the physical location of the IP.
python3 $MCP_CALL "gtrace mcp" geo_lookup '{"ip":"8.8.8.8"}'
Returns: City, region/state, country, latitude/longitude, timezone
Resolve the IP to its PTR record for hostname identification.
python3 $MCP_CALL "gtrace mcp" reverse_dns '{"ip":"8.8.8.8"}'
Returns: PTR hostname (e.g., dns.google)
After running a traceroute (via gtrace-path-analysis skill), enrich each hop with ASN and geo data:
traceroute to get the path with hop IPsasn_lookup to identify the network ownergeo_lookup to map physical locationreverse_dns on hops to identify router naming conventions (often reveals ISP, POP location, interface type)# Example: enrich a traceroute hop
python3 $MCP_CALL "gtrace mcp" asn_lookup '{"ip":"72.14.215.85"}'
python3 $MCP_CALL "gtrace mcp" geo_lookup '{"ip":"72.14.215.85"}'
python3 $MCP_CALL "gtrace mcp" reverse_dns '{"ip":"72.14.215.85"}'
When investigating BGP peers or routes:
bgp_get_peers (protocol-participation skill)asn_lookup to verify the peer's ASN matches what BGP reportsgeo_lookup to confirm the peer's physical locationreverse_dns to identify the peer's hostname and operatorip (required): IPv4 or IPv6 address to look upip (required): IPv4 or IPv6 address to geolocateip (required): IPv4 or IPv6 address to resolve