原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Lumi Trades: x402 seller checks and test-buys

作者:lumitrades版本 0.9.9i★ 0i电脑或云端官方网站 ↗
注册名称io.github.cypher-osiris/lumi-trades-mcp

安装方法

What it does

Free signed allow/warn/block before paying x402 sellers; test-buys on XRPL, Base and Stellar

  • Connects 电脑或云端
  • Account or key Cloud: No key needed · Local: Needs EVM_PRIVATE_KEY, XRPL_SEED
  • Category 其他

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度0/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应8/8上次检查时云端端点有响应
使用分20/100

质量: 基础检查通过 4/5 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 Lumi Trades: x402 seller checks and test-buys。按照 https://mcp.popnx.com/i/cypher-osiris-lumi-trades-mcp.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 4/5 项检查 · 你的提问会经过开发者的服务器(api.lumitrades.io) · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude · 约 2 分钟

不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加

  1. 打开 Claude 的 Connectors 页面

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. 点击“Add” → “Custom” → “Web”,填写这 2 项

    把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue

    Name · 名称Lumi Trades: x402 seller checks and test-buys
    Remote MCP server URL · 地址https://api.lumitrades.io/mcp

    在 Claude 检测到的登录设置页点击 Continue · Authentication 按作者说明选择(Sign in now、Sign in when needed 或 No sign in),然后点击 Add

  3. 在聊天中开启

    +ConnectorsLumi Trades: x402 seller checks and test-buys

  4. 试一试

    用 Lumi Trades: x402 seller checks and test-buys 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Lumi Trades: x402 seller checks and test-buys,或回答中出现 Lumi Trades: x402 seller checks and test-buys 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

能否连接 ChatGPT 取决于方案

完整 MCP:网页版 ChatGPT Business、Enterprise 或 Edu · Pro:以读取/获取权限连接,修改数据的工具可能用不了 · Plus:官方文档尚未确认,如果在插件页看到添加自定义 MCP 的选项可以试试 · 仅限网页

  1. 在网页版 ChatGPT 打开添加 MCP 的页面

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 填写名称和地址

    输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin

    Name · 名称Lumi Trades: x402 seller checks and test-buys
    Connection · 地址https://api.lumitrades.io/mcp
  3. 在聊天中选择 Lumi Trades: x402 seller checks and test-buys

    开启新聊天,输入前先从插件列表中选择 Lumi Trades: x402 seller checks and test-buys

  4. 试一试

    用 Lumi Trades: x402 seller checks and test-buys 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 ChatGPT 说正在使用 Lumi Trades: x402 seller checks and test-buys,或回答中出现 Lumi Trades: x402 seller checks and test-buys 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Claude Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  2. 粘贴这条命令并按 Enter

    claude mcp add --transport http --scope user lumi-trades https://api.lumitrades.io/mcp
  3. 在 Claude Code 中输入 /mcp

    应能看到 Lumi Trades: x402 seller checks and test-buys 在列表中并显示已连接

  4. 试一试

    用 Lumi Trades: x402 seller checks and test-buys 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Lumi Trades: x402 seller checks and test-buys,或回答中出现 Lumi Trades: x402 seller checks and test-buys 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  2. 在 Cursor 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Lumi Trades: x402 seller checks and test-buys 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Lumi Trades: x402 seller checks and test-buys,或回答中出现 Lumi Trades: x402 seller checks and test-buys 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  2. 在 VS Code 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Lumi Trades: x402 seller checks and test-buys 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Lumi Trades: x402 seller checks and test-buys,或回答中出现 Lumi Trades: x402 seller checks and test-buys 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

通过网页连接的应用使用的地址

地址https://api.lumitrades.io/mcp

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Lumi Trades: x402 seller checks and test-buys 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

通过网页连接

Claude Code

claude mcp add --transport http --scope user lumi-trades https://api.lumitrades.io/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "lumi-trades": {
      "url": "https://api.lumitrades.io/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "lumi-trades": {
      "type": "http",
      "url": "https://api.lumitrades.io/mcp"
    }
  }
}

安装在电脑上

Claude Code

claude mcp add --scope user lumi-trades --env EVM_PRIVATE_KEY=your-value --env XRPL_SEED=your-value -- npx -y lumi-trades-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "lumi-trades": {
      "command": "npx",
      "args": [
        "-y",
        "lumi-trades-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "your-value",
        "XRPL_SEED": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "lumi-trades": {
      "command": "npx",
      "args": [
        "-y",
        "lumi-trades-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "your-value",
        "XRPL_SEED": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "lumi-trades": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "lumi-trades-mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "your-value",
        "XRPL_SEED": "your-value"
      }
    }
  }
}

需要你填写的值

  • EVM_PRIVATE_KEY 机密 必填 env
    0x private key of your Base wallet that pays in USDC (gasless, signed locally)
  • XRPL_SEED 机密 必填 env
    您的 XRPL 钱包种子,用于支付 XRP/RLUSD/USDC(在本地签名)
    查看英文原文Seed of your XRPL wallet that pays in XRP/RLUSD/USDC (signed locally)
  • LUMI_PAY_ASSET env
    BASE_USDC, XRP, RLUSD or USDC (XRPL). Default: XRP if XRPL_SEED set, else BASE_USDC
  • LUMI_MAX_USD_PER_CALL env
    每次调用的稳定币 USD 上限(涵盖所有 Lumi 端点)。
    查看英文原文Per-call cap in USD for stablecoins (covers every Lumi endpoint)
  • LUMI_MAX_XRP_PER_CALL env
    每次调用的 XRP 上限。
    查看英文原文Per-call cap in XRP
  • LUMI_SESSION_BUDGET env
    每个服务器进程的最大总支出。
    查看英文原文Max total spend per server process
  • XRPL_NETWORK env
    xrpl:0 表示主网,或 xrpl:1 表示测试网
    查看英文原文xrpl:0 mainnet or xrpl:1 testnet

说明为自动翻译,变量名保持原样;不确定时请查看原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
163/周
连接方式
电脑或云端
传输方式
stdio, streamable-http
最新版本i
0.9.9
分类i
其他
发布到注册中心i
2026年10月26日
代码最后更新i
2026年11月13日
最近检查
2026年11月18日
作者
lumitrades
软件包
npm: lumi-trades-mcp
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

通过互联网连接,适用于

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

工具名称和描述与服务器在 2026年11月18日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。

  • lumi_trust_check

    Free (rate-limited per client and per day). Should I pay this x402 URL? Start here before any paid tool. One label (checks_passed / check_first / checks_failed / no_data) plus the allow / warn / block verdict with coded reasons, from Lumi's daily CDP Bazaar index, free 402-quote

  • lumi_wallet_check

    Free (rate-limited, 100 a day). Pass a public wallet address (Base 0x..., XRP Ledger r... or Stellar G...) to list the x402 sellers that wallet paid in the last 90 days, each with the same plain summary line as lumi_trust_check (how many times Lumi test-bought it and how many del

  • lumi_catalog

    Free. Lists Lumi API endpoints, live prices (XRP / RLUSD / USDC on the XRP Ledger, USDC on Base, USDC on Stellar), payment settings of this MCP server and the caller wallet address.

  • lumi_samples

    Free. A truncated, clearly labelled SAMPLE of each paid product (high_value_check, vendor report) with its USD price and full URL, so you can see the shape and quality before paying. Lists are cut to 2 entries; up to 10 minutes old. Pass route to get one product.

  • lumi_quote

    Free. Shows the x402 price quote (XRP / RLUSD / USDC on the XRP Ledger, USDC on Base, USDC on Stellar) for any Lumi paid path, e.g. /v1/trust/check/high-value?url=...&amount=10, without paying. A 503 means the data is not fresh right now and the call would not be sold.

  • lumi_vendor_scores

    Free. Check an x402 seller before you pay it: pass url (the resource you are about to buy), domain, or payTo (the address in its 402 quote, case-insensitive). Lumi ingests the full CDP x402 Bazaar catalog daily and runs free, unpaid 402-quote checks of listings on a rotating sche

  • lumi_verdict

    Paid: $0.01 per call over x402 at GET /v1/verdict (this tool returns the price terms; the free lumi_trust_check and the free signed /v1/check have the same data, so try them first). Before paying an x402 URL or seller domain: one label from the same data and signing key as /v1/ch

  • lumi_seller_monitoring

    Free. Seller monitoring for x402 sellers: Watch and Watch Pro plans per endpoint per 30 days, a one-off audit, test-buy packs, a free Watch tier and a 14-day Watch trial (prices are returned by this tool and in each 402). No auto-renew; payTo proven by signature; paying never cha

  • lumi_trust_feed

    Free. Licensed trust data feed for facilitators, wallets and frameworks: a free key with a monthly lookup allowance (wallet signature), metered extra lookups, and Feed and Feed Pro plans (snapshot export, webhooks). Returns plans, prices, endpoints and licence terms (no resale, a

  • lumi_high_value_check

    Paid: 0.5% of the stated amount, min $0.005, max $0.25 (e.g. $0.05 for amount=10), per call over x402. Before a larger x402 payment: the same label, allow / warn / block verdict and score as the free lumi_trust_check (paying never changes them), plus a live re-check of the seller

  • lumi_vendor_report

    Detailed report on one x402 vendor from Lumi's trust list: full observation history (every free 402-quote check over 90 days, every paid test-buy with tx hash and delivered yes/no), latency stats and 7-day trend, uptime % (24h/7d/30d/90d) and daily series, quoted-price history, a

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日

  • ! 注意

    作者与仓库一致

    发布者(cypher-osiris)不是仓库所有者(lumitrades);可能是其他人代为上架的

  • ✓ 通过

    仍在维护

    代码最后更新于6天前

  • ✓ 通过

    有许可证

    使用 MIT

  • ✓ 通过

    端点有响应

    在 673 毫秒内响应(HTTP 200)

  • – 不适用

    使用 OAuth 登录

    无需登录

  • ✓ 通过

    工具描述中没有隐藏指令

    已读取 11 个工具描述,未发现针对 AI 的隐藏指令

已公开的漏洞(OSV.dev)

OSV.dev 中没有 lumi-trades-mcp@0.9.9 的记录

只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/cypher-osiris-lumi-trades-mcp.svg)](https://mcp.popnx.com/en/servers/cypher-osiris-lumi-trades-mcp)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 20693 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 20693 个服务器的 64% 更新
  • 基础检查结果等于或优于此分类中其他 20693 个服务器的 60%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Lumi Trades: x402 seller checks and test-buys 安全吗?

它在 5 项适用的基础检查中通过了 4 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:EVM_PRIVATE_KEY, XRPL_SEED

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于6天前,最新版本(0.9.9)于24天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。

有什么可以替代它?

同一分类中有:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

作者:koala73广泛使用★ 9.1万3天前更新

在云端运行✓ 服务方 · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

作者:openstatusHQ广泛使用★ 92742个月前更新

在云端运行✓ 服务方 · openstatus.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

作者:Klavis-AI正在增长★ 582514个月前更新

在云端运行仓库已归档✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

作者:jitsucom广泛使用★ 51364个月前更新

在云端运行✓ 服务方 · jitsu.com
与相似项目对比
本项
Lumi Trades: x402 seller checks and test-buys
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
运行位置云端或安装在电脑上都可以在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装
需要密钥是否否否否否
可在 Claude 中按 + 添加否否否否否否
基础检查4/54/44/44/41/44/4
许可证MITAGPL-3.0AGPL-3.0MITApache-2.0MIT
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

lumi-trades-mcp

MCP server (stdio) for [Lumi Trades](https://lumitrades.io): Lumi Check, a free signed allow/warn/block check before your agent pays an x402 seller, backed by Lumi's own paid test-buys on XRPL, Base and Stellar: x402 seller trust you can verify. Works with Claude Desktop, Cursor, Claude Code, Cline, Windsurf and any other MCP client. Paid tools pay per call via x402 with your own wallet: USDC on Base (gasless) or XRP / RLUSD / USDC on the XRP Ledger (the API also accepts USDC on Stellar; this package pays only on Base or the XRP Ledger). No API key, no account: each paid tool call is one small payment, signed locally on your machine.

Automated observations by Lumi, not a rating, endorsement or guarantee.

Changed in 0.9.9: this package is now only about checking x402 sellers. Tools for API routes retired on Oct 25, 2026 were removed;

those routes answer 410 Gone and are never charged. Use lumi_check / /v1/check to check a seller before paying.

zod is now required at the patched range (GHSA-mrhx-c7xc-m3w5) for every dependency.

No install needed to browse: the same tools are also served remotely at https://api.lumitrades.io/mcp (Streamable HTTP), for clients that take a remote MCP server URL. A remote connector has no wallet, so its paid tools return the price and how to pay; use this package when you want paid tools to pay automatically from your own wallet.

Tools

General (free)

ToolPaid?Price (USD)What you get
lumi_catalogfree–Endpoints, live prices, this server's wallet + spend caps
lumi_samplesfreeroute?Truncated, labelled samples of every paid product with USD price and full URL
lumi_quotefree–The x402 quote for any paid path, without paying

Lumi Trades seller checks (x402)

ToolPaid?Price (USD)What you get
lumi_verdict$0.01url payTo? amount?One label before paying, same data and signing as /v1/check: checks_passed (Delivered in recent checks) / check_first (Check first) / checks_failed (Recent checks failed) / no_data (Not enough data), with dates, evidence window, sample count, reason codes, evidence and appeal links. Paying Lumi never changes a result
lumi_vendor_scoresfreeurl? domain? payTo? vendor_id?Look up any x402 seller before paying: tier (catalogued / quote-checked, low confidence / test-bought), last free 402-quote check, price and payTo vs its Bazaar listing, on-chain test-buy evidence. No args: Lumi's curated vendor scores
lumi_seller_monitoringfreeenrollment_id?Seller monitoring plans (per endpoint per 30d: Watch $5, Watch Pro $20; 10+ endpoints -20% or 3 terms prepaid -10%, not stacked; Audit $99 one-off; test-buy packs: Re-test $6.50 for 30 test-buys, Founder $5.00 for 24 test-buys, first 10 sellers; free Watch tier; 14-day Watch trial), enrolment steps; with an id, that seller's public entry and badge. Paying never changes a score
lumi_trust_feedfree–Trust data feed plans (free key 1,000 lookups/month, Feed $99/30d, Feed Pro $199/30d) and licence terms
lumi_checkfreeurl? pay_to? amount_usd? network?Lumi Check before you pay any x402 seller: allow / warn / block with reasons, the seller's score and a link to its live report. Signed by Lumi and verified locally. Only origin + path of the URL is sent. Fail-open: warn if Lumi is unreachable within 2.5 s
lumi_scan_sellerfreeurlFetch an x402 seller's 402 quote without paying, plus a dry-run test-buy plan against local caps
lumi_report_receiptfreeendpoint network tx_hash …Sign a receipt for a purchase you already made. submit: true is tier 2 sharing: off by default, needs LUMI_SHARE_RECEIPTS=1 or lumi-scan sharing on. Shares the payment's chain and transaction ID, which is public on-chain and linkable to the paying wallet. Verified receipts earn a public badge only
lumi_trust_checkpaid$0.02Pre-payment check of any x402 URL you are about to pay: payTo/price mismatches vs listings and Lumi's observations. url required
lumi_vendor_reportpaid$0.02Full observation history for one x402 vendor on Lumi's trust list: every quote check (90 days) and paid test-buy with tx hash and delivered yes/no, latency stats and trend, uptime %, agent reports, vendor replies, confidence labels. vendor_id required

How to pay, in order of preference: 1. USDC on Base (gasless, EVM_PRIVATE_KEY), 2. the XRP Ledger (XRPL_SEED): RLUSD or USDC at the same USD price, or XRP at the live XRP/USD rate (quoted per call, rounded up to 0.0001 XRP). Prices are read live from each 402 quote; the table is for orientation. You only pay when you get an answer: the API checks your input before quoting (4xx, nothing charged) and answers 503 "Not charged." when it cannot answer, so a payment is never settled without an answer.

Install

Requires Node 20+. Published on npm as lumi-trades-mcp and in the official MCP Registry as io.github.cypher-osiris/lumi-trades-mcp.

npx -y lumi-trades-mcp
Claude Desktop / Cursor / any MCP client (mcpServers JSON)
{

"mcpServers": { "lumi-trades": { "command": "npx", "args": ["-y", "lumi-trades-mcp"], "env": { "EVM_PRIVATE_KEY": "0x...your Base agent wallet key (holds USDC, no ETH needed)...", "LUMI_MAX_USD_PER_CALL": "0.30", "LUMI_SESSION_BUDGET": "1" } } } }

Paying on the XRP Ledger instead: set "XRPL_SEED": "sEd..." (and optionally "LUMI_PAY_ASSET": "RLUSD" or "USDC", default XRP) in place of EVM_PRIVATE_KEY.

From a clone instead: "command": "node", "args": ["/absolute/path/to/lumi-api/mcp/src/index.js"] (after npm install in mcp/). Claude Code: claude mcp add lumi-trades -e EVM_PRIVATE_KEY=0x... -- npx -y lumi-trades-mcp (or -e XRPL_SEED=sEd...).

Without a wallet the free tools work and paid tools return the price quote instead of paying.

Lumi Check from your own code (x402 / MCP hooks)

import { lumiCheckHooks } from "lumi-trades-mcp/src/check.js";

const { lumi, x402Hook, mcpHook } = await lumiCheckHooks(); // options: { failMode: "open"|"closed", timeoutMs, publicKeys }

x402Client.onBeforePaymentCreation(x402Hook); // @x402 core: returns { abort: true, reason } on "block" mcpClient.onPaymentRequired(mcpHook); // @x402/mcp: returns { abort: true } on "block" (checked by payTo) const v = await lumi.check({ url, payTo, amountUsd: 0.01 }); // { decision, reasons, score, link, verified }

Defaults: fail-open (a timeout or an unverifiable answer gives warn, payment goes ahead) and a 2.5 s timeout. Set failMode: "closed" to block instead. Paying Lumi never changes any seller's score, tier, ranking or badge. The adapters come from lumi-check on npm (Apache-2.0); scoring and verification stay on Lumi's servers.

What the kit shares: nothing until the user says yes. The lumi-scan CLI asks once, after the first check ("Share your results to help improve Lumi's public trust list? [Y/n]"). The MCP server cannot ask, so here sharing stays off and one hint is written to stderr; turn it on with LUMI_CHECK_TELEMETRY=on or lumi-scan telemetry on. Tier 1 is only an anonymous delivery outcome after a paid call: seller host, delivered yes/no, a coarse status class and a random one-time token. No wallet, amount, tx hash, query string or stable ID. Sharing never changes any score. Tier 2 (off by default) sends full signed receipts. Each receipt shares the payment's chain and transaction ID (no amount or wallet field); a transaction ID is public on-chain and can be linked to the paying wallet. Contributors get a public badge only, nothing of monetary value. See the kit README.

Configuration (environment)

VariableDefaultMeaning
EVM_PRIVATE_KEY–0x private key of your Base wallet that pays in USDC via an EIP-3009 authorization (gasless: the facilitator pays gas). Kept in memory only; never logged, returned to the model or sent anywhere (only the signature is sent). Use a dedicated low-balance agent wallet.
XRPL_SEED–Seed of your XRPL wallet that pays. Kept in memory only; never logged, returned to the model or sent anywhere (payments are signed locally, the API only receives the signed blob). Use a dedicated low-balance agent wallet.
LUMI_PAY_ASSETXRP if XRPL_SEED is set, else BASE_USDCBASE_USDC (USDC on Base), or XRP, RLUSD, USDC on the XRP Ledger (XRPL stablecoins need a trust line + balance)
LUMI_MAX_XRP_PER_CALL0.25Refuse any XRP quote above this
LUMI_MAX_USD_PER_CALL0.30Refuse any stablecoin quote (Base or XRPL) above this. The refusal message names this variable and the value needed
LUMI_SESSION_BUDGET1Max total spend per server process, in the pay asset
XRPL_NETWORKxrpl:0xrpl:0 mainnet, xrpl:1 testnet
LUMI_API_URLhttps://api.lumitrades.ioAPI base URL
LUMI_EXPECTED_PAY_TOLumi's wallets on the official API: rM8kmmnz5qPMg7V3r7SHYXgDGvm8PhzLvM (XRPL mainnet), 0x5E617bac19912e6d212CB303ae84655E9E203532 (Base)Refuse to pay any other address
LUMI_CHECK_APILUMI_API_URLBase URL for lumi_check
LUMI_KIT_HOME / LUMI_KIT_CONFIG~/.lumi-scanner-kit/config.jsonKit config (saved sharing answer, telemetry and sharing switches)
LUMI_CHECK_TELEMETRYoff (until the user says yes)on enables tier 1 outcome reports, off disables them; overrides the saved answer
LUMI_SHARE_RECEIPTSoff1 enables tier 2 receipt submission
LUMI_CONTRIB_KEY_FILE–Contributor key for tier 2 submissions (lumi-scan keygen)
XRPL_WS_URLwss://xrplcluster.com / wss://testnet.xrpl-labs.comLedger connection used to autofill and sign

Safety: before signing, the server checks network, scheme, asset, payee, per-call cap and session budget. Anything off and it does not sign. Every paid result carries the on-chain transaction hash.

Tests

npm test                         # spend-cap / payee / settings unit tests + a mocked Base USDC payment through @x402/fetch

node scripts-e2e-testnet.mjs # testnet only: real x402 payments through MCP against a local testnet API (see the file header)

License

MIT