LemonSqueezy MCP Server logo

LemonSqueezy MCP Server

Manage Lemon Squeezy stores, customers, products, orders, prices, and subscriptions through MCP.

Install LemonSqueezy MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "lemonsqueezy-mcp-server-2": {
      "command": "npx",
      "args": [
        "-y",
        "@yawlabs/lemonsqueezy-mcp@latest"
      ],
      "env": {
        "LEMONSQUEEZY_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

LemonSqueezy MCP Server connects AI assistants to the Lemon Squeezy API for store administration. It exposes tools for customers, products, variants, prices, files, orders, invoices, and subscriptions, including selected update, refund, archive, and cancellation operations. Run it over stdio with Node.js 22+ and authenticate using a Lemon Squeezy API key. Reach for it when an agent needs to inspect commerce data or perform controlled store-management tasks from an MCP-compatible client.

Use cases

  • Inspect store sales and customer records
  • Compare product variants and effective prices
  • Generate order or subscription invoice URLs
  • Update or cancel customer subscriptions
  • Issue order and invoice refunds

Key features

  • Paginated Lemon Squeezy resource listing
  • Customer, product, order, and subscription management
  • Effective per-unit price annotations
  • PDF invoice URL generation
  • Subscription plan and billing updates
  • Stdio, npx, and Docker deployment

Tools64

What LemonSqueezy MCP Server lets your agent do. Expand a tool for its parameters.

Verified live~12.4k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

10/10 checks healthy over the last 44d

What it can do

From the 64 tools this server returned when we ran it; 64 declare their own safety hints.

Can delete or modify data · 13Handles credentials · 15Makes network requests · 64Read-only tools · 51
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age195 days
Maintainers1

Observed 2026-10-21 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @yawlabs/lemonsqueezy-mcp@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
npm downloads1.1kPackage downloads in the last 30 days.
Last commit12d agoMost recent push to the default branch.
Tools exposed64Callable tools this server registers over MCP.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How LemonSqueezy MCP Server works

What LemonSqueezy MCP Server does

LemonSqueezy MCP Server gives MCP-compatible assistants access to Lemon Squeezy store data and selected management operations. It can retrieve the authenticated user, inspect stores, and work with customers, products, variants, prices, downloadable files, orders, order items, subscriptions, and subscription invoices.

Read operations cover individual resources and paginated lists. List tools support filters such as store, product, variant, customer email, order, subscription, or status where applicable. Write operations include creating and editing customers, archiving customers, updating subscriptions, cancelling subscriptions, and issuing order or subscription-invoice refunds. Invoice tools generate PDF download URLs.

How it works

The package runs as an MCP process using stdio transport and forwards tool requests to the Lemon Squeezy API. An assistant can translate a natural-language request into several calls—for example, locating a subscription, inspecting its plan and invoices, and then presenting the relevant figures.

Pagination metadata is returned by list operations; clients should inspect meta.page for the current page, final page, and total. Price resources include an effective_unit_price value. For tiered pricing, unit_price is not the amount charged, while package pricing represents a block of units; the annotated effective value is the safer field for per-unit calculations. When multiple prices exist for a variant, the newest record by created_at is the current one.

Destructive actions have important operational consequences. Order and subscription-invoice refunds are irreversible and use cents as the amount. Subscription cancellation leaves the subscription active through the current billing period. Subscription plan changes, pauses, billing-anchor changes, immediate invoicing, and trial-end changes can affect what a customer pays or when they pay.

Setup and configuration

Install and run the package with:

Terminal
npx -y @yawlabs/lemonsqueezy-mcp@latest

Node.js 22 or newer is required. Set LEMONSQUEEZY_API_KEY to a key from the Lemon Squeezy dashboard. Claude Desktop and Claude Code can launch the package with npx, passing the API key through the MCP configuration's env object.

A Dockerfile is included for a stdio container deployment. The documented image uses Node 22 Alpine and runs as the non-root node user; the container must receive the API key and an interactive stdin connection. A matching Podman-oriented Containerfile is also available. Smithery can install the package and prompt for environment variables.

Tools and capabilities

Available tool groups include:

  • User and store inspection, including store metadata and sales statistics.
  • Customer lookup, listing, creation, editing, and reversible archiving.
  • Product, variant, price, and downloadable-file discovery.
  • Order and order-item lookup, filtered listing, PDF invoice generation, and refunds.
  • Subscription and invoice lookup, filtering, plan changes, pausing, cancellation, invoice generation, and refunds.

Store filters and allowlists require care. ls_list_stores returns every store visible to the API key and is not restricted by LEMONSQUEEZY_ALLOWED_STORE_IDS. For several cross-store list operations, setting an allowlist requires a narrowing identifier such as productId, variantId, orderId, or storeId, depending on the tool. A scoped Lemon Squeezy API key remains the actual boundary for store visibility.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about LemonSqueezy MCP Server

LemonSqueezy MCP Server is an MCP server that connects AI assistants to the Lemon Squeezy API. Its main tools retrieve and manage stores, customers, products, variants, prices, orders, invoices, and subscriptions, including selected updates, cancellations, invoice generation, and refunds. It runs over stdio and authenticates with a Lemon Squeezy API key.

Install it with `npx -y @yawlabs/lemonsqueezy-mcp@latest` and provide `LEMONSQUEEZY_API_KEY` in the MCP client's environment. Node.js 22 or newer is required. Claude Desktop and Claude Code configurations can launch the package directly with `npx`.

Yes, LemonSqueezy MCP Server works with Claude Desktop through its stdio MCP configuration. Add an entry that runs the package with `npx -y @yawlabs/lemonsqueezy-mcp@latest` and set `LEMONSQUEEZY_API_KEY` in the entry's `env` object.

Use the newest price record by `created_at` and read `effective_unit_price`, not a variant's `price` field or a price resource's `unit_price`. Tiered pricing stores the charged amount in `tiers`, while package pricing charges for a block and reports the per-unit figure separately.

Partially, with important limits. `LEMONSQUEEZY_ALLOWED_STORE_IDS` narrows several list tools, but `ls_list_stores` still returns every store visible to the API key. Use a scoped Lemon Squeezy API key for the actual cross-store access boundary.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLemonSqueezy MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/lemonsqueezy-mcp-server-2?style=directory)](https://allmcps.com/mcp/lemonsqueezy-mcp-server-2)
HTML Embed
<a href="https://allmcps.com/mcp/lemonsqueezy-mcp-server-2"><img src="https://allmcps.com/api/badge/lemonsqueezy-mcp-server-2?style=directory" alt="LemonSqueezy MCP Server on AllMCPs" /></a>