Open-source CleanWeb MCP server cuts web scraping tokens 87% and blocks prompt injections
EstablishmentTough18 · reddit · 2026-10-31
A developer released x402-cleanweb-agent, an open-source (MIT) MCP server that purifies live web pages into token-compressed, LLM-ready Markdown before they hit your prompt.
The problem: raw HTML boilerplate—cookie banners, trackers, nav links—eats 70-90% of the context window when Claude Desktop or Cursor fetches a page (15,000-20,000 input tokens for a single 80KB page).
What it does:
- 87% token compression: strips scripts, styles, and navigation, shrinking a 20,000-token page to 2,600 tokens (85% cost savings)
- Security gate: sanitizes indirect prompt injections, zero-width steganography (\u200B), and hidden CSS containers (display:none, transparent camouflage)
- Multimodal tools: clean web & batch URLs, academic PDF parsing, YouTube AI summaries with timestamped transcripts, real-time verified search
Setup: no repo clone needed—run via uvx x402-cleanweb-agent in Claude Desktop / Cursor / Windsurf config; 3 free trial calls per session, no auth required.
More from coding & agent
- Anthropic quietly pushes server-side rule banning Claude Code game clones — rohanpaul_ai · 2026-10-31
- NVIDIA Extends Agent Toolkit to Engineering: PhysicsNeMo Goes Agent-Ready — emmanuelvivier · 2026-10-31
- Trojanized Claude Code Extension via Cursor Marketplace Backdoored Thousands of Devs — emmanuelvivier · 2026-10-31
- The internet is just search and action—and agents will make apps obsolete — yunta_tsai · 2026-10-31
- Memnest: open-source local MCP memory server shared by Claude Code, Codex and Cursor — Agitated_Chair_4977 · 2026-10-31
- Attacker Used BYOK Agent Strix to Hit China/HK Gambling Sites, Leaked Own LLM Key — cyb3rops · 2026-10-31