WebLens
v1.5.0Web pages as clean data, plus RugProbe Base token safety checks.
Values you need
| Variable | What it is | |
|---|---|---|
WEBLENS_WALLET_PRIVATE_KEY | required secret | Private key of a separate wallet holding a few dollars of USDC on Base; signs each payment locally |
WEBLENS_MAX_SPEND_USD | optional | Most the server may spend per session, in USD (default 1) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add weblens -e 'WEBLENS_WALLET_PRIVATE_KEY=<WEBLENS_WALLET_PRIVATE_KEY>' -- npx -y x402-weblens-mcp@1.5.0Add to
claude_desktop_config.json{
"mcpServers": {
"weblens": {
"args": [
"-y",
"x402-weblens-mcp@1.5.0"
],
"command": "npx",
"env": {
"WEBLENS_WALLET_PRIVATE_KEY": "<WEBLENS_WALLET_PRIVATE_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"weblens": {
"args": [
"-y",
"x402-weblens-mcp@1.5.0"
],
"command": "npx",
"env": {
"WEBLENS_WALLET_PRIVATE_KEY": "<WEBLENS_WALLET_PRIVATE_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "WEBLENS_WALLET_PRIVATE_KEY",
"id": "weblens-wallet-private-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"weblens": {
"args": [
"-y",
"x402-weblens-mcp@1.5.0"
],
"command": "npx",
"env": {
"WEBLENS_WALLET_PRIVATE_KEY": "${input:weblens-wallet-private-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.weblens]
command = "npx"
args = ["-y", "x402-weblens-mcp@1.5.0"]
env = { "WEBLENS_WALLET_PRIVATE_KEY" = "<WEBLENS_WALLET_PRIVATE_KEY>" }For AI agents
- Ask the user for: WEBLENS_WALLET_PRIVATE_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: weblens_metadata, weblens_links, weblens_extract, weblens_structure, rugprobe_check, rugprobe_report, rugprobe_position_size, rugprobe_gas, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json