WebLens
Pay-per-call web page extraction and Base token safety checks, settled in USDC
- Pricing
- Paid
- Platforms
- CLI, API
- Runs
- Locally
- Version
- 1.4.0
- Listing updated
- 4 days ago
Similar MCP servers
About WebLens
WebLens is a paid MCP server for web search and scraping. It runs locally on your machine and is started by your AI client.
WebLens charges per request in USDC on Base through the x402 payment protocol, with no account, API key or subscription. A separate wallet you fund with a few dollars signs each payment locally. A session spend cap defaults to $1 (WEBLENS_MAX_SPEND_USD), no single payment may exceed $0.05, and failed requests with status 400 or above are not charged. Setting the network to Base Sepolia allows testing.
Ten tools split into two groups. The web group returns page metadata, internal and external links, main content as clean Markdown, structured JSON that follows your schema, CSV converted to typed rows, and repair of broken LLM JSON. The RugProbe group evaluates Base tokens before trading: a simulated buy and sell for honeypot behaviour and real taxes, liquidity, owner powers and a 0 to 100 risk score, a fuller report with a clear, caution or avoid verdict, a position-size calculator and a gas advisor.
Prices range from $0.002 to $0.05 per call. Because it needs a private key, the README warns to use a dedicated wallet, never your main one.
Install
Run in a terminal
claude mcp add weblens --env WEBLENS_WALLET_PRIVATE_KEY='<WEBLENS_WALLET_PRIVATE_KEY>' -- npx -y x402-weblens-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"weblens": {
"command": "npx",
"args": [
"-y",
"x402-weblens-mcp"
],
"env": {
"WEBLENS_WALLET_PRIVATE_KEY": "<WEBLENS_WALLET_PRIVATE_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"weblens": {
"command": "npx",
"args": [
"-y",
"x402-weblens-mcp"
],
"env": {
"WEBLENS_WALLET_PRIVATE_KEY": "<WEBLENS_WALLET_PRIVATE_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"weblens": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"x402-weblens-mcp"
],
"env": {
"WEBLENS_WALLET_PRIVATE_KEY": "<WEBLENS_WALLET_PRIVATE_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"weblens": {
"command": "npx",
"args": [
"-y",
"x402-weblens-mcp"
],
"env": {
"WEBLENS_WALLET_PRIVATE_KEY": "<WEBLENS_WALLET_PRIVATE_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"weblens": {
"command": "npx",
"args": [
"-y",
"x402-weblens-mcp"
],
"env": {
"WEBLENS_WALLET_PRIVATE_KEY": "<WEBLENS_WALLET_PRIVATE_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
WEBLENS_WALLET_PRIVATE_KEYPrivate key of a separate wallet holding a few dollars of USDC on Base; signs each payment locallyRequiredWEBLENS_MAX_SPEND_USDMost the server may spend per session, in USD (default 1)
Tools this server provides (10)
Taken from the project documentation; the running server may differ.
- weblens_metadata
- Return title, description, Open Graph, JSON-LD and favicon for a URL
- weblens_links
- List internal and external links
- weblens_extract
- Return main content as clean Markdown
- weblens_structure
- Return JSON matching a supplied schema
- rugprobe_check
- Check whether a Base token is safe to trade
- rugprobe_report
- Full token report with website checks and a verdict
- rugprobe_position_size
- Compute stop-loss and position size
- rugprobe_gas
- Advise whether to submit now or wait on Base
- weblens_csv_to_json
- Convert CSV into typed JSON rows
- weblens_json_repair
- Repair and validate broken JSON
What it does
- Clean page extraction
- Main content as Markdown without ads, menus or popups.
- Schema-driven structuring
- Turn a URL or text into JSON matching your JSON Schema.
- Token safety check
- Simulated buy and sell, liquidity, owner powers and a risk score.
- Spend limits
- Session cap and a $0.05 per-payment ceiling.
- JSON repair
- Fix malformed LLM JSON and validate it against a schema.
Good for
- Convert a web page into Markdown for an agent
- Pull links or metadata from a URL
- Check a Base token for honeypot behaviour before trading
- Turn CSV text into typed JSON rows
- Estimate stop-loss and position size
Pricing
Paid
Pay per call in USDC on Base, from $0.002 to $0.05
WebLens FAQ
Do I need an account?
No. Calls are paid in USDC on Base via x402.
How is spending limited?
A per-session cap, default $1, and no single payment above $0.05.
Am I charged for failed requests?
No, status 400 and above are not charged.
Is my wallet key safe?
The README says it stays on your computer and only signs payments; it still advises a separate wallet.
Is WebLens free?
No. WebLens is a paid product.
How do I add WebLens to Claude Code?
Run this command in your terminal: claude mcp add weblens --env WEBLENS_WALLET_PRIVATE_KEY='<WEBLENS_WALLET_PRIVATE_KEY>' -- npx -y x402-weblens-mcp
What are the best alternatives to WebLens?
The closest alternatives to WebLens are Scrapling MCP Server, Firecrawl MCP Server, Douyin_TikTok_Download_API, SearXNG Search and Solana MCP by Vybe.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.



