• DEVICE
  • SOFTWARE
  • BATCH
  • HUMAN

How to parse user agent metadata with your AI

Connect IPGeolocation.io to your agent to turn messy strings into structured device data.

Ask AI about this page

Short answer

How can I extract device and browser info from user agents?

Your agent uses the IPGeolocation.io MCP to pull specific details like operating system, browser version, and device type from any user-agent string. You can process single strings or run them in batches to get clean, structured data. This breakdown shows how the AI handles the translation.

Data outcomes

Structured device insights

What your agent produces from raw strings.

DEVICE

Hardware identification

The AI identifies the specific device type, such as a mobile phone, tablet, or desktop, from the metadata.

SOFTWARE

OS and browser details

Your agent pulls the exact operating system and browser version used during the session.

BATCH

Bulk processing

You can feed the AI a list of multiple strings to get a structured dataset all at once.

HUMAN

Manual review

You decide which parsed insights are worth saving to your database or reporting tools.

The workflow

What your AI does when the data arrives.

The AI handles the heavy lifting of string parsing so you don't have to write regex.

  1. Identify the string

    The agent looks at the provided user-agent text to prepare it for analysis.

    get_user_agent
  2. Extract metadata

    The AI pulls the device, OS, and browser details from the string.

    get_user_agent
  3. Process lists

    If you provide a collection of strings, the AI runs them through the parser in one go.

    bulk_user_agent
  4. Format results

    The agent organizes the parsed information into a clean format for your use.

    bulk_user_agent

Try it

Copy these to start.

Use these prompts to trigger the parsing immediately.

Starting points

Swap the bracketed text for your actual data, like a specific log file or a list of strings.

IPGeolocation.io Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_qdRFZuEgikb41heRbYJh8rduLbArxuPiziTxGQnt/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 — IPGeolocation.io capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "ipgeolocationio-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_qdRFZuEgikb41heRbYJh8rduLbArxuPiziTxGQnt/mcp"
    }
  }
}
Copy into chat04
  • Parse this user agent string for me: [paste string]

  • Take this list of user agents from my CSV and extract the browser and OS for each: [paste list]

  • Look at the logs in my Google Sheet and tell me which devices are most common based on the user agents.

  • Analyze these user agents from my recent server logs and summarize the top three operating systems.

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

Start here

Connect IPGeolocation.io once, then ask.

Just link the MCP to your client. Your credentials stay encrypted, and you can start parsing immediately.

Connect IPGeolocation.io to your AI

FAQ

How the parsing works

  • 01

    Can the AI change the original user agent string?

    No. The AI only reads and parses the strings you provide; it does not modify your source data.

  • 02

    Can I parse a whole file at once?

    Yes, you can provide a list of strings for the AI to process using the bulk capability.

  • 03

    Does the AI store my user agent data?

    No. The AI processes the data to give you an answer, but it doesn't keep a permanent record of your strings.

  • 04

    Can the AI fix broken user agent strings?

    No. If a string is malformed or missing data, the AI can only report what is actually present in the metadata.

  • 05

    Will the AI automatically update my database with this info?

    No. The AI provides the parsed data to you in the chat. You must manually move that data into your database or tools.

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

Connect IPGeolocation.io to Claude, Cursor, ChatGPT & more