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
| Name | Type | Description |
|---|---|---|
user_agent required | string | The 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:
{
"name": "web__user_agent_parse",
"arguments": {
"user_agent": "…"
}
}Or connect the Web and Network server directly, which lists 22 tools including this one:
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 ….