
Agent Token Stripper
io.github.GoldMineXPublished by GitHub account GoldMineXv1.0.0Updated Oct 24, 2026
Autonomous x402 Token Stripper API settling $0.002 USDC micro-payments on Base L2.
Overview
Fetches webpages and strips HTML, CSS, scripts and layout to return token-dense plain text for LLM context, paid per request in USDC.
- What you can do
- Fetch a target webpage and extract its main text content
- Strip scripts, styles, navigation, headers and HTML markup to cut token usage
- Return cleaned plain text suitable for feeding into an LLM context window
- Settle each request with a small on-chain USDC micro-payment
- When to use it
- Useful when an assistant regularly ingests raw webpages and you want to cut context tokens and cost by getting cleaned text instead of full HTML. Consider it only if you are comfortable with per-request crypto micro-payments.
- Requirements
- Runs as a local stdio process on desktop, but the README's setup points to a remote HTTP endpoint, so network access is required. Payment is made on-chain in USDC on Base L2 (about $0.002 per request), so a funded wallet or payment-capable client is needed. No API keys or environment variables are declared.
Installation
In SourceWeft
- Open Agent Token Stripper 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
Agent Token Stripper (MCP Server + x402)
[Agent Token Stripper MCP server]
[x402 Enabled] [Base Network] [MCP Protocol]
An autonomous Model Context Protocol (MCP) tool that strips HTML, CSS, scripts, and layout bloat from raw webpages. It converts bloated web traffic into clean, token-dense plain text before feeding it to LLM context windows, cutting API usage costs by up to 80%.
Monetized via native machine-to-machine x402 micro-payments ($0.002 USDC per request on Base L2).
Key Features
- Context Efficiency: Strips
<script>,<style>,<nav>,<header>, and HTML tags, saving up to 15,000+ unnecessary tokens per web page request. - x402 Native Settlement: Autonomous agents execute payments directly on-chain without human credit cards or API keys.
- Anti-Blocking User-Agent: Spoofs clean browser headers to reduce
403 Forbiddenscraping blocks on target URLs. - Strict Timeout Control: Aborts target fetches after 8 seconds to prevent agent pipeline timeouts.
Quick Setup for Claude
1. Claude Code CLI
Add the tool directly to your Claude Code CLI with a single command:
Source: README.md at commit 6eac0bb
Tools
0Version history
1- v1.0.0LatestSep 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.