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_KEYEnv var· optional· secretThe 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_CALLEnv var· optionalPer-call cap in US dollars: a visit that costs more is refused before anything is signed.Default:1.00MAX_SPEND_USD_PER_DAYEnv var· optionalDaily cap in US dollars (UTC day): a visit that would go above it is refused before anything is signed.Default:5.00NETWORKEnv var· optionaleip155: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:8453CLINIC_URLEnv var· optionalThe clinic's address. https only (plain http only for localhost).Default:https://clinic.sosell.alSPEND_FILEEnv var· optionalWhere today's spending total is kept, so a restart does not reset it.Default:~/.agent-clinic-mcp/spend.json
Links
Listed in the official MCP Registry since Nov 26, 2026. Mirrored daily; last checked Nov 27, 2026.