LocalPaid service

DRAIN MCP server

kimbo128/DRAIN

Pay for AI inference with USDC micropayments on Polygon. No API keys needed.

2 GitHub stars1 forks174 npm downloads / month

Install DRAIN in Claude Code

Claude Code
claude mcp add drain -e DRAIN_PRIVATE_KEY=... -- npx -y drain-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "drain": {
      "command": "npx",
      "args": [
        "-y",
        "drain-mcp"
      ],
      "env": {
        "DRAIN_PRIVATE_KEY": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the DRAIN MCP server do?

Pay for AI inference with USDC micropayments on Polygon. No API keys needed.

Is the DRAIN MCP server free?

Probably not entirely. The listing mentions pay-per-call, credits or a subscription. Check the provider for current pricing.

Does DRAIN run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add DRAIN to Claude Code?

Run: claude mcp add drain -e DRAIN_PRIVATE_KEY=... -- npx -y drain-mcp

More developer tools MCP servers

View all