Amanchain Mcp

io.github.gitajhdv1.0.1更新於 Oct 6, 2026

59 pay-per-call AI services as MCP tools with automatic x402 USDC-on-Base payment.

概覽

AI 產生的概覽

為助理提供 59 項按次計費的 AI 服務,涵蓋加密貨幣行情、LLM 對話與網頁搜尋,並以 Base 上的 USDC 自動付款。

功能
提供一個目錄工具,以及每項服務各自的工具,涵蓋加密貨幣行情與代幣稽核、巨鯨提醒、市場報告、LLM 對話、圖像生成、發票與收據、網頁抓取/搜尋/摘要、地理位置、翻譯等實用功能。每次付費呼叫都會在簽署的 402 挑戰中報價,並以 Base 上的 USDC 在鏈上結算並產生收據。目錄、價格與服務探索不需錢包即可使用;付費呼叫會說明需要設定的內容。
適用情境
適合助理需要按量使用多種小型 AI 與資料服務、又不想為每個供應商個別註冊或管理 API 金鑰的情境,也適合能接受在 Base 上以 USDC 按次付費的情況。常用於加密貨幣與市場資料查詢、快速 LLM 或圖像呼叫,以及代理工作流程中的網頁抓取與摘要。
執行需求
透過 stdio 在本機執行,通常使用 npx amanchain-mcp,因此需要 Node.js。付費呼叫需要一個持有 USDC 的 Base 錢包,以及 AMAN_PRIVATE_KEY 環境變數;選用變數包括 AMAN_ORIGIN、AMAN_MAX_USD_PER_CALL、AMAN_MAX_USD_PER_DAY 與 AMAN_SPEND_LEDGER。需要連線至服務端點的網路。僅支援桌面版 MCP 用戶端。
安裝前請注意
付費呼叫會從 AMAN_PRIVATE_KEY 對應的錢包支出真實 USDC,該金鑰會在本機簽署 EIP-3009 轉帳。支出上限預設為每次呼叫 0.05 美元、每日 1.00 美元,並保存在本機支出檔案中,使用前請確認。價格來自伺服器簽署的 402 挑戰,也就是由伺服器決定你支付的金額。服務結果與收據會在鏈上結算並傳送至第三方市場。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

AmanChain MCP Gateway

59 pay-per-call AI services as MCP tools — with automatic x402 payment in USDC on Base.

Crypto prices & audits, whale alerts, market reports, LLM chat, image generation, invoices & receipts, web fetch/search/summarize, geolocation, translation, and more — no API keys, no signups, no subscriptions. Your agent pays per call with USDC (gasless — the facilitator covers gas), every settlement lands on-chain with a receipt.

Works with Claude Code, Claude Desktop, Cursor, and any MCP-compatible client.

Quickstart (60 seconds)

  1. Get a Base wallet with ~$1 of USDC (Coinbase → withdraw USDC → Base network, or bridge.base.org).
  2. Add the server:

Claude Code

bash
claude mcp add amanchain -e AMAN_PRIVATE_KEY=0xYOUR_KEY -- npx -y amanchain-mcp

Claude Desktop / Cursor (claude_desktop_config.json / mcp.json)

json
{  "mcpServers": {    "amanchain": {      "command": "npx",      "args": ["-y", "amanchain-mcp"],      "env": { "AMAN_PRIVATE_KEY": "0xYOUR_KEY" }    }  }}
  1. Ask your agent: "use amanchain to get the current BTC price" — done.

No wallet yet? Run it without AMAN_PRIVATE_KEY — the catalog, prices and service discovery all work; paid calls explain exactly what to set up.

What your agent gets

amanchain_catalog first, then one tool per service. Highlights:

ToolWhat it doesPrice
aman_crypto_priceLive crypto price~$0.001
aman_token_auditOn-chain token audit (backing, flags, holders, depth)~$0.025
aman_market_reportFull market report~$0.03
aman_llm_chatLLM completion~$0.008
aman_image_genImage generation~$0.013
aman_web_search / aman_web_fetch / aman_summarizeWeb pipeline~$0.003–0.008
aman_crypto_whale_watchWhale transaction watch~$0.10
aman_geo_ip, aman_weather, aman_fx_rates, aman_translate …utilities~$0.001–0.005

Prices are set by the network, quoted live in every 402 response, and published in the live catalog. Every payment produces an on-chain receipt — see the public receipts ledger.

Safety

  • Your key never leaves your machine — it only signs EIP-3009 USDC transfers locally.
  • AMAN_MAX_USD_PER_CALL (default $0.05) — refuses any pricier quote.
  • AMAN_MAX_USD_PER_DAY (default $1.00) — rolling daily cap, persisted in ~/.amanchain-mcp-spend.json.
  • Prices are taken only from the server's signed 402 challenge — never guessed.

All env vars: AMAN_PRIVATE_KEY, AMAN_ORIGIN, AMAN_MAX_USD_PER_CALL, AMAN_MAX_USD_PER_DAY, AMAN_SPEND_LEDGER.

How it works

agent ── tools/call ──▶ amanchain-mcp ──▶ POST /api/x402/<service>                              ◀────────── 402 + signed price challenge        local EIP-3009 signature (USDC on Base, gasless)                              ──▶ retry + PAYMENT-SIGNATURE                              ◀────────── 200 + result + on-chain receipt

AmanChain is a quantum-resistant proof-of-work chain whose AI marketplace settles agent payments on-chain — service results and receipts are mined into blocks.

Links

  • Live catalog: /.well-known/x402.json
  • Public receipts: /receipts
  • Ecosystem: x402scan · 402index

MIT © AmanChain

來源:README.md,提交 b1d04f6

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.0.1最新Oct 6, 2026