# UAParse

> UAParse is a freemium MCP server for analytics and data. Parse a User-Agent string and flag bots, search crawlers, AI crawlers and AI agents. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $5 a month
- **Platforms:** API, Web
- **Website:** https://uaparse.mike-tusa.workers.dev
- **MCP Registry name:** dev.workers.mike-tusa.uaparse/uaparse
- **Categories:** analytics and data, developer tools
- **Listing updated:** 2026-11-15

## About

UAParse reads a User-Agent string and returns browser, OS, device type and engine, then labels whether it belongs to a known bot, search crawler, AI crawler or an AI agent acting for a user. Browser details come from ua-parser-js 1.0.41, while bot matching uses a curated list of 151 known bots, 43 of them AI crawlers, with the first matching token winning.

For AI crawlers it adds a purpose label where the operator documents one: training, search, user_fetch or agent. Nine names, including ChatGPT-User, Claude-User and Perplexity-User, are flagged as is_ai_agent. The site cautions that matches are never verified, since a User-Agent can be spoofed and no DNS or IP checks are done.

The MCP tool is parse_user_agent. Without a key, about 20 lookups a minute are allowed; bulk parsing needs a key and stays in the JSON API.

## Features

- **Browser, OS and device:** Returns browser, OS, device type and engine.
- **Bot and crawler flags:** Matches 151 known bots, 43 of them AI crawlers.
- **AI purpose labels:** Labels training, search, user_fetch or agent where documented.
- **AI agent detection:** Flags nine user-triggered fetcher names as AI agents.
- **No external calls:** Runs entirely inside the Worker without DNS or IP lookups.

## Good for

- Identify which crawler in server logs is an AI trainer
- Decide how to treat AI agent traffic on a site
- Segment analytics by browser and device
- Check a suspicious User-Agent from an agent chat

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http uaparse https://uaparse.mike-tusa.workers.dev/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://uaparse.mike-tusa.workers.dev/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "uaparse": {
      "url": "https://uaparse.mike-tusa.workers.dev/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "uaparse": {
      "type": "http",
      "url": "https://uaparse.mike-tusa.workers.dev/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "uaparse": {
      "serverUrl": "https://uaparse.mike-tusa.workers.dev/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "uaparse": {
      "type": "http",
      "url": "https://uaparse.mike-tusa.workers.dev/mcp"
    }
  }
}
```

## Tools

- `parse_user_agent`: Parses a User-Agent string and flags bots, crawlers and AI agents.

## FAQ

### Is a match verified?

No. UAParse does no DNS or IP checks, so anyone can spoof a User-Agent.

### What does Pro cost?

$5 a month for 10,000 lookups per UTC day and bulk parsing up to 100 User-Agents per call.

### Does it build robots.txt rules?

No. The site points to a sibling product, RobotsGate, for that.

### Is bulk parsing available over MCP?

No. Bulk parsing stays in the JSON API and needs a key.

### Is UAParse free?

UAParse has a free plan, with paid plans for more usage or features. Paid plans start at $5 a month.

### How do I add UAParse to Claude Code?

Run this command in your terminal: claude mcp add --transport http uaparse https://uaparse.mike-tusa.workers.dev/mcp

### What are the best alternatives to UAParse?

The closest alternatives to UAParse are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/uaparse
