petra402
Public web page to markdown, paid per call with x402. First 10 calls free, no signup.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"petra402": {
"url": "https://petra402.com/mcp?src=mcp-registry"
}
}
}遠端端點
https://petra402.com/mcp?src=mcp-registrystreamable-http它能做什麼
工具清單
工具(1)
🟢scrape(url, fresh, max_chars, links, max_age_seconds)
Fetch a public web page and return its main content as markdown. Charged per successful call with x402: 0.005 USDC on Base Sepolia (testnet). A failed scrape is never charged, and a cache hit inside 24 h is free. Payment happens at the HTTP transport layer: an unpaid call answers 402 with the payment requirements; sign and repeat the identical JSON-RPC call with the payment header. This server speaks x402 v2 (PAYMENT-SIGNATURE / PAYMENT-RESPONSE), not v1 (X-PAYMENT). A v1 client will loop on 402 without ever settling. Refusals that are policy and never charged: government, military and any health-related domain; private or internal addresses; paths disallowed by robots.txt; sites protected by an anti-bot vendor (never bypassed).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "absolute http(s) URL of a public page"
},
"fresh": {
"type": "boolean",
"description": "bypass the 24 h cache (a cache hit is free; fresh is always charged)"
},
"max_chars": {
"type": "number",
"description": "truncate the markdown; the answer reports truncated and chars_total"
},
"links": {
"type": "boolean",
"description": "keep link targets in the markdown"
},
"max_age_seconds": {
"type": "number",
"description": "accept a cached copy only if it is younger than this"
}
},
"required": [
"url"
],
"additionalProperties": false
}社群
證據