Skip to content

Coupon Code Generator MCP tool

MCP findutils:coupon_code_generator

Generate a batch of unique random coupon or promo codes: an optional prefix, a random part of a chosen length and character set (with an option to drop the look-alikes 0, O, 1, I and L), and optional groups split by a separator. Codes come from crypto.getRandomValues with unbiased sampling, every code in a batch is different, and a request for more codes than the pattern can make is refused. Up to 10,000 codes per call.

Needs an API key. Running a tool needs an API key. Keys are not for sale yet: ask for early access. About API keys

Arguments

application/json
  • count

    integer optional

    How many codes to make (1-10000). Default 10. Default 10.

  • length

    integer optional

    Characters in the random part, not counting the prefix or separators (1-32). Default 8. Default 8.

  • prefix

    string optional

    Text put in front of every code, such as "SPRING-". Starts with a letter or digit; letters, digits, "-" and "_" only, up to 20 characters.

  • charset

    string optional

    Characters of the random part: upper_digits (A-Z and 0-9, default), upper (A-Z), digits (0-9), lower_digits (a-z and 0-9) or custom (custom_charset). One of upper_digits · upper · digits · lower_digits · custom. Default "upper_digits".

  • custom_charset

    string optional

    The characters to draw from when charset is custom: letters and digits, at least 2 different ones. Repeats are ignored.

  • exclude_lookalikes

    boolean optional

    Drop 0, O, 1, I and L (and o, i, l) so a code cannot be misread. Default true. Default true.

  • group_size

    integer optional

    Split the random part into groups of this many characters (0 = no groups, the default). Default 0.

  • separator

    string optional

    Character between groups: "-" (default), "_" or ".". One of - · _ · .. Default "-".

Example arguments

Verified
{
  "count": 5,
  "length": 8,
  "prefix": "SPRING-",
  "group_size": 4
}