IP geolocation with city, ISP, ASN, VPN/proxy/tor detection. x402.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Geolocate any IP address -- country, city, ISP, ASN, VPN/proxy/Tor detection. IPv4 and IPv6 support. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.
Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.
Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):
Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.
| Tool | Method | Path | Price | Description |
|---|---|---|---|---|
ip_lookup_geolocation | GET | /api/lookup | $0.008 | Geolocate a single IP address |
ip_lookup_geolocation_batch | POST | /api/lookup/batch | $0.02 | Geolocate up to 20 IP addresses in one call |
ip_lookup_geolocationUse this when you need to geolocate an IP address. Returns full location and network data in JSON.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ip | string | yes | IP address to lookup (e.g. 8.8.8.8) |
Example response:
When to use: fraud detection, content localization, access control by region, analytics enrichment, and bot detection.
Not for: domain data (use domain_lookup_intelligence), DNS records (use network_lookup_dns).
ip_lookup_geolocation_batchUse this when you need to geolocate multiple IP addresses at once (up to 20). Returns an array of geolocation results in JSON.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ips | array | yes | Array of IP addresses to lookup (max 20) |
Example response:
When to use: bulk log analysis, batch fraud screening, and enriching analytics data with location info. More cost-effective than single lookups.
Not for: single IPs (use ip_lookup_geolocation), domain data (use domain_lookup_intelligence).
eip155:8453)100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.
MIT
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ip-geolocation-api)<a href="https://allmcps.com/mcp/ip-geolocation-api"><img src="https://allmcps.com/api/badge/ip-geolocation-api?style=directory" alt="IP Geolocation API on AllMCPs" /></a>