L'Atlas / MCP servers / Loterías API
MCP server

Loterías API

com.loteriasapi/loterias

MCP server OK 5 tools

Get a review See pricing

Spanish lottery results, next draws, number checks and stats (Euromillones, Primitiva, Navidad).

Technical sheet

Author
loteriasapi.com (registry namespace)
Repository
—
Site
loteriasapi.com/para-ia
Version
1.0.1
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://api.loteriasapi.com/mcp Streamable HTTP
Tools
5
Categories
—
Last updated
19 Nov 2026
Published
19 Nov 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/com.loteriasapi/loterias.svg?lang=en)](https://latlas.dev/en/mcp/com.loteriasapi/loterias)
HTML
<a href="https://latlas.dev/en/mcp/com.loteriasapi/loterias"><img src="https://latlas.dev/badge/statut/mcp/com.loteriasapi/loterias.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/com.loteriasapi/loterias.svg?lang=en)](https://latlas.dev/en/mcp/com.loteriasapi/loterias)
HTML
<a href="https://latlas.dev/en/mcp/com.loteriasapi/loterias"><img src="https://latlas.dev/badge/fiche/com.loteriasapi/loterias.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://api.loteriasapi.com/mcp
Last result
OK 28 Nov 2026, 11:26
Response time
531 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
loterias-api 1.0.0
Tools
5

History

DateResultResponseTools
28 Nov 2026, 11:26OK531 ms5

Exposed tools (5, from tools/list, 28 Nov 2026)

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.

No parameters.

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.

ParameterTypeRequiredDescription
gameenum: "bonoloto" | "euromillones" | "lototurf" | "primitiva" | "gordo" | "quiniela" | "quinigol" | "quintuple" …yesGame slug. Call list_games to see them all. Example: "euromillones".
limitintegernoHow many recent draws to return (1-3).

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?".

ParameterTypeRequiredDescription
gameenum: "bonoloto" | "euromillones" | "lototurf" | "primitiva" | "gordo" | "quiniela" | "quinigol" | "quintuple" …yesGame slug. Call list_games to see them all. Example: "euromillones".

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.

ParameterTypeRequiredDescription
gameenum: "bonoloto" | "euromillones" | "lototurf" | "primitiva" | "gordo" | "quiniela" | "quinigol" | "quintuple" …yesGame slug. Call list_games to see them all. Example: "euromillones".
numbersarray<integer | string>yesMain numbers to check (nacional: décimo numbers, up to 5 digits).
extraNumbersarray<integer>noOptional extra numbers: Euromillones stars, reintegro in Primitiva/Bonoloto, etc.
drawDatestringnoOptional draw date (YYYY-MM-DD). Must be one of the 3 latest draws; defaults to the latest.

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.

ParameterTypeRequiredDescription
gameenum: "primitiva" | "bonoloto" | "euromillones" | "gordo" | "eurodreams" | "lototurf"yesGame slug. Call list_games to see them all. Example: "euromillones".

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://api.loteriasapi.com/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http loterias https://api.loteriasapi.com/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : loterias ; URL : https://api.loteriasapi.com/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : loterias ; Server URL : https://api.loteriasapi.com/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "loterias": {
      "url": "https://api.loteriasapi.com/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "loterias": {
      "type": "http",
      "url": "https://api.loteriasapi.com/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "loterias": {
      "url": "https://api.loteriasapi.com/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "loterias": {
      "httpUrl": "https://api.loteriasapi.com/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.loterias]
url = "https://api.loteriasapi.com/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

Loterías API · L’Atlas · Tested on

Markdown
[Loterías API — L’Atlas](https://latlas.dev/en/mcp/com.loteriasapi/loterias)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.