Integrates with Lemon Squeezy to manage subscriptions, checkouts, and products.
A Model Context Protocol (MCP) server implementation that integrates with Lemon Squeezy for handling subscriptions, checkouts, products, and more. This server provides a structured interface to programmatically manage your Lemon Squeezy store with audit logging and tool-based control.
The server provides an MCP-compatible resource for operation auditing:
read_resource
endpointImplements a full set of Lemon Squeezy operations via MCP tools:
get_user
: Get current Lemon Squeezy user infolist_stores
: List all storesget_store
: Fetch a specific storelist_products
: List productsget_product
: Get product detailsget_product_variants
: List variants for a productlist_orders
: List all ordersget_order
: Get details of an orderlist_customers
: List all customersget_customer
: Fetch customer detailslist_subscriptions
: List subscriptionsget_subscription
: Get a subscriptionlist_license_keys
: List license keysget_license_key
: Fetch license key infocreate_checkout
: Create a fully customized checkout sessioncreate_webhook
: Register a new webhooklist_webhooks
: List all webhooks (filterable by store)To install LemonSqueezy Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @atharvagupta2003/mcp-lemonsqueezy --client claude
python -m venv venv
source venv/bin/activate # On macOS/Linux
venv\Scripts\activate # On Windows
pip install -e .
Set up the environment variables in a .env
file:
LEMON_SQUEEZY_API_KEY=your_lemonsqueezy_api_key
Add the server configuration to your Claude Desktop config:
Windows: C:\Users<username>\AppData\Roaming\Claude\claude_desktop_config.json
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"lemonsqueezy": {
"command": "/Users/hp/.local/bin/uv",
"description": "Operations with lemonsqueezy payment platform",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/src/mcp_lemonsqueezy",
"run",
"--with",
"fastmcp",
"server.py"
],
"env": {
"LEMONSQUEEZY_API_KEY": "<YOUR-API-KEY>"
}
}
}
}
uv run src/mcp_lemonsqueezy/server.py
{
"tool": "get_user",
"arguments": {}
}
{
"tool": "list_stores",
"arguments": {}
}
{
"tool": "get_store",
"arguments": {
"store_id": "164870"
}
}
The server provides clear error messages for common scenarios:
Run the MCP Inspector for interactive testing:
npx @modelcontextprotocol/inspector uv run --with fastmcp /ABSOLUTE/PATH/TO/PARENT/FOLDER/src/mcp_lemonsqueezy/server.py
uv compile pyproject.toml
uv build
We welcome contributions! Please see our Contributing Guidelines for details.
This project is licensed under the MIT License - see the LICENSE file for details.
A server for Kubernetes CLI tools like kubectl, istioctl, helm, and argocd, supporting multi-cluster management via dynamic kubeconfig.
Create, manage, and explore your content and content model using natural language in any MCP-compatible AI tool.
Get up-to-date EC2 pricing information with one call. Fast. Powered by a pre-parsed AWS pricing catalogue.
A server for interacting with the Alpaca trading API. Requires API credentials via environment variables.
Interact with Stripe API
Advanced text-to-image generation model using the fal.ai API. Requires a FAL_KEY environment variable.
Provides Optical Character Recognition (OCR) services using Google's Gemini API.
Interact with your AWS environment using natural language. Requires local AWS credentials.
A template for deploying a remote, authentication-free MCP server on Cloudflare Workers.
A Python MCP server for Microsoft Entra ID (Azure AD) directory, user, group, device, sign-in, and security operations via Microsoft Graph.