Data Collection
loteriasapi.com
Provides tools to list Spanish state lottery games, fetch latest and next draw results, check numbers, and retrieve public statistics.
ENDPOINT 1
https://api.loteriasapi.com/mcp
MCP server metadata
- Name
- loterias-api
- Version
- 1.0.0
Read-only access to official Spanish state lottery data (Loterias y Apuestas del Estado): latest results, next draws, number checking and aggregated statistics. Each game exposes its 3 most recent draws; statistics are aggregated over past draws and do not predict future results.
Known tools 5
get_latest_resultsGet the most recent official results (draw date, winning combination, complementary numbers and jackpot when applicable) of one game, newest first.
Inferred read-onlyget_next_drawGet the next scheduled draw of one game: date, status and announced jackpot when available.
Inferred read-onlycheck_numbersCheck whether a set of numbers won in one of the 3 most recent draws of a game (default: the latest).
Inferred read-onlyget_public_statisticsAggregated statistics of a game over its last 2000 draws: most and least frequent numbers, longest absences, even/odd split, sum range and top pairs.
Inferred read-onlyCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.loterias-api]
url = "https://api.loteriasapi.com/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"loterias-api": {
"type": "http",
"url": "https://api.loteriasapi.com/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: loterias-api
Remote MCP URL: https://api.loteriasapi.com/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"loterias-api": {
"url": "https://api.loteriasapi.com/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"loterias-api": {
"type": "http",
"url": "https://api.loteriasapi.com/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "loterias-api",
"transport": "streamable-http",
"url": "https://api.loteriasapi.com/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Loading Trust v2 evidence…
Checking the associated registrable domain. The BuiltWith key remains server-side.
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.