Illinois Lottery MCP server for AI agents

Let Claude, ChatGPT or your own agent read Illinois Lottery: 4 typed functions through one MCP server. No Illinois Lottery API key needed.

Functions
4
Sign-in
For account actions
Works with
MCP, HTTP, Node, Python

Connect

Just Illinois Lottery

An MCP server for Illinois Lottery alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.

https://api.bowmark.ai/mcp/site/illinois_lottery
Every site

One MCP server for Illinois Lottery and every other site Bowmark covers. Your agent looks up what it needs and calls it.

https://api.bowmark.ai/mcp
Set it up in your client

Both need a Bowmark API key. The quickstart gets you one and a first result in a few minutes. Functions that need a login use the person's own account: how sign-in works.

Functions

Open a function to see its arguments, what it returns and how to call it.

Read 4
  • getCartReads the signed-in player's own Illinois Lottery draw-games cart (My Cart).

    Arguments

    None.

    Returns IllinoisLotteryCart

    interface IllinoisLotteryCart { url: string; pageData: Record<string, unknown>; }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/illinois_lottery/getCart

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.illinois_lottery.getCart();
  • jackpotsLists the current Illinois Lottery instant/Fast Play game jackpots with amount, progressive flag and last-updated time.

    Arguments

    None.

    Returns IllinoisLotteryJackpot[]

    interface IllinoisLotteryJackpot { gameId: string; amount: number; progressive: boolean; lastUpdated: string | null; url: string; }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/illinois_lottery/jackpots

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.illinois_lottery.jackpots();
  • quickPickGenerates random quick-pick numbers for an Illinois Lottery draw game (Powerball, Mega Millions, Lotto, Lucky Day Lotto, Pick 3, Pick 4); buys…

    Arguments

    NameTypeRequired
    game"powerball" | "megamillions" | "lotto" | "luckydaylotto" | "pick3" | "pick4"Yes
    linesnumberNo

    Returns IllinoisLotteryQuickPick

    interface IllinoisLotteryQuickPick { game: string; name: string; lines: { primary: number[]; secondary: number[] }[]; }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/illinois_lottery/quickPick

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.illinois_lottery.quickPick({ game: "powerball" });
  • storesFinds Illinois Lottery retailers nearest a latitude/longitude, with address, phone, distance and daily opening hours.

    Arguments

    NameTypeRequired
    args{ latitude: number; longitude: number }Yes

    Returns IllinoisLotteryRetailer[]

    interface IllinoisLotteryRetailer { name: string; address: string | null; distance: number | null; latitude: number | null; longitude: number | null; phone: string | null; games: string[]; hours: Record<string, string>; }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/illinois_lottery/stores

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.illinois_lottery.stores({ latitude: 41.8839927, longitude: -87.6197056 });

Use it from code