Loterías API MCP
Official MCP server by Loterías API providing AI agents with tools to query Spanish lottery results, check winning numbers, view upcoming draws, and access statistical data for games like Euromillones and La Primitiva.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://api.loteriasapi.com/mcpWhat its tools do
5 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to loteriasapi.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Check winning numbers for recent lottery draws
- Retrieve upcoming draw dates and jackpots
- Access historical lottery results and statistics
- Verify lottery ticket prizes
Source and maintenance
Protocol and capabilities
- Server
- loterias-api 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 5 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
5 advertised
list_games — List lottery games
List the Spanish state lottery games covered (slug and name). Use the slug as the "game" argument of the other tools.
{
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
}{
"title": "List lottery games",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_latest_results — Get latest lottery results
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?". Returns up to the 3 most recent draws.
{
"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
}{
"title": "Get latest lottery results",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_next_draw — Get the next lottery draw
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?".
{
"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
}{
"title": "Get the next lottery draw",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}check_numbers — Check numbers against a draw
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. Only the 3 most recent draws can be checked.
{
"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
}{
"title": "Check numbers against a draw",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_public_statistics — Get aggregated game statistics
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. Covers the last 2000 draws only; no per-number tables or custom periods.
{
"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
}{
"title": "Get aggregated game statistics",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-18: 1 of 1 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 1816 ms
- 95th percentile latency
- 2183 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 2224 ms · metadata changed · 5 tool(s)
- · probe · passed · 1408 ms · metadata changed · 5 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http loteri-as-api-mcp https://api.loteriasapi.com/mcpCodex
codex mcp add loteri-as-api-mcp --url https://api.loteriasapi.com/mcpCursor
{
"mcpServers": {
"loteri-as-api-mcp": {
"url": "https://api.loteriasapi.com/mcp"
}
}
}Cline
{
"mcpServers": {
"loteri-as-api-mcp": {
"type": "streamableHttp",
"url": "https://api.loteriasapi.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"loteri-as-api-mcp": {
"type": "http",
"url": "https://api.loteriasapi.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http loteri-as-api-mcp https://api.loteriasapi.com/mcpClaude Desktop
https://api.loteriasapi.com/mcpWindsurf
{
"mcpServers": {
"loteri-as-api-mcp": {
"serverUrl": "https://api.loteriasapi.com/mcp"
}
}
}Let your agent find its tools
Find servers like Loterías API MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other data and analytics servers
Do you run Loterías API MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.