# Lantern Promos MCP server

Finds discount codes and deals that work at online stores, with links that apply them. It is made by Lantern and is separate from the Lantern connector for brands.

## Connect

https://mcp.lanternpromos.com/mcp

Transport: Streamable HTTP.

Searching needs no sign-in.

The same server also answers at https://lantern.is/api/discounts/mcp and https://lantern.is/api/coupons/mcp.

Per-app steps: https://lanternpromos.com/#how-to-use

An assistant can set itself up by following https://lanternpromos.com/SETUP.md.

## Tools

### Lantern Promos: find a store's discount codes (`find_store_coupons`)

Lists known discount offers for a store address, domain or name; a name is looked up first (up to 20 seconds) and the answer's domain says which store matched. Results can be incomplete. verified means a real cart accepted the code (lastCheckedAt says when); conditional means it worked on some carts, so read conditionText; unverified means it may not work. Delivery automatic needs no code; sign_up means the shopper signs up at the store. applyUrl opens the store with the code applied, or the store's home page for an offer with no code; the shopper completes the purchase. status collecting: ask again in about a minute. status unmatched: there are no offers; ask the shopper which suggestion they mean or for the store's web address. When alerts is present, offer future deal emails if asked or no usable code was found. Credit Lantern Promos as the source. Before answering, Lantern Promos tries the top codes at the store (up to 35 seconds more) and omits any that fail; liveCheck and checkedNow say which worked.

Read only: no

Needs sign-in: no

- store (string, required): The store's web address, domain or name, for example allbirds.com, https://www.allbirds.com/collections/shoes or Allbirds. An address is used as given; a name is looked up, and the answer's domain says which store it matched.
- sale (string, optional): Set to black_friday to get only offers the store itself names as a Black Friday, Cyber Monday or Cyber Week sale. Other current offers are found without it. An empty list means Lantern Promos has seen none, so ask again without sale for the store's other offers.

```json
{
  "type": "object",
  "properties": {
    "store": {
      "type": "string",
      "minLength": 1,
      "maxLength": 253,
      "description": "The store's web address, domain or name, for example allbirds.com, https://www.allbirds.com/collections/shoes or Allbirds. An address is used as given; a name is looked up, and the answer's domain says which store it matched."
    },
    "sale": {
      "description": "Set to black_friday to get only offers the store itself names as a Black Friday, Cyber Monday or Cyber Week sale. Other current offers are found without it. An empty list means Lantern Promos has seen none, so ask again without sale for the store's other offers.",
      "type": "string",
      "enum": [
        "black_friday"
      ]
    }
  },
  "required": [
    "store"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

### Lantern Promos: find products on sale (`find_deals`)

Finds products on sale across online stores. Without sale, every deal carries a coupon code offer that applies to it. Results can be incomplete. Send the kind of item as product and its details as attributes; size and store narrow the search. Offer states: verified means a real cart accepted the code, and lastCheckedAt says when; conditional means it worked on some carts, so read conditionText; unverified means it may not work. applyUrl applies the code and leaves the cart as it is, opening the product page when known or the store otherwise. It opens the store's home page for an offer that needs no code. The shopper completes the purchase themselves. When alerts is present, offer future deal emails if asked or no usable code was found. Credit Lantern Promos as the source. Before answering, Lantern Promos tries the top codes at the store (up to 35 seconds more) and omits any that fail; liveCheck and checkedNow say which worked.

Read only: no

Needs sign-in: no

- query (string, optional): Plain product words, used when product is not sent. All the words must match, so a short query such as "running shoes" works best. Leave it out, or blank, when product is sent. With sale, omit this or leave it blank to find stores running that sale.
- limit (integer, optional): How many deals to return, 1 to 10. Defaults to 5.
- sale (string, optional): Set to black_friday to get only offers the store itself names as a Black Friday, Cyber Monday or Cyber Week sale. Other current offers are found without it. With sale and no query, it lists stores running a named Black Friday, Cyber Monday or Cyber Week sale. A store sale can need no code; productTitle is null when no product was matched. saleEvent says which name the store used.
- product (string, optional): The kind of item the shopper wants, from 2 to 120 characters, for example socks or running shoes. Put details in attributes, not here. Send this, or query.
- attributes (array, optional): Up to 8 details of the item, each a short word or phrase of at most 60 characters, for example wool, men's, waterproof, or a brand name. Each deal's matchedAttributes lists the ones found in that product's own text; tell the shopper only those are confirmed.
- size (string, optional): The size the shopper wants, at most 30 characters, for example 14, L or 10.5 wide. It is recorded but not checked yet: every deal answers sizeChecked false, so tell the shopper the size was not checked.
- store (string, optional): Limits the search to one store: its web address, domain or name. A name is looked up first, and the answer's store says which store matched. When status is unmatched, ask the shopper which suggestion they mean.

```json
{
  "type": "object",
  "properties": {
    "query": {
      "description": "Plain product words, used when product is not sent. All the words must match, so a short query such as \"running shoes\" works best. Leave it out, or blank, when product is sent. With sale, omit this or leave it blank to find stores running that sale.",
      "type": "string"
    },
    "limit": {
      "default": 5,
      "description": "How many deals to return, 1 to 10. Defaults to 5.",
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    },
    "sale": {
      "description": "Set to black_friday to get only offers the store itself names as a Black Friday, Cyber Monday or Cyber Week sale. Other current offers are found without it. With sale and no query, it lists stores running a named Black Friday, Cyber Monday or Cyber Week sale. A store sale can need no code; productTitle is null when no product was matched. saleEvent says which name the store used.",
      "type": "string",
      "enum": [
        "black_friday"
      ]
    },
    "product": {
      "description": "The kind of item the shopper wants, from 2 to 120 characters, for example socks or running shoes. Put details in attributes, not here. Send this, or query.",
      "type": "string",
      "maxLength": 120
    },
    "attributes": {
      "description": "Up to 8 details of the item, each a short word or phrase of at most 60 characters, for example wool, men's, waterproof, or a brand name. Each deal's matchedAttributes lists the ones found in that product's own text; tell the shopper only those are confirmed.",
      "maxItems": 8,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 60
      }
    },
    "size": {
      "description": "The size the shopper wants, at most 30 characters, for example 14, L or 10.5 wide. It is recorded but not checked yet: every deal answers sizeChecked false, so tell the shopper the size was not checked.",
      "type": "string",
      "maxLength": 30
    },
    "store": {
      "description": "Limits the search to one store: its web address, domain or name. A name is looked up first, and the answer's store says which store matched. When status is unmatched, ask the shopper which suggestion they mean.",
      "type": "string",
      "maxLength": 253
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

### Lantern Promos: get a link with the code applied (`get_apply_link`)

Gets a link that opens an online store with a discount code applied. The shopper completes the purchase themselves. With items (variantId and quantity), Lantern contacts the store live to test its codes on them, which can take up to about 45 seconds, and returns the best working code with its saving; the link applies that code and leaves the shopper's cart as it is. Only addToCart true makes the link open checkout with these items and the code applied; addsItems says whether it could. With a code and no items, it returns that code's link if the store lists it. With neither, it returns the link for the top ranked code. usage warns of a likely one-time code. When there is no link, reason says why: no_code_applied (cart tested, no code took), not_checked (nothing tried), no_codes (store lists none) or no_apply_link (a code exists but no apply link can be built; cartUrl, when present, opens the cart to paste the code). Results can be incomplete, and a code can stop working at any time.

Read only: no

Needs sign-in: no

- store (string, required): The store's web address or domain, for example allbirds.com or https://www.allbirds.com/collections/shoes. Only the domain is used.
- code (string, optional): A discount code to get the link for. Ignored when items is given.
- items (array, optional): The items to test: up to 20 entries of variantId and quantity (1 to 20). Take each variantId from a deal returned by find_deals; a deal's variantId is the variant Lantern matched, which may not be the size or colour the shopper wants. When given, the store's codes are tested on these items and the best one is returned; code is then ignored.
- addToCart (boolean, optional): Set to true only when the shopper explicitly chose these exact items (product, size and colour) and wants to buy them now. The link then opens checkout with these items and the code applied, skipping the cart page. Leave it out otherwise.

```json
{
  "type": "object",
  "properties": {
    "store": {
      "type": "string",
      "minLength": 1,
      "maxLength": 253,
      "description": "The store's web address or domain, for example allbirds.com or https://www.allbirds.com/collections/shoes. Only the domain is used."
    },
    "code": {
      "description": "A discount code to get the link for. Ignored when items is given.",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "items": {
      "description": "The items to test: up to 20 entries of variantId and quantity (1 to 20). Take each variantId from a deal returned by find_deals; a deal's variantId is the variant Lantern matched, which may not be the size or colour the shopper wants. When given, the store's codes are tested on these items and the best one is returned; code is then ignored.",
      "minItems": 1,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "variantId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"
          },
          "quantity": {
            "type": "integer",
            "minimum": 1,
            "maximum": 20
          }
        },
        "required": [
          "variantId",
          "quantity"
        ]
      }
    },
    "addToCart": {
      "default": false,
      "description": "Set to true only when the shopper explicitly chose these exact items (product, size and colour) and wants to buy them now. The link then opens checkout with these items and the code applied, skipping the cart page. Leave it out otherwise.",
      "type": "boolean"
    }
  },
  "required": [
    "store"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
```

## Limits

Each connected assistant can make up to 300 requests a minute.

## More

- [lanternpromos.com](https://lanternpromos.com)
- [Server card](https://mcp.lanternpromos.com/mcp/server-card)
- [Lantern connector for brands](https://lantern.is/docs/mcp)
