Docs/Skills/Lottery Number Skill

Lottery Number Skill

Generate random lottery numbers

OperationalCredits 2 per callp50 150msGames

Overview

Generate multiple tickets at once with properly formatted number sets, perfect for lottery apps, gaming platforms, or random number generation needs.

Live Test Lottery Number Skill Skill →

The tool

Once your client is connected to the VerveKit server, this appears in its tool list as LotteryNumberSkill. It is read-only and open-world — it fetches and never mutates anything on your side — so most clients call it without asking you to confirm.

Tool call
{
  "name": "LotteryNumberSkill",
  "arguments": {}
}

Connecting

One server URL covers every skill in the catalog, including this one. Authorization is OAuth: the client opens a browser once, and there is no key to paste into a config file.

{
  "mcpServers": {
    "vervekit": {
      "url": "https://api.vervekit.com/v1/mcp"
    }
  }
}

Per-client setup — Claude, Cursor, VS Code, ChatGPT — is on the MCP setup page.

Arguments

These are the properties on the tool's inputSchema, so a well-behaved client validates them before the call is made. Premium arguments are accepted on every plan but only take effect on plans that include them.

ArgumentTypeDescription
gameOptionalstringLottery game preset
custompowerballmegamillionseuromillionseurojackpotlotto649
default custom
numbersOptionalintegerNumber of main numbers to pick (for custom game)
default 6 · range 1–20
maxOptionalintegerMaximum number for main numbers (for custom game)
default 49 · range 10–100
bonusOptionalintegerNumber of bonus numbers (for custom game)
range 0–5
ticketsOptionalintegerNumber of tickets to generate
default 1 · range 1–25
bonusmaxOptionalintegerHighest value a bonus ball can take. Only applies when game is custom; named games use their own rules
default 10 · range 1–∞

What the model gets back

The result carries a structuredContent object matching the tool's declared outputSchema, so a client reads fields without parsing prose. status is "ok" and error is null on success; a null field means the value was not available for that input, not that the call failed.

Result
{
  "status": "ok",
  "error": null,
  "data": {
    "game": "Powerball (US)",
    "game_type": "powerball",
    "config": {
      "main_numbers_count": 5,
      "main_numbers_range": "1-69",
      "bonus_numbers_count": 1,
      "bonus_numbers_range": "1-26"
    },
    "tickets_generated": 3,
    "tickets": [
      {
        "ticket_number": 1,
        "main_numbers": [
          11,
          12,
          51,
          53,
          58
        ],
        "bonus_numbers": [
          3
        ]
      },
      {
        "ticket_number": 2,
        "main_numbers": [
          4,
          24,
          28,
          46,
          61
        ],
        "bonus_numbers": [
          3
        ]
      },
      {
        "ticket_number": 3,
        "main_numbers": [
          12,
          13,
          29,
          49,
          60
        ],
        "bonus_numbers": [
          6
        ]
      }
    ]
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
gamestringPowerball (US)Lottery game type used for generation
game_typestringpowerballThe lottery game the numbers were picked for
configobject{…}The game's rules, showing how many numbers are drawn from what range
config.main_numbers_countnumber5How many main numbers the game draws
config.main_numbers_rangestring1-69Range the main numbers are drawn from
config.bonus_numbers_countnumber1How many bonus numbers the game draws
config.bonus_numbers_rangestring1-26Range the bonus numbers are drawn from
tickets_generatednumber3Number of tickets returned
ticketsarray[3]Array of generated lottery tickets with numbers
tickets.0.ticket_numbernumber1Position of this ticket in the set
tickets.0.main_numbersarray[11,12,51]Main lottery numbers for the ticket
tickets.0.bonus_numbersarray[3]Bonus numbers for the ticket if applicable

Failure modes

Errors come back as tool errors carrying a sentence the model can act on, not a bare status code. Error handling covers the full list.

StatusWhat it means
400 / 422The arguments did not validate. The message names the offending one.
401The OAuth session is invalid or expired — reconnect the server.
403Blocked by a key restriction or an IP allow-list. Never a bad identity.
404This skill is not part of VerveKit. Check the catalog.
429Out of credits, or a brief rate limit. The message tells them apart.

A call costs 2 credits each time the tool actually runs; a model that reasons about the tool without calling it costs nothing.

Use cases

Lottery Apps
Build lottery number picker apps with support for popular games like Powerball, Mega Millions, and international lotteries
Quick Pick Numbers
Generate quick pick numbers for lottery games with customizable number ranges and bonus ball configurations
Gaming Systems
Create random number sets for gaming applications, contests, and raffle systems with verifiable randomization
International Support
Support multiple international lottery formats including EuroMillions, UK Lotto, and regional lottery games worldwide

Other ways to use Lottery Number Skill

Set up Lottery Number Skill on VerveKit, or reach the same source a different way. Your VerveKit account and credits work on all of them — one key, one balance.

Call it as a REST APIOne HTTPS endpoint and an x-api-key header, with SDKs for Node, Python and .NET.APIVerve →Reference →

More in Games:

Was this page helpful?