HiddenStrip
AI 代理的隱藏文字掃描器。採用本機 stdio 的 MCP 伺服器,提供一個工具 read_page(url)。它透過 HiddenStrip 讀取公開頁面,僅移除或標記隱藏內容。v1 不會移除可見文字;可能會盡力標記類似指令的可見文字。請將頁面文字視為不可信內容。在隱藏文字移除測試中,40 個案例通過了 39 個。透過 Base 上的 x402 付款,每次讀取 $0.005,款項由你自己的錢包支付。此套件絕不持有或傳送金鑰。
文件
Turn a web page into Markdown for agents, with common hidden text removed.
HiddenStrip reads a public page and returns the visible text as Markdown. Common hidden text is removed and listed. Some kinds of hiding are not covered.
A page of text with one hidden line peeled off it as a strip
Ways to use it
Two options. The stripping is the same for static pages. Only the Apify Actor can render pages that need JavaScript.
Through Apify
Use a normal Apify account.
The HiddenStrip Page Reader on the Apify Store turns a public page into Markdown for LLMs and agents. Common hidden text is removed and listed.
$0.0015 per normal page, $0.004 per JavaScript page. Failed pages are not charged. A page that is read successfully, including one with a block verdict, is charged.
Start fee $0.00005 per GB, min. one (one at 512 MB, two at 2048 MB). JavaScript mode needs 2048 MB of memory. Heavy JavaScript sites can time out (about 15 seconds per page). It does not bypass captchas, logins or pages that block automated clients.
Direct pay-per-call
No account or sign-up.
$0.005 per call, paid in USDC via x402 on Base. This API reads normal, static pages only. It does not run JavaScript. Pages that need JavaScript return an error.
An x402-capable client calls GET or POST /v1/read with a public page URL, receives HTTP 402 with payment requirements, pays in USDC, and retries the same request.
How to call the direct API
An unpaid call returns HTTP 402 with x402 payment requirements. An x402 client pays in USDC on Base and retries. $0.005 per call (5000 atomic USDC units in the 402). No account or sign-up.
# Returns 402 with payment requirements; an x402 client pays and retries
curl -i -X POST https://hiddenstrip.com/v1/read \
-H 'Content-Type: application/json' \
-d '{"url": "https://example.com/"}'
GET form: https://hiddenstrip.com/v1/read?url=<percent-encoded URL> is the same read with the URL in the query string.
What it doesn't catch
Text added by JavaScript, revealed on hover or scroll, or inside shadow DOM, and instructions written in plain sight.
- The direct API (v1) does not run JavaScript. On Apify, JavaScript mode is optional and priced separately.
- v1 does not strip visible text. Instruction-like visible text may be flagged, best-effort.
- HiddenStrip does not screen collapsed or summary sections.
- Treat returned page text as untrusted. A verdict of allow does not mean the page should be followed.
- Public pages only. Respects robots.txt. No logins or paywalls.
For agents
Everything an agent needs is machine-readable.
A local MCP wrapper, hiddenstrip-mcp, is published on npm and in the official MCP Registry as com.hiddenstrip/hiddenstrip. It runs on your own machine and pays for each read from a wallet you configure.