{
"mcpServers": {
"apilayer": {
"url": "https://mcp.apilayer.com/mcp",
"headers": {
"Authorization": "Bearer ${env:APILAYER_MCP_TOKEN}"
}
}
}
}
Or run locally
Geolocate any IPv4 or IPv6 address down to the city, including latitude, longitude, and timezone.
Low-latency responses from IPstack’s global edge. No batching delays, no cold starts.
Works with VS Code Copilot, Cursor, Windsurf, Claude Desktop, Cline, and more out of the box.
Detect proxies, VPNs, Tor exit nodes, and known threat actors directly from your AI workflow.
Get ISP, ASN, connection type, and carrier metadata for richer network-aware reasoning.
Resolve up to 50 IPs in a single call. Perfect for log analysis and security audits via your AI.
Choose your coding tool and follow the steps. That's it.
Open Cursor Settings (Cmd/Ctrl + ,)
Navigate to the MCP section
Click "Add MCP Server" and paste the config below
Restart Cursor to activate the MCP server
{
"mcpServers": {
"apilayer": {
"url": "https://mcp.apilayer.com/mcp",
"headers": {
"Authorization": "Bearer ${env:APILAYER_MCP_TOKEN}"
}
}
}
}
Geolocate any single IPv4 or IPv6 address in real time.
Resolve up to 50 IPs in a single batched request.