WebLens

v1.5.0
io.github.bartenderthiago82/weblens Checked 1 day ago Published 8 days ago

Web pages as clean data, plus RugProbe Base token safety checks.

Values you need

VariableWhat it is
WEBLENS_WALLET_PRIVATE_KEYrequired secret Private key of a separate wallet holding a few dollars of USDC on Base; signs each payment locally
WEBLENS_MAX_SPEND_USDoptional 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.0
Add 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

  1. Ask the user for: WEBLENS_WALLET_PRIVATE_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: weblens_metadata, weblens_links, weblens_extract, weblens_structure, rugprobe_check, rugprobe_report, rugprobe_position_size, rugprobe_gas, ….
  5. 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