ip-geolocation

v1.0.0
io.github.abangdwie/ip-geolocation Checked 2 days ago Published 7 days ago

IPv4 geolocation: country, city, ASN via DB-IP Lite.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ip_lookup

Look up one IPv4 address: country code + name, continent, region/state, city, latitude/longitude, ASN number + organization name, from the DB-IP Lite database (CC BY 4.0, November 2026 edition). IPv6 is not supported in v1. Timezone is not available in DB-IP Lite and is not included. Costs $0.001 USDC per call, paid via x402 on Base.

ParameterTypeDescription
ip *stringIPv4 address to look up, e.g. 8.8.8.8

ip_self

Geolocation of the caller's own IP from Cloudflare edge data (country, city, region, ASN, timezone when available). Free, no payment required.

health

Check that the server is alive. Free, no payment required.

catalog

List all tools with their prices in USDC. Free, no payment required.