Alienprobe Who Mcp

io.github.bbrysonelite-max由 GitHub 帳號 bbrysonelite-max 發布v0.1.0更新於 Oct 24, 2026

Company name, domain or LEI to its GLEIF legal entity, $0.05 via x402 on Base. Spend caps.

已驗證STDIO僅桌面金融商業與電商

概覽

AI 產生的概覽

依公司名稱、網域或 LEI 查詢 GLEIF 法人實體紀錄(LEI、法定名稱、轄區與狀態),每次呼叫在 Base 上支付 0.05 USDC。

可以做什麼
免費查詢服務公告的價格、網路、收款方與涵蓋範圍,不需要錢包(who_terms)。
執行需求
透過 npx 以 stdio 本機程序執行(需要 Node.js)。付費查詢需要 PRIVATE_KEY 中存放 Base 主網 USDC 的錢包私鑰;免費的 who_terms 不需要錢包。可選支出上限 MAX_USD_PER_CALL(預設 0.10)與 MAX_USD_PER_SESSION(預設 1.00)。需要連線至查詢端點的網路。
安裝前請注意
付費查詢會從 PRIVATE_KEY 對應的錢包實際支出 USDC,請使用只放約 1 美元的臨時錢包。工作階段上限在重新啟動後重置,錢包餘額才是真正的上限。paid_usd 是授權價格而非收據,首次免費查詢會被高估,不要用於記帳。切勿提交真實私鑰。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Alienprobe Who Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

alienprobe-who-mcp

An MCP server that gives any agent one legal-entity fact — LEI, legal name, jurisdiction, entity and registration status — for $0.05 USDC on Base, paid per call over x402. No signup, no API key, no account. The wallet is the account.

Two tools:

ToolCostWhat it does
who_termsfreeReturns the advertised price, network, payee and coverage. Never pays. Works with no wallet.
who$0.05, real moneyReturns the entity record. Misses and ambiguities cost nothing.

Client config

Three lines. Claude Desktop (claude_desktop_config.json) or Cursor (.cursor/mcp.json):

json
{ "mcpServers": { "who": { "command": "npx", "args": ["-y", "@alienprobe/who-mcp"],  "env": { "PRIVATE_KEY": "0x...", "MAX_USD_PER_SESSION": "1.00" } } } }

Drop the env block entirely and the server still starts — who_terms works, who refuses with wallet_not_configured. That is the safe way to try it.

Environment

VarDefaultMeaning
PRIVATE_KEY(none)A throwaway Base-mainnet wallet holding a little USDC. Optional. Never logged, echoed, or returned in a tool result.
MAX_USD_PER_CALL0.10Hard ceiling on one lookup. The lookup is advertised at $0.05.
MAX_USD_PER_SESSION1.00Hard ceiling on everything this server process spends before restart.

See .env.example. Never commit a real key. Fund a wallet that holds nothing else — about $1 of USDC covers 20 lookups. This repo does not tell you how to get USDC onto Base; see https://docs.base.org/base-chain/tools/bridges/.

Spend caps

The server preflights every who call with a plain, unwrapped fetch — no signer exists on that path — reads the advertised price out of the 402, and only then decides. If the price exceeds MAX_USD_PER_CALL, or would push the running total past MAX_USD_PER_SESSION, it refuses with a result the model can read and act on:

json
{  "error": "spend_cap_exceeded",  "scope": "per_session",  "price_usd": 0.05,  "cap_usd": 1.0,  "spent_usd_this_session": 1.0,  "remaining_usd": 0.0,  "hint": "the session budget is spent; raise MAX_USD_PER_SESSION and restart the MCP server to buy more"}

A session is one server process. Restarting the client resets the counter, so the per-session cap is a brake, not a ledger — the wallet balance is the real ceiling. Keep it small.

What comes back

A paid hit is the API's body verbatim plus paid_usd:

json
{  "schema_version": "who-lookup.v1",  "subject": { "type": "who", "value": "apple.com" },  "answer": {    "lei": "HWUPKR0MPOU8FGXBT394",    "legal_name": "Apple Inc.",    "jurisdiction": "US-CA",    "entity_status": "ACTIVE",    "registration_status": "ISSUED",    "match": { "by": "domain", "rule": "domain_exact" },    "official_website": "https://apple.com/"  },  "source": { "name": "...", "vintage": "...", "coverage": "..." },  "paid_usd": 0.05}

q is a company name, a registrable domain, or a 20-character LEI. To disambiguate a name, append a jurisdiction in the same string: "Acme Corp;US-DE".

paid_usd is the authorized price, not the receipt

paid_usd is the amount the server authorized — the price the API advertised in its 402 and that the spend caps were judged against. It is not read back from the chain.

One case where it overstates: a wallet's first successful lookup on this pricing shelf settles at $0 (first-can-free; a property of the service, not of this client). That call still reports "paid_usd": 0.05. Every subsequent call actually moves $0.05.

The server's session counter inherits the same overstatement, which is the safe direction — it stops you early, never late. If you need the truth, the on-chain USDC Transfer from your wallet is the only receipt. Do not use paid_usd for accounting.

Free refusals

These never pay, and they come back as ordinary tool results the model can reason about — not exceptions:

UpstreamResult
400{"error":"invalid_subject","reason":"empty"}
404{"error":"not_found","coverage":"..."}
409{"error":"ambiguous","candidates":[...],"hint":"re-ask with the exact legal_name, then a ;jurisdiction suffix if it still collides"}
503{"error":"source_unavailable"}

The API only charges once it can commit to one entity, so an ambiguous re-ask is still free while it stays ambiguous.

What this does not do

  • No street addresses, no officers or directors, no ownership graph.
  • No guessing. A miss is a 404, not a best-effort answer.
  • Legal names that normalize to fewer than 2 Latin alphanumerics (CJK, Cyrillic, Greek, Arabic, Hebrew, Thai) are absent from this data vintage entirely — every door, not just the name door.
  • Domains match only where the source links an LEI to an official website, on the exact registrable domain. A subdomain misses.

Development

bash
npm installnpm test     # 28 contract rows over a mocked fetch: no network, no wallet, no paymentnpm run smoke  # spawns the server, drives initialize/tools/list/who_terms over real stdio

npm run smoke hits the live endpoint to fetch the 402. It runs with PRIVATE_KEY blank and asserts the advertised amount is "50000" ($0.05). It cannot pay.

src/core.mjs holds the transport-free logic and takes an injected fetch, which is why the tests never need a wallet. src/index.mjs is only the MCP wiring; @x402/* and viem are imported lazily, on a call already cleared to pay.

Built on @modelcontextprotocol/sdk 1.30.0. See SPEC.md for the full contract and the distribution plan.

License

MIT © Brent Bryson. See LICENSE.

來源:README.md,提交 00fa032

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分