Lotería MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Lotería MCPShow me the latest lottery results"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🎟️ MCP Lottery
MCP Server for querying lotteries and results via the Lottery Results API.
It exposes two tools that any compatible MCP client (Claude Desktop, Cursor, etc.) can invoke directly from the chat.
📋 Requirements
Tool | Minimum Version |
Python | 3.10+ |
latest |
Related MCP server: Marvel MCP
⚙️ Installation
1. Clone the repository
git clone https://github.com/parrotsoft/loteria-mcp
cd loteria2. Create virtual environment and install dependencies with uv
uv syncThis will automatically create the .venv environment and install all dependencies declared in pyproject.toml.
🚀 Usage with Claude Desktop
Add the following configuration to the Claude Desktop file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"loteria": {
"command": "uv",
"args": [
"--directory",
"/ruta/absoluta/al/proyecto/loteria",
"run",
"loteria.py"
]
}
}
}Note: Replace
/absolute/path/to/project/loteriawith the actual path of the project on your machine.
Restart Claude Desktop and the server will be available.
🛠️ Available Tools
get_lotteries
Returns the complete list of lotteries available in the API.
No parameters.
Example response:
{
"data": [
{ "id": 1, "name": "Lotería Nacional", "country": "MX" },
{ "id": 2, "name": "Melate", "country": "MX" }
]
}get_resultados
Returns lottery results for a specific date.
Parameter | Type | Description |
|
| Date in |
Example response:
{
"data": [
{ "lottery": "Lotería Nacional", "result": "1234", "date": "2026-04-24" }
]
}🧪 Run in development mode
To test the server directly from the terminal:
uv run mcp dev loteria.pyThis opens the MCP Inspector in the browser, where you can call the tools interactively.
📦 Dependencies
Package | Description |
| Async HTTP client for API calls |
| Model Context Protocol framework |
📁 Project structure
loteria/
├── loteria.py # Servidor MCP con las herramientas expuestas
├── main.py # Punto de entrada alternativo
├── pyproject.toml # Configuración del proyecto y dependencias
├── uv.lock # Lock file de dependencias (uv)
├── .gitignore
└── README.md📄 License
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- -licenseNot gradedqualityAmaintenanceMCP Server for the Google Maps API.11,86889,748MIT
- AlicenseBqualityFmaintenanceMCP Server for the Marvel Developer API, enabling interaction with characters and comics data.73115MIT
- FlicenseAqualityDmaintenanceMCP server for the Concept2 Logbook API, enabling user profile management, workout result operations, and challenge queries.14
- FlicenseNot gradedqualityDmaintenanceA simple MCP server to call RMV APIs for nearby stations and departure boards.
Related MCP Connectors
MCP server for Google search results via SERP API
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
MCP server for URL shortening and management
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/parrotsoft/loteria-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server