
TokenSqueezer LLM Token Compressor
io.github.pgalyen1987由 GitHub 账号 pgalyen1987 发布v1.0.2更新于 Oct 28, 2026
x402-gated LLM token compressor: strip filler, collapse JSON, densify prose. Paid in USDC.
概览
付费 MCP 服务器:抓取公开网页并返回压缩后的 Markdown 以节省 LLM 上下文 token,按次以 USDC 计费。
- 可以做什么
- 抓取并压缩公开页面:surface_markdown_parser 去除脚本、广告与导航噪声,返回适合上下文窗口的 Markdown,收取少量 USDC。
- 抓取有反爬保护的站点:stealth_markdown_parser 使用代理轮换、加固的 Playwright 和可选验证码破解,费用更高。
- 服务发现:提供工具目录、健康检查与 well-known 发现清单,供注册表爬虫和智能体读取。
- 按次付费:未付款请求返回 402 挑战,随后通过 x402 USDC 结算,标准档也支持 Stripe 卡支付。
- 适用场景
- 适合助手需要读取大量 React 或 Vue 页面、原始 HTML 消耗过多上下文的场景,也适合检索循环需要从公开网址获得干净 Markdown 的情况。stealth 档用于拦截普通抓取的站点。
- 运行要求
- 可作为本地 stdio 进程从 npm 包运行,也可自建 HTTP 服务。自建需要 Node.js、用于接收 USDC 的 WALLET_ADDRESS,可选 CDP_API_KEY_ID 与 CDP_API_KEY_SECRET、STRIPE_SECRET_KEY、STEALTH_PROXY_URLS、CAPTCHA_SOLVER_KEY。调用方需要支持 x402 的钱包或卡支付。
安装
在 SourceWeft 中
- 打开 控制台中的 TokenSqueezer LLM Token Compressor,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
NodeProxy
Self-discoverable MCP utility for autonomous agents — no ads, no landing page, no human in the loop.
NodeProxy exposes two paid tools:
Both fetch a public URL, strip scripts/ads/nav noise, and return compressed Markdown optimized for LLM context windows. Standard tier also accepts Stripe MPP card payments ($0.50 minimum) alongside x402 USDC.
Agents find this service through MCP registries, x402 Bazaar discovery, and machine-readable manifests — not marketing.
Why agents need this
Heavy React/Vue sites burn tokens when agents ingest raw HTML. NodeProxy returns clean Markdown so autonomous retrieval loops stay cheap and accurate. When basic fetch hits bot walls, the stealth tier escalates with proxy rotation, hardened Playwright, and optional CAPTCHA solving.
Architecture
Quick start
Endpoints (replace host with your deploy URL):
Environment
Machine discovery (zero advertising)
- Deploy to Railway or any HTTPS host.
- Verify live manifests:
/mcp/tools,/.well-known/x402.json,/registry/server.json. - Submit PR to the open-source MCP Registry using
integrations/mcp-registry/server-entry.json. - Bazaar auto-index: after successful x402 settlements through a Bazaar-enabled facilitator, tools appear in the global Bazaar index (Bazaar docs). NodeProxy attaches Bazaar extension metadata on every 402 response.
- Enterprise hubs (Google Agent Registry, Anthropic routing): point them at
/.well-known/mcp.jsonor/discovery/agent.json.
Tool descriptions are written for LLM tool-matching, not humans.
Payment rails
MCP stdio (Claude Desktop / local agents)
Add to Claude Desktop config:
HTTP execute example
Use @x402/fetch, @x402/mcp, or nodeproxy-tools for automatic payment.
Deploy on Railway
Railway is the recommended host: full Node.js (JSDOM works), no 15s serverless timeout, metered billing when idle.
1. Push to GitHub
2. Create Railway project
- Go to railway.app → New Project → Deploy from GitHub repo
- Select your repo — Railway reads
railway.toml+nixpacks.tomlautomatically - Settings → Networking → Generate Domain (gives you
*.up.railway.app)
3. Set environment variables
In Railway → Variables:
You do not need to set PORT or PUBLIC_URL — Railway injects PORT, and the app auto-detects RAILWAY_PUBLIC_DOMAIN for discovery manifests.
4. Verify deploy
5. Register for agent discovery
Open a PR to the MCP Registry with integrations/mcp-registry/server-entry.json. Agents hit:
https://YOUR-APP.up.railway.app/mcp/toolshttps://YOUR-APP.up.railway.app/.well-known/mcp.jsonhttps://YOUR-APP.up.railway.app/.well-known/x402.json
Cost expectation
Railway’s free tier gives $1/month credit after trial — enough for low traffic ($0.30–0.50/mo idle). One paid agent call at $0.002 USDC covers that. Scale to Hobby ($5/mo) when bot traffic grows.
Do not use Vercel/Cloudflare Workers for this service — JSDOM and 25s fetch timeouts exceed edge limits.
Production (Base mainnet)
USDC on Base: 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
Upstream framework integrations
To get NodeProxy baked into LangChain, CrewAI, and MCP registry discovery:
- integrations/UPSTREAM.md — fork → PR → merge playbook
integrations/python/—nodeproxy-toolsPyPI package + LangChain/CrewAI wrappersintegrations/typescript/—@nodeproxy/langchainnpm packageintegrations/mcp-registry/— MCP registry PR template
Quick LangChain example:
Naming
NodeProxy is registry-ready: boring, predictable, and reads as infrastructure. Tool names (surface_markdown_parser, stealth_markdown_parser) are chosen so semantic search hits match intent.
License
MIT
Part of Gate402
This service is part of the Gate402 x402 agent-API suite — pay-per-call APIs for AI agents over HTTP 402 (USDC on Base). Use it standalone, through the unified storefront + CDP x402 Bazaar at gate402.app, or as an MCP server: npx -y gate402-mcp.
来源:README.md,提交 d28f737
工具
0版本历史
1- v1.0.2最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。