Lemon Squeezy integration
Merchant of Record platform for selling digital products, SaaS subscriptions, and license keys. Handles global payments, sales tax/VAT, fraud, and refunds via the JSON:API spec. Use to manage stores, products, variants, customers, orders, subscriptions, license keys, discounts, checkouts, usage records, and webhooks.
Say what should happen.
The workflow builds itself.
Common Lemon Squeezy use cases
- CRM sync
- Onboarding
- Asset audit
- Promo audit
- Launch promo
- License audit
- MRR reporting
- Plan upgrades
- Invoice export
- Revoke license
What you can do with Lemon Squeezy
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Webhook, 5 operations
create_webhookCreate webhookPOSTCreates a new webhook subscription on a store.delete_webhookDelete webhookDELETEDeletes a webhook subscription.get_webhookGet webhookGETRetrieves a specific webhook subscription.list_webhooksList webhooksGETLists webhook subscriptions.update_webhookUpdate webhookPATCHUpdates a webhook subscription's url, events, or secret.
Customer, 4 operations
create_customerCreate customerPOSTCreates a new customer in a store.get_customerGet customerGETRetrieves a specific customer.list_customersList customersGETLists Lemon Squeezy customers.update_customerUpdate customerPATCHUpdates a customer's attributes.
Discount, 4 operations
create_discountCreate discountPOSTCreates a new discount code.delete_discountDelete discountDELETEDeletes a discount code.get_discountGet discountGETRetrieves a specific discount.list_discountsList discountsGETLists discount codes.
Subscription, 4 operations
cancel_subscriptionCancel subscriptionDELETECancels a subscription.get_subscriptionGet subscriptionGETRetrieves a specific subscription.list_subscriptionsList subscriptionsGETLists subscriptions.update_subscriptionUpdate subscriptionPATCHUpdates a subscription (variant change, pause, resume, billing anchor).
Subscription item, 4 operations
get_subscription_itemGet subscription itemGETRetrieves a specific subscription item.get_subscription_item_current_usageGet subscription item current usageGETRetrieves current-period usage for a usage-based subscription item.list_subscription_itemsList subscription itemsGETLists subscription items.update_subscription_itemUpdate subscription itemPATCHUpdates a subscription item's quantity.
Checkout, 3 operations
create_checkoutCreate checkoutPOSTCreates a custom checkout link for a variant.get_checkoutGet checkoutGETRetrieves a checkout session.list_checkoutsList checkoutsGETLists previously created custom checkouts.
License key, 3 operations
get_license_keyGet license keyGETRetrieves a single license key.list_license_keysList license keysGETLists license keys.update_license_keyUpdate license keyPATCHUpdates a license key (activation limit, expiration, disabled).
Order, 3 operations
get_orderGet orderGETRetrieves a specific order.issue_order_refundIssue order refundPOSTIssues a partial or full refund for an order.list_ordersList ordersGETLists customer orders.
File, 2 operations
get_fileGet fileGETRetrieves a specific file.list_filesList filesGETLists downloadable files attached to variants.
Order item, 2 operations
get_order_itemGet order itemGETRetrieves a specific order item.list_order_itemsList order itemsGETLists order line items.
Product, 2 operations
get_productGet productGETRetrieves details for a single product.list_productsList productsGETLists products in your Lemon Squeezy catalog.
Store, 2 operations
get_storeGet storeGETRetrieves a specific store by ID.list_storesList storesGETLists all stores you own on Lemon Squeezy.
Subscription invoice, 2 operations
get_subscription_invoiceGet subscription invoiceGETRetrieves a specific subscription invoice.list_subscription_invoicesList subscription invoicesGETLists subscription invoices.
Variant, 2 operations
get_variantGet variantGETRetrieves a specific product variant.list_variantsList variantsGETLists product variants.
License key instance, 1 operation
list_license_key_instancesList license key instancesGETLists license key instances (active machine activations).
Usage record, 1 operation
create_usage_recordCreate usage recordPOSTReports metered usage for a subscription item.
Use Lemon Squeezy from Claude Code, Cursor or Codex
Connect Lemon Squeezy in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Lemon Squeezy operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Lemon Squeezy
- Create your workspace
Sign up free. Nothing to install.
- Connect Lemon Squeezy once
Add your Lemon Squeezy connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Lemon Squeezy integration FAQ
What can you do with the Lemon Squeezy integration?
LiveContext exposes 44 operations on Lemon Squeezy, covering webhook, customer, discount and subscription. Common uses include CRM sync, Onboarding and Asset audit.
