Skip to main content
Glama
Br0ski777

user-agent-parser

by Br0ski777

User Agent Parser API

MCP Server x402 License: MIT

解析任意 user agent 字符串,并在一次调用中生成结构化数据:浏览器、操作系统、设备类型、引擎及机器人检测。通过 x402(Base L2 上的 USDC)按次付费 —— 无需 API 密钥、无需注册、无速率限制门槛。

属于 klymax402 市场的一部分 —— 面向 AI 代理的 100 个 x402 微支付 API,一个钱包,Base 上的 USDC。

快速开始 —— MCP

将以下内容添加到你的 MCP 客户端配置(Claude Desktop、Cursor、ElizaOS 等)中:

{
  "mcpServers": {
    "user-agent-parser": {
      "url": "https://user-agent-parser.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: Pylon MCP Server

快速开始 —— HTTP(x402)

curl -X POST "https://user-agent-parser.api.klymax402.com/api/parse" \
  -H "Content-Type: application/json" \
  -d '{"userAgent":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

任何支持 x402 的客户端(@x402/fetchx402-agent-tools、ATXP)都会自动处理 402 -> 签名 -> 重试 的整个过程。

工具

工具

方法

路径

价格

描述

utility_parse_user_agent

POST

/api/parse

$0.003

将用户代理字符串解析为结构化数据

utility_parse_user_agent

当你需要解析用户代理字符串,以识别客户端的浏览器、操作系统、设备类型和机器人状态时,请使用此工具。它返回完全结构化的数据。

参数

名称

类型

必填

描述

userAgent

string

要解析的用户代理字符串

响应示例:

{"browser":{"name":"Chrome","version":"120.0"},"os":{"name":"Windows","version":"11"},"device":{"type":"desktop","vendor":null,"model":null},"engine":"Blink","isBot":false,"botName":null}

适用场景:需要按设备或浏览器对流量进行分类的分析管道、在访问日志中检测机器人流量,或根据客户端能力调整内容。

不适用于:HTTP 头部分析(请使用 utility_parse_http_headers)、网页抓取(请使用 web_scrape_to_markdown)、SEO 审计(请使用 seo_audit_page)。

示例 Agent 提示词

  • “解析用户代理字符串,以识别客户端的浏览器、操作系统、设备类型和机器人状态”

支付

  • 协议:x402 -- 基于 HTTP 的按次付费,无需订阅,无需 API key

  • 网络:Base L2(eip155:8453

  • 资产:USDC

  • 协调者:Coinbase CDP(主要)、PayAI(备用)

  • 也可通过 ATXP 访问(封装了 OAuth 的 x402,支持 RFC 9728 受保护资源元数据)

属于 klymax402

为 AI 代理提供 100 个 x402 微支付 API -- 一个钱包,Base 上的 USDC,零注册。

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    F
    maintenance
    20 pay-per-call utility tools for AI agents via x402 USDC micropayments on Base. Screenshots, OCR, PDF, web scraping, weather, forex rates, crypto/stock prices, DNS, geocoding, translation, and more. $0.001–$0.008 per call. No API keys, no signup.
    1
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to pay for x402 pay-per-use services like web search, scraping, and screenshots using a simple API key and USD balance, without managing crypto wallets.
    6
    MIT

View all related MCP servers

Related MCP Connectors

  • Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.

  • Pay-per-call web scraping for AI agents via x402 on Base USDC. Six tools, no signup.

  • 63 pay-per-call tools for agents: vision, text, data, web, blockchain. USDC on Base via x402.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/user-agent-parser-x402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server