Home / Servers / Web and Network / user_agent_parse

User agent parse

An MCP tool from the Web and Network server, hosted on mcp.hjlabs.in.

Parse a browser User-Agent string into browser and version, operating system and version, device type (desktop, mobile, tablet, tv, bot), rendering engine and whether it looks like a bot. Best-effort, pure, no network.

Name on the gateway: web__user_agent_parse · read-only.

Parameters

NameTypeDescription
user_agent requiredstringThe User-Agent header value.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "web__user_agent_parse",
  "arguments": {
    "user_agent": "…"
  }
}

Or connect the Web and Network server directly, which lists 22 tools including this one:

Run in your terminal
claude mcp add --transport http hj-web https://mcp.hjlabs.in/mcp/web \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the user agent parse tool with user_agent set to ….

More from Web and Network