• GEO
  • NET
  • SEC
  • HUMAN

How to investigate IP geolocation and ASN with your AI

Connect IPinfo to your AI client once. After that, your agent acts as a network analyst that handles all the lookup work for you.

Ask AI about this page

Short answer

How can I use AI to look up IP and ASN data?

You give your AI an IP address, and it uses the IPinfo MCP to pull the exact geographic location, ISP, and Autonomous System details. You'll get a clear breakdown of the network origin and location data.

The results.

Where your data lands.

The AI processes the IP and routes the findings into these specific outcomes.

GEO

Mapping locations

The AI identifies the country, city, and coordinates for an IP. You get a clear picture of where the traffic is coming from.

NET

Identifying ISPs

Your agent pulls the ISP and Autonomous System name. This helps you see which network providers are hosting the IP.

SEC

Security triage

The AI flags suspicious origins by checking the ASN and location. You use this to spot unusual activity in your logs.

HUMAN

Manual review

The AI presents the raw data for you to inspect. You decide if the location or network details warrant further investigation.

The workflow

What your AI does when an IP arrives.

The AI acts as the bridge between your chat and the IPinfo database.

  1. Extract IP

    Your agent identifies the IP address from your text or logs and prepares the request.

    get_ip_details
  2. Fetch Location

    The AI pulls the specific geographic data like city and country for that address.

    get_ip_details
  3. Identify Network

    The agent looks up the specific Autonomous System details for the target.

    get_asn_details
  4. Summarize findings

    The AI combines the location and network data into a readable report for you.

    get_ip_detailsget_asn_details

Try it

Copy these to start.

Use these prompts to kick off your investigation.

Starting points

Replace the IP addresses in these examples with the ones you actually need to check.

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
  • Get the location and ISP details for 8.8.8.8.

  • What is the ASN for the IP address 1.1.1.1?

  • Check the geolocation for this IP: 192.0.2.1.

  • Analyze this IP 203.0.113.45 and tell me which network it belongs to.

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

Start here

Connect IPinfo once, then ask.

Click the link to connect the MCP. Your credentials stay encrypted, and you can start using the tools in your preferred AI client immediately.

Connect IPinfo to your AI

FAQ

How this task behaves.

  • 01

    Can the AI block an IP address?

    No. The AI can only retrieve data about an IP. You must use your own security tools to perform blocks or changes.

  • 02

    Does the AI update the IPinfo database?

    No. The AI only reads data from IPinfo. It cannot write to or modify the external database.

  • 03

    Can I give the AI a list of IPs at once?

    Yes. You can paste a list of IPs and ask your agent to look up the details for each one.

  • 04

    Will the AI tell me the exact street address?

    No. The AI provides geographic data like city and region, but it does not provide specific residential street addresses.

  • 05

    Does this work in Cursor or VS Code?

    Yes, it works in any MCP-compatible client like Claude, Cursor, Windsurf, or VS Code.

  • More questions about IPinfo? See everything the IPinfo Connector can do

Connect IPinfo to Claude, Cursor, ChatGPT & more