x402 Scraper API
Paid web extraction: markdown, structured JSON, market-rules and page-change checks via x402.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"x402-scraper-api": {
"url": "https://scraper-production-6a87.up.railway.app/mcp"
}
}
}远程端点
https://scraper-production-6a87.up.railway.app/mcpstreamable-http它能做什么
工具清单
工具(5)
🟢check_url(url)
FREE: preflight target URL safety and pricing
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"url"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡scrape_markdown(url)
PAID $0.001 USDC (x402, Base): URL to clean markdown. Over MCP this returns payment requirements; settle by calling POST /v1/scrape/markdown with x402 payment headers.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"url"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡extract_structured(url, schema)
PAID $0.02 USDC (x402, Base): URL plus JSON schema to structured JSON. Over MCP this returns payment requirements; settle by calling POST /v1/extract with x402 payment headers.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"schema": {
"type": "object",
"additionalProperties": {}
}
},
"required": [
"url",
"schema"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡compare_market_rules(polymarketRules, bookmakerDescription)
PAID $0.05 USDC (x402, Base): Compare Polymarket rules with a bookmaker market description. Over MCP this returns payment requirements; settle by calling POST /v1/market-rules/compare with x402 payment headers.
输入模式
{
"type": "object",
"properties": {
"polymarketRules": {
"type": "string"
},
"bookmakerDescription": {
"type": "string"
}
},
"required": [
"polymarketRules",
"bookmakerDescription"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡page_changed(url, since)
PAID $0.003 USDC (x402, Base): Whether a page changed since a hash or timestamp. Over MCP this returns payment requirements; settle by calling POST /v1/page/changed with x402 payment headers.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"since": {
"type": "string"
}
},
"required": [
"url"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据