
Insumer
io.github.douglasborthwick-crypto由 GitHub 帳號 douglasborthwick-crypto 發布v1.14.0更新於 Oct 24, 2026
Read-first blockchain verification. ECDSA-signed booleans across 37 chains. 27 tools.
發布方自己的服務:Insumer
概覽
Insumer 讓助手在 37 條區塊鏈上驗證錢包鏈上條件並回傳簽章後的 true/false,另含商家、折扣與額度工具。
- 可以做什麼
- 驗證錢包的鏈上條件(代幣餘額、NFT 持有、證明、身分、view 呼叫、帳戶程式碼),回傳簽章布林值,可選 Merkle 證明或 JWT 權杖,並取得簽章金鑰(JWKS)。為單一錢包或最多 10 個錢包的批次產生簽章的錢包信任概況,可選 Solana、XRPL、Bitcoin、Tron、Stellar 與 Sui 錢包。瀏覽商家與代幣目錄,檢查或驗證折扣碼,包含 ACP 與 UCP 商務格式。建立並設定商家、設定代幣與 NFT 折扣級距、發布至目錄並驗證網域。用電子郵件產生免費 API 金鑰、查詢額度餘額,並以 USDC 購買金鑰或加值額度。
- 適用情境
- 當助手需要依可驗證的鏈上持倉來限制存取或套用折扣,或需要產生可離線驗證的簽章錢包條件證明時使用。也適合需要商家探索與折扣碼流程的代理。
- 執行需求
- 透過 npx 在本機執行(需 Node.js)。需要 INSUMER_API_KEY(可用電子郵件產生免費金鑰),或按次付費時使用 INSUMER_PAYMENT_KEY,其中存放持有 USDC 的 Base 一次性錢包;INSUMER_MAX_PAYMENT_USDC 限制單次支出。需要連線至 InsumerAPI 服務的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Insumer,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
mcp-server-insumer
[npm] [License: MIT] [Glama] [License: MIT]
MCP server for InsumerAPI: condition-based access infrastructure. Send a wallet and conditions, get a signed boolean across 37 chains. No balances exposed, no identity required. Every result is signed and checkable offline against the published keys, and on EVM chains an optional Merkle proof lets the verifier check the balance against the block header without trusting the API.
Enables AI agents (Claude Desktop, Cursor, Windsurf, and any MCP-compatible client) to add condition-based access to any workflow: verify on-chain conditions, discover merchants, generate signed discount codes, and onboard new merchants.
In production: AsterPay, a non-custodial payments orchestrator settling through licensed EU partners, uses InsumerAPI attestations in its live ERC-8183 agentic-commerce trust checks. Case study.
Also available as: LangChain (26 tools, PyPI) | ElizaOS (10 actions, npm) | OpenAI GPT (GPT Store) | insumer-verify (client-side verification, npm)
Full AI Agent Verification API guide: covers all 37 chains, trust profiles, commerce protocols, and signature verification.
Quick Start
Claude Desktop
Add to your claude_desktop_config.json:
Cursor / Windsurf
Add to your MCP settings:
Get a key: just an email, no dashboard, no password
Three paths, all give you a working insr_live_... key in seconds with 10 free verifications plus 100 requests a day. One free key per email.
Option A: let your agent do it. Start the server without a key. Your AI agent can call the insumer_setup tool with your email to generate a free key instantly. Add it to your config and restart.
Option B: terminal.
Option C: browser. Enter your email on insumermodel.com and the key appears inline.
Set it as INSUMER_API_KEY in your config.
Already have a key? Manage usage, top up, or upgrade at insumermodel.com/developers/account/.
Option D: pay per call with x402 (no key at all)
Instead of a key, set INSUMER_PAYMENT_KEY to a throwaway Base wallet funded with a few dollars of USDC. Metered calls (insumer_attest, insumer_wallet_trust, insumer_batch_wallet_trust) are then paid inline via x402: the server requests a price, signs an EIP-3009 USDC authorization on Base, and retries. No signup, no credits, no dashboard.
- Base USDC only; the wallet needs USDC but no ETH (settlement is gasless).
- Each call spends a few cents (attest $0.05, trust $0.15). Use a dedicated throwaway wallet funded with a small amount, never a wallet holding meaningful funds.
- Every quote is checked before the wallet signs. The server pays only InsumerAPI's own receiving address (
0xee432065474D2C852700f74e3fD81e2Bcc16a3D4, or the address it quoted before 2026-10-19,0xAd982CB19aCCa2923Df8F687C0614a7700255a23), only in USDC on Base, and never more than the cap: $3.00 per call by default, the price of the largest call today (a 10-wallet trust batch with Merkle proofs). Anything else is refused and nothing is signed. SetINSUMER_MAX_PAYMENT_USDCto change the cap, e.g."0.25"if you only attest. The cheapest call is $0.05, so a cap below that refuses every paid call (the server warns at startup). A malformed value turns pay-per-call off rather than falling back to the default. - If both
INSUMER_API_KEYandINSUMER_PAYMENT_KEYare set, the key (credits) is used.
Hosted endpoint (no install)
The same server runs at https://api.insumermodel.com/mcp over MCP streamable HTTP, for clients that connect by URL: ChatGPT plugins and developer-mode connectors, claude.ai custom connectors, and hosted agent platforms that cannot run an npm package. Paste the URL; there is nothing to configure.
It is shared and anonymous, so it serves the ten tools that make sense without a caller identity (HOSTED_TOOLS: signing keys, attest, compliance templates, wallet trust and batch trust, the merchant and token directories, the free discount check, code validation), and the metered tools share one free daily allowance. Past it, a call is refused with a pointer here. For your own allowance, key and credit management, or the merchant tools, run the package locally with your key as above.
To host the server yourself, build it and run node build/http.js with INSUMER_API_KEY set (PORT, INSUMER_HOSTED_TOOLS and INSUMER_DAILY_CAP are optional), or embed it: createInsumerServer(options) from the package root returns a configured server for any transport.
What You Get Back
When your agent calls insumer_attest, you get an ECDSA-signed attestation:
The sig is an ECDSA P-256 signature (base64, P1363 r||s, 88 characters). The kid identifies the key and selects the signed bytes: insumer-attest-v2 signs "insumer.attestation.v2\n" + canonical_json({v: 2, id, pass, results, attestedAt}) (keys sorted at every level); insumer-attest-v1 signs the bare JSON.stringify of {id, pass, results, attestedAt} in insertion order. Every attest and trust response is signed twice: ES256 and a post-quantum ML-DSA-65 signature, pqSig and pqKid (over the post-quantum domain tag plus the same classical preimage the kid selects; pqJwt beside jwt), added beside sig and kid without changing them. The conditionHash is a SHA-256 of the exact condition logic that was evaluated.
No balances. No amounts. Just a cryptographically signed true/false.
For XRPL conditions, results include ledgerIndex, ledgerHash (validated ledger hash), and trustLineState: { frozen: boolean } instead of blockNumber/blockTimestamp. Native XRP conditions include ledgerIndex and ledgerHash but not trustLineState. Frozen trust lines cause met: false.
Wallet Auth (JWT)
Add format: "jwt" to the insumer_attest tool parameters to receive the attestation as a standard JWT bearer token:
The response includes an additional jwt field containing an ES256-signed JWT, and beside it a pqJwt sibling (a compact JWS with alg ML-DSA-65 carrying the same claims, signed under insumer-attest-pq1). The jwt token is verifiable by any standard JWT library via the JWKS endpoint at GET /v1/jwks, which makes it compatible with Kong, Nginx, Cloudflare Access, AWS API Gateway, and other middleware that accepts JWT bearer tokens.
Verify the Response
Your agent gets the attestation. Your application should verify it. Install insumer-verify (also on PyPI for Python: pip install insumer-verify, same checks, same 27 published test vectors):
This reports five independent verdicts: ECDSA signature, condition hash integrity, block freshness, attestation expiry, and the post-quantum signature (insumer-verify 1.8.1+ reports it as verified, refuted, absent, or unverifiable). Zero runtime dependencies, uses Web Crypto API.
Tools (27)
Setup (free, no auth)
Key Discovery (free)
On-Chain Verification (cost credits)
token_balancethresholds are decimal strings. Passthresholdas"100", not100. Keys created from 2026-06-10 sign withkid: insumer-attest-v2, which preserves full precision and rejects a JSON number with a400. Theinsumer_attesttool accepts a number or string and coerces to the canonical string; olderinsumer-attest-v1keys accept either.
Discovery (free)
Credits & Keys
Merchant Onboarding (owner-only)
Domain Verification (owner-only)
Commerce Protocol Integration
Pricing
Tiers: Free (10 free verifications plus 100 requests a day) | Pro $29/mo (1,000 credits/mo, 10,000/day) | Enterprise $99/mo (5,000 credits/mo, 100,000/day)
Volume discounts: $5–$99 = $0.04/call (25 credits/$1) · $100–$499 = $0.03 (33/$1, 25% off) · $500+ = $0.02 (50/$1, 50% off)
Key and credit purchases are paid in USDC only. Receiving addresses:
- USDC on Ethereum, Base, Polygon, Arbitrum, Optimism or Avalanche:
0xee432065474D2C852700f74e3fD81e2Bcc16a3D4 - USDC on BNB Chain:
0xAd982CB19aCCa2923Df8F687C0614a7700255a23(USDC sent to it on the other EVM chains is also accepted during the changeover) - USDC on Solana:
8fyEGM5tRjMocKQWaVXyM2XvvnTxR3sWdrYtug2zeLX4(USDC sent to6a1mLjefhvSJX1sEX8PTnionbE9DqoYjU6F6bNkT4Ydris also accepted during the changeover)
Supported payment chains: Ethereum, Base, Polygon, Arbitrum, Optimism, BNB Chain, Avalanche, Solana. USDT and other tokens are refused and not credited; tokens sent on unsupported chains cannot be recovered. All purchases are final and non-refundable. Full pricing →
Sender signature. A purchase that binds a key to a wallet (every key purchase, a credit purchase on a key with no registered wallet, or updateWallet: true from a different wallet) takes senderSignature: the wallet that sent the payment signs this exact text, five lines joined by \n with no trailing newline:
Purpose is credit purchase for a credit purchase; Chain is eip155:<chainId> on an EVM chain or solana (with the Solana signature as given). Call once without senderSignature and the 400 returns the exact text. EVM wallets sign with personal_sign (EIP-191, 0x hex; smart wallets are checked with ERC-1271); Solana wallets sign with signMessage (ed25519, base58 or base64). A 403 means the signature is not from the wallet that sent the payment; a 503 means a smart-wallet check could not complete and the payment was not used.
Handling rpc_failure Errors
If the API cannot reach one or more blockchain data sources after retries, insumer_attest, insumer_wallet_trust, insumer_verify, insumer_acp_discount, insumer_ucp_discount and insumer_check_discount return ok: false with error code rpc_failure. No signature, no JWT, no credits charged. insumer_batch_wallet_trust answers normally and carries an error entry for any wallet whose reads did not complete, beside the wallets that were signed. This is a retryable error: the MCP client should retry after a short delay (2-5 seconds).
Important: rpc_failure is NOT a verification failure. Do not treat it as pass: false. It means the data source was temporarily unavailable and the API refused to sign an unverified result.
Supported Chains (37)
31 EVM chains + Solana + XRP Ledger + Bitcoin + Tron + Stellar + Sui. Includes Ethereum, Base, Polygon, Arbitrum, Optimism, BNB Chain, Avalanche, XDC, Robinhood Chain, Arc, and 21 more EVM. Full list →
Also Available As
- Claude Code Skill:
git clone https://github.com/insumerapi/insumer-skill.git ~/.claude/skills/insumer(GitHub · Smithery), for writing wallet auth into your own projects from inside Claude Code. This MCP server gives an agent runtime access to the API; insumer-skill helps developers author integration code at build time. Different surfaces, same primitive. - ElizaOS Plugin:
@insumermodel/plugin-eliza(npm) - LangChain (Python):
pip install langchain-insumer(PyPI) - OpenAI GPT: InsumerAPI Wallet Auth (GPT Store)
- Verifier (offline JWKS):
npm install insumer-verify(npm, source)
Development
License
MIT
來源:README.md,提交 5214c0d
工具
0版本歷史
7- v1.14.0最新Oct 2, 2026
- v1.13.9Oct 1, 2026
- v1.13.8Sep 26, 2026
- v1.13.7Sep 25, 2026
- v1.13.6Sep 22, 2026
- v1.13.4Sep 21, 2026
- v1.13.3Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
