io.github.gitajhd/amanchain-mcp
59 pay-per-call AI services as MCP tools with automatic x402 USDC-on-Base payment.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
amanchain-mcpclaude mcp add amanchain-mcp -- npx -y amanchain-mcp@1.0.1
{
"mcpServers": {
"amanchain-mcp": {
"command": "npx",
"args": [
"-y",
"amanchain-mcp@1.0.1"
]
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
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)
- Get a Base wallet with ~$1 of USDC (Coinbase → withdraw USDC → Base network, or bridge.base.org).
- Add the server:
Claude Code
claude mcp add amanchain -e AMAN_PRIVATE_KEY=0xYOUR_KEY -- npx -y amanchain-mcp
Claude Desktop / Cursor (claude_desktop_config.json / mcp.json)
{
"mcpServers": {
"amanchain": {
"command": "npx",
"args": ["-y", "amanchain-mcp"],
"env": { "AMAN_PRIVATE_KEY": "0xYOUR_KEY" }
}
}
}
- 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:
| Tool | What it does | Price |
|---|---|---|
aman_crypto_price | Live crypto price | ~$0.001 |
aman_token_audit | On-chain token audit (backing, flags, holders, depth) | ~$0.025 |
aman_market_report | Full market report | ~$0.03 |
aman_llm_chat | LLM completion | ~$0.008 |
aman_image_gen | Image generation | ~$0.013 |
aman_web_search / aman_web_fetch / aman_summarize | Web pipeline | ~$0.003–0.008 |
aman_crypto_whale_watch | Whale 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
MIT © AmanChain
Questions fréquentes
Qu'est-ce que io.github.gitajhd/amanchain-mcp ?
59 pay-per-call AI services as MCP tools with automatic x402 USDC-on-Base payment.
Comment installer io.github.gitajhd/amanchain-mcp ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add amanchain-mcp -- npx -y amanchain-mcp@1.0.1. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour io.github.gitajhd/amanchain-mcp ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
io.github.gitajhd/amanchain-mcp est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient io.github.gitajhd/amanchain-mcp ?
Il est publié par gitajhd. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.