← loteriasapi.com
INDIVIDUAL MCP TOOL
list_games
List the Spanish state lottery games covered (slug and name).
LIVE ENDPOINT
https://api.loteriasapi.com/mcp
Connect to this endpoint to inspect the live schema for list_games and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
Parent server
CONNECT 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.
Related tools
get_latest_results— Get the most recent official results (draw date, winning combination, complementary numbers and jackpot when applicable) of one game, newest first.get_next_draw— Get the next scheduled draw of one game: date, status and announced jackpot when available.check_numbers— Check whether a set of numbers won in one of the 3 most recent draws of a game (default: the latest).get_public_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.