How to Detect Suspicious Logins with Claude
Detect suspicious login locations with Claude and ToolRouter. IP-based fraud detection in seconds.
ToolIP GeolocationClaude brings analytical rigor to login anomaly detection by calculating geographic distance, assessing travel feasibility, and evaluating ISP fingerprints against user baselines. It asks clarifying questions about your security thresholds to refine the risk assessment for each flagged login attempt.
Connect ToolRouter to Claude
1Go to Settings → Connectors → Add custom connector
2Enter the details below and click Add
Name
ToolRouterURL
https://api.toolrouter.com/mcp3Done — works on Claude chat, desktop, and mobile
Steps
Once connected (see setup above), use the IP Geolocation tool:
- Ask Claude: "Look up the location of this login IP using ip-geolocation" and provide the IP
- Claude returns the geographic details
- Ask: "Compare this location against the user's previous logins from New York"
- Claude flags whether the location is suspicious based on distance and timing
Example Prompt
Try this with Claude using the IP Geolocation tool
Look up the location of 185.220.101.34. A user who normally logs in from San Francisco just authenticated from this IP. Is this suspicious?
Tips
- Check for VPN and proxy indicators in the ISP data
- Compare timestamps between logins to detect impossible travel
- Build a baseline of normal login locations for each user