Spanish lottery results, next draws, number checks and stats (Euromillones, Primitiva, Navidad).
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Optional: 'Bearer lat_...' API key for full history and statistics. Without it, the 3 latest draws and aggregated statistics are free.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Check whether a set of numbers won in one of the 3 most recent draws of a game (default: the latest). For "nacional" the numbers are décimo numbers (up to 5 digits, at most 5, pass them as strings to keep leading zeros, e.g. "01755"). For the other games pass the main numbers and, when the game has them, the extra numbers (stars, reintegro, clave...). Returns matches, whether it is a winner and the prize. Older draws need an API key: https://loteriasapi.com/planes.
Game slug. Call list_games to see them all. Example: "euromillones".
Main numbers to check (nacional: décimo numbers, up to 5 digits).
Optional draw date (YYYY-MM-DD). Must be one of the 3 latest draws; defaults to the latest.
Optional extra numbers: Euromillones stars, reintegro in Primitiva/Bonoloto, etc.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http loterias https://api.loteriasapi.com/mcp
Headers
Authorization (optional, not in the config above): Optional: 'Bearer lat_...' API key for full history and statistics. Without it, the 3 latest draws and aggregated statistics are free.Check whether a set of numbers won in one of the 3 most recent draws of a game (default: the latest). For "nacional" the numbers are décimo numbers (up to 5 digits, at most 5, pass them as strings to keep leading zeros, e.g. "01755"). For the other games pass the main numbers and, when the game has them, the extra numbers (stars, reintegro, clave...). Returns matches, whether it is a winner and the prize. Older draws need an API key: https://loteriasapi.com/planes.
| Argument | Type | Description |
|---|---|---|
| game* | string | Game slug. Call list_games to see them all. Example: "euromillones". |
| numbers* | array | Main numbers to check (nacional: décimo numbers, up to 5 digits). |
| drawDate | string | Optional draw date (YYYY-MM-DD). Must be one of the 3 latest draws; defaults to the latest. |
| extraNumbers | array | Optional extra numbers: Euromillones stars, reintegro in Primitiva/Bonoloto, etc. |
{
"type": "object",
"required": [
"game",
"numbers"
],
"properties": {
"game": {
"enum": [
"bonoloto",
"euromillones",
"lototurf",
"primitiva",
"gordo",
"quiniela",
"quinigol",
"quintuple",
"nacional",
"eurodreams"
],
"type": "string",
"examples": [
"euromillones"
],
"description": "Game slug. Call list_games to see them all. Example: \"euromillones\"."
},
"numbers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "integer",
"maximum": 99999,
"minimum": 0
},
{
"type": "string",
"pattern": "^\\d{1,5}$"
}
]
},
"examples": [
[
4,
15,
23,
38,
42
]
],
"maxItems": 20,
"minItems": 1,
"description": "Main numbers to check (nacional: décimo numbers, up to 5 digits)."
},
"drawDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"examples": [
"2026-11-11"
],
"description": "Optional draw date (YYYY-MM-DD). Must be one of the 3 latest draws; defaults to the latest."
},
"extraNumbers": {
"type": "array",
"items": {
"type": "integer",
"maximum": 99,
"minimum": 0
},
"examples": [
[
3,
11
]
],
"maxItems": 5,
"description": "Optional extra numbers: Euromillones stars, reintegro in Primitiva/Bonoloto, etc."
}
},
"additionalProperties": false
}Get the most recent official results (draw date, winning combination, complementary numbers and jackpot when applicable) of one game, newest first. Use it for questions like "what were the last Euromillones numbers?". Without an API key only the 3 most recent draws and aggregated statistics are available. For full history and more tools, connect this server with an API key (header "Authorization: Bearer lat_..." or "X-API-Key"); get one at https://loteriasapi.com/planes.
| Argument | Type | Description |
|---|---|---|
| game* | string | Game slug. Call list_games to see them all. Example: "euromillones". |
| limit | integer | How many recent draws to return (1-3). |
{
"type": "object",
"required": [
"game"
],
"properties": {
"game": {
"enum": [
"bonoloto",
"euromillones",
"lototurf",
"primitiva",
"gordo",
"quiniela",
"quinigol",
"quintuple",
"nacional",
"eurodreams"
],
"type": "string",
"examples": [
"euromillones"
],
"description": "Game slug. Call list_games to see them all. Example: \"euromillones\"."
},
"limit": {
"type": "integer",
"default": 1,
"maximum": 3,
"minimum": 1,
"examples": [
1
],
"description": "How many recent draws to return (1-3)."
}
},
"additionalProperties": false
}Get the next scheduled draw of one game: date, status and announced jackpot when available. Use it for "when is the next Primitiva draw and how much is the jackpot?". Without an API key only the 3 most recent draws and aggregated statistics are available. For full history and more tools, connect this server with an API key (header "Authorization: Bearer lat_..." or "X-API-Key"); get one at https://loteriasapi.com/planes.
| Argument | Type | Description |
|---|---|---|
| game* | string | Game slug. Call list_games to see them all. Example: "euromillones". |
{
"type": "object",
"required": [
"game"
],
"properties": {
"game": {
"enum": [
"bonoloto",
"euromillones",
"lototurf",
"primitiva",
"gordo",
"quiniela",
"quinigol",
"quintuple",
"nacional",
"eurodreams"
],
"type": "string",
"examples": [
"euromillones"
],
"description": "Game slug. Call list_games to see them all. Example: \"euromillones\"."
}
},
"additionalProperties": false
}Aggregated statistics of a game over its last 2000 draws: most and least frequent numbers, longest absences, even/odd split, sum range and top pairs. Available for: primitiva, bonoloto, euromillones, gordo, eurodreams, lototurf. Per-number tables and custom periods need an API key: https://loteriasapi.com/planes.
| Argument | Type | Description |
|---|---|---|
| game* | string | Game slug. Call list_games to see them all. Example: "euromillones". |
{
"type": "object",
"required": [
"game"
],
"properties": {
"game": {
"enum": [
"primitiva",
"bonoloto",
"euromillones",
"gordo",
"eurodreams",
"lototurf"
],
"type": "string",
"examples": [
"primitiva"
],
"description": "Game slug. Call list_games to see them all. Example: \"euromillones\"."
}
},
"additionalProperties": false
}List the Spanish state lottery games covered (slug and name). Use the slug as the "game" argument of the other tools. Without an API key only the 3 most recent draws and aggregated statistics are available. For full history and more tools, connect this server with an API key (header "Authorization: Bearer lat_..." or "X-API-Key"); get one at https://loteriasapi.com/planes.
No arguments.
{
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 18, 2026.