CleanRead-402
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
CleanRead-402
Universal x402, A2A & Remote MCP Clean Web Reader for AI Agents ($0.05 USDC, Zero API Keys): Converts any URL into token-compressed, LLM-ready Markdown and structured links for Claude, Cursor, LangChain, ElizaOS, and Coinbase AgentKit.
Why CleanRead-402?
AI agents waste 70–95% of their context window parsing bloated raw HTML (<script>, <style>, trackers, navbars, cookie banners) or hit monthly SaaS paywalls and API key sign-ups.
CleanRead-402 is a stateless, zero-dependency Node.js ES Module micro-node deployed on Vercel Edge/Serverless with direct on-chain Base L2 USDC settlement (x402):
$0.05 USDC Per Call (
50000base units) — Zero API Keys, Zero Subscriptions: Pay per request on Base Mainnet (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) to0x6137ED1A93c8CFF1a6C3112A14bE04883f58E5F7and passX-Payment-Tx: <0x_tx_hash>.Stateless Base RPC Verification: Verifies
status === "0x1", USDCTransferlog amount>= 50000, and block timestamp within600seconds directly againsthttps://mainnet.base.org(fallbackhttps://base.llamarpc.com).Free Schema & Preview Mode (
?demo=true): Returns the first600characters of clean Markdown + full token-compression telemetry (originalBytes,compressedBytes,estimatedTokensSaved), edge-cached for 60s so agents and MCP registries can test at zero cost.Triple-Protocol Interoperability: Native Remote MCP (
2024-11-05), Google A2A (/.well-known/agent.json+/a2a), and x402 REST (/api/v1/extract).
Related MCP server: CleanPage
4-Line Remote MCP Setup (Claude Desktop / Cursor / Windsurf)
Add to claude_desktop_config.json or .cursor/mcp.json (see examples/claude_mcp_config.json):
{
"mcpServers": {
"cleanread-402": { "url": "https://cleanread-402.vercel.app/mcp" }
}
}Exposed MCP Tools
extract_clean_markdown— Converts anyhttp://orhttps://URL into clean, token-compressed Markdown ({ title, url, cleanMarkdown, originalBytes, compressedBytes, estimatedTokensSaved, links }). Supportsdemo: true(free) orpayment_tx: "0x..."($0.05 USDC).batch_extract_links— Extracts deduplicated, absolute structured links ([{ text, url }]) and byte/token compression stats across up to 3 URLs in parallel.
REST & x402 Micro-API Usage
1. Free Demo Preview (HTTP 200, Edge-Cached 60s)
curl "https://cleanread-402.vercel.app/api/v1/extract?url=https://modelcontextprotocol.io/introduction&demo=true"2. Unpaid Request -> Standard HTTP 402 Payment Required Invoice
curl -i "https://cleanread-402.vercel.app/api/v1/extract?url=https://modelcontextprotocol.io/introduction"Returns standard x402 JSON:
{
"x402Version": 1,
"payTo": "0x6137ED1A93c8CFF1a6C3112A14bE04883f58E5F7",
"network": "base",
"chainId": 8453,
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"maxAmountRequired": "50000",
"priceUsdc": "0.05",
"paymentHeader": "X-Payment-Tx"
}3. Paid Full Extraction (X-Payment-Tx)
curl "https://cleanread-402.vercel.app/api/v1/extract?url=https://modelcontextprotocol.io/introduction" \
-H "X-Payment-Tx: 0xYOUR_BASE_MAINNET_USDC_TX_HASH"Agent SDK Examples
Claude / Cursor MCP:
examples/claude_mcp_config.jsonCoinbase AgentKit (TypeScript):
examples/coinbase_agentkit_reader.tsLangChain / Python Agents:
examples/langchain_reader.py
6-Layer AI Discovery Surface (Access-Control-Allow-Origin: *)
Layer | Endpoint | Purpose |
x402 Manifest | x402 Bazaar & Coinbase AgentKit discovery | |
MCP Manifest | Remote MCP | |
A2A Agent Card | Google A2A skills ( | |
LLMs Index | Markdown index for LLM crawlers & RAG | |
OpenAPI 3.1 | OpenAPI 3.1 spec with | |
Crawler Policy | Welcomes |
Self-Verification Suite
node test_x402.mjs https://cleanread-402.vercel.appLicense
MIT License — see LICENSE. Maintained by @meer9374-a11y.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Web pages to Markdown, metadata and small crawls for agents. Free daily calls, then USDC x402/MPP.
Pay-per-request webpage-to-Markdown extraction for AI agents. $0.005 USDC via x402 on Solana.
Web search and URL-to-markdown for agents. Pay per call in USDC on Base, no signup.
Clean Markdown and AI-readability scoring for any URL. Built for AI agents.
Related MCP Servers
AlicenseAqualityBmaintenanceConverts any URL to clean, token-efficient Markdown for AI agents. Strips ads, navigation, and scripts. Supports CSS selectors, batch processing (10 URLs), token counting, and smart caching.33 npmMIT- AlicenseNot gradedqualityCmaintenanceEnables agents to convert any URL into clean, structured, agent-optimized content with a single paid call, paying $0.02 USDC per successful extraction via x402 on Base without API keys or accounts.MIT
- AlicenseAqualityCmaintenanceEnables AI agents to fetch any public web page as clean Markdown, retrieve page metadata (title, description, canonical URL, OpenGraph/Twitter cards, JSON-LD), and crawl a page plus up to four linked same-site pages. Calls are paid per use in USDC via x402/MPP with no API key or account, and invalid inputs or unfetchable pages are never charged.3MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents and LLM pipelines to fetch and crawl web pages, extract readable content, and convert it into clean Markdown with preserved links while minimizing token usage.MIT