BaseLens

Base on-chain data for agents: balances, prices, transfers, Basenames, contracts. x402 pay-per-call.

我該用這個嗎

品質與安全性

A
說明品質
96%
結構描述完整度
80%
命名品質
80%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,354Token(工具定義)
~576 B典型回應大小
中等的注意力影響(128k 上下文的 1.06%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "baselens": {
      "url": "https://baselens-api.vercel.app/mcp"
    }
  }
}

遠端端點

https://baselens-api.vercel.app/mcpstreamable-http

它能做什麼

工具清單

工具(11)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢base_address(address)

Base (chain 8453) address snapshot: EOA vs contract vs EIP-7702, ETH balance, nonce, code size and native USDC balance, at the latest block. Costs $0.002 USDC on Base via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "0x-prefixed Base address"
    }
  },
  "required": [
    "address"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_erc20_balance(token, address)

ERC-20 balance of any address for any token on Base, with symbol and decimals already applied (raw and human-readable). Costs $0.002 USDC on Base via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "ERC-20 token contract on Base"
    },
    "address": {
      "type": "string",
      "description": "0x-prefixed Base address"
    }
  },
  "required": [
    "token",
    "address"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_token(token)

Token facts on Base: name, symbol, decimals, total supply, contract code size, owner() and EIP-1967 proxy implementation, plus plain-language notes (upgradeable? owner renounced?). Read-only facts, not advice. Costs $0.003 USDC on Base via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "Token contract on Base"
    }
  },
  "required": [
    "token"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_tx(hash)

Human-readable summary of a Base transaction: status, block time, from/to, value, total fee (incl. L1 fee), and decoded ERC-20 Transfer events with token symbols and amounts. Handy to verify a payment landed. Costs $0.003 USDC on Base via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "hash": {
      "type": "string",
      "description": "0x-prefixed transaction hash on Base"
    }
  },
  "required": [
    "hash"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_gas

Current Base gas: base fee, gas price, suggested EIP-1559 max fee and priority fee (gwei), block fullness, and cost of a plain ETH transfer. Costs $0.001 USDC on Base via x402.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_name(name, address)

Resolve a Basename (name.base.eth) or ENS name to its Base/Ethereum address, or reverse-resolve an address to its primary ENS/Basename. Includes avatar record. Costs $0.001 USDC on Base via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "ENS or Basename, e.g. jesse.base.eth or vitalik.eth"
    },
    "address": {
      "type": "string",
      "description": "Alternative: 0x address to reverse-resolve"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_price(token)

On-chain USDC price of any Base ERC-20: executable Uniswap v3 quote for 1 whole token (direct USDC pool or via WETH, best fee tier). No third-party price API. Costs $0.003 USDC on Base via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "ERC-20 token contract on Base"
    }
  },
  "required": [
    "token"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_transfers(address, tokens, blocks, limit)

Recent ERC-20 transfers in and out of an address on Base for up to 5 tokens (default USDC), newest first, over the last ~10k blocks (max 30k). Check incoming payments or wallet activity. Costs $0.004 USDC on Base via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "0x-prefixed Base address"
    },
    "tokens": {
      "type": "string",
      "description": "Optional comma-separated token contracts (max 5). Default USDC."
    },
    "blocks": {
      "type": "string",
      "description": "Lookback in blocks, 100–30000 (default 10000)"
    },
    "limit": {
      "type": "string",
      "description": "Max transfers to return, ≤200 (default 50)"
    }
  },
  "required": [
    "address"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_contract(address)

Contract check on Base: is it a contract, code size, owner(), proxy implementation, and whether the source (and implementation) is verified on Sourcify, plus plain-language notes. Not an audit. Costs $0.003 USDC on Base via x402.

輸入結構描述

{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "0x-prefixed Base address"
    }
  },
  "required": [
    "address"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_free_gas_sample

Free sample: latest Base block number and base fee (gwei). Use it to test the connection.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢base_catalog

Lists every BaseLens tool with price, inputs and the equivalent x402 HTTP URL.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本11 個工具