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