Loterías API
MCP server giving AI assistants access to Spanish lottery results, draws and number checks
Answered our latest tool-list check 3 hours ago with 5 tools. It will be marked verified after 3 successful checks in 7 days.
- Pricing
- Freemium
- Platforms
- API, Web
- Runs
- Remotely
- Version
- 1.0.0
- Listing updated
- today
Similar MCP servers
About Loterías API
Loterías API is a freemium MCP server for gaming information. It runs as a hosted remote server, so there is nothing to install locally.
The README and page describe a remote MCP endpoint that lets Claude, ChatGPT, Codex and other MCP clients query official Spanish lottery results. Covered games include Euromillones, La Primitiva, Bonoloto, El Gordo, Lotería Nacional, EuroDreams, La Quiniela, Quinigol, Lototurf and Quíntuple Plus.
Without an API key the server returns the three most recent draws per game, the next draw with its jackpot, number checks against those recent draws, and aggregated statistics. Adding a key from the account panel unlocks historical search by date, year or minimum jackpot, full prize breakdowns for specific draws, and frequency and pattern statistics, within the limits of the user's plan.
It suits developers wiring lottery data into agents and people who want to ask an assistant about past results or check a ticket. All tools are read-only, and the site states the assistant cannot predict draws.
Install
Run in a terminal
claude mcp add --transport http loterias https://api.loteriasapi.com/mcpAdd to Settings → Connectors → Add custom connector
https://api.loteriasapi.com/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"loterias": {
"url": "https://api.loteriasapi.com/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"loterias": {
"type": "http",
"url": "https://api.loteriasapi.com/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"loterias": {
"serverUrl": "https://api.loteriasapi.com/mcp"
}
}
}Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://api.loteriasapi.com/mcpEnter a Name (for example "Loterías API"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"loterias": {
"type": "http",
"url": "https://api.loteriasapi.com/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
Tools this server provides (5)
Read directly from the server.
All 5 tools say they're read-only.
From the server's own tool annotations; not verified by us.
- list_gamesSays read-only
- List the Spanish state lottery games covered (slug and name). Use the slug as the "game" argument of the other tools.
- get_latest_resultsSays read-only
- 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.
- get_next_drawSays read-only
- 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?".
- check_numbersSays read-only
- 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 th
- get_public_statisticsSays read-only
- 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.
What it does
- Official draw results
- Returns recent results for the major Spanish lottery games, with the latest draws available without a key.
- Ticket number checking
- Compares played numbers against draws and reports which prize, if any, they match.
- Next draw and jackpot
- Shows the date and current prize pool of the upcoming draw for each game.
- Historical search
- With an API key, searches past draws by date range, year or minimum jackpot, with paging.
- Statistics and patterns
- Provides number frequencies, jackpot history and pattern breakdowns such as odd/even and sums.
- Read-only tools
- All exposed tools only read data and do not create, change or delete anything in the user's account.
Good for
- Asking an AI assistant what the latest Euromillones or Primitiva combination was
- Checking whether a played set of numbers or a Lotería Nacional décimo won a prize
- Finding the next El Gordo draw date and current jackpot
- Analysing historical jackpots or number frequencies for a given year
- Adding Spanish lottery data to an agent or application through MCP
Pricing
Freemium
Free MCP mode without a key; API key access follows the account plan, with a Free plan including 50 requests.
Prices change. Check loteriasapi.com before you buy.
Loterías API FAQ
Do I need an API key to use the MCP?
No. Without a key the server provides the last three draws per game, the next draw, number checks against those draws and aggregated statistics. A key unlocks historical and full statistics according to the plan.
How many requests does each question use?
Each tool call uses one request from the plan. list_games and get_next_draw are free, failed calls are not counted, and check_numbers with a date uses two.
Can the MCP predict lottery numbers?
No. The site states that no AI can predict a draw, since every combination has the same probability. The server only returns real results and statistics.
What are the rate limits?
Without a key the limit is 60 calls per minute per IP. With a key it is 300 per minute per key, plus per-request draw and history limits set by the plan.
Is Loterías API free?
Loterías API has a free plan, with paid plans for more usage or features.
How do I add Loterías API to Claude Code?
Run this command in your terminal: claude mcp add --transport http loterias https://api.loteriasapi.com/mcp
What are the best alternatives to Loterías API?
The closest alternatives to Loterías API are 符文戰場新手指南, 遊戲發售日與預告片資料庫, MCP, Roblox Popular Games Search and Open Hangar.
Where this comes from
- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 19 November 2026.
- Install steps: from the official MCP Registry entry.
