Retrieves comprehensive IP address details including geolocation, ISP, timezone, and network information. Access via MCP in Cursor or Windsurf for AI-powered network analysis, or call GET /v1/ip/info directly. Returns structured data with country, city, ASN, and threat intelligence. Perfect for security audits and geographical routing decisions.
curl "https://tinyfn.io/v1/ip/info" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/ip/info', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/ip/info',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's ip address tools:
{
"mcpServers": {
"tinyfn-ip": {
"url": "https://tinyfn.io/mcp/ip",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Returns geolocation (country, city, coordinates), ISP details, ASN, timezone, connection type, and security flags like VPN/proxy detection.
Simply ask your AI assistant to look up an IP address. The MCP tool handles the API call and returns formatted results automatically.
No, each request handles one IP address. For bulk lookups, make multiple API calls or requests through your AI agent.
Yes, the response includes security flags that identify known VPN services, proxies, Tor exit nodes, and other anonymization services.
Both IPv4 and IPv6 addresses are supported with identical response formats. IPv6 may have less detailed geolocation data in some regions.