Skip to main content

Agent Clinic

io.github.mohammedalmohaish-cyber/agent-clinic

v0.2.0Updated Nov 26, 2026stdio · npm

House calls for AI agents: pay once in USDC over x402, run the instructions on your own model.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add agent-clinic -e MAX_SPEND_USD_PER_CALL=1.00 -e MAX_SPEND_USD_PER_DAY=5.00 -e NETWORK=eip155:8453 -e CLINIC_URL=https://clinic.sosell.al -e 'SPEND_FILE=~/.agent-clinic-mcp/spend.json' -- npx -y [email protected]

Configuration

6 settings.

  • AGENT_PRIVATE_KEY
    Env var· optional· secret
    The agent's wallet key (0x and 64 hex characters), needed for clinic_house_call only. Use a wallet that holds only what you will spend on the clinic. Never printed or logged.
  • MAX_SPEND_USD_PER_CALL
    Env var· optional
    Per-call cap in US dollars: a visit that costs more is refused before anything is signed.Default: 1.00
  • MAX_SPEND_USD_PER_DAY
    Env var· optional
    Daily cap in US dollars (UTC day): a visit that would go above it is refused before anything is signed.Default: 5.00
  • NETWORK
    Env var· optional
    eip155:8453 is Base mainnet (real USDC); eip155:84532 is Base Sepolia testnet (test USDC). The server refuses to pay a clinic on another network.Default: eip155:8453
  • CLINIC_URL
    Env var· optional
    The clinic's address. https only (plain http only for localhost).Default: https://clinic.sosell.al
  • SPEND_FILE
    Env var· optional
    Where today's spending total is kept, so a restart does not reset it.Default: ~/.agent-clinic-mcp/spend.json

Listed in the official MCP Registry since Nov 26, 2026. Mirrored daily; last checked Nov 27, 2026.