π LemonCake β Billing & budgets for AI agents
lemon-cake-mcp is an MCP server that gives AI agents a USDC wallet to autonomously discover, pay for, and call premium HTTP APIs without human intervention.
Setup guidance (
setup): Detects missing credentials and provides step-by-step onboarding instructions, including a ready-to-paste MCP config snippet for obtaining a Buyer JWT and Pay Token.Discover APIs (
list_services): Browse the LemonCake marketplace for approved paid API/MCP services, including their IDs, providers, types, per-call USDC pricing, and endpoints.Call paid services (
call_service): Invoke any upstream API through LemonCake's pay-per-call proxy, automatically charging USDC per successful call. Supports GET/POST/PUT/PATCH/DELETE, custom sub-paths, JSON bodies, and idempotency keys for safe retries without double-charging.Check account balance (
check_balance): View your current USDC balance, KYC/KYA tier, and account info to confirm sufficient funds before making calls.Japanese tax compliance (
check_tax): Validate a Japanese qualified-invoice (γ€γ³γγ€γΉ) registration number against the NTA registry, determine if source-withholding (ζΊζ³εΎ΄ε) applies, and calculate withholding amounts and net payable.Marketplace usage stats (
get_service_stats): Access public usage statistics (call counts, total USDC revenue, last-called timestamps) to help choose the best service.Demo mode: Run without any credentials to explore demo services (
demo_search,demo_echo,demo_fx) with canned responses and a mock $1.00 balance β no signup required.
Allows AI agents to search and retrieve content from Wikipedia via a pay-per-call API proxy, with USDC-based billing and no manual authentication.
π LemonCake β agent-payment-mcp
Let your AI agent pay for any API β capped, no account.
Give your agent a spend-capped Pay Token and it pays for paid APIs on its own. Discover β pay β pass through. No per-call key, no human in the loop, and it can't exceed your cap. First 3,000 calls free, then 3%. Seller gets 97%. LemonCake never holds your funds.
Want to monetize your own MCP server or API? Start at lemoncake.xyz/app or copy the mcp-monetization-starter.
π° No monthly fee. First 3,000 calls free (lifetime). Then 3% only when your API earns. See pricing β
β‘ Try in 30 seconds β no signup
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (or Cursor / Cline):
{
"mcpServers": {
"lemon": {
"command": "npx",
"args": ["-y", "agent-payment-mcp"]
}
}
}Restart, then ask:
"use lemon to translate 'Hello, agent payments' to Japanese"
Zero env vars. Zero signup. Zero credit card. Demo Mode activates automatically.
Related MCP server: BotWallet MCP Server
π 8 free demo tools (real APIs, no auth)
Tool | What it does | Upstream |
π | Search Wikipedia (5 results + URLs) | en.wikipedia.org |
π± | Live FX rates (160+ currencies) | open.er-api.com |
π | Translate 80+ languages | MyMemory |
π€ | Current weather for any lat/lon | Open-Meteo |
π | Place name β coordinates | OpenStreetMap Nominatim |
π | Current time + DST for any IANA timezone | worldtimeapi |
π | English definitions / synonyms | dictionaryapi.dev |
π | HTTP echo (request inspector) | httpbin.org |
π³ How agents pay for APIs (x402 autonomous payment)
LemonCake speaks x402 β the HTTP 402 payment protocol for AI agents.
Agent β POST /g/<endpoint>
β
402 + accepts[] { pricePerCall, buyUrl, mintUrl }
β
Agent mints a Pay Token (off-session, capped)
β
Bearer <jwt> β gateway β your APISeller registers any HTTP API at lemoncake.xyz/app and sets a price per call
Buyer prepays via card β Pay Token (JWT) issued automatically
Agent passes
Authorization: Bearer <token>β gateway verifies, meters, forwardsBudget exhausted β gateway returns
402 + accepts[]so agents can self-fund
π€ Agent autonomous top-up (Agent Funding API)
For fully autonomous operation with no human per-session:
Issue a Buyer Key (
bk_...) in the Pay Tokens pane at /appSave a card once at /agent/fund
Agent uses
bk_to mint/top-up Pay Tokens off-session β hard-capped per your limits
Agent β POST /api/lc/agent/tokens (Bearer bk_...)
β off-session card charge β Pay Token issued
β Bearer <jwt> β gateway β pass throughCaps enforced server-side: per-mint / daily / monthly. Cannot overspend.
πͺ Publish your own API (for sellers)
Monetize any HTTP API or MCP server in minutes:
Sign in at lemoncake.xyz/app
Add API β paste your URL, set price per call
Share the buy link β buyers prepay with a card, Pay Token issued automatically
You keep 97%. LemonCake takes 3% once at checkout. Never holds funds (Stripe Connect Direct Charge).
// Your tool code is unchanged β LemonCake sits in front as a gateway
class MyTool extends MCPTool {
// existing logic β no SDK required
}
// Route traffic through: https://lemoncake.xyz/g/<shortId>π Compliance β registration not required in 7 jurisdictions
Japan FSA Fintech Support Desk (2026-06) confirmed: no electronic payment means management registration required. LemonCake never holds funds (Stripe Connect Direct Charge, custody-free).
Jurisdiction | Basis |
π―π΅ Japan | FSA confirmed β registration not required |
πΊπΈ USA | FinCEN 2019 Β§4.5 β non-custodial software β MSB |
πͺπΊ EU | MiCA β non-CASP |
π¬π§ UK | FCA β Tech Service Provider |
πΈπ¬ Singapore | MAS β DPT non-applicable |
π¨π¦ Canada | FINTRAC β non-custodial exemption |
π¨π Switzerland | FINMA β non-financial intermediary |
Full posture: lemoncake.xyz/security
π The LemonCake family
Package | Use |
Main MCP β x402 gateway + agent payment rail (this one) | |
SDK to monetize your own MCP server | |
Buy tokenized US stocks on Solana | |
Alpaca paper / live trading with hard USD cap | |
Dinari dShares |
π‘ Security
Server-side hard caps β per-mint / daily / monthly limits enforced on the server. Cannot be exceeded.
Pay Token = JWT β signed HS256, verified on every gateway call. Not a blockchain asset.
No private keys in the MCP server β Buyer Key (
bk_) has hashed secret, PM reference only (no raw card data).Stripe Connect Direct Charge β funds go seller-direct. LemonCake never holds customer funds.
RLS on all DB tables,
upstream_authnever returned in API responses.
Links
Try demo |
|
Seller dashboard | |
Agent card setup | |
Docs | |
Source | |
MCP Registry | |
License | MIT |
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides pay-per-use tools for AI agents like web screenshots and crypto intelligence using automatic USDC micropayments on the Base network. It simplifies access to premium APIs by handling blockchain transactions automatically when a payment is required.Last updated1211MIT
- AlicenseAqualityDmaintenanceEnables AI agents to manage USDC wallets on Solana, allowing them to send payments, create invoices, and access paid APIs within human-defined spending limits. It uses threshold signatures to provide agents with financial autonomy while ensuring secure oversight and transaction approval.Last updated63693Apache 2.0
- Alicense-qualityBmaintenanceUSDC payments for AI agents on Base. Direct transfers, pre-funded tabs, x402 paywall handling, and service discovery.Last updated52MIT

@arispay/payagent-mcpofficial
AlicenseDqualityFmaintenanceEnables AI agents to call paid APIs and settle HTTP 402 payment challenges with USDC on Base, without private keys ever being involved.Last updated2127MIT
Related MCP Connectors
Agent bookkeeping, sanctions, KYB, VAT and e-invoice checks - pay per call in USDC
30 pay-per-call APIs for AI agents: compliance, trade, safety, web, data. USDC on Base via x402.
AgisHub β pay-per-call tools for AI agents over x402 (USDC on Base). No API key.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/evidai/lemon-cake'
If you have feedback or need assistance with the MCP directory API, please join our Discord server