Texas Lottery MCP server for AI agents
Let Claude, ChatGPT or your own agent read Texas Lottery: 2 typed functions through one MCP server. No Texas Lottery API key needed.
- Site
- texaslottery.com
- Functions
- 2
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
Just Texas Lottery
An MCP server for Texas 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/texas_lotteryEvery site
One MCP server for Texas Lottery and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.
Functions
Open a function to see its arguments, what it returns and how to call it.
Read 2
drawsReads Texas Lottery winning numbers for Powerball, Mega Millions, Lotto Texas, Texas Two Step or Cash Five, newest draw first.Arguments
Name Type Required game"powerball" | "megamillions" | "lottotexas" | "texastwostep" | "cashfive"Yes limitnumberNo sincestringNo Returns
TexasLotteryDrawsinterface TexasLotteryDraw { date: string; numbers: number[]; bonus: number | null; multiplier: number | null; } interface TexasLotteryDraws { game: string; name: string; draws: TexasLotteryDraw[]; source: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/texas_lottery/drawsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.texas_lottery.draws({ game: "powerball", limit: 3 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.texas_lottery.draws({"game": "powerball", "limit": 3}))curl -X POST https://api.bowmark.ai/v1/sites/texas_lottery/draws \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"game":"powerball","limit":3}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.texas_lottery.draws({ game: "powerball", limit: 3 });scratchersLists Texas Lottery scratch tickets on sale with price, start date, top prize and prizes printed, claimed and remaining per tier.Arguments
Name Type Required pricenumberNo namestringNo limitnumberNo Returns
TexasLotteryScratcher[]interface TexasLotteryScratcher { gameNumber: string; name: string; price: number; startDate: string | null; closingSoon: boolean; topPrize: string; prizes: { amount: string; printed: number; claimed: number; remaining: number }[]; url: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/texas_lottery/scratchersCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.texas_lottery.scratchers({ limit: 5 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.texas_lottery.scratchers({"limit": 5}))curl -X POST https://api.bowmark.ai/v1/sites/texas_lottery/scratchers \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"limit":5}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.texas_lottery.scratchers({ limit: 5 });
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/texas_lottery/<function> - OpenAPI
/v1/sites/texas_lottery/openapi.json