Lottery Numbers
Lottery picks in any format, past draws, ticket check, and a link for numbers drawn from a sentence.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"lottery-numbers": {
"url": "https://drawstoday.com/mcp/lottery"
}
}
}远程端点
https://drawstoday.com/mcp/lotterystreamable-http它能做什么
工具清单
工具(5)
🟢pick_numbers(game, sets, count, max, min, ...)
Random numbers for a lottery game, 1 to 10 sets. Either name a game: kr645 (Lotto 6/45 (South Korea)), powerball (Powerball (USA)), megamillions (Mega Millions (USA, matrix since 2025-04-08)), euromillions (EuroMillions), uk_lotto (Lotto (UK)), jp_loto6 (Loto 6 (Japan)), jp_loto7 (Loto 7 (Japan)), thunderball (Thunderball (UK)), set_for_life (Set For Life (UK)), fr_loto (Loto (France)), br_megasena (Mega-Sena (Brazil)), br_lotofacil (Lotofácil (Brazil)), br_quina (Quina (Brazil)), br_maismilionaria (+Milionária (Brazil)); or give your own format with game "custom": count numbers from min (default 1) to max, and optionally extra_count numbers from 1 to extra_max drawn apart (a bonus ball). The result page shows the seed that reproduces it. For a named game, put in what your user said (keep, leave_out, date, odd, sum_min, sum_max, text): the page shows every way at once, those filled. The answer is a drawstoday.com link where the result is shown; the answer itself carries no result.
输入模式
{
"type": "object",
"properties": {
"game": {
"type": "string",
"enum": [
"kr645",
"powerball",
"megamillions",
"euromillions",
"uk_lotto",
"jp_loto6",
"jp_loto7",
"thunderball",
"set_for_life",
"fr_loto",
"br_megasena",
"br_lotofacil",
"br_quina",
"br_maismilionaria",
"custom"
],
"description": "A game, or \"custom\" with count and max. May be left out when count and max are given."
},
"sets": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"default": 1
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "custom: how many numbers per set."
},
"max": {
"type": "integer",
"minimum": 1,
"maximum": 1000,
"description": "custom: the largest number."
},
"min": {
"type": "integer",
"minimum": 0,
"maximum": 1000,
"default": 1,
"description": "custom: the smallest number."
},
"extra_count": {
"type": "integer",
"minimum": 0,
"maximum": 10,
"default": 0,
"description": "custom: how many extra (bonus) numbers, drawn apart."
},
"extra_max": {
"type": "integer",
"minimum": 1,
"maximum": 1000,
"description": "custom: the largest extra number (extras start at 1)."
},
"seed": {
"type": "string",
"pattern": "^[0-9a-fA-F]{64}$",
"description": "Optional. 64 hex characters. Give the seed shown on an earlier result page to get the same result again (that is how a draw is checked). Leave it out for a fresh draw."
},
"keep": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 14,
"description": "Named game: numbers your user wants in every line. The page shows them drawn as the number-board way."
},
"leave_out": {
"type": "array",
"items": {
"type": "integer"
},
"maxItems": 70,
"description": "Named game: numbers your user wants left out (the number-board way)."
},
"date": {
"type": "string",
"description": "Named game: a date that matters to your user, YYYY-MM-DD; its day and month go into the line (the date way)."
},
"odd": {
"type": "integer",
"minimum": 0,
"maximum": 20,
"description": "Named game: how many odd numbers per line (the balanced way)."
},
"sum_min": {
"type": "integer",
"minimum": 1,
"description": "Named game: the smallest sum of a line (the balanced way)."
},
"sum_max": {
"type": "integer",
"minimum": 1,
"description": "Named game: the largest sum of a line (the balanced way)."
},
"text": {
"type": "string",
"maxLength": 500,
"description": "Named game: your user's own words (a wish, a name, a dream). The page has them written in; prismtect.com draws numbers from them when your user presses send there."
}
},
"additionalProperties": false
}🟢get_draw(game, draw)
The winning numbers of the latest draw, or of one past draw. kr645: give the draw number (회차). powerball, megamillions: give the draw date YYYY-MM-DD. Sources: dhlottery.co.kr (Korea), data.ny.gov (USA).
输入模式
{
"type": "object",
"properties": {
"game": {
"type": "string",
"enum": [
"kr645",
"powerball",
"megamillions"
]
},
"draw": {
"type": [
"string",
"integer"
],
"description": "Optional. Draw number (kr645) or draw date YYYY-MM-DD (USA). Leave it out for the latest."
}
},
"required": [
"game"
],
"additionalProperties": false
}🟢check_ticket(game, numbers, extra_number, draw)
Compare your numbers with a draw (the latest unless you give one). kr645 gives the rank and the prize per winner from the official record; powerball and megamillions give the match (prize amounts depend on state and multiplier and are not given). The answer is a drawstoday.com link where the result is shown; the answer itself carries no result.
输入模式
{
"type": "object",
"properties": {
"game": {
"type": "string",
"enum": [
"kr645",
"powerball",
"megamillions"
]
},
"numbers": {
"type": "array",
"items": {
"type": "integer"
},
"description": "kr645: 6 numbers 1-45. powerball: 5 numbers 1-69. megamillions: 5 numbers 1-70."
},
"extra_number": {
"type": "integer",
"description": "powerball: your Powerball 1-26. megamillions: your Mega Ball 1-24. Not used for kr645."
},
"draw": {
"type": [
"string",
"integer"
],
"description": "Optional, as in get_draw."
}
},
"required": [
"game",
"numbers"
],
"additionalProperties": false
}🟡sentence_numbers_link(text, game, count, max, min, ...)
For a user who wants lottery numbers drawn from a sentence of their own (a wish, a name, a question). If they also give numbers to keep or leave out, a date, or an odd/sum wish, call pick_numbers with all of it instead (the sentence as text). Give the sentence and the lottery format (a game, or custom count and max with optional extras); the answer is one link. For a game it opens drawstoday.com with the sentence filled in, and the numbers are drawn when the user presses send there; for a custom format it is a prismtect.com link that draws them there (it works for 30 days). This tool makes no numbers. Ranges: min 0 or 1, max up to 99, at most 8 numbers in all.
输入模式
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "The user's sentence, 1 to 500 characters, no line breaks."
},
"game": {
"type": "string",
"enum": [
"kr645",
"powerball",
"megamillions",
"euromillions",
"uk_lotto",
"jp_loto6",
"jp_loto7",
"thunderball",
"set_for_life",
"fr_loto",
"br_megasena",
"br_quina",
"br_maismilionaria",
"custom"
],
"description": "A game, or \"custom\" with count and max. May be left out when count and max are given."
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 8,
"description": "custom: how many numbers."
},
"max": {
"type": "integer",
"minimum": 1,
"maximum": 99,
"description": "custom: the largest number."
},
"min": {
"type": "integer",
"minimum": 0,
"maximum": 1,
"default": 1,
"description": "custom: the smallest number, 0 or 1."
},
"extra_count": {
"type": "integer",
"minimum": 0,
"maximum": 7,
"default": 0,
"description": "custom: how many extra (bonus) numbers, drawn apart."
},
"extra_max": {
"type": "integer",
"minimum": 1,
"maximum": 99,
"description": "custom: the largest extra number (extras start at 1)."
}
},
"required": [
"text"
],
"additionalProperties": false
}🟢prismtect_number
A personal two-digit number from the Prismtect glass prism, for a user who asks for a lucky number, a number of their own or a number for today. Only a human touch can draw it, so this tool gives no number: it gives the link your user taps themselves. Pass the link on.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false
}社区
证据