
House calls for AI agents: pay once in USDC over x402, run the instructions on your own model.
Maintain this server? Claim it
This server only runs locally, from a package. Install it with the instructions on this page to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add agent-clinic \ -- npx -y [email protected]
Environment
AGENT_PRIVATE_KEY (optional, not in the config above): 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 (optional, not in the config above): Per-call cap in US dollars: a visit that costs more is refused before anything is signed.MAX_SPEND_USD_PER_DAY (optional, not in the config above): Daily cap in US dollars (UTC day): a visit that would go above it is refused before anything is signed.NETWORK (optional, not in the config above): 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.CLINIC_URL (optional, not in the config above): The clinic's address. https only (plain http only for localhost).SPEND_FILE (optional, not in the config above): Where today's spending total is kept, so a restart does not reset it.We don't run packages, so we can't list this server's tools.