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 个工具