Skip to content

Integration · Payments

lemonsqueezy.com

Connect Claude & ChatGPT to Lemon Squeezy

Ask your AI about an order, a customer or a subscription, and it reads the answer straight from Lemon Squeezy. It can create checkout links and discount codes, manage license keys, pause or cancel subscriptions, and generate invoice PDFs for orders.

Connect Lemon Squeezy free

Free plan, no credit card. Takes about a minute.

Try asking

  • “Find the orders from [email protected] and give me the receipt link for the latest one.”

    The AI lists her orders and reads the latest one with totals, tax, status and receipt URL.

  • “Create a 20% discount code LAUNCH20 that expires on Sunday.”

    It creates the discount in your store with the code, percent amount and expiry date.

  • “Which subscriptions are past due?”

    It lists subscriptions with status past_due, with customer, product and renewal date.

What your AI can do

Orders and customers

Look up orders, line items and customers, update customer details and generate invoice PDFs for orders.

Subscriptions and licenses

Read, change, pause, resume and cancel subscriptions, list renewal invoices, and adjust or disable license keys.

Tools for selling

Create checkout links and discount codes, and read your stores, products and variants.

  • “Give the license key from order 5521 two more activations.”

    It finds the license key for the order and raises its activation limit.

  • “Make a checkout link for the Pro variant with [email protected] prefilled.”

    It creates a checkout link for that variant with her email filled in and returns the URL.

  • “Cancel Tom's subscription at the end of his paid period.”

    It finds the subscription and cancels it. It stays active until the period ends and can be resumed until then.

60 tools for Lemon Squeezy

These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.

  • cancel_subscriptionDeletesCancel a subscription by subscription_id. It stays active until the end of the paid period and can be resumed during that grace period.
  • create_a_usage_recordChanges dataCreate a new usage record. API summary: Create a Usage Record.
  • create_a_webhookDeletesCreate a new webhook. Destructive action; may require approval. API summary: Create a Webhook.
  • create_activate_a_license_keyVisible to othersActivate a license. Has effects visible outside this system. API summary: Activate a License Key.
  • create_checkout_linkChanges dataCreate a checkout link for a store and variant, optionally prefilling the customer's email and name or a custom price. Returns a URL to send to a buyer.
  • create_customerChanges dataCreate a customer in a store with name and email.
  • create_deactivate_a_license_keyVisible to othersDeactivate a license. Has effects visible outside this system. API summary: Deactivate a License Key.
  • create_discountChanges dataCreate a discount code in a store: name, code, amount and amount_type (percent or fixed), with optional limits and expiry.
  • create_generate_a_subscription_invoiceChanges dataCreate a new invoice for a invoice. API summary: Generate a Subscription Invoice.
  • create_issue_a_refundMoves moneyRefund a order (order id). Financial or irreversible action; may require approval. API summary: Issue a Refund.
  • create_validate_a_license_keyVisible to othersValidate a license. Has effects visible outside this system. API summary: Validate a License Key.
  • delete_a_discountDeletesPermanently delete a discount by discount id. Destructive action; may require approval.
  • delete_a_webhookDeletesPermanently delete a webhook by webhook id. Destructive action; may require approval.
  • generate_order_invoiceChanges dataGenerate a downloadable invoice PDF for an order by order_id, with the customer's name and address (name, address, city, country...).
  • get_current_userGet the Lemon Squeezy user this API key belongs to.
  • get_customerGet one customer by customer_id: name, email, country, revenue and customer portal URL.
  • get_discountGet one discount by discount_id, including code, amount and expiry.
  • get_license_keyGet one license key by license_key_id: key, status, activations used and expiry.
  • get_orderGet one order by order_id: customer, totals, tax, status, refund status and receipt URL.
  • get_productGet one product by product_id: name, description, status and price range.
  • get_subscriptionGet one subscription by subscription_id: status, plan, renewal/end dates and billing portal URLs.
  • get_subscription_invoiceGet one subscription invoice by id, including amounts, status and invoice URL.
  • list_all_affiliatesList affiliates. API summary: List All Affiliates.
  • list_all_discount_redemptionsList discount redemptions. API summary: List All Discount Redemptions.
  • list_all_filesList documents. API summary: List All Files.
  • list_all_license_key_instancesList license key instances. API summary: List All License Key Instances.
  • list_all_pricesList prices. API summary: List All Prices.
  • list_all_subscription_itemsList products. API summary: List All Subscription Items.
  • list_all_usage_recordsList usage records. API summary: List All Usage Records.
  • list_all_webhooksList webhooks. API summary: List All Webhooks.
  • list_customersList customers with name, email, status and total revenue. Filter by store_id or email.
  • list_discountsList discount codes with amount, type, status and usage limits. Filter by store_id.
  • list_license_keysList license keys with their status, activation limit and customer. Filter by store_id, order_id or product_id.
  • list_order_itemsList the line items of orders. Filter by order_id, product_id or variant_id.
  • list_ordersList orders with customer email, total, status and date. Filter by store_id or user_email.
  • list_product_variantsList variants for a product. API summary: Querying API Related Resources.
  • list_productsList products with name, status and price. Filter by store_id.
  • list_storesList the stores in the account with their IDs, currency and total revenue.
  • list_subscription_invoicesList subscription invoices (renewal charges) with amount, status and date. Filter by store_id, subscription_id or status.
  • list_subscriptionsList subscriptions with customer, product, status (active, past_due, cancelled...) and renewal date. Filter by store_id, status or user_email.
  • list_variantsList product variants (the purchasable price options). Filter by product_id or status.
  • refund_invoiceMoves moneyRefund a invoice (subscription invoice id). Financial or irreversible action; may require approval. API summary: Issue a Refund.
  • retrieve_a_checkoutGet one checkout by checkout id. API summary: Retrieve a Checkout.
  • retrieve_a_discount_redemptionGet one discount redemption by discount redemption id. API summary: Retrieve a Discount Redemption.
  • retrieve_a_fileGet one document by document id. API summary: Retrieve a File.
  • retrieve_a_license_key_instanceGet one license key instance by license key instance id. API summary: Retrieve a License Key Instance.
  • retrieve_a_priceGet one price by price id. API summary: Retrieve a Price.
  • retrieve_a_storeGet one store by store id. API summary: Retrieve a Store.
  • retrieve_a_subscription_itemGet one product by product id. API summary: Retrieve a Subscription Item.
  • retrieve_a_usage_recordGet one usage record by usage record id. API summary: Retrieve a Usage Record.
  • retrieve_a_variantGet one variant by variant id. API summary: Retrieve a Variant.
  • retrieve_a_webhookGet one webhook by webhook id. API summary: Retrieve a Webhook.
  • retrieve_an_affiliateGet one affiliate by affiliate id. API summary: Retrieve an Affiliate.
  • retrieve_an_order_itemGet one order line by order line id. API summary: Retrieve an Order Item.
  • retrieve_subscription_item_s_current_usageList current usages for a product. API summary: Retrieve Subscription Item's Current Usage.
  • update_a_subscription_itemChanges dataUpdate an existing product identified by product id. Only the fields you pass are changed. API summary: Update a Subscription Item.
  • update_a_webhookDeletesUpdate an existing webhook identified by webhook id. Only the fields you pass are changed. Destructive action; may require approval. API summary: Update a Webhook.
  • update_customerChanges dataUpdate a customer by customer_id, e.g. name, email, city or status (archive).
  • update_license_keyChanges dataUpdate a license key by license_key_id: change activation_limit, expires_at or disable it (disabled=true).
  • update_subscriptionChanges dataChange a subscription by subscription_id: switch variant (plan), pause or resume, change the billing anchor, or undo a pending cancellation (cancelled=false). Plan changes can charge or credit the customer.

Set up in three steps

  1. 1

    Pick the app

    Create a free HeyMyApps account and choose Lemon Squeezy from the app list.

  2. 2

    Paste your key

    Paste a Lemon Squeezy API key. Go to Settings > API, click the + button to create a key and copy it right away, since it is shown only once. Test-mode and live-mode keys are separate.

  3. 3

    Add the link to your AI

    You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:

    1. Click your name, then Settings › Connectors › Add custom connector.
    2. Paste your link as the Remote MCP server URL.
    3. Switch it on from the + menu in a chat.

Questions

What can the AI do in Lemon Squeezy?

The AI can read stores, products, variants, orders, customers, subscriptions, renewal invoices, discounts and license keys. It can create customers, discount codes and checkout links, generate invoice PDFs, change, pause or cancel subscriptions, and update or disable license keys.

Can I try it in test mode first?

Yes. Lemon Squeezy has separate keys for test mode and live mode. Connect a test-mode key first to see how the AI works with your store, then connect a live key when you are ready.

Does the AI see my Lemon Squeezy API key?

No. Your API key is encrypted at rest and never shown to the AI. Once saved, it is not shown again, not even to you. The AI only works through the tools you switch on.

Can I control what the AI is allowed to do?

Yes. You choose which tools are switched on. Risky actions, such as cancelling a subscription or disabling a license key, can require your approval before they run. Every tool call is logged, so you can see what the AI did.

Does it work with ChatGPT?

Yes. In ChatGPT, go to Settings › Apps & Connectors › Advanced, turn on Developer mode and add your HeyMyApps link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link works in Claude under Settings › Connectors › Add custom connector, and in Cursor.

What does it cost?

HeyMyApps has a free plan, and you do not need a credit card to start. Paid plans bill per completed task, so you pay for work the AI actually finishes.

Let your AI work in Lemon Squeezy today.

Start free. Your key stays encrypted, and you decide what the AI may do.

Connect Lemon Squeezy free

HeyMyApps is not affiliated with Lemon Squeezy. Product names are trademarks of their owners.