ContractLens

EVM token risk checks, x402 payability check for sellers, address classifier and live gas.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
100%
命名质量
92%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~776token 数(工具定义)
~701 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.61%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "contractlens": {
      "url": "https://contractlens-api.appin60.com/mcp"
    }
  }
}

远程端点

https://contractlens-api.appin60.com/mcpstreamable-http

它能做什么

工具清单

工具(5)

🟢 只读🟡 写入🔴 删除⚪ 未知
⚪scan_contract(chainId, address)

Security scan of a verified EVM smart contract: who controls it now (owner / proxy admin: renounced, single-key EOA or Safe multisig), every owner/role-gated function (mint, pause, blacklist, upgrade, fees), proxy status, and Slither static-analysis findings ranked by impact. Use before approving, depositing into or buying a token. Chains: 1 Ethereum, 8453 Base, 42161 Arbitrum, 10 Optimism, 137 Polygon, 56 BNB.

输入模式

{
  "type": "object",
  "properties": {
    "chainId": {
      "type": "string",
      "description": "EVM chain id, e.g. 8453 for Base"
    },
    "address": {
      "type": "string",
      "description": "0x contract address (must be verified on Sourcify)"
    }
  },
  "required": [
    "chainId",
    "address"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢check_token(chainId, address)

Fast (1-3 s) risk verdict for an ERC-20 token before buying it: LOW/MEDIUM/HIGH with reasons. Who controls it (renounced, single key, Safe multisig, timelock), upgradeable proxy, admin powers in the bytecode (mint, blacklist, pause, adjustable tax, trading switch), source verification, DEX liquidity and pair age. Chains: 1 Ethereum, 8453 Base, 42161 Arbitrum, 10 Optimism, 137 Polygon, 56 BNB.

输入模式

{
  "type": "object",
  "properties": {
    "chainId": {
      "type": "string",
      "description": "EVM chain id, e.g. 8453 for Base"
    },
    "address": {
      "type": "string",
      "description": "0x token address"
    }
  },
  "required": [
    "chainId",
    "address"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪gas_now(chainId)

Live EIP-1559 gas for a chain: base fee, slow/standard/fast tips, maxFeePerGas values and the cost of common actions. Chains: 1, 8453, 42161, 10, 137, 56.

输入模式

{
  "type": "object",
  "properties": {
    "chainId": {
      "type": "string",
      "description": "EVM chain id, e.g. 8453 for Base"
    }
  },
  "required": [
    "chainId"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪address_info(chainId, address)

What is this address? EOA, EIP-7702 delegated EOA, Safe multisig (threshold, owners), timelock, ERC-20 token, proxy or contract, with native balance. Use before sending funds to or trusting an address.

输入模式

{
  "type": "object",
  "properties": {
    "chainId": {
      "type": "string",
      "description": "EVM chain id"
    },
    "address": {
      "type": "string",
      "description": "0x address"
    }
  },
  "required": [
    "chainId",
    "address"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢check_x402_payability(url)

For x402 sellers: can a real buyer actually pay this endpoint? Sends one payment signed by a fresh unfunded key through the endpoint's server and facilitator. Payable endpoints fail only on balance; anything else is reported with the exact reason (schema, description over 500 chars, EIP-712 domain, price over the $1 default client cap, paywall not enforcing).

输入模式

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Full https URL of the x402 endpoint, with any query params it needs"
    }
  },
  "required": [
    "url"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本5 个工具