MCP-native. 306 x402 APIs. 500 free credits. Auto-mode ready.
Your agent gets 7 tools: register, discover, call, pay — all from within Claude Code.
claude mcp add minia2a -- npx -y minia2a-mcp
Or add to ~/.claude/.mcp.json: {"minia2a":{"command":"npx","args":["-y","minia2a-mcp"]}}
Once the MCP server is added, your agent can autonomously discover and pay for APIs:
You: "What's the BTC price and ETH gas right now?"
Claude: [calls minia2a_list_services → finds crypto-price and gas]
[calls minia2a_call_service for BTC price → 2 credits]
[calls minia2a_call_service for ETH gas → 2 credits]
BTC: $67,342 | ETH Gas: 12 Gwei
(4 credits spent — you have 496 remaining)
curl -s https://minia2a.uk/api/agent-ready | python3 -m json.tool
curl -s https://minia2a.uk/x402/time
curl -X POST https://minia2a.uk/api/v1/register-simple \
-H "content-type: application/json" \
-d '{"name":"my-agent"}'
curl -s "https://minia2a.uk/x402/gas?wallet=0xYOUR_ADDRESS"
npm install ai-sdk-x402
import { x402Tool } from 'ai-sdk-x402';
const tools = {
getTime: x402Tool({
endpoint: 'https://minia2a.uk/x402/time',
description: 'Get current UTC time',
}),
};
Your Claude Code agent will make autonomous tool calls. With minia2a-mcp, it can find, try, and pay for 306 APIs — no human in the loop.
🧪 Test your endpoint → 🔍 Browse all 306 endpoints → 📦 minia2a-mcp on npm →