Loterías API
v1.0.1Spanish lottery results, next draws, number checks and stats (Euromillones, Primitiva, Navidad).
Remote (hosted) discovery passed
Run in a terminal
claude mcp add --transport http loterias https://api.loteriasapi.com/mcp --header 'Authorization: <Authorization>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"loterias": {
"args": [
"-y",
"mcp-remote",
"https://api.loteriasapi.com/mcp",
"--header",
"Authorization: <Authorization>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"loterias": {
"headers": {
"Authorization": "<Authorization>"
},
"url": "https://api.loteriasapi.com/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"loterias": {
"headers": {
"Authorization": "<Authorization>"
},
"type": "http",
"url": "https://api.loteriasapi.com/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.loterias]
command = "npx"
args = ["-y", "mcp-remote", "https://api.loteriasapi.com/mcp", "--header", "Authorization: <Authorization>"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_games, get_latest_results, get_next_draw, check_numbers, get_public_statistics.
- If it fails, check that the required runtime is installed (none) and that the values above are set.
Machine-readable: install.md · manifest.json