Pay for AI inference with USDC micropayments on Polygon using your wallet—no API keys required. Built for developers who want transparent, blockchain-based billing for LLM usage.
io.github.kimbo128/drain-mcp
Local install
STDIO
1 required env var
How models use it and what it is built for.
Pay for AI inference with USDC micropayments on Polygon using your wallet—no API keys required. Built for developers who want transparent, blockchain-based billing for LLM usage.
Local install — runs as a subprocess.
Configuration this server reads at startup.
Private key for the wallet used for USDC micropayments on Polygon
Where to find authoritative docs and source for Kimbo128 Drain.
Paste any of these into Agent Studio after connecting Kimbo128 Drain.
Common questions about connecting and running Kimbo128 Drain.
What is Drain and how does it work?
Drain is an MCP server that lets you pay for AI inference with USDC micropayments on the Polygon blockchain. Instead of API keys and monthly bills, you fund a wallet and pay per inference in real time.
How do I set up Drain with my wallet?
Set the DRAIN_PRIVATE_KEY environment variable to your Polygon wallet's private key before running the server. The server uses this key to sign and send USDC transactions for each inference.
Do I need an API key to use Drain?
No. Drain requires only your wallet's private key on Polygon. There are no API keys, subscriptions, or account registration needed.
What blockchain does Drain use?
Drain operates on Polygon, a Layer 2 scaling solution for Ethereum. USDC payments are sent as micropayments on Polygon, which offers low fees and fast settlement.
What happens if my wallet runs out of USDC?
If your wallet has insufficient USDC balance, micropayment transactions will fail. You'll need to fund your wallet with USDC on Polygon before continuing inference requests.
MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.
Open Agent StudioJudges Panel
45 judges that evaluate AI-generated code for security, cost, and quality with built-in AST.
Addozhang Nexus
Query Sonatype Nexus Repository (OSS/Pro) for Maven, Python, and Docker artifacts
Cyanheads MCP Ts Template
TypeScript template for building MCP servers with declarative tooling, observability, and auth.
Chernistry Bernstein
Declarative agent orchestration for engineering teams