WebLens MCP Server
Provides access to Google News search results, returning articles with source and date information.
Offers package health data for npm packages, including deprecation status, download counts, and maintenance activity.
Offers package health data for PyPI packages, including deprecation status, download counts, and maintenance activity.
Allows fetching full transcripts of YouTube videos with timestamps.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WebLens MCP ServerFetch https://en.wikipedia.org/wiki/Artificial_intelligence as markdown"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WebLens
Premium web intelligence API for AI agents, with x402 micropayments. No accounts, no API keys ā pay per request in USDC on Base.
š Live API: https://api.weblens.dev š Interactive docs: https://api.weblens.dev/docs š¤ Agent guide: https://api.weblens.dev/llms.txt š Marketplace: listed on x402scan
Try it free, right now
No wallet, no signup ā these are rate limited to 10 requests/hour per IP:
curl https://api.weblens.dev/r/https://example.com # any page as markdown
curl https://api.weblens.dev/s/cloudflare+workers # web searchRelated MCP server: Base Intel Search
Preview before you pay (free)
An agent shouldn't have to buy a call to learn what it returns. POST /preview is free and
answers that up front ā the live price, a one-line summary, and a real sample of the exact
response shape:
curl -X POST https://api.weblens.dev/preview \
-H "Content-Type: application/json" \
-d '{"endpoint": "/answer"}'{
"endpoint": "/answer",
"price": "$0.05",
"currency": "USD",
"summary": "A direct answer with inline [n] citations to real sources.",
"sample": { "query": "...", "answer": "...", "citations": [], "confidence": 0.92 },
"sampleType": "recorded",
"livePreviewAvailable": false,
"livePreviewHint": "This endpoint calls a paid upstream provider, so free live previews are not offered ā the recorded sample shows the exact response shape."
}Live vs recorded. A real, truncated live preview runs only for endpoints whose marginal cost
is a plain fetch ā currently /fetch/basic, /contents and /map ā and only when you pass a
url. Everything else is backed by a metered upstream (SerpAPI, Anthropic); running those free
would burn upstream credits, so they return the recorded sample, which still shows every field
name and type. An endpoint that isn't sold returns 404.
# live: the first 500 chars of the real result, for free
curl -X POST https://api.weblens.dev/preview \
-H "Content-Type: application/json" \
-d '{"endpoint": "/fetch/basic", "url": "https://example.com"}'Rate limited to 10 requests/hour per IP like the rest of the free tier.
ERC-8004: receipts and feedback
ERC-8004 (Trustless Agents) keeps compact signals on-chain and the detailed documents off-chain. WebLens hosts the off-chain half ā the part a service operator can run without deploying a contract. To be precise about what that is and isn't: WebLens is not registered on-chain, holds no agent id, and writes nothing to any registry.
Endpoint | What it gives you |
| The ERC-8004 registration document: name, description, image, services, |
| The receipt for a paid call ā endpoint, status, outcome, price, payment method, network, pay-to. Every paid response returns |
| Host a feedback document you author; returns |
| Serves that document byte-for-byte, so its keccak-256 hash matches the |
Two more things worth stating plainly:
A receipt's
macis a symmetric HMAC tag (the same construction as proof-of-context). Only a holder of the key can verify it ā it is not a third-party-verifiable signature, and nothing here is trustless.The buyer authors the feedback document and posts
giveFeedback()themselves. WebLens only hosts the document verbatim and returns its hash; it never authors, edits, or submits feedback.
Endpoints
All paid endpoints are POST with a JSON body. Prices are per request in USDC.
Core
Endpoint | Description | Price |
| Fetch a webpage as clean markdown | $0.002 |
| Fetch with full JavaScript rendering (SPAs) | $0.006 |
| Auto-fallback: native scraper ā headless Chromium | $0.008 |
| Bulk page text for 1ā20 URLs | $0.0015/URL |
| Capture a webpage screenshot (PNG) | $0.008 |
| Fetch 2ā20 URLs in parallel | $0.0015/URL |
| Discover a site's URLs (sitemaps + links, no page fetches) | $0.004 |
| Registration + DNS + SaaS stack + risk signals for a domain | $0.005 |
| Detect a site's framework, CMS, CDN, analytics and payments stack | $0.005 |
| npm/PyPI package health: deprecation, downloads, maintenance | $0.003 |
| Hacker News stories on a topic, with aggregates | $0.004 |
| Bounded whole-site crawl ā markdown per page | $0.0015/page |
Search
Endpoint | Description | Price |
| Real-time web search ( | $0.015 |
| Google News articles with source and date | $0.015 |
| Image results with dimensions and source pages | $0.015 |
| Local businesses: address, rating, phone, coordinates | $0.045 |
| Products with prices, sellers, ratings | $0.015 |
| Academic papers with citation counts | $0.015 |
| Query suggestions (keyword/intent research) | $0.015 |
| Interest-over-time timeline | $0.015 |
Social
Endpoint | Description | Price |
| Full video transcript with timestamps | $0.03 |
Extraction & research
Endpoint | Description | Price |
| Structured extraction against a JSON schema | $0.03 |
| Natural-language extraction (no schema needed) | $0.035 |
| Extract text and metadata from a PDF | $0.004 |
| Grounded answer with inline | $0.05 |
| Search + fetch + AI summary with sources | $0.08 |
| Multi-step cited research: sub-questions ā search each ā answer with inline | $0.20ā$0.35 |
| Compare 2ā3 webpages with AI analysis | $0.05 |
/research/deep is the only long-running endpoint: it plans sub-questions, runs a web search per
sub-question, fetches and dedupes the sources, then synthesizes a cited answer ā all in one
synchronous call. A standard run (3 sub-questions, 8 sources, $0.20) takes roughly 30ā60
seconds; deep (5 sub-questions, 12 sources, $0.35) takes longer. Set a generous HTTP timeout
(120s+) and don't retry on a client timeout, or you'll pay twice.
Intelligence
Endpoint | Description | Price |
| SEO / performance / security audit | $0.75 |
| Company deep dive | $1.00 |
| Market research report | $5.00 |
| Competitive analysis with SWOT | $8.00 |
Utility
Endpoint | Description | Price |
| Persistent key-value storage for agents | $0.001 |
| URL change monitor with webhooks | $0.01 + $0.001/check |
| Prepay credits (bonus 20ā40% at $10/$50/$100) | $2ā$1000 |
Free and unauthenticated: /, /health, /docs, /openapi.json, /llms.txt, /discovery, /.well-known/x402, /mcp, /r/{url}, /s/{query}, /free/fetch, /free/search, /preview, /.well-known/agent-registration.json, /receipts/{requestId}, /feedback, /feedback/{id}.
Dynamically-priced endpoints (/fetch/pro, /extract) apply a complexity multiplier ā up to 3Ć for bot-protected domains. Cached responses on the fetch family are 70% cheaper. The exact price is always in the 402 challenge.
Use with AI agents (MCP)
Remote HTTP ā nothing to install:
{ "mcpServers": { "weblens": { "url": "https://api.weblens.dev/mcp" } } }Local with automatic payment:
{
"mcpServers": {
"weblens": {
"command": "npx",
"args": ["-y", "@weblens/mcp"],
"env": { "PRIVATE_KEY": "0xYourPrivateKeyHere" }
}
}
}See mcp-server/README.md for the full tool list and setup.
API usage
# Fetch a page as markdown
curl -X POST https://api.weblens.dev/fetch/basic \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'
# Search, with page content included
curl -X POST https://api.weblens.dev/search \
-H "Content-Type: application/json" \
-d '{"query": "latest AI news", "limit": 5, "includeContent": true}'
# Structured extraction
curl -X POST https://api.weblens.dev/extract \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/product",
"schema": {"title": {"type": "string"}, "price": {"type": "number"}},
"instructions": "Extract the product title and price"}'
# Crawl a site (pay for the page budget you request)
curl -X POST https://api.weblens.dev/crawl \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "limit": 10, "maxDepth": 2}'
# Deep research with inline citations (slow ā 30-60s, so raise the client timeout)
curl --max-time 120 -X POST https://api.weblens.dev/research/deep \
-H "Content-Type: application/json" \
-d '{"query": "How are AI agents using micropayments in 2026?", "depth": "standard"}'Each returns 402 Payment Required with the price until you attach payment ā see below.
How payments work
WebLens implements x402 v2:
POSTany paid endpoint with no payment.Get
402 Payment Requiredwith aPAYMENT-REQUIREDheader carrying the price, network, asset, and pay-to address.Sign a USDC transfer authorization with your wallet.
Retry the same request with a
Payment-Signatureheader.The payment is verified on-chain and you get your data.
Settlement runs through the PayAI facilitator on Base mainnet. Any x402 v2 client works ā @x402/axios, @x402/fetch, or the bundled MCP server, which handles the whole flow for you.
Prepaid credits are an alternative to per-request payment: buy credits with /credits/buy, then send X-CREDIT-WALLET / X-CREDIT-SIGNATURE / X-CREDIT-TIMESTAMP headers. Failed requests are refunded automatically.
Development
pnpm install
pnpm run dev # local dev server on :8787
pnpm run build # tsc --noEmit (type check)
pnpm run lint # eslint
pnpm run test # vitest (unit + property + workerd integration)
pnpm run deploy # wrangler deploy (production)Secrets are set with wrangler, never committed:
wrangler secret put SERP_API_KEY # search + all verticals + transcripts
wrangler secret put ANTHROPIC_API_KEY # AI extraction, research, answers, intel
wrangler secret put CDP_API_KEY_ID # optional: CDP facilitator fallback
wrangler secret put CDP_API_KEY_SECRETVariable | Purpose |
| Wallet that receives payments ( |
|
|
| SerpAPI key ā search, verticals, YouTube transcripts |
| Claude ā extraction, research, answers, intel |
| Optional: HMAC key for proof-of-context tags |
| Optional: override the facilitator endpoint |
Testing against testnet
wrangler dev --env testnet # Base Sepolia, fake USDC
API_URL=http://localhost:8787 PRIVATE_KEY=0x... npx tsx scripts/test-payment-testnet.tsGet free testnet USDC from the Circle faucet on Base Sepolia.
Discovery
pnpm run verify-bazaar # check the x402 discovery extension on every route/openapi.json doubles as the discovery document for x402scan ā it carries info.x-guidance, per-operation x-payment-info, and security: [] on free operations. WebLens is listed on x402scan and indexed in the PayAI facilitator catalog.
Note on the Coinbase CDP Bazaar: it only indexes services whose payments the CDP facilitator itself settles. WebLens uses PayAI as its primary facilitator (CDP has an open Base-mainnet settlement bug, x402#1065), so it does not appear there.
Tech stack
Cloudflare Workers ā edge runtime, Durable Objects, KV, Browser Rendering
Hono ā web framework
x402 ā HTTP-native micropayments
Zod ā request validation
Vitest + fast-check ā unit, property, and real-workerd integration tests
Links
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityCmaintenanceEnables AI agents to access paid content by integrating cryptocurrency payments through the x402 protocol, allowing LLMs to verify payments and retrieve paid resources automatically.Last updated1
- Alicense-qualityCmaintenancePay-per-call web search for AI agents, settled in USDC on Base via the x402 protocol. No API key or subscription required; users fund a wallet and get a web_search tool.Last updated231MIT

Pylon MCP Serverofficial
Flicense-qualityFmaintenanceProvides 20+ AI agent capabilities like web scraping, PDF parsing, OCR, and more, with pay-per-use micropayments via x402.Last updated1- AlicenseBqualityCmaintenanceExposes 25 paid API endpoints as MCP tools for AI agents, with payments in USDC on Base mainnet via the x402 protocol, enabling tasks like web search, company intelligence, and crypto research.Last updated2573MIT
Related MCP Connectors
Web intelligence for AI agents: fetch, render, extract, research. x402 micropayments, no API keys.
Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.
x402-paid agent tools: 18 over HTTP, 14 over stdio. USDC per call, no API key.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vasilistotskas/weblens'
If you have feedback or need assistance with the MCP directory API, please join our Discord server