• FLAG
  • ALERT
  • CHECK
  • REVIEW

How to detect VPN and Tor usage with your AI

Connect IPinfo to your AI client to identify suspicious connection types. Once connected, your agent can flag privacy-masking services as they appear.

Ask AI about this page

Short answer

How can I tell if a user is on a VPN or Tor?

Your AI uses the get_privacy_details tool to inspect IP addresses for signs of masking. It identifies VPNs, proxies, and Tor exit nodes so you can decide how to handle the connection. This breakdown shows how to automate that detection.

Detection outcomes

Where connection data lands.

The AI sorts incoming connection data into these categories.

FLAG

Identify Tor nodes

The AI finds Tor exit nodes. You get a clear alert when a connection is coming from the Tor network.

ALERT

Spot VPN usage

Your agent identifies if an IP belongs to a known VPN provider. This helps you see when users are hiding their location.

CHECK

Find active proxies

The AI flags proxy servers used to mask identity. You'll know if a connection is routed through a middleman.

REVIEW

Human decision

The AI provides the privacy data, but you decide if the connection should be blocked. You maintain full control over the final action.

The workflow

What your AI does when a connection arrives.

Your AI handles the heavy lifting of inspecting IP metadata.

  1. Inspect the IP

    The AI pulls the specific privacy profile for the incoming IP address.

    get_privacy_details
  2. Identify masking

    It checks the data to see if the IP is a known VPN or proxy.

    get_privacy_details
  3. Detect Tor

    The agent looks for indicators that the user is routing through a Tor exit node.

    get_privacy_details
  4. Report findings

    The AI summarizes the privacy status for you to review.

    get_privacy_details

Try it

Copy these to start.

Use these prompts to begin your investigation.

Starting points

Replace the bracketed text with your specific data, like a log file or a specific IP address.

IPinfo Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_23TQwSNXPHn42ozRBJ3xzE1NZLop9J8RYx1WYKQx/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — IPinfo capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "ipinfo-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_23TQwSNXPHn42ozRBJ3xzE1NZLop9J8RYx1WYKQx/mcp"
    }
  }
}
Copy into chat04
  • Check this IP address [IP] for VPN or Tor usage using IPinfo.

  • Look through my connection logs in [File/Sheet] and flag any Tor exit nodes.

  • Analyze the privacy details for the user at [IP] and tell me if they are using a proxy.

  • Summarize all privacy-masking attempts found in [Channel/Log].

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect IPinfo once, then ask.

One click connects the MCP to your client. Your credentials stay encrypted, and you can start asking questions immediately.

Connect IPinfo to your AI

FAQ

How the detection works

  • 01

    Can the AI block the IP automatically?

    No. The AI only identifies and reports the privacy status. You must take the action to block or allow the connection yourself.

  • 02

    Does the AI see my full user database?

    No. The AI only accesses the specific IP data you provide or point it toward via the tools.

  • 03

    Can it detect mobile carrier proxies?

    It identifies IPs flagged as proxies, but it cannot distinguish between a standard mobile gateway and a malicious proxy unless the IP is specifically listed in the privacy data.

  • 04

    How does it know if an IP is a VPN?

    It uses the get_privacy_details tool to check the IP against known VPN provider databases.

  • 05

    Will it work with my existing logs?

    Yes, if you provide the logs to your AI client, it can use the IPinfo tools to scan them for privacy-masking signatures.

  • More questions about IPinfo? The Connector page answers them. See everything the IPinfo Connector can do

Connect IPinfo to Claude, Cursor, ChatGPT & more