Lumen Pre-Sign Check

io.github.Dansgit2b由 GitHub 账号 Dansgit2b 发布v1.4.0更新于 Nov 7, 2026

Use before signing an EVM tx or EIP-712 message: risk flags + verdict. Informational, no simulation

发布方自己的服务:check.tattoo: tattoo size and placement guide

已验证Streamable HTTP可网页运行网页搜索与抓取金融安全与监控

概览

AI 生成的概览

远程 MCP 服务器,可在签名前解释 EVM 交易与 EIP-712 消息,并提供 calldata 解码、网页提取等付费公共数据工具。

可以做什么
  • 在签名前解释交易或 EIP-712 消息,返回摘要、风险标记与结论
  • 解码 x402 支付头、EIP-712 类型化数据以及 calldata 选择器与参数
  • 查询 EVM 地址(ENS、余额、代币信息)以及域名的 DNS、SPF/DMARC 与注册信息
  • 把公开网页转换为 Markdown,或解析 URL 得到标题、描述与元数据
  • 查询 PubMed、arXiv、SEC 文件、天气预报与 Polymarket 市场数据
  • 对 x402 端点执行免费的付款前安全检查
适用场景
适合在助手即将签署或批准 EVM 交易、类型化消息时,先获取一份关于其实际作用的说明。也适合解码 calldata 与 x402 头,或快速查询地址、域名和公开研究数据。
运行要求
远程 streamable HTTP 端点;免费额度为每 IP 每小时 20 次调用,无需注册或 API 密钥。超出后按次付费,通过 x402 在 Base 上以 USDC 结算(每次 0.001–0.002),需要支持 x402 且已充值的客户端,并需能访问该托管地址。
安装前请注意
付费调用会花费 Base 主网上的真实 USDC,服务器公布了收款地址,授权前请核对付款要求。签名前检查仅供参考、不做模拟,looks_ok 并不代表安全。服务处于早期阶段且未经审计。提交的 URL 会由服务器抓取,疑似私钥的输入会被拒绝而非存储。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Lumen Pre-Sign Check,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.Dansgit2b%2Flumen-presign-check/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "lumen-pre-sign-check": {
      "type": "http",
      "url": "https://lumenworks-x402-decoder.onrender.com/mcp/presign"
    }
  }
}

README

Lumen Works Agent API (x402)

Two listings on one origin:

  • Lumen Pre-Sign Check: POST /v1/tx/explain ($0.002). Use before signing any EVM transaction or EIP-712 message; returns {summary[], flags[], verdict} with looks_ok | review | do_not_sign_unless_intended. Agent policy: abort on do_not_sign_unless_intended, escalate review. Informational, not a security guarantee; looks_ok does not mean safe; no simulation. Accuracy set and known limits: ACCURACY.md. MCP: /mcp/presign.
  • Lumen Agent Utilities: every other route below. MCP: /mcp.

Trust terms: no signup; free tier 20 calls/hour/IP under /v1/free/...; GET/HEAD on any paid path returns the 402 quote (it never settles); not charged when a call errors, because the x402 middleware settles only after the handler returns a status below 400. Input schemas and real example outputs (examples.json, captured live by test/capture-examples.mjs) are in each route's Bazaar extension and in /openapi.json, validated with node test/validate-bazaar.mjs <base>.

Stats: /v1/stats has anonymous aggregates only (UA family, daily unique counts from salted daily-rotating IP hashes, 30-day retention). They persist across deploys when STATS_GIST_ID + STATS_GIST_TOKEN (a gist-only token) are set; otherwise they are kept in memory.

Pay-per-call agent utilities, 0.001–0.002 USDC per call on Base mainnet via x402 (exact scheme, PayAI public facilitator). Author: Dan (Dansgit2b). Early-stage, unaudited.

Endpoint (POST JSON)What
/v1/x402/lint {header}decode + lint x402 PAYMENT-REQUIRED/SIGNATURE/RESPONSE
/v1/eip712/decode {typedData}domain separator, digest, risk notes
/v1/calldata/decode {data, signature?}selector, openchain/4byte lookup, decoded args
/v1/web/markdown {url, fullPage?, maxChars?} — $0.001public page → clean Markdown (Readability) + metadata. No JS rendering.
/v1/web/unfurl {url} — $0.001final URL, status, title, description, OG image, canonical, favicon
/v1/evm/address {address} (0x or ENS) — $0.002Ethereum+Base: ENS + records, EOA/contract/7702, balances, USDC/USDT, ERC-20 info (public RPC)
/v1/domain/lookup {domain} — $0.002DNS (DoH) A/AAAA/MX/NS/TXT/CAA, SPF/DMARC, RDAP registrar/created/expiry, age

Free tier: same paths under /v1/free/... (20/hour/IP). Discovery: /, /.well-known/x402, /openapi.json, /llms.txt. payTo: 0xee9790cB3960952F585379F831a89b4e00B4029A.

End-to-end proof (local run, 2026-10-10): paid call settled on Base, tx 0xff4af45df7caeef958b77700e96ba94e5ed37d3bac6e8cf40d6528a9497d77d4.

Deploy: Render (render.yaml, free plan) or any Docker host (Dockerfile). Set PUBLIC_BASE to the public origin. No secrets needed (server only receives payments). License MIT.

MCP server

Remote MCP (streamable HTTP, stateless JSON): https://lumenworks-x402-decoder.onrender.com/mcp, with tools x402_lint, eip712_decode, calldata_decode, web_markdown, url_unfurl, evm_address_lookup and domain_lookup. Free tier: 20 tool calls/hour/IP. After that the tool returns the x402 payment requirements for the matching paid HTTP endpoint (0.001–0.002 USD).

Celo

When X402_CELO_API_KEY (from the x402.celo.org dashboard) is set, every paid route also accepts USA₮ and USDC on Celo (eip155:42220), settled through Celo's hosted facilitator at api.x402.celo.org.

Free x402 payment safety check

POST /v1/x402/safety-check (MCP tool x402_payment_safety_check) — deterministic pre-payment check. Body: {url?, method?, payment_required?, expected_pay_to?, expected_network?, max_price_usdc?, listed_price_usdc?, facilitator_url?, client_config?}. We fetch the unpaid 402 (SSRF-guarded) and return ok | review | do_not_pay with checks: HTTPS/health/latency, payTo validity/checksum/mismatch, unknown asset/network, price vs your cap and the listed price, timeout/replay window, multiple payTo, unknown facilitator, missing spend caps / idempotency in your client config. Nothing is stored; inputs that look like private keys are rejected. 30/hour/IP.

Planned (not built): continuous monitoring with alerts on price/payTo/asset changes. Free waitlist: POST /v1/monitoring/waitlist {endpoint_url, contact?} (5/hour/IP). No date promised; stored in memory/logs only on a free host, so it may be lost on restart.

Stats

GET /v1/stats — anonymous in-memory counters since last restart: calls per endpoint, unpaid 402s vs paid settlements (conversion), coarse user-agent buckets. No IPs or bodies stored.

v1.3: explain-before-you-sign + public-data tools

Endpoint (POST)PriceMCP toolUpstream (free, no key)
/v1/tx/explain0.002explain_before_signcalldata (openchain/4byte) + EIP-712, risk flags
/v1/pubmed/search0.001pubmed_searchNCBI E-utilities
/v1/arxiv/search0.001arxiv_searcharXiv API
/v1/sec/filings0.001sec_filingsSEC EDGAR (set SEC_USER_AGENT with a contact email per SEC policy)
/v1/weather/forecast0.001weather_forecastOpen-Meteo (CC BY 4.0)
/v1/polymarket/markets0.001polymarket_marketsPolymarket Gamma (read-only data)

Free tier: /v1/free/<path> or MCP, 20 calls/hour/IP.

Facilitators

If CDP_API_KEY_ID and CDP_API_KEY_SECRET are set, Coinbase's CDP facilitator is used first. Settlements through it are what get the service indexed in the x402 Bazaar. The PayAI facilitator stays registered as the fallback. Without CDP keys, PayAI handles everything, as before.

来源:README.md,提交 ca7a52f

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v1.4.0最新Oct 10, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Check 集成