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.

Open the Apify Store

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.

See how to call it

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.