Lemon Squeezy MCP by usefulapi
v1.43.1MCP server for Lemon Squeezy — stores, products, orders, subscriptions, license keys.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
lemonsqueezy_get_user Get authenticated user
Get the currently authenticated user/account behind the API key. Good first call to confirm auth. API: GET /users/me.
lemonsqueezy_list_stores List stores
List all stores in the account. API: GET /stores.
| Parameter | Type | Description |
|---|---|---|
include | string | Comma-separated related resources to sideload (JSON:API include=), e.g. 'store,variant'. |
page_number | integer | Page number (JSON:API page[number]). Default 1. |
page_size | integer | Results per page (JSON:API page[size], max 100). Default 10. |
lemonsqueezy_get_store Get a store
Get a single store by id. API: GET /stores/{id}.
| Parameter | Type | Description |
|---|---|---|
store_id * | string | Store id (required). |
include | string | Comma-separated related resources to sideload (JSON:API include=), e.g. 'store,variant'. |
lemonsqueezy_list_products List products
List products, optionally filtered to one store. API: GET /products (filter[store_id]).
| Parameter | Type | Description |
|---|---|---|
include | string | Comma-separated related resources to sideload (JSON:API include=), e.g. 'store,variant'. |
page_number | integer | Page number (JSON:API page[number]). Default 1. |
page_size | integer | Results per page (JSON:API page[size], max 100). Default 10. |
store_id | string | Filter to a single store id. |
lemonsqueezy_list_variants List variants
List variants (price/plan tiers), optionally filtered to one product. API: GET /variants (filter[product_id]).
| Parameter | Type | Description |
|---|---|---|
include | string | Comma-separated related resources to sideload (JSON:API include=), e.g. 'store,variant'. |
page_number | integer | Page number (JSON:API page[number]). Default 1. |
page_size | integer | Results per page (JSON:API page[size], max 100). Default 10. |
product_id | string | Filter to a single product id. |
lemonsqueezy_list_prices List prices
List price models, optionally filtered to one variant. API: GET /prices (filter[variant_id]).
| Parameter | Type | Description |
|---|---|---|
include | string | Comma-separated related resources to sideload (JSON:API include=), e.g. 'store,variant'. |
page_number | integer | Page number (JSON:API page[number]). Default 1. |
page_size | integer | Results per page (JSON:API page[size], max 100). Default 10. |
variant_id | string | Filter to a single variant id. |
lemonsqueezy_list_customers List customers
List customers, optionally filtered by store and/or email. API: GET /customers (filter[store_id], filter[email]).
| Parameter | Type | Description |
|---|---|---|
email | string | Filter to a customer email. |
include | string | Comma-separated related resources to sideload (JSON:API include=), e.g. 'store,variant'. |
page_number | integer | Page number (JSON:API page[number]). Default 1. |
page_size | integer | Results per page (JSON:API page[size], max 100). Default 10. |
store_id | string | Filter to a single store id. |
lemonsqueezy_get_customer Get a customer
Get a single customer by id. API: GET /customers/{id}.
| Parameter | Type | Description |
|---|---|---|
customer_id * | string | Customer id (required). |
include | string | Comma-separated related resources to sideload (JSON:API include=), e.g. 'store,variant'. |
lemonsqueezy_list_orders List orders
List orders, optionally filtered by store and/or buyer email. API: GET /orders (filter[store_id], filter[user_email]).
| Parameter | Type | Description |
|---|---|---|
include | string | Comma-separated related resources to sideload (JSON:API include=), e.g. 'store,variant'. |
page_number | integer | Page number (JSON:API page[number]). Default 1. |
page_size | integer | Results per page (JSON:API page[size], max 100). Default 10. |
store_id | string | Filter to a single store id. |
user_email | string | Filter to a buyer email. |
lemonsqueezy_get_order Get an order
Get a single order by id. API: GET /orders/{id}.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Order id (required). |
include | string | Comma-separated related resources to sideload (JSON:API include=), e.g. 'store,variant'. |
lemonsqueezy_list_subscriptions List subscriptions
List subscriptions with rich filtering by store, status, product, variant, customer, or buyer email. API: GET /subscriptions (filter[store_id], filter[status], filter[product_id], filter[variant_id], filter[customer_id], filter[user_email]).
| Parameter | Type | Description |
|---|---|---|
customer_id | string | Filter to a single customer id. |
include | string | Comma-separated related resources to sideload (JSON:API include=), e.g. 'store,variant'. |
page_number | integer | Page number (JSON:API page[number]). Default 1. |
page_size | integer | Results per page (JSON:API page[size], max 100). Default 10. |
product_id | string | Filter to a single product id. |
status | string | Filter by subscription status. |
store_id | string | Filter to a single store id. |
user_email | string | Filter to a buyer email. |
variant_id | string | Filter to a single variant id. |
lemonsqueezy_get_subscription Get a subscription
Get a single subscription by id. API: GET /subscriptions/{id}.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | Subscription id (required). |
include | string | Comma-separated related resources to sideload (JSON:API include=), e.g. 'store,variant'. |
lemonsqueezy_list_subscription_invoices List subscription invoices
List subscription invoices, optionally filtered by store, status, or refunded flag. API: GET /subscription-invoices (filter[store_id], filter[status], filter[refunded]).
| Parameter | Type | Description |
|---|---|---|
include | string | Comma-separated related resources to sideload (JSON:API include=), e.g. 'store,variant'. |
page_number | integer | Page number (JSON:API page[number]). Default 1. |
page_size | integer | Results per page (JSON:API page[size], max 100). Default 10. |
refunded | boolean | Filter by refunded flag. |
status | string | Filter by invoice status (e.g. paid, void, refunded). |
store_id | string | Filter to a single store id. |
lemonsqueezy_list_license_keys List license keys
List license keys, optionally filtered by store, order, or product. API: GET /license-keys (filter[store_id], filter[order_id], filter[product_id]).
| Parameter | Type | Description |
|---|---|---|
include | string | Comma-separated related resources to sideload (JSON:API include=), e.g. 'store,variant'. |
order_id | string | Filter to a single order id. |
page_number | integer | Page number (JSON:API page[number]). Default 1. |
page_size | integer | Results per page (JSON:API page[size], max 100). Default 10. |
product_id | string | Filter to a single product id. |
store_id | string | Filter to a single store id. |
lemonsqueezy_list_discounts List discounts
List discounts, optionally filtered to one store. API: GET /discounts (filter[store_id]).
| Parameter | Type | Description |
|---|---|---|
include | string | Comma-separated related resources to sideload (JSON:API include=), e.g. 'store,variant'. |
page_number | integer | Page number (JSON:API page[number]). Default 1. |
page_size | integer | Results per page (JSON:API page[size], max 100). Default 10. |
store_id | string | Filter to a single store id. |
lemonsqueezy_create_checkout Create checkout
WRITE: Create a hosted checkout / payment link for a store + variant. Returns the created checkout including its `url` (the shareable payment link). API: POST /checkouts.
| Parameter | Type | Description |
|---|---|---|
store_id * | string | Store id (required). |
variant_id * | string | Variant id to sell (required). |
checkout_data | object | JSON:API checkout_data object (email, name, custom, discount_code, etc.). |
checkout_options | object | JSON:API checkout_options object (embed, media, button_color, etc.). |
custom_price | integer | Override price in cents (integer). |
expires_at | string | ISO 8601 date-time when the checkout link expires. |
product_options | object | JSON:API product_options object (name, description, redirect_url, etc.). |
lemonsqueezy_update_subscription Update subscription
WRITE: Modify a LIVE subscription — change plan/tier (variant_id), cancel, pause/unpause, or set the billing anchor. This affects a real customer's billing. API: PATCH /subscriptions/{id}.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | Subscription id to update (required). |
billing_anchor | integer | Day of month (1-31) to anchor billing to. |
cancelled | boolean | Set true to cancel, false to un-cancel. |
pause | Pause object (mode, resumes_at), or null to unpause. | |
variant_id | integer | New variant id to switch the plan/tier to. |
lemonsqueezy_cancel_customer_subscription Cancel subscription
WRITE: Cancel a LIVE subscription. It remains active until the end of the current billing period, then moves to `cancelled`. This affects a real customer. API: DELETE /subscriptions/{id}.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | Subscription id to cancel (required). |
lemonsqueezy_refund_order Refund an order
WRITE: Refund an order in full or in part, so money goes back to the buyer. Without confirm=true it only returns a preview (total, amount already refunded, amount still refundable) and refunds nothing. Ask the user before confirm=true. A fully refunded order is refused. API: GET /orders/{id}, then POST /orders/{id}/refund.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Order id to refund (required). |
amount | integer | Amount to refund in the order currency's smallest unit (integer): cents for USD or EUR, whole yen for JPY. Omit for a full refund. Check the order currency in the preview first. |
confirm | boolean | Must be true to issue the refund. Otherwise a preview is returned. |
lemonsqueezy_activate_license_key Activate a license key
WRITE: Activate a license key on a new instance (one machine or install). Each confirmed call creates a new instance and uses one activation slot of the key. Without confirm=true it only returns a preview (key status, activation count and limit) and changes nothing. Ask the user before confirm=true, and only when the preview's can_proceed is true. License API: POST /licenses/validate, then POST /licenses/activate.
| Parameter | Type | Description |
|---|---|---|
instance_name * | string | A label for the new instance, shown in Lemon Squeezy (required). |
license_key * | string | The license key to activate (required). |
confirm | boolean | Must be true to activate. Otherwise a preview is returned. |
lemonsqueezy_deactivate_license_key Deactivate a license key instance
WRITE: Deactivate one instance of a license key, which frees its activation slot. The software on that instance loses its activation. Without confirm=true it only returns a preview of the instance and changes nothing. Ask the user before confirm=true, and only when the preview's can_proceed is true. License API: POST /licenses/validate, then POST /licenses/deactivate.
| Parameter | Type | Description |
|---|---|---|
instance_id * | string | The instance id returned when the key was activated (required). |
license_key * | string | The license key (required). |
confirm | boolean | Must be true to deactivate. Otherwise a preview is returned. |