User-Agent Parser

User-Agent Parser MCP Connector for Claude

A+

Decode raw HTTP User-Agent strings instantly. Extract structured Browser, OS, and Device data for accurate IT log analysis.

1 tools Official Updated Jun 28, 2026 Official Vinkius Partner

When an IT Support Agent analyzes an error log or a firewall access log, it encounters messy User-Agent strings like Mozilla/5.0 (iPhone; CPU iPhone OS 16_5 like Mac OS X) AppleWebKit/605.1.15. LLMs often misinterpret these strings, causing them to hallucinate the wrong device or browser version. This MCP solves that entirely.

The Superpowers

  • Deterministic Parsing: Uses the industry-standard ua-parser-js to surgically extract the exact OS, Engine, Browser, and Device.
  • Log Analysis: Transforms unreadable logs into clean JSON, empowering AI agents to accurately diagnose platform-specific bugs.
user-agentlog-analysisdevice-detectionbrowser-identificationit-supportdata-parsing

1 tools expose this connector's capabilities to your AI agent.

parse_ua

Pass the raw UA string from HTTP headers or server logs and receive exact identification of the client. Decodes raw HTTP User-Agent strings into structured JSON objects (Browser, OS, Device). Prevents LLMs from hallucinating client specs from log files

See how to talk to your AI agent using User-Agent Parser.

Parse this UA from the server log: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)`

Parsed User-Agent: {"browser": {"name": "Chrome", "version": "114.0"}, "os": {"name": "Mac OS", "version": "10.15.7"}}

Find out what device the user is on based on this string: `Mozilla/5.0 (iPhone; CPU iPhone OS 16_5)`

Parsed User-Agent: Device is Mobile, OS is iOS 16.5.

Extract the browser version from this Android User-Agent.

Result: Browser is Chrome version 120 on Android 13.

Yes, it accurately identifies iOS, Android versions, and specific phone models.

Related Connectors