x402-weblens-mcp
A pay-per-call MCP server for web extraction/structuring, Base token safety and trading-risk utilities, plus CSV/JSON/QR/Wikipedia helpers, paid in USDC on Base with no account or API key.
Read web pages: metadata, internal/external links, clean Markdown, and JSON matching your schema from a URL or text (
weblens_metadata,weblens_links,weblens_extract,weblens_structure).Run Base ERC-20 safety checks: simulated buy/sell, honeypot/taxes, liquidity, owner powers, and 0–100 risk score (
rugprobe_check).Get full Base token due diligence with website checks, risk score, summary, and clear/caution/avoid verdict (
rugprobe_report).Calculate position size, ATR stop-loss, and units from account risk (
rugprobe_position_size).Get Base gas timing and EIP-1559 fee/USD cost advice (
rugprobe_gas).Convert CSV to typed snake_case JSON rows (
weblens_csv_to_json).Repair broken JSON and optionally validate against a schema (
weblens_json_repair).Generate QR codes as SVG or PNG (
weblens_qr).Fetch multilingual Wikipedia summaries with attribution (
weblens_wiki_summary).Payments are per call in USDC on Base; failed requests are not charged.
Provides tools to fetch Wikipedia summaries for topics in any language, including attribution.
WebLens MCP
Give Claude, Cursor or any MCP client tools for reading the web, QR codes, Wikipedia summaries, NFT lookups on Base and data cleanup, plus RugProbe to check a Base token before trading. Each call is paid in USDC on Base via x402. There is no account, no API key and no subscription.
Tool | What it returns | Price |
| Title, description, Open Graph, JSON-LD, favicon | $0.002 |
| All links, split into internal and external | $0.002 |
| Main content as clean Markdown (no ads, menus or popups) | $0.005 |
| JSON that follows your JSON Schema, from a URL or text | $0.02 |
| RugProbe: is this Base token safe to trade? Simulated buy/sell (honeypot, real taxes), liquidity, owner powers, 0-100 risk score | $0.01 |
| RugProbe Report: everything above plus the project website (does it list this contract? domain age, socials), a clear/caution/avoid verdict and a short summary | $0.05 |
| Stop-loss and position size from account risk % and ATR | $0.002 |
| Base gas advisor: submit now or wait, fee suggestions, USD cost | $0.002 |
| CSV to typed JSON rows (snake_case keys, column types) | $0.002 |
| Fix broken LLM JSON and validate it against a schema | $0.002 |
| QR code from any text or URL, as SVG or PNG | $0.002 |
| Wikipedia summary of any topic, any language, with attribution | $0.002 |
| NFT on Base: owner, collection, metadata (name, image, attributes) | $0.002 |
Setup
Create a separate wallet for this and put a few dollars of USDC on Base in it. Never use your main wallet.
Add the server to your MCP client. For Claude Desktop, put this in
claude_desktop_config.json:
{
"mcpServers": {
"weblens": {
"command": "npx",
"args": ["-y", "x402-weblens-mcp"],
"env": {
"WEBLENS_WALLET_PRIVATE_KEY": "0x...",
"WEBLENS_MAX_SPEND_USD": "1"
}
}
}
}For Claude Code: claude mcp add weblens -e WEBLENS_WALLET_PRIVATE_KEY=0x... -- npx -y x402-weblens-mcp
Related MCP server: SchemaFetch MCP Server
Settings
Variable | Default | Meaning |
| required | Key of the wallet that pays. It stays on your computer and is only used to sign each payment. |
|
| The most the server may spend in one session; further payments are refused. |
|
| Base mainnet. Use |
| WebLens production | API address. |
Safety: no single payment may exceed $0.05. Failed requests (status 400 or above) are not charged.
HTTP API and docs: https://x402-weblens-api-production.up.railway.app
Available Tools
13 toolsrugprobe_checkRugProbe token safety check ($0.01)A
Check an ERC-20 token on Base before trading: simulated buy and sell (honeypot, real buy/sell tax), liquidity, LP burn, owner powers (mint, blacklist, fees, pause), upgradeable proxy, and a 0-100 risk score. Automated on-chain heuristics, not financial advice. Costs $0.01 USDC.
Inputs: address (required).
rugprobe_gasBase gas advisor ($0.002)A
Should I submit a Base transaction now or wait? Returns next base fee, block fullness, slow/normal/fast EIP-1559 fee suggestions and the estimated USD cost of a transfer and a swap. Costs $0.002 USDC.
Inputs: no named parameters.
rugprobe_position_sizePosition size & ATR stop ($0.002)A
Position size and stop-loss from account risk: give price bars (high/low/close, oldest first) or an ATR plus entry, the account size and risk %. Returns Wilder ATR, stop price, units and position value. Math only, not financial advice. Costs $0.002 USDC.
Inputs: riskPct (required), accountSize (required), atr, bars, +4 more.
rugprobe_reportRugProbe Report: token due diligence ($0.05)A
Full due diligence on a Base token in one call: everything rugprobe_check does, plus the project's website (does it really list this contract? fake-site check, domain age, socials), a clear/caution/avoid verdict, a 0-100 risk score and a short summary. Automated risk signals, not financial advice. Costs $0.05 USDC.
Inputs: address (required), website.
weblens_csv_to_jsonCSV to typed JSON ($0.002)A
Convert CSV text to JSON rows with snake_case keys and a detected type per column (integer, number, boolean, date, datetime, string). Delimiter is auto-detected. Costs $0.002 USDC.
Inputs: csv (required), header, delimiter.
weblens_extractClean page text ($0.005)A
Get the main content of a web page as clean Markdown, without ads, menus or popups. Costs $0.005 USDC.
Inputs: url (required).
weblens_json_repairRepair & validate JSON ($0.002)A
Fix broken JSON (code fences, comments, single quotes, bare keys, trailing commas, Python literals, cut-off endings) and optionally validate it against a JSON Schema (no regex patterns). Costs $0.002 USDC.
Inputs: text (required), schema.
weblens_linksPage links ($0.002)A
List all links on a web page, split into internal and external. Costs $0.002 USDC.
Inputs: url (required).
weblens_metadataPage metadata ($0.002)A
Get a web page's title, description, Open Graph tags, JSON-LD and favicon. Costs $0.002 USDC.
Inputs: url (required).
weblens_nftNFT lookup on Base ($0.002)A
Look up one NFT on Base: current owner, collection name and symbol, ERC-721 or ERC-1155, token URI and metadata (name, description, image, attributes). IPFS and Arweave links come back as https. Costs $0.002 USDC.
Inputs: tokenId (required), contract (required).
weblens_qrQR code ($0.002)A
Turn any text, URL, Wi-Fi string or payment link into a QR code, returned as SVG markup or a base64 PNG. Costs $0.002 USDC.
Inputs: text (required), ecc, size, format.
weblens_structureStructured data ($0.02)A
Turn a web page (url) or raw text into JSON that follows the JSON Schema you send. Costs $0.02 USDC.
Inputs: schema (required), url, text, instructions.
weblens_wiki_summaryWikipedia summary ($0.002)A
Short Wikipedia summary of any topic in any Wikipedia language: title, description, intro paragraph, article URL, thumbnail and CC BY-SA attribution. Finds the closest article if the topic is not an exact title. Costs $0.002 USDC.
Inputs: topic (required), lang.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Most tools target a distinct resource+action: metadata vs links vs extract vs structure are clearly separated by output shape. The one soft overlap is rugprobe_check vs rugprobe_report, since report explicitly bundles everything check does; the cost/depth split makes it workable but an agent could pick check when it wanted the full verdict.
Two predictable prefixes (weblens_, rugprobe_) with consistent snake_case and mostly descriptive noun or noun_verb names. A few names are terse (weblens_nft) or long (rugprobe_position_size), but the pattern holds throughout and the prefix grouping is coherent.
Thirteen tools is a reasonable size and every tool has a concrete, paid purpose. The set is a bit of a grab-bag across two unrelated domains (web page utilities vs Base token risk), but no tool feels redundant or filler.
The web-lens side covers metadata, links, content extraction, schema structuring and format converters, and the rugprobe side covers token check, full report, gas and position sizing. Gaps exist (no raw page fetch/screenshot, no token price or holder/holder-list tool), but these are minor and the core workflows are not dead-ended.
Related MCP Connectors
Web search and URL-to-markdown for agents. Pay per call in USDC on Base, no signup.
Web pages to Markdown, metadata and small crawls for agents. Free daily calls, then USDC x402/MPP.
Web page to JSON fields (by JSON Schema) for agents. Pay per call in USDC on Base via x402.
Pay-per-request webpage-to-Markdown extraction for AI agents. $0.005 USDC via x402 on Solana.
Related MCP Servers
- AlicenseAqualityCmaintenancePay-per-use clean web reader for AI agents. URL in, markdown plus metadata out, in milliseconds. Settled per-call in USDC over x402 — no signup, no API keys.168 npm3MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to extract structured JSON data from web pages using presets or custom JSON schemas, with confidence scores and source snippets, paid per call via USDC on Base.-
- 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
- AlicenseAqualityCmaintenancePay-per-call web page extraction, on-page SEO audits and text analysis for AI agents. Paid in USDC on Base via x402; no API keys, failed calls are not charged.4MIT