
TokenSqueezer LLM Token Compressor
io.github.pgalyen1987Published by GitHub account pgalyen1987v1.0.2Updated Oct 28, 2026
x402-gated LLM token compressor: strip filler, collapse JSON, densify prose. Paid in USDC.
Overview
Paid MCP server that fetches public web pages and returns compressed Markdown to save LLM context tokens, charged per call in USDC.
- What you can do
- Fetch and compress public pages: surface_markdown_parser strips scripts, ads and navigation noise and returns token-efficient Markdown for a small USDC fee.
- Fetch bot-protected sites: stealth_markdown_parser escalates with proxy rotation, hardened Playwright and optional CAPTCHA solving for a higher fee.
- Discover the service: exposes tool catalogs, health and well-known discovery manifests for registry crawlers and agents.
- Pay per call: requests without payment return a 402 challenge, then settle via x402 USDC or Stripe card payment on the standard tier.
- When to use it
- Useful when an assistant ingests heavy React or Vue pages and raw HTML burns context, or when a retrieval loop needs clean Markdown from public URLs. The stealth tier is meant for sites that block basic fetching.
- Requirements
- Runs as a local stdio process from the npm package, or as a self-hosted HTTP service. Self-hosting needs Node.js, a WALLET_ADDRESS to receive USDC, and optionally CDP_API_KEY_ID and CDP_API_KEY_SECRET, STRIPE_SECRET_KEY, STEALTH_PROXY_URLS and CAPTCHA_SOLVER_KEY. Callers need an x402-capable wallet or card payment.
Installation
In SourceWeft
- Open TokenSqueezer LLM Token Compressor in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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.
Source: README.md at commit d28f737
Tools
0Version history
1- v1.0.2LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.