Lemon Squeezy Automation
Scannednpx machina-cli add skill ComposioHQ/awesome-claude-skills/lemon-squeezy-automation --openclawLemon Squeezy Automation
Manage your Lemon Squeezy digital products business -- track orders, monitor subscriptions, analyze customers, review discounts, and audit checkouts -- all through natural language commands.
Toolkit docs: composio.dev/toolkits/lemon_squeezy
Setup
- Add the Composio MCP server to your client configuration:
https://rube.app/mcp - Connect your Lemon Squeezy account when prompted (API key authentication).
- Start issuing natural language commands to manage your store.
Core Workflows
1. Discover Stores and Products
List all stores to get store IDs, then retrieve products and variants for a specific store.
Tools: LEMON_SQUEEZY_LIST_ALL_STORES, LEMON_SQUEEZY_LIST_ALL_PRODUCTS, LEMON_SQUEEZY_LIST_ALL_VARIANTS
Example prompt:
"List all my Lemon Squeezy stores and their products"
Key parameters:
LEMON_SQUEEZY_LIST_ALL_STORES-- No parameters requiredLEMON_SQUEEZY_LIST_ALL_PRODUCTS-- Filter byfilter[store_id]LEMON_SQUEEZY_LIST_ALL_VARIANTS-- Filter byfilter[product_id],filter[status](pending/draft/published)
2. Track Orders and Order Items
Retrieve all orders with optional filtering by store, user email, or order number, and drill into individual order items.
Tools: LEMON_SQUEEZY_LIST_ALL_ORDERS, LEMON_SQUEEZY_LIST_ALL_ORDER_ITEMS
Example prompt:
"Show all orders from johndoe@example.com in my Lemon Squeezy store"
Key parameters for orders:
filter[store_id]-- Filter by store IDfilter[user_email]-- Filter by customer emailfilter[order_number]-- Filter by specific order numberpage[number]/page[size]-- Pagination (max 100 per page)
Key parameters for order items:
filter[order_id],filter[product_id],filter[variant_id]-- Filter by related entity
3. Monitor Subscriptions
List all subscriptions with rich filtering options to track recurring revenue.
Tool: LEMON_SQUEEZY_LIST_ALL_SUBSCRIPTIONS
Example prompt:
"Show all active subscriptions in my Lemon Squeezy store"
Key parameters:
filter[status]-- Filter by status (e.g.,active,cancelled)filter[store_id]-- Filter by storefilter[product_id]-- Filter by productfilter[user_email]-- Filter by subscriber emailfilter[variant_id]-- Filter by variantpage[number]/page[size]-- Pagination (max 100 per page)
4. Manage Customers
Retrieve customer records with details including email, MRR, total revenue, and customer portal URLs.
Tool: LEMON_SQUEEZY_LIST_ALL_CUSTOMERS
Example prompt:
"Find the Lemon Squeezy customer with email johndoe@example.com"
Key parameters:
filter[email]-- Filter by exact email addressfilter[store_id]-- Filter by store IDpage[number]/page[size]-- Pagination (max 100 per page)
5. Audit Discounts and Redemptions
List all discount codes and track how they have been redeemed across orders.
Tools: LEMON_SQUEEZY_LIST_ALL_DISCOUNTS, LEMON_SQUEEZY_LIST_ALL_DISCOUNT_REDEMPTIONS
Example prompt:
"Show all discounts for store 12345 and their redemption history"
Key parameters for discounts:
filter[store_id]-- Filter by storepage[number]/page[size]-- Pagination
Key parameters for redemptions:
filter[discount_id]-- Filter by discountfilter[order_id]-- Filter by order
6. Review Checkouts
List all checkout sessions with optional filtering by store or variant.
Tool: LEMON_SQUEEZY_LIST_ALL_CHECKOUTS
Example prompt:
"Show all checkouts for variant 42 in my Lemon Squeezy store"
Key parameters:
filter[store_id]-- Filter by store IDfilter[variant_id]-- Filter by variant ID
Known Pitfalls
- Store ID is foundational: Most filters require a
store_id. Always callLEMON_SQUEEZY_LIST_ALL_STORESfirst to discover valid store IDs before filtering other resources. - Pagination is mandatory for large datasets: All list endpoints use
page[number]/page[size]pagination (max 100 per page). Do not assume the first page is complete. - Filter parameter naming: Lemon Squeezy uses bracket notation for filters (e.g.,
filter[store_id],page[number]). Ensure exact parameter names are used. - Subscription invoices vs. orders: Subscription invoices (
LEMON_SQUEEZY_LIST_ALL_SUBSCRIPTION_INVOICES) are separate from one-time orders. Use the appropriate endpoint for your use case.
Quick Reference
| Action | Tool Slug | Required Params |
|---|---|---|
| List stores | LEMON_SQUEEZY_LIST_ALL_STORES | None |
| List products | LEMON_SQUEEZY_LIST_ALL_PRODUCTS | None (optional filters) |
| List variants | LEMON_SQUEEZY_LIST_ALL_VARIANTS | None (optional filters) |
| List orders | LEMON_SQUEEZY_LIST_ALL_ORDERS | None (optional filters) |
| List order items | LEMON_SQUEEZY_LIST_ALL_ORDER_ITEMS | None (optional filters) |
| List subscriptions | LEMON_SQUEEZY_LIST_ALL_SUBSCRIPTIONS | None (optional filters) |
| List customers | LEMON_SQUEEZY_LIST_ALL_CUSTOMERS | None (optional filters) |
| List discounts | LEMON_SQUEEZY_LIST_ALL_DISCOUNTS | None (optional filters) |
| List discount redemptions | LEMON_SQUEEZY_LIST_ALL_DISCOUNT_REDEMPTIONS | None (optional filters) |
| List checkouts | LEMON_SQUEEZY_LIST_ALL_CHECKOUTS | None (optional filters) |
Powered by Composio
Source
git clone https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/lemon-squeezy-automation/SKILL.mdView on GitHub Overview
Lemon Squeezy Automation lets you manage your digital store using natural language commands. It covers orders, subscriptions, customers, discounts, and checkout auditing, all through the Composio MCP integration.
How This Skill Works
Connect to the MCP server at https://rube.app/mcp and authenticate your Lemon Squeezy account with an API key. The skill maps natural language prompts to specific tools like LEMON_SQUEEZY_LIST_ALL_ORDERS, LEMON_SQUEEZY_LIST_ALL_CUSTOMERS, and others, then returns structured results from Lemon Squeezy.
When to Use It
- Onboard or audit stores and products by discovering stores and their products
- Review and drill into orders across stores and customers
- Monitor subscriptions to track active revenue and status
- Manage customer records with details such as email, revenue, and portal URLs
- Audit discounts and redemption histories across stores
Quick Start
- Step 1: Add the Composio MCP server to your client configuration: https://rube.app/mcp
- Step 2: Connect your Lemon Squeezy account when prompted (API key authentication)
- Step 3: Start issuing natural language commands to manage your store
Best Practices
- Start with listing stores to retrieve IDs before filtering data
- Use precise filters like filter[store_id], filter[user_email], and filter[order_number]
- Respect pagination with page[number] and page[size] (max 100 per page)
- Combine related tools for full context (orders with items, discounts with redemptions)
- Cross-check results against raw API responses to verify data accuracy
Example Use Cases
- List all Lemon Squeezy stores and their products
- Show all orders from johndoe@example.com in a specific store
- Show all active subscriptions in my Lemon Squeezy store
- Find the Lemon Squeezy customer with email johndoe@example.com
- Show all discounts for store 12345 and their redemption history